Table of Contents

Class TagGroup

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

Attributes for the TagGroup resource.

public record TagGroup : IEquatable<TagGroup>
Inheritance
TagGroup
Implements
Inherited Members

Constructors

TagGroup()

public TagGroup()

TagGroup(TagGroup)

protected TagGroup(TagGroup original)

Parameters

original TagGroup

Properties

CreatedAt

UTC time at which the tag group was created

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("created_at")]
public DateTime? CreatedAt { get; init; }

Property Value

DateTime?

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

Name

The name of the tag group

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("name")]
public string? Name { get; init; }

Property Value

string

Required

  • true indicates tag from this tag group must be applied when creating an event
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("required")]
public bool? Required { get; init; }

Property Value

bool?

UpdatedAt

UTC time at which the tag group was updated

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("updated_at")]
public DateTime? UpdatedAt { get; init; }

Property Value

DateTime?

Methods

Equals(TagGroup?)

public virtual bool Equals(TagGroup? other)

Parameters

other TagGroup

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

PrintMembers(StringBuilder)

protected virtual bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

ToString()

public override string ToString()

Returns

string

Operators

operator ==(TagGroup?, TagGroup?)

public static bool operator ==(TagGroup? left, TagGroup? right)

Parameters

left TagGroup
right TagGroup

Returns

bool

operator !=(TagGroup?, TagGroup?)

public static bool operator !=(TagGroup? left, TagGroup? right)

Parameters

left TagGroup
right TagGroup

Returns

bool