Table of Contents

Class ZoomClient

Namespace
Crews.PlanningCenter.Api.Services.V2018_11_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

httpClient HttpClient
uri Uri

Methods

DeleteAsync(CancellationToken)

Deletes the Zoom resource asynchronously.

public Task DeleteAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A 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

cancellationToken CancellationToken

A 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

resource Zoom

The resource data to be sent in the patch request.

cancellationToken CancellationToken

A 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

document JsonApiDocument<ZoomResource>

The JSON:API document to be sent in the patch request.

cancellationToken CancellationToken

A 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.