public final class ExperimentResponse
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ExperimentResponse.Builder
ExperimentResponse Builder
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
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> |
getExperimentId()
Get the experiment ID.
|
boolean |
getOk()
Get the response status as a boolean
|
java.util.Optional<java.lang.String> |
getOperationId()
Get the operation id for this response.
|
java.util.Optional<java.lang.String> |
getPushId()
The push id for the push message that moves through
the API.
|
int |
hashCode() |
static ExperimentResponse.Builder |
newBuilder()
Return a new ExperimentResponse builder.
|
java.lang.String |
toString() |
public static ExperimentResponse.Builder newBuilder()
public boolean getOk()
public java.util.Optional<java.lang.String> getOperationId()
public java.util.Optional<java.lang.String> getExperimentId()
public java.util.Optional<java.lang.String> getPushId()
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