TopapiPerformanceTestRequest.cs 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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.topapi.performance.test
  8. /// </summary>
  9. public class TopapiPerformanceTestRequest : BaseTopRequest<Top.Api.Response.TopapiPerformanceTestResponse>
  10. {
  11. /// <summary>
  12. /// 123
  13. /// </summary>
  14. public string Commond { get; set; }
  15. /// <summary>
  16. /// 123
  17. /// </summary>
  18. public string Factor { get; set; }
  19. /// <summary>
  20. /// 123
  21. /// </summary>
  22. public Nullable<long> Rt { get; set; }
  23. #region ITopRequest Members
  24. public override string GetApiName()
  25. {
  26. return "taobao.topapi.performance.test";
  27. }
  28. public override IDictionary<string, string> GetParameters()
  29. {
  30. TopDictionary parameters = new TopDictionary();
  31. parameters.Add("commond", this.Commond);
  32. parameters.Add("factor", this.Factor);
  33. parameters.Add("rt", this.Rt);
  34. if (this.otherParams != null)
  35. {
  36. parameters.AddAll(this.otherParams);
  37. }
  38. return parameters;
  39. }
  40. public override void Validate()
  41. {
  42. }
  43. #endregion
  44. }
  45. }