/// <summary>
        /// Initializes a new instance of the <see cref="WebhookEzsignFolderCompleted" /> class.
        /// </summary>
        /// <param name="objEzsignfolder">objEzsignfolder (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 WebhookEzsignFolderCompleted(EzsignfolderResponse objEzsignfolder = default(EzsignfolderResponse), WebhookResponse objWebhook = default(WebhookResponse), List <AttemptResponse> aObjAttempt = default(List <AttemptResponse>))
        {
            // to ensure "objEzsignfolder" is required (not null)
            if (objEzsignfolder == null)
            {
                throw new InvalidDataException("objEzsignfolder is a required property for WebhookEzsignFolderCompleted and cannot be null");
            }
            else
            {
                this.ObjEzsignfolder = objEzsignfolder;
            }

            // to ensure "objWebhook" is required (not null)
            if (objWebhook == null)
            {
                throw new InvalidDataException("objWebhook is a required property for WebhookEzsignFolderCompleted 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 WebhookEzsignFolderCompleted and cannot be null");
            }
            else
            {
                this.AObjAttempt = aObjAttempt;
            }
        }
 /// <summary>
 /// Initializes a new instance of the <see cref="WebhookEzsignFolderCompleted" /> class.
 /// </summary>
 /// <param name="objEzsignfolder">objEzsignfolder (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 WebhookEzsignFolderCompleted(EzsignfolderResponse objEzsignfolder = default(EzsignfolderResponse), WebhookResponse objWebhook = default(WebhookResponse), List <AttemptResponse> aObjAttempt = default(List <AttemptResponse>))
 {
     // to ensure "objEzsignfolder" is required (not null)
     this.ObjEzsignfolder = objEzsignfolder ?? throw new ArgumentNullException("objEzsignfolder is a required property for WebhookEzsignFolderCompleted and cannot be null");
     // to ensure "objWebhook" is required (not null)
     this.ObjWebhook = objWebhook ?? throw new ArgumentNullException("objWebhook is a required property for WebhookEzsignFolderCompleted and cannot be null");
     // to ensure "aObjAttempt" is required (not null)
     this.AObjAttempt = aObjAttempt ?? throw new ArgumentNullException("aObjAttempt is a required property for WebhookEzsignFolderCompleted and cannot be null");
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="WebhookEzsignFolderCompletedAllOf" /> class.
 /// </summary>
 /// <param name="objEzsignfolder">objEzsignfolder (required).</param>
 public WebhookEzsignFolderCompletedAllOf(EzsignfolderResponse objEzsignfolder = default(EzsignfolderResponse))
 {
     // to ensure "objEzsignfolder" is required (not null)
     if (objEzsignfolder == null)
     {
         throw new InvalidDataException("objEzsignfolder is a required property for WebhookEzsignFolderCompletedAllOf and cannot be null");
     }
     else
     {
         this.ObjEzsignfolder = objEzsignfolder;
     }
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="WebhookEzsignFolderCompletedAllOf" /> class.
 /// </summary>
 /// <param name="objEzsignfolder">objEzsignfolder (required).</param>
 public WebhookEzsignFolderCompletedAllOf(EzsignfolderResponse objEzsignfolder = default(EzsignfolderResponse))
 {
     // to ensure "objEzsignfolder" is required (not null)
     this.ObjEzsignfolder = objEzsignfolder ?? throw new ArgumentNullException("objEzsignfolder is a required property for WebhookEzsignFolderCompletedAllOf and cannot be null");
 }