osdn-client 0.0.20161003 → 0.0.20171120

Sign up to get free protection for your applications and to get access to all the features.
Files changed (186) hide show
  1. checksums.yaml +5 -5
  2. data/README.md +168 -6
  3. data/docs/FrsAdminPrefs.md +9 -0
  4. data/docs/Group.md +1 -3
  5. data/docs/GroupProfile.md +10 -0
  6. data/docs/GroupProfilePerLanguage.md +10 -0
  7. data/docs/GroupToolFlags.md +1 -2
  8. data/docs/History.md +15 -0
  9. data/docs/I18NText.md +9 -0
  10. data/docs/ProjectApi.md +4021 -209
  11. data/docs/ProjectBzr.md +22 -0
  12. data/docs/ProjectFrsApi.md +118 -4
  13. data/docs/ProjectGit.md +27 -0
  14. data/docs/ProjectHg.md +22 -0
  15. data/docs/ProjectSCM.md +22 -0
  16. data/docs/ProjectSCMApi.md +1214 -0
  17. data/docs/ProjectSCMLastCommit.md +11 -0
  18. data/docs/ProjectSvn.md +25 -0
  19. data/docs/ProjectTicketApi.md +1847 -0
  20. data/docs/ProjectTicketComment.md +13 -0
  21. data/docs/ProjectTicketComponent.md +14 -0
  22. data/docs/ProjectTicketComponentSummary.md +10 -0
  23. data/docs/ProjectTicketComponentSummarySummarizedBy.md +12 -0
  24. data/docs/ProjectTicketHistory.md +14 -0
  25. data/docs/ProjectTicketItem.md +25 -0
  26. data/docs/ProjectTicketMilestone.md +14 -0
  27. data/docs/ProjectTicketMilestoneSummary.md +10 -0
  28. data/docs/ProjectTicketMilestoneSummarySummarizedBy.md +12 -0
  29. data/docs/ProjectTicketPrefs.md +13 -0
  30. data/docs/ProjectTicketType.md +15 -0
  31. data/docs/ProjectTicketTypeInstructionPerLanguage.md +9 -0
  32. data/docs/ProjectTicketTypeInstructions.md +9 -0
  33. data/docs/ProjectTicketTypeSummary.md +10 -0
  34. data/docs/ProjectTicketTypeSummarySummarizedBy.md +12 -0
  35. data/docs/ProjectWeb.md +8 -0
  36. data/docs/ScmHook.md +18 -0
  37. data/docs/SummariadByComponent.md +7 -0
  38. data/docs/SummariadByComponentInner.md +10 -0
  39. data/docs/SummariadByMilestone.md +7 -0
  40. data/docs/SummariadByMilestoneInner.md +10 -0
  41. data/docs/SummariadByOwner.md +7 -0
  42. data/docs/SummariadByOwnerInner.md +10 -0
  43. data/docs/SummariadByPriority.md +7 -0
  44. data/docs/SummariadByPriorityInner.md +10 -0
  45. data/docs/SummariadBySeverity.md +7 -0
  46. data/docs/SummariadBySeverityInner.md +10 -0
  47. data/docs/SummariadByType.md +7 -0
  48. data/docs/SummariadByTypeInner.md +10 -0
  49. data/docs/User.md +5 -3
  50. data/docs/UserApi.md +279 -0
  51. data/docs/UserImages.md +12 -0
  52. data/docs/UserStats.md +33 -0
  53. data/lib/osdn-client.rb +45 -1
  54. data/lib/osdn-client/api/default_api.rb +1 -1
  55. data/lib/osdn-client/api/project_api.rb +4574 -396
  56. data/lib/osdn-client/api/project_frs_api.rb +122 -5
  57. data/lib/osdn-client/api/project_news_api.rb +1 -1
  58. data/lib/osdn-client/api/project_scm_api.rb +1310 -0
  59. data/lib/osdn-client/api/project_ticket_api.rb +2124 -0
  60. data/lib/osdn-client/api/user_api.rb +294 -1
  61. data/lib/osdn-client/api_client.rb +1 -1
  62. data/lib/osdn-client/api_error.rb +1 -1
  63. data/lib/osdn-client/configuration.rb +1 -1
  64. data/lib/osdn-client/models/frs_admin_prefs.rb +208 -0
  65. data/lib/osdn-client/models/group.rb +8 -26
  66. data/lib/osdn-client/models/group_profile.rb +223 -0
  67. data/lib/osdn-client/models/group_profile_per_language.rb +217 -0
  68. data/lib/osdn-client/models/group_tool_flags.rb +11 -20
  69. data/lib/osdn-client/models/history.rb +262 -0
  70. data/lib/osdn-client/models/i18_n_text.rb +208 -0
  71. data/lib/osdn-client/models/news.rb +1 -1
  72. data/lib/osdn-client/models/package.rb +1 -1
  73. data/lib/osdn-client/models/pong.rb +1 -1
  74. data/lib/osdn-client/models/project_bzr.rb +329 -0
  75. data/lib/osdn-client/models/project_git.rb +374 -0
  76. data/lib/osdn-client/models/project_hg.rb +329 -0
  77. data/lib/osdn-client/models/project_scm.rb +329 -0
  78. data/lib/osdn-client/models/project_scm_last_commit.rb +226 -0
  79. data/lib/osdn-client/models/project_svn.rb +356 -0
  80. data/lib/osdn-client/models/project_ticket_comment.rb +244 -0
  81. data/lib/osdn-client/models/project_ticket_component.rb +253 -0
  82. data/lib/osdn-client/models/project_ticket_component_summary.rb +217 -0
  83. data/lib/osdn-client/models/project_ticket_component_summary_summarized_by.rb +235 -0
  84. data/lib/osdn-client/models/project_ticket_history.rb +253 -0
  85. data/lib/osdn-client/models/project_ticket_item.rb +356 -0
  86. data/lib/osdn-client/models/project_ticket_milestone.rb +253 -0
  87. data/lib/osdn-client/models/project_ticket_milestone_summary.rb +217 -0
  88. data/lib/osdn-client/models/project_ticket_milestone_summary_summarized_by.rb +235 -0
  89. data/lib/osdn-client/models/project_ticket_prefs.rb +244 -0
  90. data/lib/osdn-client/models/project_ticket_type.rb +266 -0
  91. data/lib/osdn-client/models/project_ticket_type_instruction_per_language.rb +208 -0
  92. data/lib/osdn-client/models/project_ticket_type_instructions.rb +212 -0
  93. data/lib/osdn-client/models/project_ticket_type_summary.rb +217 -0
  94. data/lib/osdn-client/models/project_ticket_type_summary_summarized_by.rb +235 -0
  95. data/lib/osdn-client/models/project_web.rb +199 -0
  96. data/lib/osdn-client/models/rel_file.rb +1 -1
  97. data/lib/osdn-client/models/release.rb +1 -1
  98. data/lib/osdn-client/models/scm_hook.rb +289 -0
  99. data/lib/osdn-client/models/simple_chamber.rb +1 -1
  100. data/lib/osdn-client/models/simple_group.rb +1 -1
  101. data/lib/osdn-client/models/simple_user.rb +1 -1
  102. data/lib/osdn-client/models/skill.rb +1 -1
  103. data/lib/osdn-client/models/summariad_by_component.rb +190 -0
  104. data/lib/osdn-client/models/summariad_by_component_inner.rb +217 -0
  105. data/lib/osdn-client/models/summariad_by_milestone.rb +190 -0
  106. data/lib/osdn-client/models/summariad_by_milestone_inner.rb +217 -0
  107. data/lib/osdn-client/models/summariad_by_owner.rb +190 -0
  108. data/lib/osdn-client/models/summariad_by_owner_inner.rb +217 -0
  109. data/lib/osdn-client/models/summariad_by_priority.rb +190 -0
  110. data/lib/osdn-client/models/summariad_by_priority_inner.rb +217 -0
  111. data/lib/osdn-client/models/summariad_by_severity.rb +190 -0
  112. data/lib/osdn-client/models/summariad_by_severity_inner.rb +217 -0
  113. data/lib/osdn-client/models/summariad_by_type.rb +190 -0
  114. data/lib/osdn-client/models/summariad_by_type_inner.rb +217 -0
  115. data/lib/osdn-client/models/token.rb +1 -1
  116. data/lib/osdn-client/models/user.rb +38 -18
  117. data/lib/osdn-client/models/user_images.rb +235 -0
  118. data/lib/osdn-client/models/user_stats.rb +424 -0
  119. data/lib/osdn-client/version.rb +2 -2
  120. data/osdn-client.gemspec +1 -1
  121. data/spec/api/default_api_spec.rb +1 -1
  122. data/spec/api/project_api_spec.rb +899 -3
  123. data/spec/api/project_frs_api_spec.rb +28 -3
  124. data/spec/api/project_news_api_spec.rb +1 -1
  125. data/spec/api/project_scm_api_spec.rb +324 -0
  126. data/spec/api/project_ticket_api_spec.rb +488 -0
  127. data/spec/api/user_api_spec.rb +63 -1
  128. data/spec/api_client_spec.rb +1 -1
  129. data/spec/configuration_spec.rb +1 -1
  130. data/spec/models/frs_admin_prefs_spec.rb +59 -0
  131. data/spec/models/group_profile_per_language_spec.rb +65 -0
  132. data/spec/models/group_profile_spec.rb +65 -0
  133. data/spec/models/group_spec.rb +2 -14
  134. data/spec/models/group_tool_flags_spec.rb +3 -9
  135. data/spec/models/history_spec.rb +95 -0
  136. data/spec/models/i18_n_text_spec.rb +59 -0
  137. data/spec/models/news_spec.rb +1 -1
  138. data/spec/models/package_spec.rb +1 -1
  139. data/spec/models/pong_spec.rb +1 -1
  140. data/spec/models/project_bzr_spec.rb +137 -0
  141. data/spec/models/project_git_spec.rb +167 -0
  142. data/spec/models/project_hg_spec.rb +137 -0
  143. data/spec/models/project_scm_last_commit_spec.rb +71 -0
  144. data/spec/models/project_scm_spec.rb +137 -0
  145. data/spec/models/project_svn_spec.rb +155 -0
  146. data/spec/models/project_ticket_comment_spec.rb +83 -0
  147. data/spec/models/project_ticket_component_spec.rb +89 -0
  148. data/spec/models/project_ticket_component_summary_spec.rb +65 -0
  149. data/spec/models/project_ticket_component_summary_summarized_by_spec.rb +77 -0
  150. data/spec/models/project_ticket_history_spec.rb +89 -0
  151. data/spec/models/project_ticket_item_spec.rb +155 -0
  152. data/spec/models/project_ticket_milestone_spec.rb +89 -0
  153. data/spec/models/project_ticket_milestone_summary_spec.rb +65 -0
  154. data/spec/models/project_ticket_milestone_summary_summarized_by_spec.rb +77 -0
  155. data/spec/models/project_ticket_prefs_spec.rb +83 -0
  156. data/spec/models/project_ticket_type_instruction_per_language_spec.rb +59 -0
  157. data/spec/models/project_ticket_type_instructions_spec.rb +59 -0
  158. data/spec/models/project_ticket_type_spec.rb +95 -0
  159. data/spec/models/project_ticket_type_summary_spec.rb +65 -0
  160. data/spec/models/project_ticket_type_summary_summarized_by_spec.rb +77 -0
  161. data/spec/models/project_web_spec.rb +53 -0
  162. data/spec/models/rel_file_spec.rb +1 -1
  163. data/spec/models/release_spec.rb +1 -1
  164. data/spec/models/scm_hook_spec.rb +113 -0
  165. data/spec/models/simple_chamber_spec.rb +1 -1
  166. data/spec/models/simple_group_spec.rb +1 -1
  167. data/spec/models/simple_user_spec.rb +1 -1
  168. data/spec/models/skill_spec.rb +1 -1
  169. data/spec/models/summariad_by_component_inner_spec.rb +65 -0
  170. data/spec/models/summariad_by_component_spec.rb +47 -0
  171. data/spec/models/summariad_by_milestone_inner_spec.rb +65 -0
  172. data/spec/models/summariad_by_milestone_spec.rb +47 -0
  173. data/spec/models/summariad_by_owner_inner_spec.rb +65 -0
  174. data/spec/models/summariad_by_owner_spec.rb +47 -0
  175. data/spec/models/summariad_by_priority_inner_spec.rb +65 -0
  176. data/spec/models/summariad_by_priority_spec.rb +47 -0
  177. data/spec/models/summariad_by_severity_inner_spec.rb +65 -0
  178. data/spec/models/summariad_by_severity_spec.rb +47 -0
  179. data/spec/models/summariad_by_type_inner_spec.rb +65 -0
  180. data/spec/models/summariad_by_type_spec.rb +47 -0
  181. data/spec/models/token_spec.rb +1 -1
  182. data/spec/models/user_images_spec.rb +77 -0
  183. data/spec/models/user_spec.rb +16 -4
  184. data/spec/models/user_stats_spec.rb +203 -0
  185. data/spec/spec_helper.rb +1 -1
  186. metadata +179 -3
