Table of Contents

Class Media

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

Attributes for the Media resource.

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

Constructors

Media()

public Media()

Media(Media)

protected Media(Media original)

Parameters

original Media

Properties

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?

CreatorName

Planning Center does not provide a description for this attribute.

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

Property Value

string

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

ImageUrl

Planning Center does not provide a description for this attribute.

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

Property Value

string

Length

Planning Center does not provide a description for this attribute.

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

Property Value

int?

MediaType

Possible Values:

- audio

- background_audio

- background_image

- background_video

- countdown

- curriculum

- document

- drama

- image

- powerpoint

- song_video

- video

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

Property Value

string

MediaTypeName

Planning Center does not provide a description for this attribute.

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

Property Value

string

PreviewContentType

Planning Center does not provide a description for this attribute.

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

Property Value

string

PreviewFileName

Planning Center does not provide a description for this attribute.

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

Property Value

string

PreviewFileSize

Planning Center does not provide a description for this attribute.

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

Property Value

int?

PreviewUpdatedAt

Planning Center does not provide a description for this attribute.

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

Property Value

DateTime?

PreviewUrl

Planning Center does not provide a description for this attribute.

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

Property Value

string

Themes

Planning Center does not provide a description for this attribute.

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

Property Value

string

ThumbnailContentType

Planning Center does not provide a description for this attribute.

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

Property Value

string

ThumbnailFileName

Planning Center does not provide a description for this attribute.

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

Property Value

string

ThumbnailFileSize

Planning Center does not provide a description for this attribute.

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

Property Value

int?

ThumbnailUpdatedAt

Planning Center does not provide a description for this attribute.

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

Property Value

DateTime?

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

Title

Planning Center does not provide a description for this attribute.

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

Property Value

string

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?

Methods

Equals(Media?)

public virtual bool Equals(Media? other)

Parameters

other Media

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

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

Parameters

left Media
right Media

Returns

bool

operator !=(Media?, Media?)

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

Parameters

left Media
right Media

Returns

bool