/// <summary> /// Initializes a new instance of the <see cref="Error" /> class. /// </summary> /// <param name="error">error (required).</param> public Error(ErrorError error = default(ErrorError)) { // to ensure "error" is required (not null) if (error == null) { throw new InvalidDataException("error is a required property for Error and cannot be null"); } else { this._Error = error; } }
/// <summary> /// Initializes a new instance of the <see cref="Error" /> class. /// </summary> /// <param name="_Error">_Error.</param> public Error(ErrorError _Error = default(ErrorError)) { this._Error = _Error; }
/// <summary> /// Initializes a new instance of the <see cref="Error" /> class. /// </summary> /// <param name="_Error">_Error.</param> public Error(ErrorError _Error = null) { this._Error = _Error; }