internal TenantIdDescription(string id, string tenantId, TenantCategory?tenantCategory, string country, string countryCode, string displayName, IReadOnlyList <string> domains) { Id = id; TenantId = tenantId; TenantCategory = tenantCategory; Country = country; CountryCode = countryCode; DisplayName = displayName; Domains = domains; }
/// <summary> /// Initializes a new instance of the TenantIdDescription class. /// </summary> /// <param name="id">The fully qualified ID of the tenant. For example, /// /tenants/00000000-0000-0000-0000-000000000000.</param> /// <param name="tenantId">The tenant ID. For example, /// 00000000-0000-0000-0000-000000000000.</param> /// <param name="tenantCategory">Category of the tenant. Possible /// values include: 'Home', 'ProjectedBy', 'ManagedBy'</param> /// <param name="country">Country/region name of the address for the /// tenant.</param> /// <param name="countryCode">Country/region abbreviation for the /// tenant.</param> /// <param name="displayName">The display name of the tenant.</param> /// <param name="domains">The list of domains for the tenant.</param> public TenantIdDescription(string id = default(string), string tenantId = default(string), TenantCategory?tenantCategory = default(TenantCategory?), string country = default(string), string countryCode = default(string), string displayName = default(string), IList <string> domains = default(IList <string>)) { Id = id; TenantId = tenantId; TenantCategory = tenantCategory; Country = country; CountryCode = countryCode; DisplayName = displayName; Domains = domains; CustomInit(); }
internal TenantData(string id, Guid?tenantId, TenantCategory?tenantCategory, string country, string countryCode, string displayName, IReadOnlyList <string> domains, string defaultDomain, string tenantType, Uri tenantBrandingLogoUri) { Id = id; TenantId = tenantId; TenantCategory = tenantCategory; Country = country; CountryCode = countryCode; DisplayName = displayName; Domains = domains; DefaultDomain = defaultDomain; TenantType = tenantType; TenantBrandingLogoUri = tenantBrandingLogoUri; }
/// <summary> /// Initializes a new instance of the TenantIdDescription class. /// </summary> /// <param name="id">The fully qualified ID of the tenant. For example, /// /tenants/00000000-0000-0000-0000-000000000000.</param> /// <param name="tenantId">The tenant ID. For example, /// 00000000-0000-0000-0000-000000000000.</param> /// <param name="tenantCategory">Category of the tenant. Possible /// values include: 'Home', 'ProjectedBy', 'ManagedBy'</param> /// <param name="country">Country/region name of the address for the /// tenant.</param> /// <param name="countryCode">Country/region abbreviation for the /// tenant.</param> /// <param name="displayName">The display name of the tenant.</param> /// <param name="domains">The list of domains for the tenant.</param> /// <param name="defaultDomain">The default domain for the /// tenant.</param> /// <param name="tenantType">The tenant type. Only available for 'Home' /// tenant category.</param> /// <param name="tenantBrandingLogoUrl">The tenant's branding logo URL. /// Only available for 'Home' tenant category.</param> public TenantIdDescription(string id = default(string), string tenantId = default(string), TenantCategory?tenantCategory = default(TenantCategory?), string country = default(string), string countryCode = default(string), string displayName = default(string), IList <string> domains = default(IList <string>), string defaultDomain = default(string), string tenantType = default(string), string tenantBrandingLogoUrl = default(string)) { Id = id; TenantId = tenantId; TenantCategory = tenantCategory; Country = country; CountryCode = countryCode; DisplayName = displayName; Domains = domains; DefaultDomain = defaultDomain; TenantType = tenantType; TenantBrandingLogoUrl = tenantBrandingLogoUrl; CustomInit(); }
internal static string ToSerializedValue(this TenantCategory?value) { return(value == null ? null : ((TenantCategory)value).ToSerializedValue()); }