using System;
using System.Xml.Serialization;
using System.Collections.Generic;
using Top.Api;
namespace DingTalk.Api.Response
{
///
/// OapiAttendanceVacationQuotaUpdateResponse.
///
public class OapiAttendanceVacationQuotaUpdateResponse : DingTalkResponse
{
///
/// dingOpenErrcode
///
[XmlElement("errcode")]
public long Errcode { get; set; }
///
/// errorMsg
///
[XmlElement("errmsg")]
public string Errmsg { get; set; }
///
/// 结果值
///
[XmlArray("result")]
[XmlArrayItem("result")]
public List Result { get; set; }
///
/// 是否正确访问
///
[XmlElement("success")]
public bool Success { get; set; }
///
/// QuotaDomain Data Structure.
///
[Serializable]
public class QuotaDomain : TopObject
{
///
/// 假期类型唯一标识
///
[XmlElement("leave_code")]
public string LeaveCode { get; set; }
///
/// 额度所对应的周期(除了假期类型为调休的时候可以为空之外 其他情况均不能为空 且格式必须满足"yyyy")
///
[XmlElement("quota_cycle")]
public string QuotaCycle { get; set; }
///
/// 员工ID
///
[XmlElement("userid")]
public string Userid { get; set; }
}
///
/// ResultDomain Data Structure.
///
[Serializable]
public class ResultDomain : TopObject
{
///
/// 失败记录
///
[XmlElement("quota")]
public QuotaDomain Quota { get; set; }
///
/// 失败原因
///
[XmlElement("reason")]
public string Reason { get; set; }
}
}
}