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.productionteam.query
///
public class OapiRhinoHumanresProductionteamQueryRequest : BaseDingTalkRequest
{
///
/// 查询生产组入参
///
public string QueryProductionTeamParam { get; set; }
public QueryProductionTeamDtoDomain QueryProductionTeamParam_ { set { this.QueryProductionTeamParam = TopUtils.ObjectToJson(value); } }
#region IDingTalkRequest Members
public override string GetApiName()
{
return "dingtalk.oapi.rhino.humanres.productionteam.query";
}
public override string GetApiCallType()
{
return DingTalkConstants.CALL_TYPE_OAPI;
}
public override IDictionary GetParameters()
{
TopDictionary parameters = new TopDictionary();
parameters.Add("query_production_team_param", this.QueryProductionTeamParam);
if (this.otherParams != null)
{
parameters.AddAll(this.otherParams);
}
return parameters;
}
public override void Validate()
{
}
///
/// QueryProductionTeamDtoDomain Data Structure.
///
[Serializable]
public class QueryProductionTeamDtoDomain : TopObject
{
///
/// 结束时间
///
[XmlElement("end_time")]
public Nullable EndTime { get; set; }
///
/// 开始时间
///
[XmlElement("start_time")]
public Nullable StartTime { get; set; }
///
/// 资产ID
///
[XmlElement("tenant_id")]
public string TenantId { get; set; }
///
/// 预业务参数[这里先预留],这里是用户ID,比如钉钉用户ID
///
[XmlElement("userid")]
public string Userid { get; set; }
///
/// 工段CODE
///
[XmlElement("workshop_section_code")]
public string WorkshopSectionCode { get; set; }
}
#endregion
}
}