public class Request
extends Object
An object used to deserialize a request into JSON format and send it to the server.
-
Nested Class Summary
Nested Classes
static class
Builder for simplified Request creation.
-
Method Summary
@Nullable com.google.gson.JsonObject
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
getApiName
@NotNull
public @NotNull String getApiName()
-
getApiVersion
@NotNull
public @NotNull String getApiVersion()
-
getRequestId
@NotNull
public @NotNull String getRequestId()
-
getMessageType
@NotNull
public @NotNull String getMessageType()
-
getPayload
@Nullable
public @Nullable com.google.gson.JsonObject getPayload()