public override void ReadFragmentFrom(IMwsReader reader) { this._type = reader.Read <string>("Type"); this._code = reader.Read <string>("Code"); this._message = reader.Read <string>("Message"); this._detail = reader.Read <ErrorDetail>("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); }