@@ -3,7 +3,7 @@
3
3
 
4
4
  #OSDN REST API. Currently this API is experimental release. Pelase refer documentation on https://osdn.net/projects/osdn-codes/wiki/APIGuide and you can get client libraries from https://osdn.net/projects/osdn-codes/releases/p14859 .
5
5
 
6
- OpenAPI spec version: 0.0.20161003
6
+ OpenAPI spec version: 0.0.20171120
7
7
  Contact: admin@osdn.net
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -22,5 +22,5 @@ limitations under the License.
22
22
  =end
23
23
 
24
24
  module OSDNClient
25
- VERSION = "0.0.20161003"
25
+ VERSION = "0.0.20171120"
26
26
  end
@@ -5,7 +5,7 @@
5
5
 
6
6
  #OSDN REST API. Currently this API is experimental release. Pelase refer documentation on https://osdn.net/projects/osdn-codes/wiki/APIGuide and you can get client libraries from https://osdn.net/projects/osdn-codes/releases/p14859 .
7
7
 
8
- OpenAPI spec version: 0.0.20161003
8
+ OpenAPI spec version: 0.0.20171120
9
9
  Contact: admin@osdn.net
10
10
  Generated by: https://github.com/swagger-api/swagger-codegen.git
11
11
 
@@ -3,7 +3,7 @@
3
3
 
