/// <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; }
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"); }