Class StoredScript
java.lang.Object
co.elastic.clients.elasticsearch._types.StoredScript
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class StoredScript extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStoredScript.BuilderBuilder forStoredScript. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<StoredScript>_DESERIALIZERJson deserializer forStoredScript -
Method Summary
Modifier and Type Method Description java.lang.Stringlang()Required - API name:langstatic StoredScriptof(java.util.function.Function<StoredScript.Builder,ObjectBuilder<StoredScript>> fn)java.util.Map<java.lang.String,java.lang.String>options()API name:optionsvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupStoredScriptDeserializer(ObjectDeserializer<StoredScript.Builder> op)java.lang.Stringsource()Required - API name:sourcejava.lang.StringtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forStoredScript
-
-
Method Details
-
of
public static StoredScript of(java.util.function.Function<StoredScript.Builder,ObjectBuilder<StoredScript>> fn) -
lang
public final java.lang.String lang()Required - API name:lang -
options
public final java.util.Map<java.lang.String,java.lang.String> options()API name:options -
source
public final java.lang.String source()Required - API name:source -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupStoredScriptDeserializer
-