using System;
using System.Xml.Serialization;
using System.Collections.Generic;
using Top.Api;
namespace DingTalk.Api.Response
{
///
/// OapiProjectPointHistoryPageResponse.
///
public class OapiProjectPointHistoryPageResponse : DingTalkResponse
{
///
/// 错误码
///
[XmlElement("errcode")]
public long Errcode { get; set; }
///
/// 失败原因
///
[XmlElement("errmsg")]
public string Errmsg { get; set; }
///
/// 返回结果
///
[XmlElement("result")]
public PageResultDomain Result { get; set; }
///
/// 是否成功
///
[XmlElement("success")]
public bool Success { get; set; }
///
/// PointHistoryDTODomain Data Structure.
///
[Serializable]
public class PointHistoryDTODomain : TopObject
{
///
/// 组织ID
///
[XmlElement("corp_id")]
public string CorpId { get; set; }
///
/// 创建时间(精确到毫秒数)
///
[XmlElement("create_at")]
public long CreateAt { get; set; }
///
/// 对应的行为代码(可空)
///
[XmlElement("rule_code")]
public string RuleCode { get; set; }
///
/// 对应的行为描述
///
[XmlElement("rule_name")]
public string RuleName { get; set; }
///
/// 增加或减少的分数(增加为正数,减少为负数)
///
[XmlElement("score")]
public long Score { get; set; }
///
/// 用户id
///
[XmlElement("userid")]
public string Userid { get; set; }
///
/// 幂等键
///
[XmlElement("uuid")]
public string Uuid { get; set; }
}
///
/// PageResultDomain Data Structure.
///
[Serializable]
public class PageResultDomain : TopObject
{
///
/// 是否有更多数据,如果为false,这表示本次查询没有更多的数据了。
///
[XmlElement("has_more")]
public bool HasMore { get; set; }
///
/// 结果集数据
///
[XmlArray("list")]
[XmlArrayItem("point_history_d_t_o")]
public List List { get; set; }
///
/// 下次游标开始
///
[XmlElement("next_cursor")]
public long NextCursor { get; set; }
}
}
}