/// <summary> /// Initializes a new instance of the <see cref="UpdateTokenAssuranceRequest" /> class. /// </summary> /// <param name="tokenUniqueReference">A unique reference assigned following the allocation of a token used to identify the token for the duration of its lifetime. Length - 48 Characters (required).</param> /// <param name="commentText">Comment related to the update..</param> /// <param name="auditInfo">auditInfo (required).</param> public UpdateTokenAssuranceRequest(string tokenUniqueReference = default(string), string commentText = default(string), AuditInfo auditInfo = default(AuditInfo)) { // to ensure "tokenUniqueReference" is required (not null) if (tokenUniqueReference == null) { throw new InvalidDataException("tokenUniqueReference is a required property for UpdateTokenAssuranceRequest and cannot be null"); } else { this.TokenUniqueReference = tokenUniqueReference; } // to ensure "auditInfo" is required (not null) if (auditInfo == null) { throw new InvalidDataException("auditInfo is a required property for UpdateTokenAssuranceRequest and cannot be null"); } else { this.AuditInfo = auditInfo; } this.CommentText = commentText; }