Class AvailableSignupClient
- Namespace
- Crews.PlanningCenter.Api.Services.V2018_11_01
- Assembly
- Crews.PlanningCenter.Api.dll
Client for interacting with the AvailableSignup resource.
public class AvailableSignupClient : SingletonResourceClient<AvailableSignup, AvailableSignupResource, AvailableSignupResponse>
- Inheritance
-
AvailableSignupClient
- Inherited Members
Constructors
AvailableSignupClient(HttpClient, Uri)
Client for interacting with the AvailableSignup resource.
public AvailableSignupClient(HttpClient httpClient, Uri uri)
Parameters
httpClientHttpClienturiUri
Properties
SignupSheets
Associated SignupSheets.
public PaginatedSignupSheetClient SignupSheets { get; }
Property Value
Methods
GetAsync(CancellationToken)
Fetches the AvailableSignup resource asynchronously.
public Task<AvailableSignupResponse> GetAsync(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationTokenA token to monitor for cancellation requests.
Returns
- Task<AvailableSignupResponse>
A task representing the asynchronous operation, containing the AvailableSignup resource.
Exceptions
- JsonApiException
Thrown when the HTTP response indicates a failure status code.
IncludeSignupSheets()
Include related SignupSheets resources in the response.
public AvailableSignupClient IncludeSignupSheets()