Table of Contents

Class Label

Namespace
Crews.PlanningCenter.Api.Giving.V2018_08_01
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

original Label

Properties

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

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

string

Methods

Equals(Label?)

public virtual bool Equals(Label? other)

Parameters

other Label

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 ==(Label?, Label?)

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

Parameters

left Label
right Label

Returns

bool

operator !=(Label?, Label?)

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

Parameters

left Label
right Label

Returns

bool