Class LabelResource
- Namespace
- Crews.PlanningCenter.Api.CheckIns.V2019_07_17
- 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 theprints_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
-
JsonApiResourceIdentifierJsonApiResourceJsonApiResource<Label>LabelResource
- Implements
-
IEquatable<JsonApiResourceIdentifier>IEquatable<JsonApiResource>
- Inherited Members
-
JsonApiResource<Label>.Equals(JsonApiResource)JsonApiResource<Label>.AttributesJsonApiResource.Equals(JsonApiResourceIdentifier)JsonApiResource.RelationshipsJsonApiResource.LinksJsonApiResource.MetaJsonApiResourceIdentifier.IdJsonApiResourceIdentifier.LIdJsonApiResourceIdentifier.Type
Constructors
LabelResource()
public LabelResource()
LabelResource(LabelResource)
protected LabelResource(LabelResource original)
Parameters
originalLabelResource
Properties
EqualityContract
protected override Type EqualityContract { get; }
Property Value
Methods
Equals(LabelResource?)
public virtual bool Equals(LabelResource? other)
Parameters
otherLabelResource
Returns
Equals(JsonApiResource<Label>?)
public override sealed bool Equals(JsonApiResource<Label>? other)
Parameters
otherJsonApiResource<Label>
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
PrintMembers(StringBuilder)
protected override bool PrintMembers(StringBuilder builder)
Parameters
builderStringBuilder
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(LabelResource?, LabelResource?)
public static bool operator ==(LabelResource? left, LabelResource? right)
Parameters
leftLabelResourcerightLabelResource
Returns
operator !=(LabelResource?, LabelResource?)
public static bool operator !=(LabelResource? left, LabelResource? right)
Parameters
leftLabelResourcerightLabelResource