Class SignupSheetClient
- Namespace
- Crews.PlanningCenter.Api.Services.V2018_11_01
- Assembly
- Crews.PlanningCenter.Api.dll
Client for interacting with the SignupSheet resource.
public class SignupSheetClient : SingletonResourceClient<SignupSheet, SignupSheetResource, SignupSheetResponse>
- Inheritance
-
SignupSheetClient
- Inherited Members
Constructors
SignupSheetClient(HttpClient, Uri)
Client for interacting with the SignupSheet resource.
public SignupSheetClient(HttpClient httpClient, Uri uri)
Parameters
httpClientHttpClienturiUri
Properties
ScheduledPeople
Associated ScheduledPeople.
public PaginatedScheduledPersonClient ScheduledPeople { get; }
Property Value
SignupSheetMetadata
Associated SignupSheetMetadata.
public PaginatedSignupSheetMetadataClient SignupSheetMetadata { get; }
Property Value
Methods
AcceptAsync(CancellationToken)
Accept a signup sheet
public Task AcceptAsync(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationToken
Returns
GetAsync(CancellationToken)
Fetches the SignupSheet resource asynchronously.
public Task<SignupSheetResponse> GetAsync(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationTokenA token to monitor for cancellation requests.
Returns
- Task<SignupSheetResponse>
A task representing the asynchronous operation, containing the SignupSheet resource.
Exceptions
- JsonApiException
Thrown when the HTTP response indicates a failure status code.
IncludeScheduledPeople()
Include related ScheduledPeople resources in the response.
public SignupSheetClient IncludeScheduledPeople()
Returns
IncludeSignupSheetMetadata()
Include related SignupSheetMetadata resources in the response.
public SignupSheetClient IncludeSignupSheetMetadata()