Table of Contents

Class PhoneNumber

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

Attributes for the PhoneNumber resource.

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

Constructors

PhoneNumber()

public PhoneNumber()

PhoneNumber(PhoneNumber)

protected PhoneNumber(PhoneNumber original)

Parameters

original PhoneNumber

Properties

Carrier

Planning Center does not provide a description for this attribute.

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

Property Value

string

CountryCode

Planning Center does not provide a description for this attribute.

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

E164

Planning Center does not provide a description for this attribute.

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

Property Value

string

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

FormattedNumber

Only available when requested with the ?fields param

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

Property Value

string

International

Planning Center does not provide a description for this attribute.

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

Property Value

string

Location

Planning Center does not provide a description for this attribute.

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

Property Value

string

National

Planning Center does not provide a description for this attribute.

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

Property Value

string

Number

Planning Center does not provide a description for this attribute.

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

Property Value

string

Primary

Planning Center does not provide a description for this attribute.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("primary")]
public bool? Primary { get; init; }

Property Value

bool?

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

public virtual bool Equals(PhoneNumber? other)

Parameters

other PhoneNumber

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

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

Parameters

left PhoneNumber
right PhoneNumber

Returns

bool

operator !=(PhoneNumber?, PhoneNumber?)

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

Parameters

left PhoneNumber
right PhoneNumber

Returns

bool