Class AttachmentRelationships
- Namespace
- Crews.PlanningCenter.Api.Calendar.V2020_04_08
- 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
originalAttachmentRelationships
Properties
EqualityContract
protected virtual Type EqualityContract { get; }
Property Value
Event
Related Event resource.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("event")]
public JsonApiRelationship<EventResource>? Event { get; init; }
Property Value
- JsonApiRelationship<EventResource>
Methods
Equals(AttachmentRelationships?)
public virtual bool Equals(AttachmentRelationships? other)
Parameters
otherAttachmentRelationships
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 ==(AttachmentRelationships?, AttachmentRelationships?)
public static bool operator ==(AttachmentRelationships? left, AttachmentRelationships? right)
Parameters
leftAttachmentRelationshipsrightAttachmentRelationships
Returns
operator !=(AttachmentRelationships?, AttachmentRelationships?)
public static bool operator !=(AttachmentRelationships? left, AttachmentRelationships? right)
Parameters
leftAttachmentRelationshipsrightAttachmentRelationships