All Implemented Interfaces:

public class FieldAndFormat
extends java.lang.Object
implements JsonpSerializable
A reference to a field with formatting instructions on how to return the value
See Also:
API specification
  • Field Details

  • Method Details

    • of

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

      public final java.lang.String field()
      Required - Wildcard pattern. The request returns values for field names matching this pattern.

      API name: field

    • format

      @Nullable public final java.lang.String format()
      Format in which the values are returned.

      API name: format

    • includeUnmapped

      @Nullable public final java.lang.Boolean includeUnmapped()
      API name: include_unmapped
    • 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)
    • setupFieldAndFormatDeserializer

      protected static void setupFieldAndFormatDeserializer​(ObjectDeserializer<FieldAndFormat.Builder> op)