/// <summary>
 /// Initializes a new instance of the <see cref="LicenseDto" /> class.
 /// </summary>
 /// <param name="HostLicenseId">HostLicenseId.</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 LicenseDto(long?HostLicenseId = default(long?), 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?), DateTime?CreationTime = default(DateTime?), string Code = default(string))
 {
     this.HostLicenseId         = HostLicenseId;
     this.Id                    = Id;
     this.ExpireDate            = ExpireDate;
     this.Allowed               = Allowed;
     this.Used                  = Used;
     this.AttendedConcurrent    = AttendedConcurrent;
     this.DevelopmentConcurrent = DevelopmentConcurrent;
     this.IsRegistered          = IsRegistered;
     this.IsExpired             = IsExpired;
     this.CreationTime          = CreationTime;
     this.Code                  = Code;
 }
示例#2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="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>
 /// <param name="Id">Id.</param>
 public TenantLicenseDto(long?HostLicenseId = default(long?), DateTime?CreationTime = default(DateTime?), string Code = default(string), LicenseFields Allowed = default(LicenseFields), long?Id = default(long?))
 {
     this.HostLicenseId = HostLicenseId;
     this.CreationTime  = CreationTime;
     this.Code          = Code;
     this.Allowed       = Allowed;
     this.Id            = Id;
 }