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