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

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