Class Tag
- Namespace
- Crews.PlanningCenter.Api.Calendar.V2018_08_01
- Assembly
- Crews.PlanningCenter.Api.dll
Attributes for the Tag resource.
public record Tag : IEquatable<Tag>
- Inheritance
-
Tag
- Implements
- Inherited Members
Constructors
Tag()
public Tag()
Tag(Tag)
protected Tag(Tag original)
Parameters
originalTag
Properties
ChurchCenterCategory
true indicates that this tag is used as a category on Church Center
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("church_center_category")]
public bool? ChurchCenterCategory { get; init; }
Property Value
- bool?
Color
Hex color code of the tag
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("color")]
public string? Color { get; init; }
Property Value
CreatedAt
UTC time at which the tag was created
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("created_at")]
public DateTime? CreatedAt { get; init; }
Property Value
EqualityContract
protected virtual Type EqualityContract { get; }
Property Value
Name
The tag name
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("name")]
public string? Name { get; init; }
Property Value
Position
If the tag belongs to a TagGroup,
position indicates place in list within TagGroup in the UI.
If the tag does not belong to a TagGroup,
position indicates place in list under "Individual Tags" in the UI.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("position")]
public decimal? Position { get; init; }
Property Value
UpdatedAt
UTC time at which the tag was updated
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("updated_at")]
public DateTime? UpdatedAt { get; init; }
Property Value
Methods
Equals(Tag?)
public virtual bool Equals(Tag? other)
Parameters
otherTag
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
PrintMembers(StringBuilder)
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
builderStringBuilder
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(Tag?, Tag?)
public static bool operator ==(Tag? left, Tag? right)
Parameters
Returns
operator !=(Tag?, Tag?)
public static bool operator !=(Tag? left, Tag? right)