Class OrganizationStatistics
- Namespace
- Crews.PlanningCenter.Api.People
- Assembly
- Crews.PlanningCenter.Api.dll
Attributes for the OrganizationStatistics resource.
[ExcludeFromCodeCoverage(Justification = "This type is a DTO with no logic to test.")]
public record OrganizationStatistics : IEquatable<OrganizationStatistics>
- Inheritance
-
OrganizationStatistics
- Implements
- Inherited Members
Constructors
OrganizationStatistics()
public OrganizationStatistics()
OrganizationStatistics(OrganizationStatistics)
[SetsRequiredMembers]
protected OrganizationStatistics(OrganizationStatistics original)
Parameters
originalOrganizationStatistics
Properties
Age
People counts by age range, each then divided by gender.
[JsonPropertyName("age")]
public required AgeCounts Age { get; init; }
Property Value
Campuses
People counts by campus.
[JsonPropertyName("campuses")]
public IEnumerable<CampusCount> Campuses { get; init; }
Property Value
CreatedLast30Days
Number of people created in the last 30 days.
[JsonPropertyName("created_last_30_days")]
public int CreatedLast30Days { get; init; }
Property Value
ElasticSearch
Planning Center does not provide a description for this attribute.
[JsonPropertyName("elasticsearch")]
public bool ElasticSearch { get; init; }
Property Value
EqualityContract
protected virtual Type EqualityContract { get; }
Property Value
Gender
People counts by gender.
[JsonPropertyName("gender")]
public required GenderCounts Gender { get; init; }
Property Value
GenderIds
Unique identifiers for each gender reused across the organization.
[JsonPropertyName("gender_ids")]
public required GenderIds GenderIds { get; init; }
Property Value
Membership
Membership counts by type.
[JsonPropertyName("membership")]
public IEnumerable<MembershipCount> Membership { get; init; }
Property Value
Total
Total number of people in the organization.
[JsonPropertyName("total")]
public int Total { get; init; }
Property Value
Methods
Equals(OrganizationStatistics?)
public virtual bool Equals(OrganizationStatistics? other)
Parameters
otherOrganizationStatistics
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 ==(OrganizationStatistics?, OrganizationStatistics?)
public static bool operator ==(OrganizationStatistics? left, OrganizationStatistics? right)
Parameters
leftOrganizationStatisticsrightOrganizationStatistics
Returns
operator !=(OrganizationStatistics?, OrganizationStatistics?)
public static bool operator !=(OrganizationStatistics? left, OrganizationStatistics? right)
Parameters
leftOrganizationStatisticsrightOrganizationStatistics