Exemplo n.º 1
0
        public TagListResult getTagList()
        {
            String          url      = HOST_NAME_SSL + TAGS_PATH + "/";
            String          auth     = Base64.getBase64Encode(this.appKey + ":" + this.masterSecret);
            ResponseWrapper response = this.sendGet(url, auth, null);

            return(TagListResult.fromResponse(response));
        }
Exemplo n.º 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;
 }
Exemplo n.º 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);
        }