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.batch.unscrap /// public class OapiRhinoMosExecClothesBatchUnscrapRequest : BaseDingTalkRequest { /// /// 入参 /// public string BatchClothesPerformReq { get; set; } public BatchClothesPerformBaseReqDomain BatchClothesPerformReq_ { set { this.BatchClothesPerformReq = TopUtils.ObjectToJson(value); } } #region IDingTalkRequest Members public override string GetApiName() { return "dingtalk.oapi.rhino.mos.exec.clothes.batch.unscrap"; } public override string GetApiCallType() { return DingTalkConstants.CALL_TYPE_OAPI; } public override IDictionary GetParameters() { TopDictionary parameters = new TopDictionary(); parameters.Add("batch_clothes_perform_req", this.BatchClothesPerformReq); if (this.otherParams != null) { parameters.AddAll(this.otherParams); } return parameters; } public override void Validate() { } /// /// BatchClothesPerformBaseReqDomain Data Structure. /// [Serializable] public class BatchClothesPerformBaseReqDomain : TopObject { /// /// 实体列表 /// [XmlArray("entity_ids")] [XmlArrayItem("number")] public List EntityIds { get; set; } /// /// 扩展属性 /// [XmlElement("ext_properties")] public string ExtProperties { get; set; } /// /// 订单ID /// [XmlElement("order_id")] public Nullable OrderId { get; set; } /// /// 租户id /// [XmlElement("tenant_id")] public string TenantId { get; set; } /// /// 用户id /// [XmlElement("userid")] public string Userid { get; set; } } #endregion } }