Table of Contents

Class PersonResource

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

An attendee, volunteer or administrator.

Usually, a person who checked in will be present as a Person. In some cases, they may not be present:
- The person was manually deleted from the admin interface
- The check-in was created as a "Visitor - Label Only" (which doesn't create a corresponding person record)

public record PersonResource : JsonApiResource<Person>, IEquatable<JsonApiResourceIdentifier>, IEquatable<JsonApiResource>, IEquatable<JsonApiResource<Person>>, IEquatable<PersonResource>
Inheritance
JsonApiResourceIdentifier
JsonApiResource
JsonApiResource<Person>
PersonResource
Implements
IEquatable<JsonApiResourceIdentifier>
IEquatable<JsonApiResource>
IEquatable<JsonApiResource<Person>>
Inherited Members
JsonApiResource<Person>.Equals(JsonApiResource)
JsonApiResource<Person>.Attributes
JsonApiResource.Equals(JsonApiResourceIdentifier)
JsonApiResource.Relationships
JsonApiResource.Links
JsonApiResource.Meta
JsonApiResourceIdentifier.Id
JsonApiResourceIdentifier.LId
JsonApiResourceIdentifier.Type

Constructors

PersonResource()

public PersonResource()

PersonResource(PersonResource)

protected PersonResource(PersonResource original)

Parameters

original PersonResource

Properties

EqualityContract

protected override Type EqualityContract { get; }

Property Value

Type

Methods

Equals(PersonResource?)

public virtual bool Equals(PersonResource? other)

Parameters

other PersonResource

Returns

bool

Equals(JsonApiResource<Person>?)

public override sealed bool Equals(JsonApiResource<Person>? other)

Parameters

other JsonApiResource<Person>

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 override bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

ToString()

public override string ToString()

Returns

string

Operators

operator ==(PersonResource?, PersonResource?)

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

Parameters

left PersonResource
right PersonResource

Returns

bool

operator !=(PersonResource?, PersonResource?)

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

Parameters

left PersonResource
right PersonResource

Returns

bool