Table of Contents

Class AttachmentRelationships

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

Relationships for the Attachment resource.

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

Constructors

AttachmentRelationships()

public AttachmentRelationships()

AttachmentRelationships(AttachmentRelationships)

protected AttachmentRelationships(AttachmentRelationships original)

Parameters

original AttachmentRelationships

Properties

Administrator

Related Administrator resource.

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

Property Value

JsonApiRelationship<PersonResource>

Attachable

Related Attachable resource.

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

Property Value

JsonApiRelationship<PlanResource>

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

UpdatedBy

Related UpdatedBy resource.

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

Property Value

JsonApiRelationship<PersonResource>

Methods

Equals(AttachmentRelationships?)

public virtual bool Equals(AttachmentRelationships? other)

Parameters

other AttachmentRelationships

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

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

Parameters

left AttachmentRelationships
right AttachmentRelationships

Returns

bool

operator !=(AttachmentRelationships?, AttachmentRelationships?)

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

Parameters

left AttachmentRelationships
right AttachmentRelationships

Returns

bool