Class IntegrationLinkClient
- Namespace
- Crews.PlanningCenter.Api.CheckIns.V2024_11_07
- Assembly
- Crews.PlanningCenter.Api.dll
Client for interacting with the IntegrationLink resource.
public class IntegrationLinkClient : SingletonResourceClient<IntegrationLink, IntegrationLinkResource, IntegrationLinkResponse>
- Inheritance
-
IntegrationLinkClient
- Inherited Members
Constructors
IntegrationLinkClient(HttpClient, Uri)
Client for interacting with the IntegrationLink resource.
public IntegrationLinkClient(HttpClient httpClient, Uri uri)
Parameters
httpClientHttpClienturiUri
Methods
GetAsync(CancellationToken)
Fetches the IntegrationLink resource asynchronously.
public Task<IntegrationLinkResponse> GetAsync(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationTokenA token to monitor for cancellation requests.
Returns
- Task<IntegrationLinkResponse>
A task representing the asynchronous operation, containing the IntegrationLink resource.
Exceptions
- JsonApiException
Thrown when the HTTP response indicates a failure status code.