Table of Contents

Class ServiceType

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

Attributes for the ServiceType resource.

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

Constructors

ServiceType()

public ServiceType()

ServiceType(ServiceType)

protected ServiceType(ServiceType original)

Parameters

original ServiceType

Properties

ArchivedAt

Planning Center does not provide a description for this attribute.

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

Property Value

DateTime?

AttachmentTypesEnabled

Planning Center does not provide a description for this attribute.

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

Property Value

bool?

BackgroundCheckPermissions

Planning Center does not provide a description for this attribute.

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

Property Value

string

CommentPermissions

Planning Center does not provide a description for this attribute.

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

CustomItemTypes

A array of hashes that maps an item title substring matcher to a color:

[{ name: "Announcements", color: "#FFFFFF" }]

Valid substring matchers are any string that could be used as an item title.

A color is the hexadecimal value of a valid color e.g. #FFFFFF
Valid colors values are #e8f6df, #e0f7ff, #e6e2fd, #ffe0e8, #ffedd1, #cfcfcf, #eaebeb, and #ffffff

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("custom_item_types")]
public JsonArray? CustomItemTypes { get; init; }

Property Value

JsonArray

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?

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

Frequency

Planning Center does not provide a description for this attribute.

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

Property Value

string

LastPlanFrom

Planning Center does not provide a description for this attribute.

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

Property Value

string

Name

Planning Center does not provide a description for this attribute.

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

Property Value

string

Permissions

Planning Center does not provide a description for this attribute.

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

Property Value

string

ScheduledPublish

Planning Center does not provide a description for this attribute.

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

Property Value

bool?

Sequence

Planning Center does not provide a description for this attribute.

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

Property Value

int?

StandardItemTypes

An array of hashes that maps an item type to a color:

[{ name: "Header", color: "#FFFFFF" }]

Valid names are Header, Song, and Media.

A color is the hexadecimal value of a valid color e.g. #FFFFFF
Valid colors values are #e8f6df, #e0f7ff, #e6e2fd, #ffe0e8, #ffedd1, #cfcfcf, #eaebeb, and #ffffff

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("standard_item_types")]
public JsonArray? StandardItemTypes { get; init; }

Property Value

JsonArray

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(ServiceType?)

public virtual bool Equals(ServiceType? other)

Parameters

other ServiceType

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

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

Parameters

left ServiceType
right ServiceType

Returns

bool

operator !=(ServiceType?, ServiceType?)

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

Parameters

left ServiceType
right ServiceType

Returns

bool