Class Label
- Namespace
- Crews.PlanningCenter.Api.Giving.V2019_10_18
- Assembly
- Crews.PlanningCenter.Api.dll
Attributes for the Label resource.
public record Label : IEquatable<Label>
- Inheritance
-
Label
- Implements
- Inherited Members
Constructors
Label()
public Label()
Label(Label)
protected Label(Label original)
Parameters
originalLabel
Properties
EqualityContract
protected virtual Type EqualityContract { get; }
Property Value
Slug
The label text itself. Made up solely of lowercase letters, numbers, and dashes. When creating or updating a label, the string you provide will be formatted automatically. For example: My awesome label! will be saved as my-awesome-label
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("slug")]
public string? Slug { get; init; }
Property Value
Methods
Equals(Label?)
public virtual bool Equals(Label? other)
Parameters
otherLabel
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 ==(Label?, Label?)
public static bool operator ==(Label? left, Label? right)
Parameters
Returns
operator !=(Label?, Label?)
public static bool operator !=(Label? left, Label? right)