Class GetPolicyResponse
java.lang.Object
co.elastic.clients.elasticsearch.enrich.GetPolicyResponse
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class GetPolicyResponse extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
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
-
Method Summary
Modifier and Type Method Description static GetPolicyResponse
of(java.util.function.Function<GetPolicyResponse.Builder,ObjectBuilder<GetPolicyResponse>> fn)
java.util.List<EnrichSummary>
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(ObjectDeserializer<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
-
-
Method Details
-
of
public static GetPolicyResponse of(java.util.function.Function<GetPolicyResponse.Builder,ObjectBuilder<GetPolicyResponse>> fn) -
policies
Required - API name:policies
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupGetPolicyResponseDeserializer
protected static void setupGetPolicyResponseDeserializer(ObjectDeserializer<GetPolicyResponse.Builder> op)
-