Class GroupType
- Namespace
- Crews.PlanningCenter.Api.Groups.V2018_08_01
- Assembly
- Crews.PlanningCenter.Api.dll
Attributes for the GroupType resource.
public record GroupType : IEquatable<GroupType>
- Inheritance
-
GroupType
- Implements
- Inherited Members
Constructors
GroupType()
public GroupType()
GroupType(GroupType)
protected GroupType(GroupType original)
Parameters
originalGroupType
Properties
ChurchCenterMapVisible
true if the map view is visible on the public groups list page. Otherwise false.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("church_center_map_visible")]
public bool? ChurchCenterMapVisible { get; init; }
Property Value
- bool?
ChurchCenterVisible
true if the group type contains any published groups. Otherwise false.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("church_center_visible")]
public bool? ChurchCenterVisible { get; init; }
Property Value
- bool?
Color
Hex color value. Color themes are a visual tool for administrators on the admin side of Groups.
Ex: "#4fd2e3"
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("color")]
public string? Color { get; init; }
Property Value
DefaultGroupSettings
A JSON object of default settings for groups of this type.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("default_group_settings")]
public GroupSettings? DefaultGroupSettings { get; init; }
Property Value
Description
A description of the group type
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("description")]
public string? Description { get; init; }
Property Value
EqualityContract
protected virtual Type EqualityContract { get; }
Property Value
Name
The name of the group type
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("name")]
public string? Name { get; init; }
Property Value
Position
The position of the group type in relation to other group types.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("position")]
public int? Position { get; init; }
Property Value
- int?
PublicChurchCenterWebUrl
The public URL for the group on Church Center.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("public_church_center_web_url")]
public string? PublicChurchCenterWebUrl { get; init; }
Property Value
Methods
Equals(GroupType?)
public virtual bool Equals(GroupType? other)
Parameters
otherGroupType
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 ==(GroupType?, GroupType?)
public static bool operator ==(GroupType? left, GroupType? right)
Parameters
Returns
operator !=(GroupType?, GroupType?)
public static bool operator !=(GroupType? left, GroupType? right)