Class ScheduleRelationships
- Namespace
- Crews.PlanningCenter.Api.Services.V2018_11_01
- Assembly
- Crews.PlanningCenter.Api.dll
Relationships for the Schedule resource.
public record ScheduleRelationships : IEquatable<ScheduleRelationships>
- Inheritance
-
ScheduleRelationships
- Implements
- Inherited Members
Constructors
ScheduleRelationships()
public ScheduleRelationships()
ScheduleRelationships(ScheduleRelationships)
protected ScheduleRelationships(ScheduleRelationships original)
Parameters
originalScheduleRelationships
Properties
EqualityContract
protected virtual Type EqualityContract { get; }
Property Value
Organization
Related Organization resource.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("organization")]
public JsonApiRelationship<OrganizationResource>? Organization { get; init; }
Property Value
- JsonApiRelationship<OrganizationResource>
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>
PlanPerson
Related PlanPerson resource.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("plan_person")]
public JsonApiRelationship<PlanPersonResource>? PlanPerson { get; init; }
Property Value
- JsonApiRelationship<PlanPersonResource>
RespondsToPerson
Related RespondsToPerson resource.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("responds_to_person")]
public JsonApiRelationship<PersonResource>? RespondsToPerson { get; init; }
Property Value
- JsonApiRelationship<PersonResource>
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>
Times
Related Times resource.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("times")]
public JsonApiCollectionRelationship<PlanTimeResource>? Times { get; init; }
Property Value
- JsonApiCollectionRelationship<PlanTimeResource>
Methods
Equals(ScheduleRelationships?)
public virtual bool Equals(ScheduleRelationships? other)
Parameters
otherScheduleRelationships
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 ==(ScheduleRelationships?, ScheduleRelationships?)
public static bool operator ==(ScheduleRelationships? left, ScheduleRelationships? right)
Parameters
leftScheduleRelationshipsrightScheduleRelationships
Returns
operator !=(ScheduleRelationships?, ScheduleRelationships?)
public static bool operator !=(ScheduleRelationships? left, ScheduleRelationships? right)
Parameters
leftScheduleRelationshipsrightScheduleRelationships