TenantDto
Namespace: Meshmakers.Octo.Communication.Contracts.DataTransferObjects
Data transfer object for Octo tenants
public class TenantDto
Inheritance Object → TenantDto
Properties
Database
Gets or sets the database name
public string Database { get; set; }
Property Value
TenantId
Gets or sets Id of tenant
public string TenantId { get; set; }
Property Value
ParentTenantId
Gets or sets the id of the tenant's parent tenant. Populated by the descendants listing, where the caller needs to see the tree; the plain child listing leaves it null (every entry's parent is the requesting tenant).
public string ParentTenantId { get; set; }
Property Value
IsScratch
True when the tenant is a scratch tenant: created with the scratch flag
by a client-credentials client of its parent, which then works in it as the child's own administrator.
Only populated by the endpoints that list or read child tenants.
public bool IsScratch { get; set; }
Property Value
ScratchCreatorClientId
Client id of the scratch tenant's creator; null for a tenant that is not a scratch tenant.
public string ScratchCreatorClientId { get; set; }
Property Value
ScratchCreatedAtUtc
When the scratch tenant was created (UTC); null for a tenant that is not a scratch tenant.
public Nullable<DateTime> ScratchCreatedAtUtc { get; set; }
Property Value
ScratchAccessRevoked
True when the creator's access to its scratch tenant was revoked. Identity does not grant it again.
public bool ScratchAccessRevoked { get; set; }
Property Value
Constructors
TenantDto()
public TenantDto()