public final class EmailChannelResponse
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
EmailChannelResponse.Builder |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.Optional<java.lang.String> |
getChannelId()
Get the channel Id if present
|
java.util.Optional<java.lang.String> |
getError()
Get the error if present
|
java.util.Optional<ErrorDetails> |
getErrorDetails()
Get the error details if present
|
boolean |
getOk()
Get the OK status as a boolean
|
int |
hashCode() |
static EmailChannelResponse.Builder |
newBuilder()
New EmailChannelResponse builder
|
java.lang.String |
toString() |
public static EmailChannelResponse.Builder newBuilder()
public boolean getOk()
public java.util.Optional<java.lang.String> getChannelId()
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 int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object