public override void ReadFragmentFrom(IMwsReader reader) { _type = reader.Read <string>("Type"); _code = reader.Read <string>("Code"); _message = reader.Read <string>("Message"); _detail = reader.Read <ErrorDetail>("Detail"); }
public Error(string type, string code, string message, ErrorDetail detail) : base() { this._type = type; this._code = code; this._message = message; this._detail = detail; }
/// <summary> /// Sets the Detail property. /// </summary> /// <param name="detail">Detail property.</param> /// <returns>this instance.</returns> public Error WithDetail(ErrorDetail detail) { this._detail = detail; return(this); }