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
  • Field Details

  • Method Details

    • of

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

      public final java.util.List<ContextMethod> methods()
      Required - API name: methods
    • name

      public final java.lang.String name()
      Required - API name: name
    • serialize

      public void serialize​(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
      Serialize this object to JSON.
      Specified by:
      serialize in interface JsonpSerializable
    • serializeInternal

      protected void serializeInternal​(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
    • setupContextDeserializer

      protected static void setupContextDeserializer​(ObjectDeserializer<Context.Builder> op)