Class RegistryTenant
- java.lang.Object
-
- io.apicurio.multitenant.api.datamodel.RegistryTenant
-
@Generated("jsonschema2pojo") public class RegistryTenant extends Object
Root Type for TenantModels a single tenant.
-
-
Constructor Summary
Constructors Constructor Description RegistryTenant()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCreatedBy()
User that created the tenant (Required)Date
getCreatedOn()
Date when the tenant was created.String
getDescription()
The description of the tenant.String
getName()
The name of the tenant.Object
getOrganizationId()
(Required)List<TenantResource>
getResources()
The list of resources that this tenant has availableTenantStatusValue
getStatus()
"READY": Tenant status when ready for use.String
getTenantId()
Unique identifier of a tenant within a registry deployment (Required)void
setCreatedBy(String createdBy)
User that created the tenant (Required)void
setCreatedOn(Date createdOn)
Date when the tenant was created.void
setDescription(String description)
The description of the tenant.void
setName(String name)
The name of the tenant.void
setOrganizationId(Object organizationId)
(Required)void
setResources(List<TenantResource> resources)
The list of resources that this tenant has availablevoid
setStatus(TenantStatusValue status)
"READY": Tenant status when ready for use.void
setTenantId(String tenantId)
Unique identifier of a tenant within a registry deployment (Required)
-
-
-
Method Detail
-
getTenantId
public String getTenantId()
Unique identifier of a tenant within a registry deployment (Required)
-
setTenantId
public void setTenantId(String tenantId)
Unique identifier of a tenant within a registry deployment (Required)
-
getCreatedOn
public Date getCreatedOn()
Date when the tenant was created. ISO 8601 UTC timestamp. (Required)
-
setCreatedOn
public void setCreatedOn(Date createdOn)
Date when the tenant was created. ISO 8601 UTC timestamp. (Required)
-
getCreatedBy
public String getCreatedBy()
User that created the tenant (Required)
-
setCreatedBy
public void setCreatedBy(String createdBy)
User that created the tenant (Required)
-
getOrganizationId
public Object getOrganizationId()
(Required)
-
setOrganizationId
public void setOrganizationId(Object organizationId)
(Required)
-
getResources
public List<TenantResource> getResources()
The list of resources that this tenant has available
-
setResources
public void setResources(List<TenantResource> resources)
The list of resources that this tenant has available
-
getName
public String getName()
The name of the tenant.
-
setName
public void setName(String name)
The name of the tenant.
-
getDescription
public String getDescription()
The description of the tenant.
-
setDescription
public void setDescription(String description)
The description of the tenant.
-
getStatus
public TenantStatusValue getStatus()
"READY": Tenant status when ready for use. "TO_BE_DELETED": Tenant status when marked to be deleted with all it's data. "DELETED": Tenant status after data deletion is finished.
-
setStatus
public void setStatus(TenantStatusValue status)
"READY": Tenant status when ready for use. "TO_BE_DELETED": Tenant status when marked to be deleted with all it's data. "DELETED": Tenant status after data deletion is finished.
-
-