Table of Contents

Class PaginatedRoomSetupClient

Namespace
Crews.PlanningCenter.Api.Calendar.V2021_07_20
Assembly
Crews.PlanningCenter.Api.dll

Client for interacting with RoomSetup collection resources.

public class PaginatedRoomSetupClient : PaginatedResourceClient<RoomSetup, RoomSetupResource, RoomSetupCollectionResponse, RoomSetupResponse>
Inheritance
PaginatedRoomSetupClient
Inherited Members

Constructors

PaginatedRoomSetupClient(HttpClient, Uri)

Client for interacting with RoomSetup collection resources.

public PaginatedRoomSetupClient(HttpClient httpClient, Uri uri)

Parameters

httpClient HttpClient
uri Uri

Methods

GetAsync(CancellationToken)

Fetches a paginated list of RoomSetup resources asynchronously.

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

Parameters

cancellationToken CancellationToken

A token to monitor for cancellation requests.

Returns

Task<RoomSetupCollectionResponse>

A task representing the asynchronous operation, containing a paginated list of RoomSetup resources.

Exceptions

JsonApiException

Thrown when the HTTP response indicates a failure status code.

IncludeContainingResource()

Include related ContainingResource resources in the response.

public RoomSetupClient IncludeContainingResource()

Returns

RoomSetupClient

IncludeResourceSuggestions()

Include related ResourceSuggestions resources in the response.

public RoomSetupClient IncludeResourceSuggestions()

Returns

RoomSetupClient

OrderByCreatedAt()

Sort response items by the CreatedAt attribute.

public RoomSetupClient OrderByCreatedAt()

Returns

RoomSetupClient

OrderByCreatedAtDescending()

Sort response items by the CreatedAt attribute. Use reverse order.

public RoomSetupClient OrderByCreatedAtDescending()

Returns

RoomSetupClient

OrderByName()

Sort response items by the Name attribute.

public RoomSetupClient OrderByName()

Returns

RoomSetupClient

OrderByNameDescending()

Sort response items by the Name attribute. Use reverse order.

public RoomSetupClient OrderByNameDescending()

Returns

RoomSetupClient

OrderByUpdatedAt()

Sort response items by the UpdatedAt attribute.

public RoomSetupClient OrderByUpdatedAt()

Returns

RoomSetupClient

OrderByUpdatedAtDescending()

Sort response items by the UpdatedAt attribute. Use reverse order.

public RoomSetupClient OrderByUpdatedAtDescending()

Returns

RoomSetupClient

WhereCreatedAt(DateTime)

Query response items by the CreatedAt attribute.

public RoomSetupClient WhereCreatedAt(DateTime value)

Parameters

value DateTime

Returns

RoomSetupClient

WhereName(string)

Query response items by the Name attribute.

public RoomSetupClient WhereName(string value)

Parameters

value string

Returns

RoomSetupClient

WhereUpdatedAt(DateTime)

Query response items by the UpdatedAt attribute.

public RoomSetupClient WhereUpdatedAt(DateTime value)

Parameters

value DateTime

Returns

RoomSetupClient

WithId(string)

Creates a new instance of a RoomSetup client for a specific resource ID.

public RoomSetupClient WithId(string id)

Parameters

id string

The ID of the resource to create a client for.

Returns

RoomSetupClient

A new instance of the resource client for the specified resource ID.