Class ContributorRelationships
- Namespace
- Crews.PlanningCenter.Api.Services.V2018_11_01
- Assembly
- Crews.PlanningCenter.Api.dll
Relationships for the Contributor resource.
public record ContributorRelationships : IEquatable<ContributorRelationships>
- Inheritance
-
ContributorRelationships
- Implements
- Inherited Members
Constructors
ContributorRelationships()
public ContributorRelationships()
ContributorRelationships(ContributorRelationships)
protected ContributorRelationships(ContributorRelationships original)
Parameters
originalContributorRelationships
Properties
EqualityContract
protected virtual Type EqualityContract { get; }
Property Value
Person
Related Person resource.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("person")]
public JsonApiRelationship<PersonResource>? Person { get; init; }
Property Value
- JsonApiRelationship<PersonResource>
Plan
Related Plan resource.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("plan")]
public JsonApiRelationship<PlanResource>? Plan { get; init; }
Property Value
- JsonApiRelationship<PlanResource>
Methods
Equals(ContributorRelationships?)
public virtual bool Equals(ContributorRelationships? other)
Parameters
otherContributorRelationships
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 ==(ContributorRelationships?, ContributorRelationships?)
public static bool operator ==(ContributorRelationships? left, ContributorRelationships? right)
Parameters
leftContributorRelationshipsrightContributorRelationships
Returns
operator !=(ContributorRelationships?, ContributorRelationships?)
public static bool operator !=(ContributorRelationships? left, ContributorRelationships? right)
Parameters
leftContributorRelationshipsrightContributorRelationships