Package app.knock.api.models.tenants
Class InlineTenantRequest
-
- All Implemented Interfaces:
public final class InlineTenantRequestAn request to set a tenant inline.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceInlineTenantRequest.VisitorAn interface that defines how to map each variant of InlineTenantRequest to a value of type T.
-
Method Summary
Modifier and Type Method Description final Optional<String>string()The unique identifier for the tenant. final Optional<TenantRequest>tenantRequest()A tenant to be set in the system. final BooleanisString()final BooleanisTenantRequest()final StringasString()The unique identifier for the tenant. final TenantRequestasTenantRequest()A tenant to be set in the system. final Optional<JsonValue>_json()final <T extends Any> Taccept(InlineTenantRequest.Visitor<T> visitor)final InlineTenantRequestvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static InlineTenantRequestofString(String string)The unique identifier for the tenant. final static InlineTenantRequestofTenantRequest(TenantRequest tenantRequest)A tenant to be set in the system. -
-
Method Detail
-
tenantRequest
final Optional<TenantRequest> tenantRequest()
A tenant to be set in the system. You can supply any additional properties on the tenant object.
-
isTenantRequest
final Boolean isTenantRequest()
-
asTenantRequest
final TenantRequest asTenantRequest()
A tenant to be set in the system. You can supply any additional properties on the tenant object.
-
accept
final <T extends Any> T accept(InlineTenantRequest.Visitor<T> visitor)
-
validate
final InlineTenantRequest validate()
-
ofString
final static InlineTenantRequest ofString(String string)
The unique identifier for the tenant.
-
ofTenantRequest
final static InlineTenantRequest ofTenantRequest(TenantRequest tenantRequest)
A tenant to be set in the system. You can supply any additional properties on the tenant object.
-
-
-
-