using System;
using System.Xml.Serialization;
using System.Collections.Generic;
using Top.Api.Util;
using Top.Api;
using Top.Api.DingTalk;
namespace DingTalk.Api.Request
{
///
/// TOP API: dingtalk.oapi.rhino.humanres.employee.productionteam.list
///
public class OapiRhinoHumanresEmployeeProductionteamListRequest : BaseDingTalkRequest
{
///
/// 查询参数
///
public string QueryEmployeeProductionTeamParam { get; set; }
public QueryCorpEmployeeProductionTeamDtoDomain QueryEmployeeProductionTeamParam_ { set { this.QueryEmployeeProductionTeamParam = TopUtils.ObjectToJson(value); } }
#region IDingTalkRequest Members
public override string GetApiName()
{
return "dingtalk.oapi.rhino.humanres.employee.productionteam.list";
}
public override string GetApiCallType()
{
return DingTalkConstants.CALL_TYPE_OAPI;
}
public override IDictionary GetParameters()
{
TopDictionary parameters = new TopDictionary();
parameters.Add("query_employee_production_team_param", this.QueryEmployeeProductionTeamParam);
if (this.otherParams != null)
{
parameters.AddAll(this.otherParams);
}
return parameters;
}
public override void Validate()
{
}
///
/// QueryCorpEmployeeProductionTeamDtoDomain Data Structure.
///
[Serializable]
public class QueryCorpEmployeeProductionTeamDtoDomain : TopObject
{
///
/// 是否包含未激活或者离职状态
///
[XmlElement("include_inactive")]
public Nullable IncludeInactive { get; set; }
///
/// 资产ID
///
[XmlElement("tenant_id")]
public string TenantId { get; set; }
///
/// uicic 列表
///
[XmlArray("uic_ids")]
[XmlArrayItem("number")]
public List UicIds { get; set; }
///
/// userid
///
[XmlElement("userid")]
public string Userid { get; set; }
}
#endregion
}
}