Class NumberIdentity
java.lang.Object
com.sinch.sdk.domains.verification.models.v1.Identity
com.sinch.sdk.domains.verification.models.v1.NumberIdentity
Identity based onto a phone number
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic NumberIdentity.Builder
builder()
Getting Builderboolean
Get related endpointint
hashCode()
toString()
static NumberIdentity
valueOf
(E164PhoneNumber phoneNumber) Create a NumberIdentity from a phone number as a E164PhoneNumberstatic NumberIdentity
Create a NumberIdentity from a phone number as a String
-
Method Details
-
getEndpoint
Get related endpointSee
NumberIdentity.Builder.setEndpoint(String)
setter- Returns:
- Phone number value
-
toString
-
valueOf
Create a NumberIdentity from a phone number as a String- Parameters:
phoneNumber
- String representation of phone number- Returns:
- Instance of NumberIdentity
- Since:
- 1.0
-
valueOf
Create a NumberIdentity from a phone number as a E164PhoneNumber- Parameters:
phoneNumber
- E164PhoneNumber representation of phone number- Returns:
- Instance of NumberIdentity
- Since:
- 1.0
-
equals
-
hashCode
public int hashCode() -
builder
Getting Builder- Returns:
- New Builder instance
-