Class GetScriptResponse
java.lang.Object
co.elastic.clients.elasticsearch._core.GetScriptResponse
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class GetScriptResponse extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGetScriptResponse.BuilderBuilder forGetScriptResponse. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<GetScriptResponse>_DESERIALIZERJson deserializer forGetScriptResponse -
Constructor Summary
Constructors Constructor Description GetScriptResponse(GetScriptResponse.Builder builder)GetScriptResponse(java.util.function.Function<GetScriptResponse.Builder,GetScriptResponse.Builder> fn) -
Method Summary
Modifier and Type Method Description booleanfound()Required - API name:foundjava.lang.Stringid()Required - API name:_idStoredScriptscript()API name:scriptvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupGetScriptResponseDeserializer(DelegatingDeserializer<GetScriptResponse.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 forGetScriptResponse
-
-
Constructor Details
-
GetScriptResponse
-
GetScriptResponse
public GetScriptResponse(java.util.function.Function<GetScriptResponse.Builder,GetScriptResponse.Builder> fn)
-
-
Method Details
-
id
public java.lang.String id()Required - API name:_id -
found
public boolean found()Required - API name:found -
script
API name:script -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupGetScriptResponseDeserializer
protected static void setupGetScriptResponseDeserializer(DelegatingDeserializer<GetScriptResponse.Builder> op)
-