Table of Contents

Class LabelResource

Namespace
Crews.PlanningCenter.Api.CheckIns.V2025_05_28
Assembly
Crews.PlanningCenter.Api.dll

Labels can be set to print for events (through EventLabels),
locations (through LocationLabels) or options.
Label type (security label / name label) is expressed with the
prints_for attribute. prints_for="Person" is a name label,
prints_for="Group" is a security label.

public record LabelResource : JsonApiResource<Label>, IEquatable<JsonApiResourceIdentifier>, IEquatable<JsonApiResource>, IEquatable<JsonApiResource<Label>>, IEquatable<LabelResource>
Inheritance
JsonApiResourceIdentifier
JsonApiResource
JsonApiResource<Label>
LabelResource
Implements
IEquatable<JsonApiResourceIdentifier>
IEquatable<JsonApiResource>
IEquatable<JsonApiResource<Label>>
Inherited Members
JsonApiResource<Label>.Equals(JsonApiResource)
JsonApiResource<Label>.Attributes
JsonApiResource.Equals(JsonApiResourceIdentifier)
JsonApiResource.Relationships
JsonApiResource.Links
JsonApiResource.Meta
JsonApiResourceIdentifier.Id
JsonApiResourceIdentifier.LId
JsonApiResourceIdentifier.Type

Constructors

LabelResource()

public LabelResource()

LabelResource(LabelResource)

protected LabelResource(LabelResource original)

Parameters

original LabelResource

Properties

EqualityContract

protected override Type EqualityContract { get; }

Property Value

Type

Methods

Equals(LabelResource?)

public virtual bool Equals(LabelResource? other)

Parameters

other LabelResource

Returns

bool

Equals(JsonApiResource<Label>?)

public override sealed bool Equals(JsonApiResource<Label>? other)

Parameters

other JsonApiResource<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 override bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

ToString()

public override string ToString()

Returns

string

Operators

operator ==(LabelResource?, LabelResource?)

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

Parameters

left LabelResource
right LabelResource

Returns

bool

operator !=(LabelResource?, LabelResource?)

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

Parameters

left LabelResource
right LabelResource

Returns

bool