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 classGetScriptResponse.BuilderBuilder forGetScriptResponse. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<GetScriptResponse>_DESERIALIZERJson deserializer forGetScriptResponse -
Method Summary
Modifier and Type Method Description booleanfound()Required - API name:foundjava.lang.Stringid()Required - API name:_idstatic GetScriptResponseof(java.util.function.Function<GetScriptResponse.Builder,ObjectBuilder<GetScriptResponse>> fn)StoredScriptscript()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(ObjectDeserializer<GetScriptResponse.Builder> op)java.lang.StringtoString()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:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupGetScriptResponseDeserializer
protected static void setupGetScriptResponseDeserializer(ObjectDeserializer<GetScriptResponse.Builder> op)
-