Beispiel #1
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;
            }
        }
Beispiel #2
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");
 }
Beispiel #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="WebhookEzsignDocumentCompletedAllOf" /> class.
 /// </summary>
 /// <param name="objEzsigndocument">objEzsigndocument (required).</param>
 public WebhookEzsignDocumentCompletedAllOf(EzsigndocumentResponse objEzsigndocument = default(EzsigndocumentResponse))
 {
     // to ensure "objEzsigndocument" is required (not null)
     if (objEzsigndocument == null)
     {
         throw new InvalidDataException("objEzsigndocument is a required property for WebhookEzsignDocumentCompletedAllOf and cannot be null");
     }
     else
     {
         this.ObjEzsigndocument = objEzsigndocument;
     }
 }
Beispiel #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="WebhookEzsignDocumentCompletedAllOf" /> class.
 /// </summary>
 /// <param name="objEzsigndocument">objEzsigndocument (required).</param>
 public WebhookEzsignDocumentCompletedAllOf(EzsigndocumentResponse objEzsigndocument = default(EzsigndocumentResponse))
 {
     // to ensure "objEzsigndocument" is required (not null)
     this.ObjEzsigndocument = objEzsigndocument ?? throw new ArgumentNullException("objEzsigndocument is a required property for WebhookEzsignDocumentCompletedAllOf and cannot be null");
 }