Exemplo n.º 1
0
 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);
     }
 }
Exemplo n.º 2
0
 public ListReservedCapacitiesResponse()
 {
     this.Data    = new ReservedCapacitiesResponseData();
     this.Headers = new Dictionary <string, object> {
     };
 }