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