Table of Contents

Class Pass

Namespace
Crews.PlanningCenter.Api.CheckIns.V2019_07_17
Assembly
Crews.PlanningCenter.Api.dll

Attributes for the Pass resource.

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

Constructors

Pass()

public Pass()

Pass(Pass)

protected Pass(Pass original)

Parameters

original Pass

Properties

Code

Planning Center does not provide a description for this attribute.

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

Property Value

string

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

Kind

Possible values: barcode or pkpass.

Using the pkpass value creates a mobile pass and sends an email to the associated person.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("kind")]
public string? Kind { 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(Pass?)

public virtual bool Equals(Pass? other)

Parameters

other Pass

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

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

Parameters

left Pass
right Pass

Returns

bool

operator !=(Pass?, Pass?)

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

Parameters

left Pass
right Pass

Returns

bool