Table of Contents

Class PlanRelationships

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

Relationships for the Plan resource.

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

Constructors

PlanRelationships()

public PlanRelationships()

PlanRelationships(PlanRelationships)

protected PlanRelationships(PlanRelationships original)

Parameters

original PlanRelationships

Properties

AttachmentTypes

Related AttachmentTypes resource.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("attachment_types")]
public JsonApiCollectionRelationship<AttachmentTypeResource>? AttachmentTypes { get; init; }

Property Value

JsonApiCollectionRelationship<AttachmentTypeResource>

CreatedBy

Related CreatedBy resource.

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

Property Value

JsonApiRelationship<PersonResource>

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

LinkedPublishingEpisode

Related LinkedPublishingEpisode resource.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("linked_publishing_episode")]
public JsonApiRelationship<JsonApiResourceIdentifier>? LinkedPublishingEpisode { get; init; }

Property Value

JsonApiRelationship<JsonApiResourceIdentifier>

NextPlan

Related NextPlan resource.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("next_plan")]
public JsonApiRelationship<PlanResource>? NextPlan { get; init; }

Property Value

JsonApiRelationship<PlanResource>

PreviousPlan

Related PreviousPlan resource.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("previous_plan")]
public JsonApiRelationship<PlanResource>? PreviousPlan { get; init; }

Property Value

JsonApiRelationship<PlanResource>

Series

Related Series resource.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("series")]
public JsonApiRelationship<SeriesResource>? Series { get; init; }

Property Value

JsonApiRelationship<SeriesResource>

ServiceType

Related ServiceType resource.

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

Property Value

JsonApiRelationship<ServiceTypeResource>

UpdatedBy

Related UpdatedBy resource.

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

Property Value

JsonApiRelationship<PersonResource>

Methods

Equals(PlanRelationships?)

public virtual bool Equals(PlanRelationships? other)

Parameters

other PlanRelationships

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

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

Parameters

left PlanRelationships
right PlanRelationships

Returns

bool

operator !=(PlanRelationships?, PlanRelationships?)

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

Parameters

left PlanRelationships
right PlanRelationships

Returns

bool