4
4
  #OSDN REST API. Currently this API is experimental release. Pelase refer documentation on https://osdn.net/projects/osdn-codes/wiki/APIGuide and you can get client libraries from https://osdn.net/projects/osdn-codes/releases/p14859 .
5
5
 
6
- OpenAPI spec version: 0.0.20161003
6
+ OpenAPI spec version: 0.0.20171120
7
7
  Contact: admin@osdn.net
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -3,7 +3,7 @@
3
3
 
4
4
  #OSDN REST API. Currently this API is experimental release. Pelase refer documentation on https://osdn.net/projects/osdn-codes/wiki/APIGuide and you can get client libraries from https://osdn.net/projects/osdn-codes/releases/p14859 .
5
5
 
6
- OpenAPI spec version: 0.0.20161003
6
+ OpenAPI spec version: 0.0.20171120
7
7
  Contact: admin@osdn.net
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -85,6 +85,178 @@ describe 'ProjectApi' do
85
85
  end
86
86
  end
87
87
 
88
+ # unit tests for create_project_bzr
89
+ #
90
+ # Create a new bzr repository
91
+ # @param id_or_name numeric project id or project name
92
+ # @param name
93
+ # @param [Hash] opts the optional parameters
94
+ # @option opts [String] :description
95
+ # @return [ProjectBzr]
96
+ describe 'create_project_bzr test' do
97
+ it "should work" do
98
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
99
+ end
100
+ end
101
+
102
+ # unit tests for create_project_git
103
+ #
104
+ # Create a new git repository
105
+ # @param id_or_name numeric project id or project name
106
+ # @param name
107
+ # @param [Hash] opts the optional parameters
108
+ # @option opts [String] :description
109
+ # @option opts [BOOLEAN] :mail_enabled
110
+ # @option opts [String] :mail_recipients
111
+ # @option opts [BOOLEAN] :allow_non_fast_forward
112
+ # @option opts [String] :default_branch
113
+ # @return [ProjectGit]
114
+ describe 'create_project_git test' do
115
+ it "should work" do
116
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
117
+ end
118
+ end
119
+
120
+ # unit tests for create_project_git_hook
121
+ #
122
+ # Create a new hook for project git repository
123
+ # @param id_or_name numeric project id or project name
124
+ # @param repo_id
125
+ # @param target_url
126
+ # @param [Hash] opts the optional parameters
127
+ # @return [ScmHook]
128
+ describe 'create_project_git_hook test' do
129
+ it "should work" do
130
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
131
+ end
132
+ end
133
+
134
+ # unit tests for create_project_hg
135
+ #
136
+ # Create a new hg repository
137
+ # @param id_or_name numeric project id or project name
138
+ # @param name
139
+ # @param [Hash] opts the optional parameters
140
+ # @option opts [String] :description
141
+ # @option opts [String] :mail_recipients
142
+ # @return [ProjectHg]
143
+ describe 'create_project_hg test' do
144
+ it "should work" do
145
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
146
+ end
147
+ end
148
+
149
+ # unit tests for create_project_profile
150
+ #
151
+ # Create project profile for the language
152
+ # @param id_or_name numeric project id or project name
153
+ # @param language_code Language code for display name and description (example en, ja, zh-TW)
154
+ # @param display_name Project display name
155
+ # @param description Project description
156
+ # @param [Hash] opts the optional parameters
157
+ # @return [GroupProfile]
158
+ describe 'create_project_profile test' do
159
+ it "should work" do
160
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
161
+ end
162
+ end
163
+
164
+ # unit tests for create_project_ticket
165
+ #
166
+ # Create project ticket
167
+ # @param id_or_name numeric project id or project name
168
+ # @param name Project ticket name (title)
169
+ # @param description Project ticket description details
170
+ # @param type_id numeric project ticket type id
171
+ # @param [Hash] opts the optional parameters
172
+ # @option opts [Integer] :milestone_id numeric project ticket milestone id
173
+ # @option opts [Integer] :component_id numeric project ticket component id
174
+ # @option opts [Integer] :priority project ticket priority (min = 1 and max = 9)
175
+ # @option opts [Integer] :severity project ticket severity (min = 1 and max = 9)
176
+ # @option opts [Integer] :owner numeric project ticket owner user id
177
+ # @return [ProjectTicketItem]
178
+ describe 'create_project_ticket test' do
179
+ it "should work" do
180
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
181
+ end
182
+ end
183
+
184
+ # unit tests for create_project_ticket_comment
185
+ #
186
+ # Create new project ticket comment of spscified project.
187
+ # @param id_or_name numeric project id or project name
188
+ # @param ticket_id numeric project ticket id
189
+ # @param comment Ticket comment text
190
+ # @param [Hash] opts the optional parameters
191
+ # @return [ProjectTicketComment]
192
+ describe 'create_project_ticket_comment test' do
193
+ it "should work" do
194
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
195
+ end
196
+ end
197
+
198
+ # unit tests for create_project_ticket_component
199
+ #
200
+ # Create new project ticket component of spscified project.
201
+ # @param id_or_name numeric project id or project name
202
+ # @param name Ticket component name
203
+ # @param description Ticket component description
204
+ # @param [Hash] opts the optional parameters
205
+ # @option opts [Integer] :owner Ticket componet owner user_id
206
+ # @option opts [BOOLEAN] :active Ticket componet will be shown the component select list when this parameter is true
207
+ # @return [Array<ProjectTicketComponent>]
208
+ describe 'create_project_ticket_component test' do
209
+ it "should work" do
210
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
211
+ end
212
+ end
213
+
214
+ # unit tests for create_project_ticket_milestone
215
+ #
216
+ # Create new project ticket milestone of spscified project.
217
+ # @param id_or_name numeric project id or project name
218
+ # @param name Ticket milestone name
219
+ # @param description Ticket milestone description
220
+ # @param [Hash] opts the optional parameters
221
+ # @option opts [DateTime] :start Ticket milestone start date
222
+ # @option opts [DateTime] :_end Ticket milestone due date
223
+ # @return [ProjectTicketMilestone]
224
+ describe 'create_project_ticket_milestone test' do
225
+ it "should work" do
226
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
227
+ end
228
+ end
229
+
230
+ # unit tests for create_project_ticket_type
231
+ #
232
+ # Create new project ticket type of spscified project.
233
+ # @param id_or_name numeric project id or project name
234
+ # @param name Ticket type name
235
+ # @param description Ticket type description
236
+ # @param [Hash] opts the optional parameters
237
+ # @option opts [BOOLEAN] :is_public if set as false, this type will be shown to project members only.
238
+ # @return [ProjectTicketType]
239
+ describe 'create_project_ticket_type test' do
240
+ it "should work" do
241
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
242
+ end
243
+ end
244
+
245
+ # unit tests for create_project_ticket_type_instruction
246
+ #
247
+ # Create project ticket type instructions for the language
248
+ # @param id_or_name numeric project id or project name
249
+ # @param type_id numeric project ticket type id
250
+ # @param language_code Language code for display name and description (example en, ja, zh-TW)
251
+ # @param instruction Ticket submit instruction for the type
252
+ # @param [Hash] opts the optional parameters
253
+ # @return [ProjectTicketTypeInstructionPerLanguage]
254
+ describe 'create_project_ticket_type_instruction test' do
255
+ it "should work" do
256
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
257
+ end
258
+ end
259
+
88
260
  # unit tests for create_release
