/// <summary>
        /// Initializes a new instance of the <see cref="WebhookUserUserCreated" /> class.
        /// </summary>
        /// <param name="objUser">objUser (required).</param>
        /// <param name="objWebhook">objWebhook (required).</param>
        /// <param name="aObjAttempt">An array containing details of previous attempts that were made to deliver the message. The array is empty if it&#39;s the first attempt. (required).</param>
        public WebhookUserUserCreated(UserResponse objUser = default(UserResponse), WebhookResponse objWebhook = default(WebhookResponse), List <AttemptResponse> aObjAttempt = default(List <AttemptResponse>))
        {
            // to ensure "objUser" is required (not null)
            if (objUser == null)
            {
                throw new InvalidDataException("objUser is a required property for WebhookUserUserCreated and cannot be null");
            }
            else
            {
                this.ObjUser = objUser;
            }

            // to ensure "objWebhook" is required (not null)
            if (objWebhook == null)
            {
                throw new InvalidDataException("objWebhook is a required property for WebhookUserUserCreated and cannot be null");
            }
            else
            {
                this.ObjWebhook = objWebhook;
            }

            // to ensure "aObjAttempt" is required (not null)
            if (aObjAttempt == null)
            {
                throw new InvalidDataException("aObjAttempt is a required property for WebhookUserUserCreated and cannot be null");
            }
            else
            {
                this.AObjAttempt = aObjAttempt;
            }
        }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CommonWebhook" /> class.
 /// </summary>
 /// <param name="objWebhook">objWebhook (required).</param>
 /// <param name="aObjAttempt">An array containing details of previous attempts that were made to deliver the message. The array is empty if it&#39;s the first attempt. (required).</param>
 public CommonWebhook(WebhookResponse objWebhook = default(WebhookResponse), List <AttemptResponse> aObjAttempt = default(List <AttemptResponse>))
 {
     // to ensure "objWebhook" is required (not null)
     this.ObjWebhook = objWebhook ?? throw new ArgumentNullException("objWebhook is a required property for CommonWebhook and cannot be null");
     // to ensure "aObjAttempt" is required (not null)
     this.AObjAttempt = aObjAttempt ?? throw new ArgumentNullException("aObjAttempt is a required property for CommonWebhook and cannot be null");
 }
Exemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="WebhookUserUserCreated" /> class.
 /// </summary>
 /// <param name="objUser">objUser (required).</param>
 /// <param name="objWebhook">objWebhook (required).</param>
 /// <param name="aObjAttempt">An array containing details of previous attempts that were made to deliver the message. The array is empty if it&#39;s the first attempt. (required).</param>
 public WebhookUserUserCreated(UserResponse objUser = default(UserResponse), WebhookResponse objWebhook = default(WebhookResponse), List <AttemptResponse> aObjAttempt = default(List <AttemptResponse>))
 {
     // to ensure "objUser" is required (not null)
     this.ObjUser = objUser ?? throw new ArgumentNullException("objUser is a required property for WebhookUserUserCreated and cannot be null");
     // to ensure "objWebhook" is required (not null)
     this.ObjWebhook = objWebhook ?? throw new ArgumentNullException("objWebhook is a required property for WebhookUserUserCreated and cannot be null");
     // to ensure "aObjAttempt" is required (not null)
     this.AObjAttempt = aObjAttempt ?? throw new ArgumentNullException("aObjAttempt is a required property for WebhookUserUserCreated and cannot be null");
 }
Exemplo n.º 4
0
        /// <summary>
        /// Initializes a new instance of the <see cref="CommonWebhook" /> class.
        /// </summary>
        /// <param name="objWebhook">objWebhook (required).</param>
        /// <param name="aObjAttempt">An array containing details of previous attempts that were made to deliver the message. The array is empty if it&#39;s the first attempt. (required).</param>
        public CommonWebhook(WebhookResponse objWebhook = default(WebhookResponse), List <AttemptResponse> aObjAttempt = default(List <AttemptResponse>))
        {
            // to ensure "objWebhook" is required (not null)
            if (objWebhook == null)
            {
                throw new InvalidDataException("objWebhook is a required property for CommonWebhook and cannot be null");
            }
            else
            {
                this.ObjWebhook = objWebhook;
            }

            // to ensure "aObjAttempt" is required (not null)
            if (aObjAttempt == null)
            {
                throw new InvalidDataException("aObjAttempt is a required property for CommonWebhook and cannot be null");
            }
            else
            {
                this.AObjAttempt = aObjAttempt;
            }
        }
Exemplo n.º 5
0
        /// <summary>
        /// Initializes a new instance of the <see cref="WebhookEzsignDocumentCompleted" /> class.
        /// </summary>
        /// <param name="objEzsigndocument">objEzsigndocument (required).</param>
        /// <param name="objWebhook">objWebhook (required).</param>
        /// <param name="aObjAttempt">An array containing details of previous attempts that were made to deliver the message. The array is empty if it&#39;s the first attempt. (required).</param>
        public WebhookEzsignDocumentCompleted(EzsigndocumentResponse objEzsigndocument = default(EzsigndocumentResponse), WebhookResponse objWebhook = default(WebhookResponse), List <AttemptResponse> aObjAttempt = default(List <AttemptResponse>))
        {
            // to ensure "objEzsigndocument" is required (not null)
            if (objEzsigndocument == null)
            {
                throw new InvalidDataException("objEzsigndocument is a required property for WebhookEzsignDocumentCompleted and cannot be null");
            }
            else
            {
                this.ObjEzsigndocument = objEzsigndocument;
            }

            // to ensure "objWebhook" is required (not null)
            if (objWebhook == null)
            {
                throw new InvalidDataException("objWebhook is a required property for WebhookEzsignDocumentCompleted and cannot be null");
            }
            else
            {
                this.ObjWebhook = objWebhook;
            }

            // to ensure "aObjAttempt" is required (not null)
            if (aObjAttempt == null)
            {
                throw new InvalidDataException("aObjAttempt is a required property for WebhookEzsignDocumentCompleted and cannot be null");
            }
            else
            {
                this.AObjAttempt = aObjAttempt;
            }
        }
Exemplo n.º 6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="WebhookEzsignDocumentCompleted" /> class.
 /// </summary>
 /// <param name="objEzsigndocument">objEzsigndocument (required).</param>
 /// <param name="objWebhook">objWebhook (required).</param>
 /// <param name="aObjAttempt">An array containing details of previous attempts that were made to deliver the message. The array is empty if it&#39;s the first attempt. (required).</param>
 public WebhookEzsignDocumentCompleted(EzsigndocumentResponse objEzsigndocument = default(EzsigndocumentResponse), WebhookResponse objWebhook = default(WebhookResponse), List <AttemptResponse> aObjAttempt = default(List <AttemptResponse>))
 {
     // to ensure "objEzsigndocument" is required (not null)
     this.ObjEzsigndocument = objEzsigndocument ?? throw new ArgumentNullException("objEzsigndocument is a required property for WebhookEzsignDocumentCompleted and cannot be null");
     // to ensure "objWebhook" is required (not null)
     this.ObjWebhook = objWebhook ?? throw new ArgumentNullException("objWebhook is a required property for WebhookEzsignDocumentCompleted and cannot be null");
     // to ensure "aObjAttempt" is required (not null)
     this.AObjAttempt = aObjAttempt ?? throw new ArgumentNullException("aObjAttempt is a required property for WebhookEzsignDocumentCompleted and cannot be null");
 }