/// <summary>
 /// Initializes a new instance of the TenantLicenseDto class.
 /// </summary>
 /// <param name="hostLicenseId">The host license Id.</param>
 /// <param name="creationTime">The date it was uploaded.</param>
 /// <param name="code">The license code.</param>
 /// <param name="allowed">Contains the number of allowed licenses for
 /// each type</param>
 public TenantLicenseDto(long?hostLicenseId = default(long?), System.DateTime?creationTime = default(System.DateTime?), string code = default(string), LicenseFields allowed = default(LicenseFields), long?id = default(long?))
 {
     HostLicenseId = hostLicenseId;
     CreationTime  = creationTime;
     Code          = code;
     Allowed       = allowed;
     Id            = id;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the HostLicenseDto class.
 /// </summary>
 /// <param name="tenantsCount">The number of tenants licensed from this
 /// license file</param>
 /// <param name="id">License Id</param>
 /// <param name="expireDate">License expiration date in Epoch
 /// format</param>
 /// <param name="gracePeriodEndDate">License grace period end date in
 /// Epoch format</param>
 /// <param name="gracePeriod">Number of grace period days</param>
 /// <param name="allowed">Contains the number of allowed licenses for
 /// each type</param>
 /// <param name="used">Contains the number of used licenses for each
 /// type</param>
 /// <param name="attendedConcurrent">States whether the license is
 /// Attended Concurrent</param>
 /// <param name="developmentConcurrent">States whether the license is
 /// Development Concurrent</param>
 /// <param name="studioXConcurrent">States whether the license is
 /// Studio Business Concurrent</param>
 /// <param name="licensedFeatures">What features are licensed (valid
 /// for individually-licensed features, like Analytics)</param>
 /// <param name="isRegistered">True if the current tenant is registered
 /// with a license. False otherwise.</param>
 /// <param name="isExpired">States whether the license is still valid
 /// or not.</param>
 /// <param name="creationTime">The date when the license was
 /// uploaded.</param>
 /// <param name="code">The license code.</param>
 public HostLicenseDto(int?tenantsCount = default(int?), long?id = default(long?), long?expireDate = default(long?), long?gracePeriodEndDate = default(long?), long?gracePeriod = default(long?), LicenseFields allowed = default(LicenseFields), LicenseFields used = default(LicenseFields), bool?attendedConcurrent = default(bool?), bool?developmentConcurrent = default(bool?), bool?studioXConcurrent = default(bool?), IList <string> licensedFeatures = default(IList <string>), bool?isRegistered = default(bool?), bool?isExpired = default(bool?), System.DateTime?creationTime = default(System.DateTime?), string code = default(string))
 {
     TenantsCount          = tenantsCount;
     Id                    = id;
     ExpireDate            = expireDate;
     GracePeriodEndDate    = gracePeriodEndDate;
     GracePeriod           = gracePeriod;
     Allowed               = allowed;
     Used                  = used;
     AttendedConcurrent    = attendedConcurrent;
     DevelopmentConcurrent = developmentConcurrent;
     StudioXConcurrent     = studioXConcurrent;
     LicensedFeatures      = licensedFeatures;
     IsRegistered          = isRegistered;
     IsExpired             = isExpired;
     CreationTime          = creationTime;
     Code                  = code;
     CustomInit();
 }