コード例 #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);
     }
 }
コード例 #2
0
 public ListReservedCapacitiesResponse()
 {
     this.Data    = new ReservedCapacitiesResponseData();
     this.Headers = new Dictionary <string, object> {
     };
 }