Table of Contents

Class ThemeClient

Namespace
Crews.PlanningCenter.Api.CheckIns.V2023_04_05
Assembly
Crews.PlanningCenter.Api.dll

Client for interacting with the Theme resource.

public class ThemeClient : SingletonResourceClient<Theme, ThemeResource, ThemeResponse>
Inheritance
ThemeClient
Inherited Members

Constructors

ThemeClient(HttpClient, Uri)

Client for interacting with the Theme resource.

public ThemeClient(HttpClient httpClient, Uri uri)

Parameters

httpClient HttpClient
uri Uri

Methods

GetAsync(CancellationToken)

Fetches the Theme resource asynchronously.

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

Parameters

cancellationToken CancellationToken

A token to monitor for cancellation requests.

Returns

Task<ThemeResponse>

A task representing the asynchronous operation, containing the Theme resource.

Exceptions

JsonApiException

Thrown when the HTTP response indicates a failure status code.