Пример #1
0
        public TagListResult getTagList()
        {
            String          url      = HOST_NAME_SSL + TAGS_PATH + "/";
            String          auth     = Base64Helper.GetBase64Encode(this.appKey + ":" + this.masterSecret);
            ResponseWrapper response = this.sendGet(url, auth, null);

            return(TagListResult.fromResponse(response));
        }
Пример #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;
 }
Пример #3
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);
        }