89
261
  #
90
262
  # Create new release in specified package.
@@ -93,7 +265,7 @@ describe 'ProjectApi' do
93
265
  # @param name Release name
94
266
  # @param [Hash] opts the optional parameters
95
267
  # @option opts [String] :visibility visibility status (public, hidden or private)
96
- # @option opts [String] :time Release datetime. If you set future time, the release hide until specified time.
268
+ # @option opts [DateTime] :time Release datetime. If you set future time, the release hide until specified time.
97
269
  # @option opts [String] :release_note Release note body text.
98
270
  # @option opts [String] :change_log Changelog body text.
99
271
  # @return [Release]
@@ -157,6 +329,101 @@ describe 'ProjectApi' do
157
329
  end
158
330
  end
159
331
 
332
+ # unit tests for delete_project_admin_projectweb
333
+ #
334
+ # Delete project homepage url
335
+ # @param id_or_name numeric project id or project name
336
+ # @param [Hash] opts the optional parameters
337
+ # @return [nil]
338
+ describe 'delete_project_admin_projectweb test' do
339
+ it "should work" do
340
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
341
+ end
342
+ end
343
+
344
+ # unit tests for delete_project_git_hook
345
+ #
346
+ # Delete a Git repository hook
347
+ # @param id_or_name numeric project id or project name
348
+ # @param repo_id
349
+ # @param hook_id
350
+ # @param [Hash] opts the optional parameters
351
+ # @return [nil]
352
+ describe 'delete_project_git_hook test' do
353
+ it "should work" do
354
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
355
+ end
356
+ end
357
+
358
+ # unit tests for delete_project_profile
359
+ #
360
+ # Delete project profile for the language
361
+ # @param id_or_name numeric project id or project name
362
+ # @param language_code Language code for display name and description (example en, ja, zh-TW)
363
+ # @param [Hash] opts the optional parameters
364
+ # @return [nil]
365
+ describe 'delete_project_profile test' do
366
+ it "should work" do
367
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
368
+ end
369
+ end
370
+
371
+ # unit tests for delete_project_ticket_component
372
+ #
373
+ # Delete project ticket component
374
+ # @param id_or_name numeric project id or project name
375
+ # @param component_id numeric project ticket component id
376
+ # @param migrate_to Tickets that assigned to delete target will be migrate to the ticket component_id
377
+ # @param [Hash] opts the optional parameters
378
+ # @return [nil]
379
+ describe 'delete_project_ticket_component test' do
380
+ it "should work" do
381
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
382
+ end
383
+ end
384
+
385
+ # unit tests for delete_project_ticket_milestone
386
+ #
387
+ # Delete project ticket milestone
388
+ # @param id_or_name numeric project id or project name
389
+ # @param milestone_id numeric project ticket milestone id
390
+ # @param [Hash] opts the optional parameters
391
+ # @option opts [Integer] :migrate_to Tickets that assigned to delete target will be migrate to the ticket milestone_id
392
+ # @return [nil]
393
+ describe 'delete_project_ticket_milestone test' do
394
+ it "should work" do
395
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
396
+ end
397
+ end
398
+
399
+ # unit tests for delete_project_ticket_type
400
+ #
401
+ # Delete project ticket type
402
+ # @param id_or_name numeric project id or project name
403
+ # @param type_id numeric project ticket type id
404
+ # @param migrate_to Tickets that assigned to delete target will be migrate to the ticket type_id
405
+ # @param [Hash] opts the optional parameters
406
+ # @return [nil]
407
+ describe 'delete_project_ticket_type test' do
408
+ it "should work" do
409
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
410
+ end
411
+ end
412
+
413
+ # unit tests for delete_project_ticket_type_instruction
414
+ #
415
+ # Delete project ticket type instructions on the language
416
+ # @param id_or_name numeric project id or project name
417
+ # @param type_id numeric project ticket type id
418
+ # @param language_code Language code for display name and description (example en, ja, zh-TW)
419
+ # @param [Hash] opts the optional parameters
420
+ # @return [nil]
421
+ describe 'delete_project_ticket_type_instruction test' do
422
+ it "should work" do
423
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
424
+ end
425
+ end
426
+
160
427
  # unit tests for delete_release
161
428
  #
162
429
  # Delete target release.
@@ -186,6 +453,45 @@ describe 'ProjectApi' do
186
453
  end
187
454
  end
188
455
 
