Table of Contents

Class Rule

Namespace
Crews.PlanningCenter.Api.People.V2025_11_10
Assembly
Crews.PlanningCenter.Api.dll

Attributes for the Rule resource.

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

Constructors

Rule()

public Rule()

Rule(Rule)

protected Rule(Rule original)

Parameters

original Rule

Properties

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?

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

Subset

Planning Center does not provide a description for this attribute.

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

Property Value

string

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

public virtual bool Equals(Rule? other)

Parameters

other Rule

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

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

Parameters

left Rule
right Rule

Returns

bool

operator !=(Rule?, Rule?)

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

Parameters

left Rule
right Rule

Returns

bool