Class GetSnapshotResponse

All Implemented Interfaces:

public class GetSnapshotResponse
extends java.lang.Object
implements JsonpSerializable
See Also:
API specification
  • Field Details

  • Method Details

    • of

      public static GetSnapshotResponse of​(java.util.function.Function<GetSnapshotResponse.Builder,​ObjectBuilder<GetSnapshotResponse>> fn)
    • responses

      public final java.util.List<SnapshotResponseItem> responses()
      API name: responses
    • snapshots

      public final java.util.List<SnapshotInfo> snapshots()
      API name: snapshots
    • total

      public final int total()
      Required - The total number of snapshots that match the request when ignoring size limit or after query parameter.

      API name: total

    • remaining

      public final int remaining()
      Required - The number of remaining snapshots that were not returned due to size limits and that can be fetched by additional requests using the next field value.

      API name: remaining

    • serialize

      public void serialize​( generator, JsonpMapper mapper)
      Serialize this object to JSON.
      Specified by:
      serialize in interface JsonpSerializable
    • serializeInternal

      protected void serializeInternal​( generator, JsonpMapper mapper)
    • setupGetSnapshotResponseDeserializer

      protected static void setupGetSnapshotResponseDeserializer​(ObjectDeserializer<GetSnapshotResponse.Builder> op)