Class GetRepositoryResponse
java.lang.Object
co.elastic.clients.elasticsearch.snapshot.GetRepositoryResponse
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class GetRepositoryResponse extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GetRepositoryResponse.Builder
Builder forGetRepositoryResponse
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<GetRepositoryResponse>
_DESERIALIZER
-
Method Summary
Modifier and Type Method Description protected static JsonpDeserializer<GetRepositoryResponse>
createGetRepositoryResponseDeserializer()
Repository
get(java.lang.String key)
Get an element ofresult
.static GetRepositoryResponse
of(java.util.function.Function<GetRepositoryResponse.Builder,ObjectBuilder<GetRepositoryResponse>> fn)
java.util.Map<java.lang.String,Repository>
result()
Required - Response value.void
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this value to JSON.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
-
-
Method Details
-
of
public static GetRepositoryResponse of(java.util.function.Function<GetRepositoryResponse.Builder,ObjectBuilder<GetRepositoryResponse>> fn) -
result
Required - Response value.API name:
_value_body
-
get
Get an element ofresult
. -
serialize
Serialize this value to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
createGetRepositoryResponseDeserializer
-