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 class
Context.Builder
Builder forContext
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<Context>
_DESERIALIZER
Json deserializer forContext
-
Method Summary
Modifier and Type Method Description java.util.List<ContextMethod>
methods()
Required - API name:methods
java.lang.String
name()
Required - API name:name
static Context
of(java.util.function.Function<Context.Builder,ObjectBuilder<Context>> fn)
void
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupContextDeserializer(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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupContextDeserializer
-