Table of Contents

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

httpClient HttpClient
uri Uri

Properties

SignupSheets

Associated SignupSheets.

public PaginatedSignupSheetClient SignupSheets { get; }

Property Value

PaginatedSignupSheetClient

Methods

GetAsync(CancellationToken)

Fetches the AvailableSignup resource asynchronously.

public Task<AvailableSignupResponse> GetAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A 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()

Returns

AvailableSignupClient