/// <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();
 }
Beispiel #2
0
 /// <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="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="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?), LicenseFields allowed = default(LicenseFields), LicenseFields used = default(LicenseFields), bool?attendedConcurrent = default(bool?), bool?developmentConcurrent = default(bool?), bool?isRegistered = default(bool?), bool?isExpired = default(bool?), System.DateTime?creationTime = default(System.DateTime?), string code = default(string))
 {
     TenantsCount          = tenantsCount;
     Id                    = id;
     ExpireDate            = expireDate;
     Allowed               = allowed;
     Used                  = used;
     AttendedConcurrent    = attendedConcurrent;
     DevelopmentConcurrent = developmentConcurrent;
     IsRegistered          = isRegistered;
     IsExpired             = isExpired;
     CreationTime          = creationTime;
     Code                  = code;
     CustomInit();
 }