Description: Class representing a tenant object. This class is used to store information about tenants, combining what’s stored in the registry and what’s stored in the authn provider. Attributes ———- provider_tenant_id (str): The provider’s tenant id. provider_name (str): The provider’s name/type (e.g. Zitadel or Okta). name (str): The tenant name (comes from ProviderTenant object). state (str): The tenant state (comes from ProviderTenant object). primary_domain (str): The primary domain used by the tenant (comes from ProviderTenant object). object_store_id (UUID): The object store id associated with the tenant. If None the default object store is used.
Attributes
| Name | Type | Description |
|---|
| id | StrictStr | |
| created | datetime.datetime | |
| provider_tenant_id | StrictStr | |
| provider_name | StrictStr | |
| state | Optional[StrictStr] | |
| primary_domain | Optional[StrictStr] | |
| object_store_id | Optional[StrictStr] | |
| name | Optional[StrictStr] | |
| label | Optional[StrictStr] | |
Methods
| Name | Description |
|---|
| to_str | Return the string representation of the model using field aliases. |
| to_json | Return the JSON string representation of the model using field aliases. |
| from_json | Create an instance of the model from a JSON string. |
| to_dict | Return the dictionary representation of the model using field aliases. |
| from_dict | Create an instance of Tenant from a dict |