Class Request

java.lang.Object
dev.adlin.vts4j.entity.Request

public class Request extends Object
An object used to deserialize a request into JSON format and send it to the server.
  • Constructor Details

    • Request

      public Request(@NotNull @NotNull String apiName, @NotNull @NotNull String apiVersion, @NotNull @NotNull String id, @NotNull @NotNull String type, @Nullable @Nullable com.google.gson.JsonObject payload)
  • Method Details

    • getApiName

      @NotNull public @NotNull String getApiName()
    • getApiVersion

      @NotNull public @NotNull String getApiVersion()
    • getId

      @NotNull public @NotNull String getId()
    • getType

      @NotNull public @NotNull String getType()
    • getPayload

      @Nullable public @Nullable com.google.gson.JsonObject getPayload()