Table of Contents

Class PlanPersonRelationships

Namespace
Crews.PlanningCenter.Api.Services.V2018_11_01
Assembly
Crews.PlanningCenter.Api.dll

Relationships for the PlanPerson resource.

public record PlanPersonRelationships : IEquatable<PlanPersonRelationships>
Inheritance
PlanPersonRelationships
Implements
Inherited Members

Constructors

PlanPersonRelationships()

public PlanPersonRelationships()

PlanPersonRelationships(PlanPersonRelationships)

protected PlanPersonRelationships(PlanPersonRelationships original)

Parameters

original PlanPersonRelationships

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>

RespondsTo

Related RespondsTo resource.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("responds_to")]
public JsonApiRelationship<PersonResource>? RespondsTo { get; init; }

Property Value

JsonApiRelationship<PersonResource>

ScheduledBy

Related ScheduledBy resource.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("scheduled_by")]
public JsonApiRelationship<PersonResource>? ScheduledBy { get; init; }

Property Value

JsonApiRelationship<PersonResource>

ServiceTimes

Related ServiceTimes resource.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("service_times")]
public JsonApiCollectionRelationship<PlanTimeResource>? ServiceTimes { get; init; }

Property Value

JsonApiCollectionRelationship<PlanTimeResource>

ServiceType

Related ServiceType resource.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("service_type")]
public JsonApiRelationship<ServiceTypeResource>? ServiceType { get; init; }

Property Value

JsonApiRelationship<ServiceTypeResource>

Team

Related Team resource.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("team")]
public JsonApiRelationship<TeamResource>? Team { get; init; }

Property Value

JsonApiRelationship<TeamResource>

TimePreferenceOptions

Related TimePreferenceOptions resource.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("time_preference_options")]
public JsonApiCollectionRelationship<TimePreferenceOptionResource>? TimePreferenceOptions { get; init; }

Property Value

JsonApiCollectionRelationship<TimePreferenceOptionResource>

Times

Related Times resource.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("times")]
public JsonApiCollectionRelationship<PlanTimeResource>? Times { get; init; }

Property Value

JsonApiCollectionRelationship<PlanTimeResource>

Methods

Equals(PlanPersonRelationships?)

public virtual bool Equals(PlanPersonRelationships? other)

Parameters

other PlanPersonRelationships

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

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

Parameters

left PlanPersonRelationships
right PlanPersonRelationships

Returns

bool

operator !=(PlanPersonRelationships?, PlanPersonRelationships?)

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

Parameters

left PlanPersonRelationships
right PlanPersonRelationships

Returns

bool