Class CheckInGroupClient
- Namespace
- Crews.PlanningCenter.Api.CheckIns.V2019_07_17
- Assembly
- Crews.PlanningCenter.Api.dll
Client for interacting with the CheckInGroup resource.
public class CheckInGroupClient : SingletonResourceClient<CheckInGroup, CheckInGroupResource, CheckInGroupResponse>
- Inheritance
-
CheckInGroupClient
- Inherited Members
Constructors
CheckInGroupClient(HttpClient, Uri)
Client for interacting with the CheckInGroup resource.
public CheckInGroupClient(HttpClient httpClient, Uri uri)
Parameters
httpClientHttpClienturiUri
Properties
CheckIns
Associated CheckIns.
public PaginatedCheckInClient CheckIns { get; }
Property Value
EventPeriod
Associated EventPeriod.
public EventPeriodClient EventPeriod { get; }
Property Value
PrintStation
Associated PrintStation.
public StationClient PrintStation { get; }
Property Value
Methods
GetAsync(CancellationToken)
Fetches the CheckInGroup resource asynchronously.
public Task<CheckInGroupResponse> GetAsync(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationTokenA token to monitor for cancellation requests.
Returns
- Task<CheckInGroupResponse>
A task representing the asynchronous operation, containing the CheckInGroup resource.
Exceptions
- JsonApiException
Thrown when the HTTP response indicates a failure status code.
IncludeCheckIns()
Include related CheckIns resources in the response.
public CheckInGroupClient IncludeCheckIns()
Returns
IncludeEventPeriod()
Include related EventPeriod resources in the response.
public CheckInGroupClient IncludeEventPeriod()
Returns
IncludePrintStation()
Include related PrintStation resources in the response.
public CheckInGroupClient IncludePrintStation()