Class ContextMethodParam
java.lang.Object
org.opensearch.client.opensearch._global.get_script_context.ContextMethodParam
- All Implemented Interfaces:
ToJsonp
public final class ContextMethodParam extends java.lang.Object implements ToJsonp
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classContextMethodParam.BuilderBuilder forContextMethodParam. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<ContextMethodParam>DESERIALIZERJson deserializer for ContextMethodParam -
Constructor Summary
Constructors Modifier Constructor Description protectedContextMethodParam(ContextMethodParam.Builder builder) -
Method Summary
Modifier and Type Method Description java.lang.Stringname()API name:nameprotected static voidsetupContextMethodParamDeserializer(DelegatingDeserializer<ContextMethodParam.Builder> op)voidtoJsonp(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidtoJsonpInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)java.lang.Stringtype()API name:type
-
Field Details
-
DESERIALIZER
Json deserializer for ContextMethodParam
-
-
Constructor Details
-
Method Details
-
name
public java.lang.String name()API name:name -
type
public java.lang.String type()API name:type -
toJsonp
Serialize this object to JSON. -
toJsonpInternal
-
setupContextMethodParamDeserializer
protected static void setupContextMethodParamDeserializer(DelegatingDeserializer<ContextMethodParam.Builder> op)
-