Class CreateTenantResponse
java.lang.Object
org.opensearch.client.opensearch.security.CreateTenantResponse
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<CreateTenantResponse.Builder,CreateTenantResponse>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class CreateTenantResponse
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<CreateTenantResponse.Builder,CreateTenantResponse>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<CreateTenantResponse> Json deserializer forCreateTenantResponse -
Method Summary
Modifier and TypeMethodDescriptionstatic CreateTenantResponse.Builderbuilder()booleaninthashCode()final Stringmessage()The message returned as part of anOKresponse.static CreateTenantResponsevoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal Stringstatus()API name:statusCreate 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 forCreateTenantResponse
-
-
Method Details
-
of
public static CreateTenantResponse of(Function<CreateTenantResponse.Builder, ObjectBuilder<CreateTenantResponse>> fn) -
message
The message returned as part of anOKresponse.API name:
message -
status
API name:status -
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<CreateTenantResponse.Builder,CreateTenantResponse> - Returns:
- a new builder instance.
-
builder
-
setupCreateTenantResponseDeserializer
protected static void setupCreateTenantResponseDeserializer(ObjectDeserializer<CreateTenantResponse.Builder> op) -
hashCode
public int hashCode() -
equals
-