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.mos.exec.clothes.unperformed.get
///
public class OapiRhinoMosExecClothesUnperformedGetRequest : BaseDingTalkRequest
{
///
/// 入参
///
public string Req { get; set; }
public GetUnPerformedClothesByOperationReqDomain Req_ { set { this.Req = TopUtils.ObjectToJson(value); } }
#region IDingTalkRequest Members
public override string GetApiName()
{
return "dingtalk.oapi.rhino.mos.exec.clothes.unperformed.get";
}
public override string GetApiCallType()
{
return DingTalkConstants.CALL_TYPE_OAPI;
}
public override IDictionary GetParameters()
{
TopDictionary parameters = new TopDictionary();
parameters.Add("req", this.Req);
if (this.otherParams != null)
{
parameters.AddAll(this.otherParams);
}
return parameters;
}
public override void Validate()
{
}
///
/// PageDomain Data Structure.
///
[Serializable]
public class PageDomain : TopObject
{
///
/// 页大小
///
[XmlElement("page_size")]
public Nullable PageSize { get; set; }
///
/// 其实位置
///
[XmlElement("start")]
public Nullable Start { get; set; }
}
///
/// GetUnPerformedClothesByOperationReqDomain Data Structure.
///
[Serializable]
public class GetUnPerformedClothesByOperationReqDomain : TopObject
{
///
/// 业务类型
///
[XmlArray("biz_types")]
[XmlArrayItem("string")]
public List BizTypes { get; set; }
///
/// 工序id
///
[XmlArray("operation_uids")]
[XmlArrayItem("number")]
public List OperationUids { get; set; }
///
/// 订单id
///
[XmlElement("order_id")]
public Nullable OrderId { get; set; }
///
/// 分页
///
[XmlElement("page")]
public PageDomain Page { get; set; }
///
/// 尺码信息
///
[XmlElement("size_code")]
public string SizeCode { get; set; }
///
/// 状态
///
[XmlArray("status")]
[XmlArrayItem("string")]
public List Status { get; set; }
///
/// 租户id
///
[XmlElement("tenant_id")]
public string TenantId { get; set; }
///
/// userId
///
[XmlElement("userid")]
public string Userid { get; set; }
}
#endregion
}
}