Class LabelResource
- Namespace
- Crews.PlanningCenter.Api.Giving.V2018_08_01
- Assembly
- Crews.PlanningCenter.Api.dll
A Label is a way for Admins to manage and categorize Donations.
Multiple Labels can be added for each Donation, and these will only be displayed in the Giving admin interface, so donors never see them.
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