/// <summary>
 /// Initializes a new instance of the <see cref="EzsignfoldersignerassociationGetInPersonLoginUrlV1Response" /> class.
 /// </summary>
 /// <param name="mPayload">mPayload (required).</param>
 /// <param name="objDebugPayload">objDebugPayload.</param>
 /// <param name="objDebug">objDebug.</param>
 public EzsignfoldersignerassociationGetInPersonLoginUrlV1Response(EzsignfoldersignerassociationGetInPersonLoginUrlV1ResponseMPayload mPayload = default(EzsignfoldersignerassociationGetInPersonLoginUrlV1ResponseMPayload), 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 EzsignfoldersignerassociationGetInPersonLoginUrlV1Response and cannot be null");
     this.ObjDebugPayload = objDebugPayload;
     this.ObjDebug        = objDebug;
 }
示例#2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="EzsignfoldersignerassociationGetInPersonLoginUrlV1Response" /> class.
        /// </summary>
        /// <param name="mPayload">mPayload (required).</param>
        /// <param name="objDebugPayload">objDebugPayload.</param>
        /// <param name="objDebug">objDebug.</param>
        public EzsignfoldersignerassociationGetInPersonLoginUrlV1Response(EzsignfoldersignerassociationGetInPersonLoginUrlV1ResponseMPayload mPayload = default(EzsignfoldersignerassociationGetInPersonLoginUrlV1ResponseMPayload), 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 EzsignfoldersignerassociationGetInPersonLoginUrlV1Response and cannot be null");
            }
            else
            {
                this.MPayload = mPayload;
            }

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