Table of Contents

Class ContributorRelationships

Namespace
Crews.PlanningCenter.Api.Services.V2018_08_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

original ContributorRelationships

Properties

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

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

other ContributorRelationships

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

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

Parameters

left ContributorRelationships
right ContributorRelationships

Returns

bool

operator !=(ContributorRelationships?, ContributorRelationships?)

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

Parameters

left ContributorRelationships
right ContributorRelationships

Returns

bool