//GET /v3/tags/ //获取当前应用的所有标签列表。 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)); }
public static TagListResult fromResponse(ResponseWrapper responseWrapper) { TagListResult tagListResult = new TagListResult(); if (responseWrapper.isServerResponse()) { tagListResult = JsonConvert.DeserializeObject <TagListResult>(responseWrapper.responseContent); } tagListResult.ResponseResult = responseWrapper; return(tagListResult); }