Class StoredScript
java.lang.Object
co.elastic.clients.elasticsearch._types.StoredScript
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class StoredScript extends java.lang.Object implements JsonpSerializable
-
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 -
Constructor Summary
Constructors Constructor Description StoredScript(StoredScript.Builder builder)StoredScript(java.util.function.Function<StoredScript.Builder,StoredScript.Builder> fn) -
Method Summary
Modifier and Type Method Description ScriptLanguagelang()API name:langvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupStoredScriptDeserializer(DelegatingDeserializer<StoredScript.Builder> op)java.lang.Stringsource()Required - API name:sourceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forStoredScript
-
-
Constructor Details
-
StoredScript
-
StoredScript
-
-
Method Details
-
lang
API name:lang -
source
public java.lang.String source()Required - API name:source -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupStoredScriptDeserializer
protected static void setupStoredScriptDeserializer(DelegatingDeserializer<StoredScript.Builder> op)
-