Class DecayPlacement
- java.lang.Object
-
- org.opensearch.client.opensearch._types.query_dsl.DecayPlacement
-
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class DecayPlacement extends java.lang.Object implements JsonpSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDecayPlacement.BuilderBuilder forDecayPlacement.
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<DecayPlacement>_DESERIALIZERJson deserializer forDecayPlacement
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Doubledecay()API name:decaystatic DecayPlacementof(java.util.function.Function<DecayPlacement.Builder,ObjectBuilder<DecayPlacement>> fn)JsonDataoffset()API name:offsetJsonDataorigin()API name:originJsonDatascale()API name:scalevoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupDecayPlacementDeserializer(ObjectDeserializer<DecayPlacement.Builder> op)
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<DecayPlacement> _DESERIALIZER
Json deserializer forDecayPlacement
-
-
Method Detail
-
of
public static DecayPlacement of(java.util.function.Function<DecayPlacement.Builder,ObjectBuilder<DecayPlacement>> fn)
-
decay
@Nullable public final java.lang.Double decay()
API name:decay
-
offset
@Nullable public final JsonData offset()
API name:offset
-
scale
@Nullable public final JsonData scale()
API name:scale
-
origin
@Nullable public final JsonData origin()
API name:origin
-
serialize
public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
-
setupDecayPlacementDeserializer
protected static void setupDecayPlacementDeserializer(ObjectDeserializer<DecayPlacement.Builder> op)
-
-