示例#1
0
 public static UsersResult fromResponse(ResponseWrapper responseWrapper)
 {
     UsersResult usersResult = new UsersResult();
     if (responseWrapper.isServerResponse()) {
         usersResult = JsonConvert.DeserializeObject<UsersResult> (responseWrapper.responseContent);
     }
     usersResult.ResponseResult=responseWrapper;
     return usersResult;
 }
示例#2
0
 public static TagListResult fromResponse(ResponseWrapper responseWrapper)
 {
     TagListResult tagListResult = new TagListResult();
     if (responseWrapper.isServerResponse())
     {
         tagListResult = JsonConvert.DeserializeObject<TagListResult>(responseWrapper.responseContent);
     }
     tagListResult.ResponseResult = responseWrapper;
     return tagListResult;
 }
 public static AliasDeviceListResult fromResponse(ResponseWrapper responseWrapper)
 {
     AliasDeviceListResult aliasDeviceListResult = new AliasDeviceListResult();
     if (responseWrapper.isServerResponse())
     {
         aliasDeviceListResult = JsonConvert.DeserializeObject<AliasDeviceListResult>(responseWrapper.responseContent);
     }
     aliasDeviceListResult.ResponseResult = responseWrapper;
     return aliasDeviceListResult;
 }