456
+ # unit tests for disable_project_bzr
457
+ #
458
+ # Disable a bzr repository (not an actual delete, just a shorthand for updating with active&#x3D;false)
459
+ # @param id_or_name numeric project id or project name
460
+ # @param repo_id
461
+ # @param [Hash] opts the optional parameters
462
+ # @return [ProjectBzr]
463
+ describe 'disable_project_bzr test' do
464
+ it "should work" do
465
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
466
+ end
467
+ end
468
+
469
+ # unit tests for disable_project_git
470
+ #
471
+ # Disable a git repository (not an actual delete, just a shorthand for updating with active&#x3D;false)
472
+ # @param id_or_name numeric project id or project name
473
+ # @param repo_id
474
+ # @param [Hash] opts the optional parameters
475
+ # @return [ProjectGit]
476
+ describe 'disable_project_git test' do
477
+ it "should work" do
478
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
479
+ end
480
+ end
481
+
482
+ # unit tests for disable_project_hg
483
+ #
484
+ # Disable a hg repository (not an actual delete, just a shorthand for updating with active&#x3D;false)
485
+ # @param id_or_name numeric project id or project name
486
+ # @param repo_id
487
+ # @param [Hash] opts the optional parameters
488
+ # @return [ProjectHg]
489
+ describe 'disable_project_hg test' do
490
+ it "should work" do
491
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
492
+ end
493
+ end
494
+
189
495
  # unit tests for draft_release
190
496
  #
191
497
  # Get release draft in specified package. If draft is not exist, it will be created automatically.
@@ -199,6 +505,18 @@ describe 'ProjectApi' do
199
505
  end
200
506
  end
201
507
 
508
+ # unit tests for get_frs_adminprefs
509
+ #
510
+ # Get project frs admin preferences.
511
+ # @param id_or_name numeric project id or project name
512
+ # @param [Hash] opts the optional parameters
513
+ # @return [FrsAdminPrefs]
514
+ describe 'get_frs_adminprefs test' do
515
+ it "should work" do
516
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
517
+ end
518
+ end
519
+
202
520
  # unit tests for get_news
203
521
  #
204
522
  # Get single news object.
@@ -249,6 +567,213 @@ describe 'ProjectApi' do
249
567
  end
250
568
  end
251
569
 
570
+ # unit tests for get_project_admin_projectweb
571
+ #
572
+ # Get project homepage url
573
+ # @param id_or_name numeric project id or project name
574
+ # @param [Hash] opts the optional parameters
575
+ # @return [ProjectWeb]
576
+ describe 'get_project_admin_projectweb test' do
577
+ it "should work" do
578
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
579
+ end
580
+ end
581
+
582
+ # unit tests for get_project_bzr
583
+ #
584
+ # Get a bzr repository
585
+ # @param id_or_name numeric project id or project name
586
+ # @param repo_id
587
+ # @param [Hash] opts the optional parameters
588
+ # @return [ProjectBzr]
589
+ describe 'get_project_bzr test' do
590
+ it "should work" do
591
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
592
+ end
593
+ end
594
+
595
+ # unit tests for get_project_git
596
+ #
597
+ # Get a git repository
598
+ # @param id_or_name numeric project id or project name
599
+ # @param repo_id
600
+ # @param [Hash] opts the optional parameters
601
+ # @return [ProjectGit]
602
+ describe 'get_project_git test' do
603
+ it "should work" do
604
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
605
+ end
606
+ end
607
+
608
+ # unit tests for get_project_git_hook
609
+ #
610
+ # Get a repository hook
611
+ # @param id_or_name numeric project id or project name
612
+ # @param repo_id
613
+ # @param hook_id
614
+ # @param [Hash] opts the optional parameters
615
+ # @return [ScmHook]
616
+ describe 'get_project_git_hook test' do
617
+ it "should work" do
618
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
619
+ end
620
+ end
621
+
622
+ # unit tests for get_project_hg
623
+ #
624
+ # Get a hg repository
625
+ # @param id_or_name numeric project id or project name
626
+ # @param repo_id
627
+ # @param [Hash] opts the optional parameters
628
+ # @return [ProjectHg]
629
+ describe 'get_project_hg test' do
630
+ it "should work" do
631
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
632
+ end
633
+ end
634
+
635
+ # unit tests for get_project_histories
636
+ #
637
+ # Get project histories.
638
+ # @param id_or_name numeric project id or project name
639
+ # @param [Hash] opts the optional parameters
640
+ # @return [Array<History>]
641
+ describe 'get_project_histories test' do
642
+ it "should work" do
643
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
644
+ end
645
+ end
646
+
647
+ # unit tests for get_project_profile
648
+ #
649
+ # Get project profile on the language
650
+ # @param id_or_name numeric project id or project name
651
+ # @param language_code Language code for display name and description (example en, ja, zh-TW)
652
+ # @param [Hash] opts the optional parameters
653
+ # @return [GroupProfilePerLanguage]
654
+ describe 'get_project_profile test' do
655
+ it "should work" do
656
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
657
+ end
658
+ end
659
+
660
+ # unit tests for get_project_profile_list
661
+ #
662
+ # Get project profile in all languages
663
+ # @param id_or_name numeric project id or project name
664
+ # @param [Hash] opts the optional parameters
665
+ # @return [GroupProfile]
666
+ describe 'get_project_profile_list test' do
667
+ it "should work" do
668
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
669
+ end
670
+ end
671
+
672
+ # unit tests for get_project_svn
673
+ #
674
+ # Get Subversion repository of the project
675
+ # @param id_or_name numeric project id or project name
676
+ # @param [Hash] opts the optional parameters
677
+ # @return [ProjectSvn]
678
+ describe 'get_project_svn test' do
679
+ it "should work" do
680
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
681
+ end
682
+ end
683
+
684
+ # unit tests for get_project_ticket
685
+ #
686
+ # Get project ticket
687
+ # @param id_or_name numeric project id or project name
688
+ # @param ticket_id numeric project ticket id
689
+ # @param [Hash] opts the optional parameters
690
+ # @return [ProjectTicketItem]
691
+ describe 'get_project_ticket test' do
692
+ it "should work" do
693
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
694
+ end
695
+ end
696
+
697
+ # unit tests for get_project_ticket_component
698
+ #
699
+ # Get project ticket component
700
+ # @param id_or_name numeric project id or project name
701
+ # @param component_id numeric project ticket component id
702
+ # @param [Hash] opts the optional parameters
703
+ # @return [ProjectTicketComponent]
704
+ describe 'get_project_ticket_component test' do
705
+ it "should work" do
706
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
707
+ end
708
+ end
709
+
710
+ # unit tests for get_project_ticket_milestone
711
+ #
712
+ # Get project ticket milestone of spscified milestone_id.
713
+ # @param id_or_name numeric project id or project name
714
+ # @param milestone_id numeric project ticket milestone id
715
+ # @param [Hash] opts the optional parameters
716
+ # @return [ProjectTicketMilestone]
717
+ describe 'get_project_ticket_milestone test' do
718
+ it "should work" do
719
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
720
+ end
721
+ end
722
+
723
+ # unit tests for get_project_ticket_type
724
+ #
725
+ # Get project ticket type
726
+ # @param id_or_name numeric project id or project name
727
+ # @param type_id numeric project ticket type id
728
+ # @param [Hash] opts the optional parameters
729
+ # @return [ProjectTicketType]
730
+ describe 'get_project_ticket_type test' do
731
+ it "should work" do
732
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
733
+ end
734
+ end
735
+
736
+ # unit tests for get_project_ticket_type_instruction
737
+ #
738
+ # Get project ticket type instructions on the language
739
+ # @param id_or_name numeric project id or project name
740
+ # @param type_id numeric project ticket type id
741
+ # @param language_code Language code for display name and description (example en, ja, zh-TW)
742
+ # @param [Hash] opts the optional parameters
743
+ # @return [ProjectTicketTypeInstructionPerLanguage]
744
+ describe 'get_project_ticket_type_instruction test' do
745
+ it "should work" do
746
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
747
+ end
748
+ end
749
+
750
+ # unit tests for get_project_ticket_type_instruction_0
751
+ #
752
+ # Update project ticket type instructions on the language
753
+ # @param id_or_name numeric project id or project name
754
+ # @param type_id numeric project ticket type id
755
+ # @param language_code Language code for display name and description (example en, ja, zh-TW)
756
+ # @param instruction Ticket submit instruction for the type
757
+ # @param [Hash] opts the optional parameters
758
+ # @return [ProjectTicketTypeInstructionPerLanguage]
759
+ describe 'get_project_ticket_type_instruction_0 test' do
760
+ it "should work" do
761
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
762
+ end
763
+ end
764
+
765
+ # unit tests for get_project_tools
766
+ #
767
+ # Get project tools info.
768
+ # @param id_or_name numeric project id or project name
769
+ # @param [Hash] opts the optional parameters
770
+ # @return [GroupToolFlags]
771
+ describe 'get_project_tools test' do
772
+ it "should work" do
773
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
774
+ end
775
+ end
776
+
252
777
  # unit tests for get_release
