public void SetStatusContent(string content, int status, byte[] rawBytes) { this.StatusCode = status; this.Content = content; if (status < 300) { this.Data = JsonConvert.DeserializeObject <ReservedCapacitiesResponseData>(this.Content); } }
public ListReservedCapacitiesResponse() { this.Data = new ReservedCapacitiesResponseData(); this.Headers = new Dictionary <string, object> { }; }