Class GetPolicyResponse
java.lang.Object
co.elastic.clients.elasticsearch.enrich.GetPolicyResponse
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class GetPolicyResponse extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GetPolicyResponse.Builder
Builder forGetPolicyResponse
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<GetPolicyResponse>
_DESERIALIZER
Json deserializer forGetPolicyResponse
-
Constructor Summary
Constructors Constructor Description GetPolicyResponse(GetPolicyResponse.Builder builder)
GetPolicyResponse(java.util.function.Function<GetPolicyResponse.Builder,GetPolicyResponse.Builder> fn)
-
Method Summary
Modifier and Type Method Description java.util.List<Summary>
policies()
Required - API name:policies
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
setupGetPolicyResponseDeserializer(DelegatingDeserializer<GetPolicyResponse.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 forGetPolicyResponse
-
-
Constructor Details
-
GetPolicyResponse
-
GetPolicyResponse
public GetPolicyResponse(java.util.function.Function<GetPolicyResponse.Builder,GetPolicyResponse.Builder> fn)
-
-
Method Details
-
policies
Required - API name:policies
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupGetPolicyResponseDeserializer
protected static void setupGetPolicyResponseDeserializer(DelegatingDeserializer<GetPolicyResponse.Builder> op)
-