253
778
  #
254
779
  # Get specified release info and file list of the release.
@@ -314,6 +839,186 @@ describe 'ProjectApi' do
314
839
  end
315
840
  end
316
841
 
842
+ # unit tests for list_project_bzr
843
+ #
844
+ # Get Bazzar repository list
845
+ # @param id_or_name numeric project id or project name
846
+ # @param [Hash] opts the optional parameters
847
+ # @return [Array<ProjectBzr>]
848
+ describe 'list_project_bzr test' do
849
+ it "should work" do
850
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
851
+ end
852
+ end
853
+
854
+ # unit tests for list_project_git
855
+ #
856
+ # Get git repository list
857
+ # @param id_or_name numeric project id or project name
858
+ # @param [Hash] opts the optional parameters
859
+ # @return [Array<ProjectGit>]
860
+ describe 'list_project_git test' do
861
+ it "should work" do
862
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
863
+ end
864
+ end
865
+
866
+ # unit tests for list_project_git_hook
867
+ #
868
+ # Get Git repository hook list
869
+ # @param id_or_name numeric project id or project name
870
+ # @param repo_id
871
+ # @param [Hash] opts the optional parameters
872
+ # @return [Array<ScmHook>]
873
+ describe 'list_project_git_hook test' do
874
+ it "should work" do
875
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
876
+ end
877
+ end
878
+
879
+ # unit tests for list_project_hg
880
+ #
881
+ # Get Mercurial repository list
882
+ # @param id_or_name numeric project id or project name
883
+ # @param [Hash] opts the optional parameters
884
+ # @return [Array<ProjectHg>]
885
+ describe 'list_project_hg test' do
886
+ it "should work" do
887
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
888
+ end
889
+ end
890
+
891
+ # unit tests for list_project_ticket
892
+ #
893
+ # List project ticket order by submit date descending
894
+ # @param id_or_name numeric project id or project name
895
+ # @param [Hash] opts the optional parameters
896
+ # @option opts [Array<String>] :status Tickets are assigned to these type_ids
897
+ # @option opts [Array<Integer>] :type_id Listing tickets are assigned to these type_ids
898
+ # @option opts [Array<Integer>] :not_type_id Listing tickets are NOT assigned to these type_ids
899
+ # @option opts [Array<Integer>] :component_id Listing tickets are assigned to these component_ids (If you want to indicate component is not assigned, please use component_id &#x3D; 0)
900
+ # @option opts [Array<Integer>] :not_component_id Listing tickets are NOT assigned to these component_ids (If you want to indicate component is not assigned, please use component_id &#x3D; 0)
901
+ # @option opts [Array<Integer>] :milestone_id Listing tickets are assigned to these milestone_ids (If you want to indicate milestone is not assigned, please use milestone_id &#x3D; 0)
902
+ # @option opts [Array<Integer>] :not_milestone_id Listing tickets are NOT assigned to these milestone_ids (milestone_id &#x3D; 0 means milestone not assigned)
903
+ # @option opts [Integer] :max_priority Listing equal or lower priority tickets
904
+ # @option opts [Integer] :min_priority Listing equal or higher priority tickets
905
+ # @option opts [Integer] :priority Listing tickets have this priority
906
+ # @option opts [Integer] :max_severity Listing equal or lower severity tickets
907
+ # @option opts [Integer] :min_severity Listing equal or higher severity tickets
908
+ # @option opts [Integer] :severity Listing tickets have this severity
909
+ # @option opts [Array<Integer>] :owner Listing tickets assigned to these owners (owner &#x3D; 100 means owner is not assigned)
910
+ # @option opts [Array<Integer>] :not_owner Listing tickets NOT assigned to these owners (owner &#x3D; 100 means owner is not assigned)
911
+ # @option opts [Array<Integer>] :reporter Listing tickets reported by these users (report &#x3D; 100 means reported by non login user)
912
+ # @option opts [Array<Integer>] :not_reporter Listing tickets reported by these users (report &#x3D; 100 means reported by non login user)
913
+ # @option opts [String] :text Listing tickets title or description or comment include the text
914
+ # @return [Array<ProjectTicketItem>]
915
+ describe 'list_project_ticket test' do
916
+ it "should work" do
917
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
918
+ end
919
+ end
920
+
921
+ # unit tests for list_project_ticket_comment
922
+ #
923
+ # Get project ticket comment list of spscified project.
924
+ # @param id_or_name numeric project id or project name
925
+ # @param ticket_id numeric project ticket id
926
+ # @param [Hash] opts the optional parameters
927
+ # @return [Array<ProjectTicketComment>]
928
+ describe 'list_project_ticket_comment test' do
929
+ it "should work" do
930
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
931
+ end
932
+ end
933
+
934
+ # unit tests for list_project_ticket_component
935
+ #
936
+ # Get project ticket component list of spscified project.
937
+ # @param id_or_name numeric project id or project name
938
+ # @param [Hash] opts the optional parameters
939
+ # @return [Array<ProjectTicketComponent>]
940
+ describe 'list_project_ticket_component test' do
941
+ it "should work" do
942
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
943
+ end
944
+ end
945
+
946
+ # unit tests for list_project_ticket_milestone
947
+ #
948
+ # Get project ticket milestone list of spscified project.
949
+ # @param id_or_name numeric project id or project name
950
+ # @param [Hash] opts the optional parameters
951
+ # @return [Array<ProjectTicketMilestone>]
952
+ describe 'list_project_ticket_milestone test' do
953
+ it "should work" do
954
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
955
+ end
956
+ end
957
+
958
+ # unit tests for list_project_ticket_type
959
+ #
960
+ # Get project ticket type list of spscified project.
961
+ # @param id_or_name numeric project id or project name
962
+ # @param [Hash] opts the optional parameters
963
+ # @return [Array<ProjectTicketType>]
964
+ describe 'list_project_ticket_type test' do
965
+ it "should work" do
966
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
967
+ end
968
+ end
969
+
970
+ # unit tests for list_project_ticket_type_instruction
971
+ #
972
+ # Get project ticket type instructions
973
+ # @param id_or_name numeric project id or project name
974
+ # @param type_id numeric project ticket type id
975
+ # @param [Hash] opts the optional parameters
976
+ # @return [ProjectTicketTypeInstructions]
977
+ describe 'list_project_ticket_type_instruction test' do
978
+ it "should work" do
979
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
980
+ end
981
+ end
982
+
983
+ # unit tests for show_project_ticket_adminprefs
984
+ #
985
+ # Get project ticket admin preferences.
986
+ # @param id_or_name numeric project id or project name
987
+ # @param [Hash] opts the optional parameters
988
+ # @return [ProjectTicketPrefs]
989
+ describe 'show_project_ticket_adminprefs test' do
990
+ it "should work" do
991
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
992
+ end
993
+ end
994
+
995
+ # unit tests for show_project_ticket_comment
996
+ #
997
+ # Get project ticket comment spscified project.
998
+ # @param id_or_name numeric project id or project name
999
+ # @param ticket_id numeric project ticket id
1000
+ # @param comment_id numeric project ticket comment id
1001
+ # @param [Hash] opts the optional parameters
1002
+ # @return [ProjectTicketComment]
1003
+ describe 'show_project_ticket_comment test' do
1004
+ it "should work" do
1005
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1006
+ end
1007
+ end
1008
+
1009
+ # unit tests for update_frs_adminprefs
1010
+ #
1011
+ # Update project frs admin preferences.
1012
+ # @param id_or_name numeric project id or project name
1013
+ # @param [Hash] opts the optional parameters
1014
+ # @option opts [BOOLEAN] :allow_overwrite Allow overwrite files when filenames are conflict
1015
+ # @return [FrsAdminPrefs]
1016
+ describe 'update_frs_adminprefs test' do
1017
+ it "should work" do
1018
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1019
+ end
1020
+ end
1021
+
317
1022
  # unit tests for update_news
