using System; using System.Collections.Generic; using Top.Api.Util; namespace Top.Api.Request { /// /// TOP API: taobao.mixnick.get /// public class MixnickGetRequest : BaseTopRequest { /// /// 用户名 /// public string Nick { get; set; } #region ITopRequest Members public override string GetApiName() { return "taobao.mixnick.get"; } public override IDictionary GetParameters() { TopDictionary parameters = new TopDictionary(); parameters.Add("nick", this.Nick); if (this.otherParams != null) { parameters.AddAll(this.otherParams); } return parameters; } public override void Validate() { RequestValidator.ValidateRequired("nick", this.Nick); } #endregion } }