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
originalServiceType
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
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
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
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
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
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
EqualityContract
protected virtual Type EqualityContract { get; }
Property Value
Frequency
Planning Center does not provide a description for this attribute.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("frequency")]
public string? Frequency { get; init; }
Property Value
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
Name
Planning Center does not provide a description for this attribute.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("name")]
public string? Name { get; init; }
Property Value
Permissions
Planning Center does not provide a description for this attribute.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("permissions")]
public string? Permissions { get; init; }
Property Value
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
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
Methods
Equals(ServiceType?)
public virtual bool Equals(ServiceType? other)
Parameters
otherServiceType
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
PrintMembers(StringBuilder)
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
builderStringBuilder
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(ServiceType?, ServiceType?)
public static bool operator ==(ServiceType? left, ServiceType? right)
Parameters
leftServiceTyperightServiceType
Returns
operator !=(ServiceType?, ServiceType?)
public static bool operator !=(ServiceType? left, ServiceType? right)
Parameters
leftServiceTyperightServiceType