public class SmsRegistrationResponse
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
SmsRegistrationResponse.Builder
SmsRegistrationResponse Builder.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.util.Optional<java.lang.String> |
getChannelId()
Unique Channel ID for the SMS channel.
|
java.util.Optional<java.lang.String> |
getError()
Get the error if present
|
java.util.Optional<ErrorDetails> |
getErrorDetails()
Get the error details if present
|
java.util.Optional<java.lang.String> |
getStatus()
A response with a status key indicates that the channel has not been created.
|
int |
hashCode() |
boolean |
isOk()
If false, the request was unsuccessful.
|
static SmsRegistrationResponse.Builder |
newBuilder()
SmsRegistrationResponse Builder.
|
java.lang.String |
toString() |
public static SmsRegistrationResponse.Builder newBuilder()
public boolean isOk()
public java.util.Optional<java.lang.String> getChannelId()
public java.util.Optional<java.lang.String> getStatus()
public java.util.Optional<java.lang.String> getError()
public java.util.Optional<ErrorDetails> getErrorDetails()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object