Class GetScriptResponse
java.lang.Object
co.elastic.clients.elasticsearch.core.GetScriptResponse
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class GetScriptResponse extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GetScriptResponse.Builder
Builder forGetScriptResponse
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<GetScriptResponse>
_DESERIALIZER
Json deserializer forGetScriptResponse
-
Method Summary
Modifier and Type Method Description boolean
found()
Required - API name:found
java.lang.String
id()
Required - API name:_id
static GetScriptResponse
of(java.util.function.Function<GetScriptResponse.Builder,ObjectBuilder<GetScriptResponse>> fn)
StoredScript
script()
API name:script
void
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupGetScriptResponseDeserializer(ObjectDeserializer<GetScriptResponse.Builder> op)
java.lang.String
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forGetScriptResponse
-
-
Method Details
-
of
public static GetScriptResponse of(java.util.function.Function<GetScriptResponse.Builder,ObjectBuilder<GetScriptResponse>> fn) -
id
public final java.lang.String id()Required - API name:_id
-
found
public final boolean found()Required - API name:found
-
script
API name:script
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
setupGetScriptResponseDeserializer
protected static void setupGetScriptResponseDeserializer(ObjectDeserializer<GetScriptResponse.Builder> op)
-