Class PhoneNumber
- Namespace
- Crews.PlanningCenter.Api.People.V2025_07_17
- 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
originalPhoneNumber
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
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
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
E164
Planning Center does not provide a description for this attribute.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("e164")]
public string? E164 { get; init; }
Property Value
EqualityContract
protected virtual Type EqualityContract { get; }
Property Value
FormattedNumber
Only available when requested with the ?fields param
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("formatted_number")]
public string? FormattedNumber { get; init; }
Property Value
International
Planning Center does not provide a description for this attribute.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("international")]
public string? International { get; init; }
Property Value
Location
Planning Center does not provide a description for this attribute.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("location")]
public string? Location { get; init; }
Property Value
National
Planning Center does not provide a description for this attribute.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("national")]
public string? National { get; init; }
Property Value
Number
Planning Center does not provide a description for this attribute.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("number")]
public string? Number { get; init; }
Property Value
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
Methods
Equals(PhoneNumber?)
public virtual bool Equals(PhoneNumber? other)
Parameters
otherPhoneNumber
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 ==(PhoneNumber?, PhoneNumber?)
public static bool operator ==(PhoneNumber? left, PhoneNumber? right)
Parameters
leftPhoneNumberrightPhoneNumber
Returns
operator !=(PhoneNumber?, PhoneNumber?)
public static bool operator !=(PhoneNumber? left, PhoneNumber? right)
Parameters
leftPhoneNumberrightPhoneNumber