/// <summary> /// Initializes a new instance of the <see cref="ConfirmRegistrationEmailInput" /> class. /// </summary> /// <param name="EmailInvitationRecord">EmailInvitationRecord (required).</param> public ConfirmRegistrationEmailInput(EmailInvitationRecord EmailInvitationRecord = null) { // to ensure "EmailInvitationRecord" is required (not null) if (EmailInvitationRecord == null) { throw new InvalidDataException("EmailInvitationRecord is a required property for ConfirmRegistrationEmailInput and cannot be null"); } else { this.EmailInvitationRecord = EmailInvitationRecord; } }
/// <summary> /// Initializes a new instance of the <see cref="AcceptRegisteredUserInvitationResult" /> class. /// </summary> /// <param name="OutputInvitationRecord">OutputInvitationRecord (required).</param> /// <param name="Hdr">Hdr (required).</param> public AcceptRegisteredUserInvitationResult(EmailInvitationRecord OutputInvitationRecord = null, ResponseHeaderRecord Hdr = null) { // to ensure "OutputInvitationRecord" is required (not null) if (OutputInvitationRecord == null) { throw new InvalidDataException("OutputInvitationRecord is a required property for AcceptRegisteredUserInvitationResult and cannot be null"); } else { this.OutputInvitationRecord = OutputInvitationRecord; } // to ensure "Hdr" is required (not null) if (Hdr == null) { throw new InvalidDataException("Hdr is a required property for AcceptRegisteredUserInvitationResult and cannot be null"); } else { this.Hdr = Hdr; } }