Table of Contents

Class Attachment

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

Attributes for the Attachment resource.

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

Constructors

Attachment()

public Attachment()

Attachment(Attachment)

protected Attachment(Attachment original)

Parameters

original Attachment

Properties

AllowMp3Download

Planning Center does not provide a description for this attribute.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("allow_mp3_download")]
public bool? AllowMp3Download { get; init; }

Property Value

bool?

Content

Planning Center does not provide a description for this attribute.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("content")]
public string? Content { get; init; }

Property Value

string

ContentType

Planning Center does not provide a description for this attribute.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("content_type")]
public string? ContentType { get; init; }

Property Value

string

CreatedAt

Planning Center does not provide a description for this attribute.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("created_at")]
public DateTime? CreatedAt { get; init; }

Property Value

DateTime?

DeletedAt

Planning Center does not provide a description for this attribute.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("deleted_at")]
public DateTime? DeletedAt { get; init; }

Property Value

DateTime?

DisplayName

Planning Center does not provide a description for this attribute.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("display_name")]
public string? DisplayName { get; init; }

Property Value

string

Downloadable

Planning Center does not provide a description for this attribute.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("downloadable")]
public bool? Downloadable { get; init; }

Property Value

bool?

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

FileSize

Planning Center does not provide a description for this attribute.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("file_size")]
public int? FileSize { get; init; }

Property Value

int?

FileUploadIdentifier

Planning Center File UUID. Required only when creating a file attachment. See the "File Uploads" section of the API documentation for more information.

Only available when requested with the ?fields param

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("file_upload_identifier")]
public string? FileUploadIdentifier { get; init; }

Property Value

string

Filename

Planning Center does not provide a description for this attribute.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("filename")]
public string? Filename { get; init; }

Property Value

string

Filetype

Planning Center does not provide a description for this attribute.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("filetype")]
public string? Filetype { get; init; }

Property Value

string

HasPreview

Planning Center does not provide a description for this attribute.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("has_preview")]
public bool? HasPreview { get; init; }

Property Value

bool?

ImportToItemDetails

Planning Center does not provide a description for this attribute.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("import_to_item_details")]
public bool? ImportToItemDetails { get; init; }

Property Value

bool?

LicensesPurchased

Planning Center does not provide a description for this attribute.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("licenses_purchased")]
public int? LicensesPurchased { get; init; }

Property Value

int?

LicensesRemaining

Planning Center does not provide a description for this attribute.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("licenses_remaining")]
public int? LicensesRemaining { get; init; }

Property Value

int?

LicensesUsed

Planning Center does not provide a description for this attribute.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("licenses_used")]
public int? LicensesUsed { get; init; }

Property Value

int?

LinkedUrl

Planning Center does not provide a description for this attribute.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("linked_url")]
public string? LinkedUrl { get; init; }

Property Value

string

PageOrder

Planning Center does not provide a description for this attribute.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("page_order")]
public string? PageOrder { get; init; }

Property Value

string

PcoType

Planning Center does not provide a description for this attribute.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("pco_type")]
public string? PcoType { get; init; }

Property Value

string

Planning Center does not provide a description for this attribute.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("remote_link")]
public string? RemoteLink { get; init; }

Property Value

string

Streamable

Planning Center does not provide a description for this attribute.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("streamable")]
public bool? Streamable { get; init; }

Property Value

bool?

ThumbnailUrl

Planning Center does not provide a description for this attribute.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("thumbnail_url")]
public string? ThumbnailUrl { get; init; }

Property Value

string

Transposable

Planning Center does not provide a description for this attribute.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("transposable")]
public bool? Transposable { get; init; }

Property Value

bool?

UpdatedAt

Planning Center does not provide a description for this attribute.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("updated_at")]
public DateTime? UpdatedAt { get; init; }

Property Value

DateTime?

Url

Planning Center does not provide a description for this attribute.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("url")]
public string? Url { get; init; }

Property Value

string

WebStreamable

Planning Center does not provide a description for this attribute.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("web_streamable")]
public bool? WebStreamable { get; init; }

Property Value

bool?

Methods

Equals(Attachment?)

public virtual bool Equals(Attachment? other)

Parameters

other Attachment

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

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

Parameters

left Attachment
right Attachment

Returns

bool

operator !=(Attachment?, Attachment?)

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

Parameters

left Attachment
right Attachment

Returns

bool