All Implemented Interfaces:

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

  • Method Details

    • of

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

      public final java.lang.String nodeId()
      Required - API name: node_id
    • path

      public final java.lang.String path()
      Required - API name: path
    • total

      public final long total()
      Required - API name: total
    • shards

      public final java.util.List<java.lang.String> shards()
      Required - API name: shards
    • 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)
    • setupReservedSizeDeserializer

      protected static void setupReservedSizeDeserializer​(ObjectDeserializer<ReservedSize.Builder> op)