318
1023
  #
319
1024
  #
@@ -358,6 +1063,197 @@ describe 'ProjectApi' do
358
1063
  end
359
1064
  end
360
1065
 
1066
+ # unit tests for update_project_admin_projectweb
1067
+ #
1068
+ # Update project homepage url
1069
+ # @param id_or_name numeric project id or project name
1070
+ # @param [Hash] opts the optional parameters
1071
+ # @option opts [String] :homepage Project home page full URL (should start with http:// or https://). If reset param is true, this url will be ignored (URL will be reset to default url)
1072
+ # @option opts [BOOLEAN] :reset Project home page URL reset to default value
1073
+ # @return [ProjectWeb]
1074
+ describe 'update_project_admin_projectweb test' do
1075
+ it "should work" do
1076
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1077
+ end
1078
+ end
1079
+
1080
+ # unit tests for update_project_bzr
1081
+ #
1082
+ # Update a bzr repository
1083
+ # @param id_or_name numeric project id or project name
1084
+ # @param repo_id
1085
+ # @param [Hash] opts the optional parameters
1086
+ # @option opts [String] :description
1087
+ # @option opts [BOOLEAN] :active
1088
+ # @return [ProjectBzr]
1089
+ describe 'update_project_bzr test' do
1090
+ it "should work" do
1091
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1092
+ end
1093
+ end
1094
+
1095
+ # unit tests for update_project_git
1096
+ #
1097
+ # Update a git repository
1098
+ # @param id_or_name numeric project id or project name
1099
+ # @param repo_id
1100
+ # @param [Hash] opts the optional parameters
1101
+ # @option opts [String] :description
1102
+ # @option opts [BOOLEAN] :mail_enabled
1103
+ # @option opts [String] :mail_recipients
1104
+ # @option opts [BOOLEAN] :allow_non_fast_forward
1105
+ # @option opts [String] :default_branch
1106
+ # @option opts [BOOLEAN] :active
1107
+ # @return [ProjectGit]
1108
+ describe 'update_project_git test' do
1109
+ it "should work" do
1110
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1111
+ end
1112
+ end
1113
+
1114
+ # unit tests for update_project_hg
1115
+ #
1116
+ # Update a hg repository
1117
+ # @param id_or_name numeric project id or project name
1118
+ # @param repo_id
1119
+ # @param [Hash] opts the optional parameters
1120
+ # @option opts [String] :description
1121
+ # @option opts [String] :mail_recipients
1122
+ # @option opts [BOOLEAN] :active
1123
+ # @return [ProjectHg]
1124
+ describe 'update_project_hg test' do
1125
+ it "should work" do
1126
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1127
+ end
1128
+ end
1129
+
1130
+ # unit tests for update_project_profile
1131
+ #
1132
+ # Update project profile.
1133
+ # @param id_or_name numeric project id or project name
1134
+ # @param language_code Language code for display name and description (example en, ja, zh-TW)
1135
+ # @param [Hash] opts the optional parameters
1136
+ # @option opts [String] :display_name Project display name
1137
+ # @option opts [String] :description Project description
1138
+ # @return [GroupProfilePerLanguage]
1139
+ describe 'update_project_profile test' do
1140
+ it "should work" do
1141
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1142
+ end
1143
+ end
1144
+
1145
+ # unit tests for update_project_ticket
1146
+ #
1147
+ # Update project ticket
1148
+ # @param id_or_name numeric project id or project name
1149
+ # @param ticket_id numeric project ticket id
1150
+ # @param [Hash] opts the optional parameters
1151
+ # @option opts [String] :name Project ticket name (title)
1152
+ # @option opts [String] :description Project ticket description details
1153
+ # @option opts [Integer] :type_id numeric project ticket type id
1154
+ # @option opts [Integer] :milestone_id numeric project ticket milestone id
1155
+ # @option opts [Integer] :component_id numeric project ticket component id
1156
+ # @option opts [Integer] :priority project ticket priority (min &#x3D; 1 and max &#x3D; 9)
1157
+ # @option opts [Integer] :severity project ticket severity (min &#x3D; 1 and max &#x3D; 9)
1158
+ # @option opts [Integer] :owner numeric project ticket owner user id
1159
+ # @option opts [String] :resolution project ticket resolution text
1160
+ # @option opts [String] :status project ticket status (open or close)
1161
+ # @return [ProjectTicketItem]
1162
+ describe 'update_project_ticket test' do
1163
+ it "should work" do
1164
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1165
+ end
1166
+ end
1167
+
1168
+ # unit tests for update_project_ticket_adminprefs
1169
+ #
1170
+ # Update project ticket admin preferences.
1171
+ # @param id_or_name numeric project id or project name
1172
+ # @param [Hash] opts the optional parameters
1173
+ # @option opts [BOOLEAN] :allow_anonymouse Non login user allows to post new ticket/comment
1174
+ # @option opts [String] :frs_autosync Componet File release autosync type &#39;Disabled&#39;, &#39;Package&#39;, &#39;Release&#39;, &#39;Package and Release&#39;
1175
+ # @option opts [String] :mailsend_type Ticket update mail destination type &#39;None&#39;, &#39;Ticket Technician&#39;, &#39;Ticket Administrator&#39;, &#39;Ticket Administrator and Technician&#39;, &#39;All project members&#39;, &#39;Mailing List&#39;
1176
+ # @option opts [Integer] :mailing_list_id Ticket update mail destination mail list id (it is only used when mailsend_type is mailing list)
1177
+ # @option opts [String] :mail_lang Ticket update mail language
1178
+ # @return [ProjectTicketPrefs]
1179
+ describe 'update_project_ticket_adminprefs test' do
1180
+ it "should work" do
1181
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1182
+ end
1183
+ end
1184
+
1185
+ # unit tests for update_project_ticket_component
1186
+ #
1187
+ # Update project ticket component
1188
+ # @param id_or_name numeric project id or project name
1189
+ # @param component_id numeric project ticket component id
1190
+ # @param [Hash] opts the optional parameters
1191
+ # @option opts [String] :name Ticket component name
1192
+ # @option opts [String] :description Ticket component description
1193
+ # @option opts [Integer] :owner Ticket componet owner user_id
1194
+ # @option opts [BOOLEAN] :active Ticket componet will be shown the component select list when this parameter is true
1195
+ # @return [ProjectTicketComponent]
1196
+ describe 'update_project_ticket_component test' do
1197
+ it "should work" do
1198
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1199
+ end
1200
+ end
1201
+
1202
+ # unit tests for update_project_ticket_milestone
1203
+ #
1204
+ # Update project ticket milestone
1205
+ # @param id_or_name numeric project id or project name
1206
+ # @param milestone_id numeric project ticket milestone id
1207
+ # @param [Hash] opts the optional parameters
1208
+ # @option opts [String] :name Ticket milestone name
1209
+ # @option opts [String] :description Ticket milestone description
1210
+ # @option opts [DateTime] :start Ticket milestone start date
1211
+ # @option opts [DateTime] :_end Ticket milestone due date
1212
+ # @option opts [String] :force_status If you want to force close the milestone set to &#39;close&#39; or reopen it set to &#39;reopen&#39;
1213
+ # @return [ProjectTicketComponent]
1214
+ describe 'update_project_ticket_milestone test' do
1215
+ it "should work" do
1216
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1217
+ end
1218
+ end
1219
+
1220
+ # unit tests for update_project_ticket_type
1221
+ #
1222
+ # Update project ticket type
1223
+ # @param id_or_name numeric project id or project name
1224
+ # @param type_id numeric project ticket type id
1225
+ # @param [Hash] opts the optional parameters
1226
+ # @option opts [String] :name Ticket type name
1227
+ # @option opts [String] :description Ticket type description
1228
+ # @option opts [BOOLEAN] :is_public if set as false, this type will be shown to project members only.
1229
+ # @return [ProjectTicketType]
1230
+ describe 'update_project_ticket_type test' do
1231
+ it "should work" do
1232
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1233
+ end
1234
+ end
1235
+
1236
+ # unit tests for update_project_tools
1237
+ #
1238
+ # Update project tools info.
1239
+ # @param id_or_name numeric project id or project name
1240
+ # @param [Hash] opts the optional parameters
1241
+ # @option opts [BOOLEAN] :git use git flag
1242
+ # @option opts [BOOLEAN] :svn use Subversion flag
1243
+ # @option opts [BOOLEAN] :hg use Mercurial(Hg) flag
1244
+ # @option opts [BOOLEAN] :bzr use Bazaar flag
1245
+ # @option opts [BOOLEAN] :frs use File Release flag
1246
+ # @option opts [BOOLEAN] :ticket use Ticket flag
1247
+ # @option opts [BOOLEAN] :wiki use Wiki flag
1248
+ # @option opts [BOOLEAN] :forum use Forum flag
1249
+ # @option opts [BOOLEAN] :ml use Mailing List flag
1250
+ # @return [GroupToolFlags]
1251
+ describe 'update_project_tools test' do
1252
+ it "should work" do
1253
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1254
+ end
1255
+ end
1256
+
361
1257
  # unit tests for update_release
362
1258
  #
363
1259
  # Update target release. (Note: If you update draft release, the release will be public automatically.)
@@ -367,7 +1263,7 @@ describe 'ProjectApi' do
367
1263
  # @param [Hash] opts the optional parameters
368
1264
  # @option opts [String] :visibility visibility status (public, hidden or private)
369
1265
  # @option opts [String] :name Release name
370
- # @option opts [String] :time Release datetime. If you set future time, the release hide until specified time.
1266
+ # @option opts [DateTime] :time Release datetime. If you set future time, the release hide until specified time.
371
1267
  # @option opts [Integer] :move_to_package_id If this parameter is specified, the release move to another package.
372
1268
  # @return [Release]
373
1269
  describe 'update_release test' do