BaichuanUserLoginRequest.cs 986 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. using System;
  2. using System.Collections.Generic;
  3. using Top.Api.Util;
  4. namespace Top.Api.Request
  5. {
  6. /// <summary>
  7. /// TOP API: taobao.baichuan.user.login
  8. /// </summary>
  9. public class BaichuanUserLoginRequest : BaseTopRequest<Top.Api.Response.BaichuanUserLoginResponse>
  10. {
  11. /// <summary>
  12. /// name
  13. /// </summary>
  14. public string Name { get; set; }
  15. #region ITopRequest Members
  16. public override string GetApiName()
  17. {
  18. return "taobao.baichuan.user.login";
  19. }
  20. public override IDictionary<string, string> GetParameters()
  21. {
  22. TopDictionary parameters = new TopDictionary();
  23. parameters.Add("name", this.Name);
  24. if (this.otherParams != null)
  25. {
  26. parameters.AddAll(this.otherParams);
  27. }
  28. return parameters;
  29. }
  30. public override void Validate()
  31. {
  32. }
  33. #endregion
  34. }
  35. }