Class Context
java.lang.Object
co.elastic.clients.elasticsearch.core.get_script_context.Context
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class Context extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classContext.BuilderBuilder forContext. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<Context>_DESERIALIZERJson deserializer forContext -
Method Summary
Modifier and Type Method Description java.util.List<ContextMethod>methods()Required - API name:methodsjava.lang.Stringname()Required - API name:namestatic Contextof(java.util.function.Function<Context.Builder,ObjectBuilder<Context>> fn)voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupContextDeserializer(ObjectDeserializer<Context.Builder> op)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forContext
-
-
Method Details
-
of
-
methods
Required - API name:methods -
name
public final java.lang.String name()Required - API name:name -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupContextDeserializer
-