Table of Contents

Class GroupType

Namespace
Crews.PlanningCenter.Api.Groups.V2023_07_10
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

original GroupType

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

string

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

GroupSettings

Description

A description of the group type

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

Property Value

string

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

Name

The name of the group type

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

Property Value

string

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

string

Methods

Equals(GroupType?)

public virtual bool Equals(GroupType? other)

Parameters

other GroupType

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

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

Parameters

left GroupType
right GroupType

Returns

bool

operator !=(GroupType?, GroupType?)

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

Parameters

left GroupType
right GroupType

Returns

bool