Class PlanRelationships
- Namespace
- Crews.PlanningCenter.Api.Services.V2018_11_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
originalPlanRelationships
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
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
otherPlanRelationships
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 ==(PlanRelationships?, PlanRelationships?)
public static bool operator ==(PlanRelationships? left, PlanRelationships? right)
Parameters
leftPlanRelationshipsrightPlanRelationships
Returns
operator !=(PlanRelationships?, PlanRelationships?)
public static bool operator !=(PlanRelationships? left, PlanRelationships? right)
Parameters
leftPlanRelationshipsrightPlanRelationships