using System; using System.Collections.Generic; using Top.Api.Util; namespace Top.Api.Request { /// /// TOP API: taobao.osfbpm.robot.test /// public class OsfbpmRobotTestRequest : BaseTopRequest { /// /// 水电费水电费 /// public Nullable PlatformId { get; set; } /// /// 水电费水电费 /// public string QuestionBody { get; set; } /// /// 水电费水电费 /// public string RobotCode { get; set; } /// /// 水电费水电费 /// public Nullable RobotId { get; set; } #region ITopRequest Members public override string GetApiName() { return "taobao.osfbpm.robot.test"; } public override IDictionary GetParameters() { TopDictionary parameters = new TopDictionary(); parameters.Add("platform_id", this.PlatformId); parameters.Add("question_body", this.QuestionBody); parameters.Add("robot_code", this.RobotCode); parameters.Add("robot_id", this.RobotId); if (this.otherParams != null) { parameters.AddAll(this.otherParams); } return parameters; } public override void Validate() { } #endregion } }