using System; using System.Collections.Generic; using Top.Api.Util; namespace Top.Api.Request { /// /// TOP API: taobao.oauth.code.create /// public class OauthCodeCreateRequest : BaseTopRequest { /// /// mock param /// public Nullable Test { get; set; } #region ITopRequest Members public override string GetApiName() { return "taobao.oauth.code.create"; } public override IDictionary GetParameters() { TopDictionary parameters = new TopDictionary(); parameters.Add("test", this.Test); if (this.otherParams != null) { parameters.AddAll(this.otherParams); } return parameters; } public override void Validate() { } #endregion } }