using System;
using System.Xml.Serialization;
using System.Collections.Generic;
using Top.Api.Util;
namespace Top.Api.Request
{
///
/// TOP API: tmall.retail.items.query
///
public class TmallRetailItemsQueryRequest : BaseTopRequest
{
///
/// t
///
public string Param0 { get; set; }
public DeviceContextDomain Param0_ { set { this.Param0 = TopUtils.ObjectToJson(value); } }
#region ITopRequest Members
public override string GetApiName()
{
return "tmall.retail.items.query";
}
public override IDictionary GetParameters()
{
TopDictionary parameters = new TopDictionary();
parameters.Add("param0", this.Param0);
if (this.otherParams != null)
{
parameters.AddAll(this.otherParams);
}
return parameters;
}
public override void Validate()
{
}
///
/// DeviceContextDomain Data Structure.
///
[Serializable]
public class DeviceContextDomain : TopObject
{
///
/// t
///
[XmlElement("address")]
public string Address { get; set; }
///
/// t
///
[XmlElement("appkey")]
public string Appkey { get; set; }
///
/// t
///
[XmlElement("brand_user_id")]
public Nullable BrandUserId { get; set; }
///
/// t
///
[XmlElement("device_code")]
public string DeviceCode { get; set; }
///
/// t
///
[XmlElement("device_id")]
public string DeviceId { get; set; }
///
/// t
///
[XmlElement("device_ip")]
public string DeviceIp { get; set; }
///
/// t
///
[XmlElement("device_name")]
public string DeviceName { get; set; }
///
/// t
///
[XmlElement("device_sn")]
public string DeviceSn { get; set; }
///
/// t
///
[XmlElement("device_type")]
public Nullable DeviceType { get; set; }
///
/// t
///
[XmlElement("id")]
public Nullable Id { get; set; }
///
/// t
///
[XmlElement("item_props")]
public string ItemProps { get; set; }
///
/// t
///
[XmlElement("mac")]
public string Mac { get; set; }
///
/// t
///
[XmlElement("main_page")]
public string MainPage { get; set; }
///
/// t
///
[XmlElement("out_code")]
public string OutCode { get; set; }
///
/// t
///
[XmlElement("props")]
public string Props { get; set; }
///
/// t
///
[XmlElement("pwd")]
public string Pwd { get; set; }
///
/// t
///
[XmlElement("regist_status")]
public Nullable RegistStatus { get; set; }
///
/// t
///
[XmlElement("seller_id")]
public Nullable SellerId { get; set; }
///
/// t
///
[XmlElement("status")]
public Nullable Status { get; set; }
///
/// t
///
[XmlElement("store_id")]
public Nullable StoreId { get; set; }
///
/// t
///
[XmlElement("ts")]
public Nullable Ts { get; set; }
///
/// t
///
[XmlElement("uni_crm_id")]
public string UniCrmId { get; set; }
///
/// t
///
[XmlElement("user_props")]
public string UserProps { get; set; }
///
/// t
///
[XmlElement("utdid")]
public string Utdid { get; set; }
}
#endregion
}
}