Table of Contents

Class Song

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

Attributes for the Song resource.

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

Constructors

Song()

public Song()

Song(Song)

protected Song(Song original)

Parameters

original Song

Properties

Admin

Planning Center does not provide a description for this attribute.

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

Property Value

string

Author

Planning Center does not provide a description for this attribute.

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

Property Value

string

CcliNumber

Planning Center does not provide a description for this attribute.

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

Property Value

int?

Planning Center does not provide a description for this attribute.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("copyright")]
public string? Copyright { 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?

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

Hidden

Planning Center does not provide a description for this attribute.

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

Property Value

bool?

LastScheduledAt

Planning Center does not provide a description for this attribute.

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

Property Value

DateTime?

LastScheduledShortDates

Planning Center does not provide a description for this attribute.

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

Property Value

string

Notes

Planning Center does not provide a description for this attribute.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("notes")]
public string? Notes { 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

Title

The name of the song.

When setting this value on a create you can pass a CCLI number and Services will fetch the song metadata for you.

[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(Song?)

public virtual bool Equals(Song? other)

Parameters

other Song

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

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

Parameters

left Song
right Song

Returns

bool

operator !=(Song?, Song?)

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

Parameters

left Song
right Song

Returns

bool