cn.jpush.api/device/TagAliasResult.cs

(完整代码) 1KB

using cn.jpush.api.common;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Net;

namespace cn.jpush.api.device
{
  public  class TagAliasResult:BaseResult
    {
        public List<String> tags;
        public String alias;

        public TagAliasResult()
        {
            tags = null;
            alias = null;
        }
        public override bool isResultOK()
        {
            if (Equals(ResponseResult.responseCode, HttpStatusCode.OK))
            {
                return true;
            }
            return false;
        }
        public static TagAliasResult fromResponse(ResponseWrapper responseWrapper)
        {
            TagAliasResult tagAliasResult = new TagAliasResult();
            if (responseWrapper.isServerResponse())
            {
                tagAliasResult = JsonConvert.DeserializeObject<TagAliasResult>(responseWrapper.responseContent);
            }
            tagAliasResult.ResponseResult = responseWrapper;
            return tagAliasResult;
        }

    }
}

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。