CreateDevopsProjectTaskRequest.cc 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  1. /*
  2. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License");
  5. * you may not use this file except in compliance with the License.
  6. * You may obtain a copy of the License at
  7. *
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. *
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS,
  12. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. * See the License for the specific language governing permissions and
  14. * limitations under the License.
  15. */
  16. #include <alibabacloud/devops-rdc/model/CreateDevopsProjectTaskRequest.h>
  17. using AlibabaCloud::Devops_rdc::Model::CreateDevopsProjectTaskRequest;
  18. CreateDevopsProjectTaskRequest::CreateDevopsProjectTaskRequest() :
  19. RpcServiceRequest("devops-rdc", "2020-03-03", "CreateDevopsProjectTask")
  20. {
  21. setMethod(HttpRequest::Method::Post);
  22. }
  23. CreateDevopsProjectTaskRequest::~CreateDevopsProjectTaskRequest()
  24. {}
  25. std::string CreateDevopsProjectTaskRequest::getNote()const
  26. {
  27. return note_;
  28. }
  29. void CreateDevopsProjectTaskRequest::setNote(const std::string& note)
  30. {
  31. note_ = note;
  32. setBodyParameter("Note", note);
  33. }
  34. std::string CreateDevopsProjectTaskRequest::getVisible()const
  35. {
  36. return visible_;
  37. }
  38. void CreateDevopsProjectTaskRequest::setVisible(const std::string& visible)
  39. {
  40. visible_ = visible;
  41. setBodyParameter("Visible", visible);
  42. }
  43. std::string CreateDevopsProjectTaskRequest::getExecutorId()const
  44. {
  45. return executorId_;
  46. }
  47. void CreateDevopsProjectTaskRequest::setExecutorId(const std::string& executorId)
  48. {
  49. executorId_ = executorId;
  50. setBodyParameter("ExecutorId", executorId);
  51. }
  52. std::string CreateDevopsProjectTaskRequest::getTaskFlowStatusId()const
  53. {
  54. return taskFlowStatusId_;
  55. }
  56. void CreateDevopsProjectTaskRequest::setTaskFlowStatusId(const std::string& taskFlowStatusId)
  57. {
  58. taskFlowStatusId_ = taskFlowStatusId;
  59. setBodyParameter("TaskFlowStatusId", taskFlowStatusId);
  60. }
  61. std::string CreateDevopsProjectTaskRequest::getStartDate()const
  62. {
  63. return startDate_;
  64. }
  65. void CreateDevopsProjectTaskRequest::setStartDate(const std::string& startDate)
  66. {
  67. startDate_ = startDate;
  68. setBodyParameter("StartDate", startDate);
  69. }
  70. int CreateDevopsProjectTaskRequest::getPriority()const
  71. {
  72. return priority_;
  73. }
  74. void CreateDevopsProjectTaskRequest::setPriority(int priority)
  75. {
  76. priority_ = priority;
  77. setBodyParameter("Priority", std::to_string(priority));
  78. }
  79. std::string CreateDevopsProjectTaskRequest::getParentTaskId()const
  80. {
  81. return parentTaskId_;
  82. }
  83. void CreateDevopsProjectTaskRequest::setParentTaskId(const std::string& parentTaskId)
  84. {
  85. parentTaskId_ = parentTaskId;
  86. setBodyParameter("ParentTaskId", parentTaskId);
  87. }
  88. std::string CreateDevopsProjectTaskRequest::getOrgId()const
  89. {
  90. return orgId_;
  91. }
  92. void CreateDevopsProjectTaskRequest::setOrgId(const std::string& orgId)
  93. {
  94. orgId_ = orgId;
  95. setBodyParameter("OrgId", orgId);
  96. }
  97. std::string CreateDevopsProjectTaskRequest::getContent()const
  98. {
  99. return content_;
  100. }
  101. void CreateDevopsProjectTaskRequest::setContent(const std::string& content)
  102. {
  103. content_ = content;
  104. setBodyParameter("Content", content);
  105. }
  106. std::string CreateDevopsProjectTaskRequest::getSprintId()const
  107. {
  108. return sprintId_;
  109. }
  110. void CreateDevopsProjectTaskRequest::setSprintId(const std::string& sprintId)
  111. {
  112. sprintId_ = sprintId;
  113. setBodyParameter("SprintId", sprintId);
  114. }
  115. std::string CreateDevopsProjectTaskRequest::getDueDate()const
  116. {
  117. return dueDate_;
  118. }
  119. void CreateDevopsProjectTaskRequest::setDueDate(const std::string& dueDate)
  120. {
  121. dueDate_ = dueDate;
  122. setBodyParameter("DueDate", dueDate);
  123. }
  124. std::string CreateDevopsProjectTaskRequest::getScenarioFieldConfigId()const
  125. {
  126. return scenarioFieldConfigId_;
  127. }
  128. void CreateDevopsProjectTaskRequest::setScenarioFieldConfigId(const std::string& scenarioFieldConfigId)
  129. {
  130. scenarioFieldConfigId_ = scenarioFieldConfigId;
  131. setBodyParameter("ScenarioFieldConfigId", scenarioFieldConfigId);
  132. }
  133. std::string CreateDevopsProjectTaskRequest::getProjectId()const
  134. {
  135. return projectId_;
  136. }
  137. void CreateDevopsProjectTaskRequest::setProjectId(const std::string& projectId)
  138. {
  139. projectId_ = projectId;
  140. setBodyParameter("ProjectId", projectId);
  141. }
  142. std::string CreateDevopsProjectTaskRequest::getTaskListId()const
  143. {
  144. return taskListId_;
  145. }
  146. void CreateDevopsProjectTaskRequest::setTaskListId(const std::string& taskListId)
  147. {
  148. taskListId_ = taskListId;
  149. setBodyParameter("TaskListId", taskListId);
  150. }