Class AttachmentTypeResource
- Namespace
- Crews.PlanningCenter.Api.Services.V2018_08_01
- Assembly
- Crews.PlanningCenter.Api.dll
Create an Attachment Type for each type of file you might want only specific people to see. When you attach a file, you can specify an attachment type to then be able to link the file to a position.
public record AttachmentTypeResource : JsonApiResource<AttachmentType, AttachmentTypeRelationships>, IEquatable<JsonApiResourceIdentifier>, IEquatable<JsonApiResource>, IEquatable<JsonApiResource<AttachmentType>>, IEquatable<JsonApiResource<AttachmentType, AttachmentTypeRelationships>>, IEquatable<AttachmentTypeResource>
- Inheritance
-
JsonApiResourceIdentifierJsonApiResourceJsonApiResource<AttachmentType>AttachmentTypeResource
- Implements
-
IEquatable<JsonApiResourceIdentifier>IEquatable<JsonApiResource>
- Inherited Members
-
JsonApiResource<AttachmentType, AttachmentTypeRelationships>.ToString()JsonApiResource<AttachmentType, AttachmentTypeRelationships>.GetHashCode()JsonApiResource<AttachmentType, AttachmentTypeRelationships>.Equals(JsonApiResource<AttachmentType>)JsonApiResource<AttachmentType, AttachmentTypeRelationships>.Equals(JsonApiResource<AttachmentType, AttachmentTypeRelationships>)JsonApiResource<AttachmentType, AttachmentTypeRelationships>.<Clone>$()JsonApiResource<AttachmentType, AttachmentTypeRelationships>.EqualityContractJsonApiResource<AttachmentType, AttachmentTypeRelationships>.RelationshipsJsonApiResource<AttachmentType>.Equals(JsonApiResource)JsonApiResource<AttachmentType>.Equals(JsonApiResource<AttachmentType>)JsonApiResource<AttachmentType>.AttributesJsonApiResource.Equals(JsonApiResourceIdentifier)JsonApiResource.RelationshipsJsonApiResource.LinksJsonApiResource.MetaJsonApiResourceIdentifier.IdJsonApiResourceIdentifier.LIdJsonApiResourceIdentifier.Type
Constructors
AttachmentTypeResource()
public AttachmentTypeResource()
AttachmentTypeResource(AttachmentTypeResource)
protected AttachmentTypeResource(AttachmentTypeResource original)
Parameters
originalAttachmentTypeResource
Properties
EqualityContract
protected override Type EqualityContract { get; }
Property Value
Methods
Equals(AttachmentTypeResource?)
public virtual bool Equals(AttachmentTypeResource? other)
Parameters
otherAttachmentTypeResource
Returns
Equals(JsonApiResource<AttachmentType, AttachmentTypeRelationships>?)
public override sealed bool Equals(JsonApiResource<AttachmentType, AttachmentTypeRelationships>? other)
Parameters
otherJsonApiResource<AttachmentType, AttachmentTypeRelationships>
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
PrintMembers(StringBuilder)
protected override bool PrintMembers(StringBuilder builder)
Parameters
builderStringBuilder
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(AttachmentTypeResource?, AttachmentTypeResource?)
public static bool operator ==(AttachmentTypeResource? left, AttachmentTypeResource? right)
Parameters
leftAttachmentTypeResourcerightAttachmentTypeResource
Returns
operator !=(AttachmentTypeResource?, AttachmentTypeResource?)
public static bool operator !=(AttachmentTypeResource? left, AttachmentTypeResource? right)
Parameters
leftAttachmentTypeResourcerightAttachmentTypeResource