Class WhoAmIProtectedResponse
java.lang.Object
org.opensearch.client.opensearch.security.WhoAmIProtectedResponse
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<WhoAmIProtectedResponse.Builder,WhoAmIProtectedResponse>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class WhoAmIProtectedResponse
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<WhoAmIProtectedResponse.Builder,WhoAmIProtectedResponse>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<WhoAmIProtectedResponse> Json deserializer forWhoAmIProtectedResponse -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final Stringdn()API name:dnbooleaninthashCode()final BooleanisAdmin()API name:is_adminfinal BooleanAPI name:is_node_certificate_requeststatic WhoAmIProtectedResponsevoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forWhoAmIProtectedResponse
-
-
Method Details
-
of
public static WhoAmIProtectedResponse of(Function<WhoAmIProtectedResponse.Builder, ObjectBuilder<WhoAmIProtectedResponse>> fn) -
dn
API name:dn -
isAdmin
API name:is_admin -
isNodeCertificateRequest
API name:is_node_certificate_request -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<WhoAmIProtectedResponse.Builder,WhoAmIProtectedResponse> - Returns:
- a new builder instance.
-
builder
-
setupWhoAmIProtectedResponseDeserializer
protected static void setupWhoAmIProtectedResponseDeserializer(ObjectDeserializer<WhoAmIProtectedResponse.Builder> op) -
hashCode
public int hashCode() -
equals
-