Class FieldAndFormat
java.lang.Object
org.opensearch.client.opensearch._types.query_dsl.FieldAndFormat
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<FieldAndFormat.Builder,FieldAndFormat>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class FieldAndFormat
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<FieldAndFormat.Builder,FieldAndFormat>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<FieldAndFormat> Json deserializer forFieldAndFormat -
Method Summary
Modifier and TypeMethodDescriptionstatic FieldAndFormat.Builderbuilder()booleanfinal Stringfield()Required - API name:fieldfinal Stringformat()Format in which the values are returned.inthashCode()final BooleanAPI name:include_unmappedstatic FieldAndFormatvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forFieldAndFormat
-
-
Method Details
-
of
-
field
Required - API name:field -
format
Format in which the values are returned.API name:
format -
includeUnmapped
API name:include_unmapped -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<FieldAndFormat.Builder,FieldAndFormat> - Returns:
- a new builder instance.
-
builder
-
setupFieldAndFormatDeserializer
protected static void setupFieldAndFormatDeserializer(ObjectDeserializer<FieldAndFormat.Builder> op) -
hashCode
public int hashCode() -
equals
-