Table of Contents

Class TagGroupClient

Namespace
Crews.PlanningCenter.Api.Services.V2018_08_01
Assembly
Crews.PlanningCenter.Api.dll

Client for interacting with the TagGroup resource.

public class TagGroupClient : SingletonResourceClient<TagGroup, TagGroupResource, TagGroupResponse>
Inheritance
TagGroupClient
Inherited Members

Constructors

TagGroupClient(HttpClient, Uri)

Client for interacting with the TagGroup resource.

public TagGroupClient(HttpClient httpClient, Uri uri)

Parameters

httpClient HttpClient
uri Uri

Properties

Folder

Associated Folder.

public FolderClient Folder { get; }

Property Value

FolderClient

Tags

Associated Tags.

public PaginatedTagClient Tags { get; }

Property Value

PaginatedTagClient

Methods

GetAsync(CancellationToken)

Fetches the TagGroup resource asynchronously.

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

Parameters

cancellationToken CancellationToken

A token to monitor for cancellation requests.

Returns

Task<TagGroupResponse>

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

Exceptions

JsonApiException

Thrown when the HTTP response indicates a failure status code.

IncludeFolder()

Include related Folder resources in the response.

public TagGroupClient IncludeFolder()

Returns

TagGroupClient

IncludeTags()

Include related Tags resources in the response.

public TagGroupClient IncludeTags()

Returns

TagGroupClient