Class Person
- Namespace
- Crews.PlanningCenter.Api.Webhooks
- Assembly
- Crews.PlanningCenter.Api.dll
Represents a Person resource.
[ExcludeFromCodeCoverage(Justification = "This type is a DTO with no logic to test.")]
public record Person : IEquatable<Person>
- Inheritance
-
Person
- Implements
- Inherited Members
Constructors
Person()
public Person()
Person(Person)
protected Person(Person original)
Parameters
originalPerson
Properties
EqualityContract
protected virtual Type EqualityContract { get; }
Property Value
Name
The name of the person.
[JsonPropertyName("name")]
public string? Name { get; init; }
Property Value
Methods
Equals(Person?)
public virtual bool Equals(Person? other)
Parameters
otherPerson
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 ==(Person?, Person?)
public static bool operator ==(Person? left, Person? right)
Parameters
Returns
operator !=(Person?, Person?)
public static bool operator !=(Person? left, Person? right)