using System; using System.Xml.Serialization; using System.Collections.Generic; using Top.Api.Util; namespace Top.Api.Request { /// /// TOP API: wdk.rex.device.info.latest /// public class WdkRexDeviceInfoLatestRequest : BaseTopRequest { /// /// 请求封装 /// public string Req { get; set; } public AiotManagerDeviceLatestRequestDomain Req_ { set { this.Req = TopUtils.ObjectToJson(value); } } #region ITopRequest Members public override string GetApiName() { return "wdk.rex.device.info.latest"; } 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() { } /// /// AiotManagerDeviceLatestRequestDomain Data Structure. /// [Serializable] public class AiotManagerDeviceLatestRequestDomain : TopObject { /// /// 应用ID /// [XmlElement("app_id")] public Nullable AppId { get; set; } /// /// 包签名 /// [XmlElement("app_sign_md5")] public string AppSignMd5 { get; set; } /// /// 设备类型 /// [XmlElement("device_type")] public string DeviceType { get; set; } /// /// 商家code /// [XmlElement("merchant_code")] public string MerchantCode { get; set; } /// /// 是否需要AK /// [XmlElement("need_ak")] public Nullable NeedAk { get; set; } /// /// 包名 /// [XmlElement("package_name")] public string PackageName { get; set; } /// /// 阿里云pk /// [XmlElement("product_key")] public string ProductKey { get; set; } /// /// 唯一标识 /// [XmlElement("utdid")] public string Utdid { get; set; } /// /// uuid /// [XmlElement("uuid")] public string Uuid { get; set; } } #endregion } }