/// <summary> /// Edit a server within your account. /// </summary> /// <param name="serverUuid">The UUID of the server to edit.</param> /// <param name="changes">The changes to make to the server.</param> public virtual Task <TServerEntity> EditServerAsync <TServerEntity>(Guid serverUuid, ServerEditEntity changes, CancellationToken cancellationToken = default) where TServerEntity : class { return(ApiRequestor.RequestJsonSerializedAsync <ServerEditEntity, TServerEntity>(HttpMethod.Post, $"server/{serverUuid}/edit", changes, cancellationToken)); }
/// <summary> /// Edit a server within your account. /// </summary> /// <param name="serverUuid">The UUID of the server to edit.</param> /// <param name="changes">The changes to make to the server.</param> public virtual Task <ServerEntity> EditServerAsync(Guid serverUuid, ServerEditEntity changes, CancellationToken cancellationToken = default) { return(((IServerOperations)this).EditServerAsync <ServerEntity>(serverUuid, changes, cancellationToken)); }