Class PhoneNumber
- java.lang.Object
-
- com.stackone.stackone_client_java.models.components.PhoneNumber
-
public class PhoneNumber extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPhoneNumber.Builder
-
Constructor Summary
Constructors Constructor Description PhoneNumber()PhoneNumber(org.openapitools.jackson.nullable.JsonNullable<? extends PhoneNumberType> type, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> phone)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PhoneNumber.Builderbuilder()booleanequals(java.lang.Object o)inthashCode()org.openapitools.jackson.nullable.JsonNullable<java.lang.String>phone()Phone number stringjava.lang.StringtoString()org.openapitools.jackson.nullable.JsonNullable<PhoneNumberType>type()Type of phone numberPhoneNumberwithPhone(java.lang.String phone)Phone number stringPhoneNumberwithPhone(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> phone)Phone number stringPhoneNumberwithType(PhoneNumberType type)Type of phone numberPhoneNumberwithType(org.openapitools.jackson.nullable.JsonNullable<? extends PhoneNumberType> type)Type of phone number
-
-
-
Constructor Detail
-
PhoneNumber
public PhoneNumber(org.openapitools.jackson.nullable.JsonNullable<? extends PhoneNumberType> type, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> phone)
-
PhoneNumber
public PhoneNumber()
-
-
Method Detail
-
type
public org.openapitools.jackson.nullable.JsonNullable<PhoneNumberType> type()
Type of phone number
-
phone
public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> phone()
Phone number string
-
builder
public static PhoneNumber.Builder builder()
-
withType
public PhoneNumber withType(PhoneNumberType type)
Type of phone number
-
withType
public PhoneNumber withType(org.openapitools.jackson.nullable.JsonNullable<? extends PhoneNumberType> type)
Type of phone number
-
withPhone
public PhoneNumber withPhone(java.lang.String phone)
Phone number string
-
withPhone
public PhoneNumber withPhone(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> phone)
Phone number string
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-