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