Class PlanPersonRelationships
- Namespace
- Crews.PlanningCenter.Api.Services.V2018_08_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
originalPlanPersonRelationships
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>
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
otherPlanPersonRelationships
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 ==(PlanPersonRelationships?, PlanPersonRelationships?)
public static bool operator ==(PlanPersonRelationships? left, PlanPersonRelationships? right)
Parameters
leftPlanPersonRelationshipsrightPlanPersonRelationships
Returns
operator !=(PlanPersonRelationships?, PlanPersonRelationships?)
public static bool operator !=(PlanPersonRelationships? left, PlanPersonRelationships? right)
Parameters
leftPlanPersonRelationshipsrightPlanPersonRelationships