Class ZoomClient
- Namespace
- Crews.PlanningCenter.Api.Services.V2018_08_01
- Assembly
- Crews.PlanningCenter.Api.dll
Client for interacting with the Zoom resource.
public class ZoomClient : SingletonResourceClient<Zoom, ZoomResource, ZoomResponse>
- Inheritance
-
ZoomClient
- Inherited Members
Constructors
ZoomClient(HttpClient, Uri)
Client for interacting with the Zoom resource.
public ZoomClient(HttpClient httpClient, Uri uri)
Parameters
httpClientHttpClienturiUri
Methods
DeleteAsync(CancellationToken)
Deletes the Zoom resource asynchronously.
public Task DeleteAsync(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationTokenA token to monitor for cancellation requests.
Returns
- Task
A task representing the asynchronous delete operation.
Exceptions
- JsonApiException
Thrown when the HTTP response indicates a failure status code.
GetAsync(CancellationToken)
Fetches the Zoom resource asynchronously.
public Task<ZoomResponse> GetAsync(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationTokenA token to monitor for cancellation requests.
Returns
- Task<ZoomResponse>
A task representing the asynchronous operation, containing the Zoom resource.
Exceptions
- JsonApiException
Thrown when the HTTP response indicates a failure status code.
PatchAsync(Zoom, CancellationToken)
Updates an existing Zoom resource asynchronously.
public Task<ZoomResponse> PatchAsync(Zoom resource, CancellationToken cancellationToken = default)
Parameters
resourceZoomThe resource data to be sent in the patch request.
cancellationTokenCancellationTokenA token to monitor for cancellation requests.
Returns
- Task<ZoomResponse>
A task representing the asynchronous operation, containing the updated Zoom resource.
Exceptions
- JsonApiException
Thrown when the HTTP response indicates a failure status code.
PatchAsync(JsonApiDocument<ZoomResource>, CancellationToken)
Updates an existing Zoom resource asynchronously.
public Task<ZoomResponse> PatchAsync(JsonApiDocument<ZoomResource> document, CancellationToken cancellationToken = default)
Parameters
documentJsonApiDocument<ZoomResource>The JSON:API document to be sent in the patch request.
cancellationTokenCancellationTokenA token to monitor for cancellation requests.
Returns
- Task<ZoomResponse>
A task representing the asynchronous operation, containing the updated Zoom resource.
Exceptions
- JsonApiException
Thrown when the HTTP response indicates a failure status code.