primary
A Boolean value representing whether this is the primary phone number for the associated resource.
- Returns:
- A Boolean value representing whether this is the primary phone number for the associated resource.
Serializable
, SdkPojo
, ToCopyableBuilder<PhoneNumber.Builder,PhoneNumber>
The phone number associated with the user.
static PhoneNumber.Builder
builder()
final boolean
final boolean
equalsBySdkFields(Object obj)
final <T> Optional<T>
getValueForField(String fieldName,
Class<T> clazz)
final int
hashCode()
final Boolean
primary()
static Class<? extends PhoneNumber.Builder>
final String
toString()
final String
type()
final String
value()
copy
A string containing a phone number. For example, "8675309" or "+1 (800) 123-4567".
A string representing the type of a phone number. For example, "Mobile."
A Boolean value representing whether this is the primary phone number for the associated resource.
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<PhoneNumber.Builder,PhoneNumber>
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withsdkFieldNameToField
in interface SdkPojo