Beispiel #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="EzsignfoldersignerassociationCreateObjectV1Response" /> class.
 /// </summary>
 /// <param name="mPayload">mPayload (required).</param>
 /// <param name="objDebugPayload">objDebugPayload.</param>
 /// <param name="objDebug">objDebug.</param>
 public EzsignfoldersignerassociationCreateObjectV1Response(EzsignfoldersignerassociationCreateObjectV1ResponseMPayload mPayload = default(EzsignfoldersignerassociationCreateObjectV1ResponseMPayload), CommonResponseObjDebugPayload objDebugPayload = default(CommonResponseObjDebugPayload), CommonResponseObjDebug objDebug = default(CommonResponseObjDebug))
 {
     // to ensure "mPayload" is required (not null)
     this.MPayload        = mPayload ?? throw new ArgumentNullException("mPayload is a required property for EzsignfoldersignerassociationCreateObjectV1Response and cannot be null");
     this.ObjDebugPayload = objDebugPayload;
     this.ObjDebug        = objDebug;
 }
        /// <summary>
        /// Initializes a new instance of the <see cref="EzsignfoldersignerassociationCreateObjectV1Response" /> class.
        /// </summary>
        /// <param name="mPayload">mPayload (required).</param>
        /// <param name="objDebugPayload">objDebugPayload.</param>
        /// <param name="objDebug">objDebug.</param>
        public EzsignfoldersignerassociationCreateObjectV1Response(EzsignfoldersignerassociationCreateObjectV1ResponseMPayload mPayload = default(EzsignfoldersignerassociationCreateObjectV1ResponseMPayload), CommonResponseObjDebugPayload objDebugPayload = default(CommonResponseObjDebugPayload), CommonResponseObjDebug objDebug = default(CommonResponseObjDebug))
        {
            // to ensure "mPayload" is required (not null)
            if (mPayload == null)
            {
                throw new InvalidDataException("mPayload is a required property for EzsignfoldersignerassociationCreateObjectV1Response and cannot be null");
            }
            else
            {
                this.MPayload = mPayload;
            }

            this.ObjDebugPayload = objDebugPayload;
            this.ObjDebug        = objDebug;
        }