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
 
@@ -65,7 +65,7 @@ describe 'ProjectFrsApi' do
65
65
  # @param name Release name
66
66
  # @param [Hash] opts the optional parameters
67
67
  # @option opts [String] :visibility visibility status (public, hidden or private)
68
- # @option opts [String] :time Release datetime. If you set future time, the release hide until specified time.
68
+ # @option opts [DateTime] :time Release datetime. If you set future time, the release hide until specified time.
69
69
  # @option opts [String] :release_note Release note body text.
70
70
  # @option opts [String] :change_log Changelog body text.
71
71
  # @return [Release]
@@ -146,6 +146,18 @@ describe 'ProjectFrsApi' do
146
146
  end
147
147
  end
148
148
 
149
+ # unit tests for get_frs_adminprefs
150
+ #
151
+ # Get project frs admin preferences.
152
+ # @param id_or_name numeric project id or project name
153
+ # @param [Hash] opts the optional parameters
154
+ # @return [FrsAdminPrefs]
155
+ describe 'get_frs_adminprefs test' do
156
+ it "should work" do
157
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
158
+ end
159
+ end
160
+
149
161
  # unit tests for get_package
150
162
  #
151
163
  # Get specified package info and release list of the package.
@@ -200,6 +212,19 @@ describe 'ProjectFrsApi' do
200
212
  end
201
213
  end
202
214
 
215
+ # unit tests for update_frs_adminprefs
216
+ #
217
+ # Update project frs admin preferences.
218
+ # @param id_or_name numeric project id or project name
219
+ # @param [Hash] opts the optional parameters
220
+ # @option opts [BOOLEAN] :allow_overwrite Allow overwrite files when filenames are conflict
221
+ # @return [FrsAdminPrefs]
222
+ describe 'update_frs_adminprefs test' do
223
+ it "should work" do
224
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
225
+ end
226
+ end
227
+
203
228
  # unit tests for update_package
204
229
  #
205
230
  # Update tagret package.
@@ -224,7 +249,7 @@ describe 'ProjectFrsApi' do
224
249
  # @param [Hash] opts the optional parameters
225
250
  # @option opts [String] :visibility visibility status (public, hidden or private)
226
251
  # @option opts [String] :name Release name
227
- # @option opts [String] :time Release datetime. If you set future time, the release hide until specified time.
252
+ # @option opts [DateTime] :time Release datetime. If you set future time, the release hide until specified time.
228
253
  # @option opts [Integer] :move_to_package_id If this parameter is specified, the release move to another package.
229
254
  # @return [Release]
230
255
  describe 'update_release test' do
@@ -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
 
@@ -0,0 +1,324 @@
1
+ =begin
2
+ #OSDN REST API v0 beta
3
+
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
+
6
+ OpenAPI spec version: 0.0.20171120
7
+ Contact: admin@osdn.net
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+
10
+ Licensed under the Apache License, Version 2.0 (the "License");
11
+ you may not use this file except in compliance with the License.
12
+ You may obtain a copy of the License at
13
+
14
+ http://www.apache.org/licenses/LICENSE-2.0
15
+
16
+ Unless required by applicable law or agreed to in writing, software
17
+ distributed under the License is distributed on an "AS IS" BASIS,
18
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19
+ See the License for the specific language governing permissions and
20
+ limitations under the License.
21
+
22
+ =end
23
+
24
+ require 'spec_helper'
25
+ require 'json'
26
+
27
+ # Unit tests for OSDNClient::ProjectSCMApi
28
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
29
+ # Please update as you see appropriate
30
+ describe 'ProjectSCMApi' do
31
+ before do
32
+ # run before each test
33
+ @instance = OSDNClient::ProjectSCMApi.new
34
+ end
35
+
36
+ after do
37
+ # run after each test
38
+ end
39
+
40
+ describe 'test an instance of ProjectSCMApi' do
41
+ it 'should create an instact of ProjectSCMApi' do
42
+ expect(@instance).to be_instance_of(OSDNClient::ProjectSCMApi)
43
+ end
44
+ end
45
+
46
+ # unit tests for create_project_bzr
47
+ #
48
+ # Create a new bzr repository
49
+ # @param id_or_name numeric project id or project name
50
+ # @param name
51
+ # @param [Hash] opts the optional parameters
52
+ # @option opts [String] :description
53
+ # @return [ProjectBzr]
54
+ describe 'create_project_bzr test' do
55
+ it "should work" do
56
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
57
+ end
58
+ end
59
+
60
+ # unit tests for create_project_git
61
+ #
62
+ # Create a new git repository
63
+ # @param id_or_name numeric project id or project name
64
+ # @param name
65
+ # @param [Hash] opts the optional parameters
66
+ # @option opts [String] :description
67
+ # @option opts [BOOLEAN] :mail_enabled
68
+ # @option opts [String] :mail_recipients
69
+ # @option opts [BOOLEAN] :allow_non_fast_forward
70
+ # @option opts [String] :default_branch
71
+ # @return [ProjectGit]
72
+ describe 'create_project_git test' do
73
+ it "should work" do
74
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
75
+ end
76
+ end
77
+
78
+ # unit tests for create_project_git_hook
79
+ #
80
+ # Create a new hook for project git repository
81
+ # @param id_or_name numeric project id or project name
82
+ # @param repo_id
83
+ # @param target_url
84
+ # @param [Hash] opts the optional parameters
85
+ # @return [ScmHook]
86
+ describe 'create_project_git_hook test' do
87
+ it "should work" do
88
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
89
+ end
90
+ end
91
+
92
+ # unit tests for create_project_hg
93
+ #
94
+ # Create a new hg repository
95
+ # @param id_or_name numeric project id or project name
96
+ # @param name
97
+ # @param [Hash] opts the optional parameters
98
+ # @option opts [String] :description
99
+ # @option opts [String] :mail_recipients
100
+ # @return [ProjectHg]
101
+ describe 'create_project_hg test' do
102
+ it "should work" do
103
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
104
+ end
105
+ end
106
+
107
+ # unit tests for delete_project_git_hook
108
+ #
109
+ # Delete a Git repository hook
110
+ # @param id_or_name numeric project id or project name
111
+ # @param repo_id
112
+ # @param hook_id
113
+ # @param [Hash] opts the optional parameters
114
+ # @return [nil]
115
+ describe 'delete_project_git_hook test' do
116
+ it "should work" do
117
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
118
+ end
119
+ end
120
+
121
+ # unit tests for disable_project_bzr
122
+ #
123
+ # Disable a bzr repository (not an actual delete, just a shorthand for updating with active=false)
124
+ # @param id_or_name numeric project id or project name
125
+ # @param repo_id
126
+ # @param [Hash] opts the optional parameters
127
+ # @return [ProjectBzr]
128
+ describe 'disable_project_bzr 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 disable_project_git
135
+ #
136
+ # Disable a git repository (not an actual delete, just a shorthand for updating with active=false)
137
+ # @param id_or_name numeric project id or project name
138
+ # @param repo_id
139
+ # @param [Hash] opts the optional parameters
140
+ # @return [ProjectGit]
141
+ describe 'disable_project_git test' do
142
+ it "should work" do
143
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
144
+ end
145
+ end
146
+
147
+ # unit tests for disable_project_hg
148
+ #
149
+ # Disable a hg repository (not an actual delete, just a shorthand for updating with active=false)
150
+ # @param id_or_name numeric project id or project name
151
+ # @param repo_id
152
+ # @param [Hash] opts the optional parameters
153
+ # @return [ProjectHg]
154
+ describe 'disable_project_hg test' do
155
+ it "should work" do
156
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
157
+ end
158
+ end
159
+
160
+ # unit tests for get_project_bzr
161
+ #
162
+ # Get a bzr repository
163
+ # @param id_or_name numeric project id or project name
164
+ # @param repo_id
165
+ # @param [Hash] opts the optional parameters
166
+ # @return [ProjectBzr]
167
+ describe 'get_project_bzr test' do
168
+ it "should work" do
169
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
170
+ end
171
+ end
172
+
173
+ # unit tests for get_project_git
174
+ #
175
+ # Get a git repository
176
+ # @param id_or_name numeric project id or project name
177
+ # @param repo_id
178
+ # @param [Hash] opts the optional parameters
179
+ # @return [ProjectGit]
180
+ describe 'get_project_git test' do
181
+ it "should work" do
182
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
183
+ end
184
+ end
185
+
186
+ # unit tests for get_project_git_hook
187
+ #
188
+ # Get a repository hook
189
+ # @param id_or_name numeric project id or project name
190
+ # @param repo_id
191
+ # @param hook_id
192
+ # @param [Hash] opts the optional parameters
193
+ # @return [ScmHook]
194
+ describe 'get_project_git_hook test' do
195
+ it "should work" do
196
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
197
+ end
198
+ end
199
+
200
+ # unit tests for get_project_hg
201
+ #
202
+ # Get a hg repository
203
+ # @param id_or_name numeric project id or project name
204
+ # @param repo_id
205
+ # @param [Hash] opts the optional parameters
206
+ # @return [ProjectHg]
207
+ describe 'get_project_hg test' do
208
+ it "should work" do
209
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
210
+ end
211
+ end
212
+
213
+ # unit tests for get_project_svn
214
+ #
215
+ # Get Subversion repository of the project
216
+ # @param id_or_name numeric project id or project name
217
+ # @param [Hash] opts the optional parameters
218
+ # @return [ProjectSvn]
219
+ describe 'get_project_svn test' do
220
+ it "should work" do
221
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
222
+ end
223
+ end
224
+
225
+ # unit tests for list_project_bzr
226
+ #
227
+ # Get Bazzar repository list
228
+ # @param id_or_name numeric project id or project name
229
+ # @param [Hash] opts the optional parameters
230
+ # @return [Array<ProjectBzr>]
231
+ describe 'list_project_bzr test' do
232
+ it "should work" do
233
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
234
+ end
235
+ end
236
+
237
+ # unit tests for list_project_git
238
+ #
239
+ # Get git repository list
240
+ # @param id_or_name numeric project id or project name
241
+ # @param [Hash] opts the optional parameters
242
+ # @return [Array<ProjectGit>]
243
+ describe 'list_project_git test' do
244
+ it "should work" do
245
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
246
+ end
247
+ end
248
+
249
+ # unit tests for list_project_git_hook
250
+ #
251
+ # Get Git repository hook list
252
+ # @param id_or_name numeric project id or project name
253
+ # @param repo_id
254
+ # @param [Hash] opts the optional parameters
255
+ # @return [Array<ScmHook>]
256
+ describe 'list_project_git_hook test' do
257
+ it "should work" do
258
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
259
+ end
260
+ end
261
+
262
+ # unit tests for list_project_hg
263
+ #
264
+ # Get Mercurial repository list
265
+ # @param id_or_name numeric project id or project name
266
+ # @param [Hash] opts the optional parameters
267
+ # @return [Array<ProjectHg>]
268
+ describe 'list_project_hg test' do
269
+ it "should work" do
270
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
271
+ end
272
+ end
273
+
274
+ # unit tests for update_project_bzr
275
+ #
276
+ # Update a bzr repository
277
+ # @param id_or_name numeric project id or project name
278
+ # @param repo_id
279
+ # @param [Hash] opts the optional parameters
280
+ # @option opts [String] :description
281
+ # @option opts [BOOLEAN] :active
282
+ # @return [ProjectBzr]
283
+ describe 'update_project_bzr test' do
284
+ it "should work" do
285
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
286
+ end
287
+ end
288
+
289
+ # unit tests for update_project_git
290
+ #
291
+ # Update a git repository
292
+ # @param id_or_name numeric project id or project name
293
+ # @param repo_id
294
+ # @param [Hash] opts the optional parameters
295
+ # @option opts [String] :description
296
+ # @option opts [BOOLEAN] :mail_enabled
297
+ # @option opts [String] :mail_recipients
298
+ # @option opts [BOOLEAN] :allow_non_fast_forward
299
+ # @option opts [String] :default_branch
300
+ # @option opts [BOOLEAN] :active
301
+ # @return [ProjectGit]
302
+ describe 'update_project_git test' do
303
+ it "should work" do
304
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
305
+ end
306
+ end
307
+
308
+ # unit tests for update_project_hg
309
+ #
310
+ # Update a hg repository
311
+ # @param id_or_name numeric project id or project name
312
+ # @param repo_id
313
+ # @param [Hash] opts the optional parameters
314
+ # @option opts [String] :description
315
+ # @option opts [String] :mail_recipients
316
+ # @option opts [BOOLEAN] :active
317
+ # @return [ProjectHg]
318
+ describe 'update_project_hg test' do
319
+ it "should work" do
320
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
321
+ end
322
+ end
323
+
324
+ end
@@ -0,0 +1,488 @@
1
+ =begin
2
+ #OSDN REST API v0 beta
3
+
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
+
6
+ OpenAPI spec version: 0.0.20171120
7
+ Contact: admin@osdn.net
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+
10
+ Licensed under the Apache License, Version 2.0 (the "License");
11
+ you may not use this file except in compliance with the License.
12
+ You may obtain a copy of the License at
13
+
14
+ http://www.apache.org/licenses/LICENSE-2.0
15
+
16
+ Unless required by applicable law or agreed to in writing, software
17
+ distributed under the License is distributed on an "AS IS" BASIS,
18
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19
+ See the License for the specific language governing permissions and
20
+ limitations under the License.
21
+
22
+ =end
23
+
24
+ require 'spec_helper'
25
+ require 'json'
26
+
27
+ # Unit tests for OSDNClient::ProjectTicketApi
28
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
29
+ # Please update as you see appropriate
30
+ describe 'ProjectTicketApi' do
31
+ before do
32
+ # run before each test
33
+ @instance = OSDNClient::ProjectTicketApi.new
34
+ end
35
+
36
+ after do
37
+ # run after each test
38
+ end
39
+
40
+ describe 'test an instance of ProjectTicketApi' do
41
+ it 'should create an instact of ProjectTicketApi' do
42
+ expect(@instance).to be_instance_of(OSDNClient::ProjectTicketApi)
43
+ end
44
+ end
45
+
46
+ # unit tests for create_project_ticket
47
+ #
48
+ # Create project ticket
49
+ # @param id_or_name numeric project id or project name
50
+ # @param name Project ticket name (title)
51
+ # @param description Project ticket description details
52
+ # @param type_id numeric project ticket type id
53
+ # @param [Hash] opts the optional parameters
54
+ # @option opts [Integer] :milestone_id numeric project ticket milestone id
55
+ # @option opts [Integer] :component_id numeric project ticket component id
56
+ # @option opts [Integer] :priority project ticket priority (min &#x3D; 1 and max &#x3D; 9)
57
+ # @option opts [Integer] :severity project ticket severity (min &#x3D; 1 and max &#x3D; 9)
58
+ # @option opts [Integer] :owner numeric project ticket owner user id
59
+ # @return [ProjectTicketItem]
60
+ describe 'create_project_ticket test' do
61
+ it "should work" do
62
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
63
+ end
64
+ end
65
+
66
+ # unit tests for create_project_ticket_comment
67
+ #
68
+ # Create new project ticket comment of spscified project.
69
+ # @param id_or_name numeric project id or project name
70
+ # @param ticket_id numeric project ticket id
71
+ # @param comment Ticket comment text
72
+ # @param [Hash] opts the optional parameters
73
+ # @return [ProjectTicketComment]
74
+ describe 'create_project_ticket_comment test' do
75
+ it "should work" do
76
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
77
+ end
78
+ end
79
+
80
+ # unit tests for create_project_ticket_component
81
+ #
82
+ # Create new project ticket component of spscified project.
83
+ # @param id_or_name numeric project id or project name
84
+ # @param name Ticket component name
85
+ # @param description Ticket component description
86
+ # @param [Hash] opts the optional parameters
87
+ # @option opts [Integer] :owner Ticket componet owner user_id
88
+ # @option opts [BOOLEAN] :active Ticket componet will be shown the component select list when this parameter is true
89
+ # @return [Array<ProjectTicketComponent>]
90
+ describe 'create_project_ticket_component test' do
91
+ it "should work" do
92
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
93
+ end
94
+ end
95
+
96
+ # unit tests for create_project_ticket_milestone
97
+ #
98
+ # Create new project ticket milestone of spscified project.
99
+ # @param id_or_name numeric project id or project name
100
+ # @param name Ticket milestone name
101
+ # @param description Ticket milestone description
102
+ # @param [Hash] opts the optional parameters
103
+ # @option opts [DateTime] :start Ticket milestone start date
104
+ # @option opts [DateTime] :_end Ticket milestone due date
105
+ # @return [ProjectTicketMilestone]
106
+ describe 'create_project_ticket_milestone test' do
107
+ it "should work" do
108
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
109
+ end
110
+ end
111
+
112
+ # unit tests for create_project_ticket_type
113
+ #
114
+ # Create new project ticket type of spscified project.
115
+ # @param id_or_name numeric project id or project name
116
+ # @param name Ticket type name
117
+ # @param description Ticket type description
118
+ # @param [Hash] opts the optional parameters
119
+ # @option opts [BOOLEAN] :is_public if set as false, this type will be shown to project members only.
120
+ # @return [ProjectTicketType]
121
+ describe 'create_project_ticket_type test' do
122
+ it "should work" do
123
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
124
+ end
125
+ end
126
+
127
+ # unit tests for create_project_ticket_type_instruction
128
+ #
129
+ # Create project ticket type instructions for the language
130
+ # @param id_or_name numeric project id or project name
131
+ # @param type_id numeric project ticket type id
132
+ # @param language_code Language code for display name and description (example en, ja, zh-TW)
133
+ # @param instruction Ticket submit instruction for the type
134
+ # @param [Hash] opts the optional parameters
135
+ # @return [ProjectTicketTypeInstructionPerLanguage]
136
+ describe 'create_project_ticket_type_instruction test' do
137
+ it "should work" do
138
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
139
+ end
140
+ end
141
+
142
+ # unit tests for delete_project_ticket_component
143
+ #
144
+ # Delete project ticket component
145
+ # @param id_or_name numeric project id or project name
146
+ # @param component_id numeric project ticket component id
147
+ # @param migrate_to Tickets that assigned to delete target will be migrate to the ticket component_id
148
+ # @param [Hash] opts the optional parameters
149
+ # @return [nil]
150
+ describe 'delete_project_ticket_component test' do
151
+ it "should work" do
152
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
153
+ end
154
+ end
155
+
156
+ # unit tests for delete_project_ticket_milestone
157
+ #
158
+ # Delete project ticket milestone
159
+ # @param id_or_name numeric project id or project name
160
+ # @param milestone_id numeric project ticket milestone id
161
+ # @param [Hash] opts the optional parameters
162
+ # @option opts [Integer] :migrate_to Tickets that assigned to delete target will be migrate to the ticket milestone_id
163
+ # @return [nil]
164
+ describe 'delete_project_ticket_milestone test' do
165
+ it "should work" do
166
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
167
+ end
168
+ end
169
+
170
+ # unit tests for delete_project_ticket_type
171
+ #
172
+ # Delete project ticket type
173
+ # @param id_or_name numeric project id or project name
174
+ # @param type_id numeric project ticket type id
175
+ # @param migrate_to Tickets that assigned to delete target will be migrate to the ticket type_id
176
+ # @param [Hash] opts the optional parameters
177
+ # @return [nil]
178
+ describe 'delete_project_ticket_type 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 delete_project_ticket_type_instruction
185
+ #
186
+ # Delete project ticket type instructions on the language
187
+ # @param id_or_name numeric project id or project name
188
+ # @param type_id numeric project ticket type id
189
+ # @param language_code Language code for display name and description (example en, ja, zh-TW)
190
+ # @param [Hash] opts the optional parameters
191
+ # @return [nil]
192
+ describe 'delete_project_ticket_type_instruction 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 get_project_ticket
199
+ #
200
+ # Get project ticket
201
+ # @param id_or_name numeric project id or project name
202
+ # @param ticket_id numeric project ticket id
203
+ # @param [Hash] opts the optional parameters
204
+ # @return [ProjectTicketItem]
205
+ describe 'get_project_ticket test' do
206
+ it "should work" do
207
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
208
+ end
209
+ end
210
+
211
+ # unit tests for get_project_ticket_component
212
+ #
213
+ # Get project ticket component
214
+ # @param id_or_name numeric project id or project name
215
+ # @param component_id numeric project ticket component id
216
+ # @param [Hash] opts the optional parameters
217
+ # @return [ProjectTicketComponent]
218
+ describe 'get_project_ticket_component test' do
219
+ it "should work" do
220
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
221
+ end
222
+ end
223
+
224
+ # unit tests for get_project_ticket_milestone
225
+ #
226
+ # Get project ticket milestone of spscified milestone_id.
227
+ # @param id_or_name numeric project id or project name
228
+ # @param milestone_id numeric project ticket milestone id
229
+ # @param [Hash] opts the optional parameters
230
+ # @return [ProjectTicketMilestone]
231
+ describe 'get_project_ticket_milestone test' do
232
+ it "should work" do
233
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
234
+ end
235
+ end
236
+
237
+ # unit tests for get_project_ticket_type
238
+ #
239
+ # Get project ticket type
240
+ # @param id_or_name numeric project id or project name
241
+ # @param type_id numeric project ticket type id
242
+ # @param [Hash] opts the optional parameters
243
+ # @return [ProjectTicketType]
244
+ describe 'get_project_ticket_type test' do
245
+ it "should work" do
246
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
247
+ end
248
+ end
249
+
250
+ # unit tests for get_project_ticket_type_instruction
251
+ #
252
+ # Get project ticket type instructions on the language
253
+ # @param id_or_name numeric project id or project name
254
+ # @param type_id numeric project ticket type id
255
+ # @param language_code Language code for display name and description (example en, ja, zh-TW)
256
+ # @param [Hash] opts the optional parameters
257
+ # @return [ProjectTicketTypeInstructionPerLanguage]
258
+ describe 'get_project_ticket_type_instruction test' do
259
+ it "should work" do
260
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
261
+ end
262
+ end
263
+
264
+ # unit tests for get_project_ticket_type_instruction_0
265
+ #
266
+ # Update project ticket type instructions on the language
267
+ # @param id_or_name numeric project id or project name
268
+ # @param type_id numeric project ticket type id
269
+ # @param language_code Language code for display name and description (example en, ja, zh-TW)
270
+ # @param instruction Ticket submit instruction for the type
271
+ # @param [Hash] opts the optional parameters
272
+ # @return [ProjectTicketTypeInstructionPerLanguage]
273
+ describe 'get_project_ticket_type_instruction_0 test' do
274
+ it "should work" do
275
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
276
+ end
277
+ end
278
+
279
+ # unit tests for list_project_ticket
280
+ #
281
+ # List project ticket order by submit date descending
282
+ # @param id_or_name numeric project id or project name
283
+ # @param [Hash] opts the optional parameters
284
+ # @option opts [Array<String>] :status Tickets are assigned to these type_ids
285
+ # @option opts [Array<Integer>] :type_id Listing tickets are assigned to these type_ids
286
+ # @option opts [Array<Integer>] :not_type_id Listing tickets are NOT assigned to these type_ids
287
+ # @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)
288
+ # @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)
289
+ # @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)
290
+ # @option opts [Array<Integer>] :not_milestone_id Listing tickets are NOT assigned to these milestone_ids (milestone_id &#x3D; 0 means milestone not assigned)
291
+ # @option opts [Integer] :max_priority Listing equal or lower priority tickets
292
+ # @option opts [Integer] :min_priority Listing equal or higher priority tickets
293
+ # @option opts [Integer] :priority Listing tickets have this priority
294
+ # @option opts [Integer] :max_severity Listing equal or lower severity tickets
295
+ # @option opts [Integer] :min_severity Listing equal or higher severity tickets
296
+ # @option opts [Integer] :severity Listing tickets have this severity
297
+ # @option opts [Array<Integer>] :owner Listing tickets assigned to these owners (owner &#x3D; 100 means owner is not assigned)
298
+ # @option opts [Array<Integer>] :not_owner Listing tickets NOT assigned to these owners (owner &#x3D; 100 means owner is not assigned)
299
+ # @option opts [Array<Integer>] :reporter Listing tickets reported by these users (report &#x3D; 100 means reported by non login user)
300
+ # @option opts [Array<Integer>] :not_reporter Listing tickets reported by these users (report &#x3D; 100 means reported by non login user)
301
+ # @option opts [String] :text Listing tickets title or description or comment include the text
302
+ # @return [Array<ProjectTicketItem>]
303
+ describe 'list_project_ticket test' do
304
+ it "should work" do
305
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
306
+ end
307
+ end
308
+
309
+ # unit tests for list_project_ticket_comment
310
+ #
311
+ # Get project ticket comment list of spscified project.
312
+ # @param id_or_name numeric project id or project name
313
+ # @param ticket_id numeric project ticket id
314
+ # @param [Hash] opts the optional parameters
315
+ # @return [Array<ProjectTicketComment>]
316
+ describe 'list_project_ticket_comment test' do
317
+ it "should work" do
318
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
319
+ end
320
+ end
321
+
322
+ # unit tests for list_project_ticket_component
323
+ #
324
+ # Get project ticket component list of spscified project.
325
+ # @param id_or_name numeric project id or project name
326
+ # @param [Hash] opts the optional parameters
327
+ # @return [Array<ProjectTicketComponent>]
328
+ describe 'list_project_ticket_component test' do
329
+ it "should work" do
330
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
331
+ end
332
+ end
333
+
334
+ # unit tests for list_project_ticket_milestone
335
+ #
336
+ # Get project ticket milestone list of spscified project.
337
+ # @param id_or_name numeric project id or project name
338
+ # @param [Hash] opts the optional parameters
339
+ # @return [Array<ProjectTicketMilestone>]
340
+ describe 'list_project_ticket_milestone test' do
341
+ it "should work" do
342
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
343
+ end
344
+ end
345
+
346
+ # unit tests for list_project_ticket_type
347
+ #
348
+ # Get project ticket type list of spscified project.
349
+ # @param id_or_name numeric project id or project name
350
+ # @param [Hash] opts the optional parameters
351
+ # @return [Array<ProjectTicketType>]
352
+ describe 'list_project_ticket_type 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 list_project_ticket_type_instruction
359
+ #
360
+ # Get project ticket type instructions
361
+ # @param id_or_name numeric project id or project name
362
+ # @param type_id numeric project ticket type id
363
+ # @param [Hash] opts the optional parameters
364
+ # @return [ProjectTicketTypeInstructions]
365
+ describe 'list_project_ticket_type_instruction 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 show_project_ticket_adminprefs
372
+ #
373
+ # Get project ticket admin preferences.
374
+ # @param id_or_name numeric project id or project name
375
+ # @param [Hash] opts the optional parameters
376
+ # @return [ProjectTicketPrefs]
377
+ describe 'show_project_ticket_adminprefs test' do
378
+ it "should work" do
379
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
380
+ end
381
+ end
382
+
383
+ # unit tests for show_project_ticket_comment
384
+ #
385
+ # Get project ticket comment spscified project.
386
+ # @param id_or_name numeric project id or project name
387
+ # @param ticket_id numeric project ticket id
388
+ # @param comment_id numeric project ticket comment id
389
+ # @param [Hash] opts the optional parameters
390
+ # @return [ProjectTicketComment]
391
+ describe 'show_project_ticket_comment test' do
392
+ it "should work" do
393
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
394
+ end
395
+ end
396
+
397
+ # unit tests for update_project_ticket
398
+ #
399
+ # Update project ticket
400
+ # @param id_or_name numeric project id or project name
401
+ # @param ticket_id numeric project ticket id
402
+ # @param [Hash] opts the optional parameters
403
+ # @option opts [String] :name Project ticket name (title)
404
+ # @option opts [String] :description Project ticket description details
405
+ # @option opts [Integer] :type_id numeric project ticket type id
406
+ # @option opts [Integer] :milestone_id numeric project ticket milestone id
407
+ # @option opts [Integer] :component_id numeric project ticket component id
408
+ # @option opts [Integer] :priority project ticket priority (min &#x3D; 1 and max &#x3D; 9)
409
+ # @option opts [Integer] :severity project ticket severity (min &#x3D; 1 and max &#x3D; 9)
410
+ # @option opts [Integer] :owner numeric project ticket owner user id
411
+ # @option opts [String] :resolution project ticket resolution text
412
+ # @option opts [String] :status project ticket status (open or close)
413
+ # @return [ProjectTicketItem]
414
+ describe 'update_project_ticket test' do
415
+ it "should work" do
416
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
417
+ end
418
+ end
419
+
420
+ # unit tests for update_project_ticket_adminprefs
421
+ #
422
+ # Update project ticket admin preferences.
423
+ # @param id_or_name numeric project id or project name
424
+ # @param [Hash] opts the optional parameters
425
+ # @option opts [BOOLEAN] :allow_anonymouse Non login user allows to post new ticket/comment
426
+ # @option opts [String] :frs_autosync Componet File release autosync type &#39;Disabled&#39;, &#39;Package&#39;, &#39;Release&#39;, &#39;Package and Release&#39;
427
+ # @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;
428
+ # @option opts [Integer] :mailing_list_id Ticket update mail destination mail list id (it is only used when mailsend_type is mailing list)
429
+ # @option opts [String] :mail_lang Ticket update mail language
430
+ # @return [ProjectTicketPrefs]
431
+ describe 'update_project_ticket_adminprefs test' do
432
+ it "should work" do
433
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
434
+ end
435
+ end
436
+
437
+ # unit tests for update_project_ticket_component
438
+ #
439
+ # Update project ticket component
440
+ # @param id_or_name numeric project id or project name
441
+ # @param component_id numeric project ticket component id
442
+ # @param [Hash] opts the optional parameters
443
+ # @option opts [String] :name Ticket component name
444
+ # @option opts [String] :description Ticket component description
445
+ # @option opts [Integer] :owner Ticket componet owner user_id
446
+ # @option opts [BOOLEAN] :active Ticket componet will be shown the component select list when this parameter is true
447
+ # @return [ProjectTicketComponent]
448
+ describe 'update_project_ticket_component test' do
449
+ it "should work" do
450
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
451
+ end
452
+ end
453
+
454
+ # unit tests for update_project_ticket_milestone
455
+ #
456
+ # Update project ticket milestone
457
+ # @param id_or_name numeric project id or project name
458
+ # @param milestone_id numeric project ticket milestone id
459
+ # @param [Hash] opts the optional parameters
460
+ # @option opts [String] :name Ticket milestone name
461
+ # @option opts [String] :description Ticket milestone description
462
+ # @option opts [DateTime] :start Ticket milestone start date
463
+ # @option opts [DateTime] :_end Ticket milestone due date
464
+ # @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;
465
+ # @return [ProjectTicketComponent]
466
+ describe 'update_project_ticket_milestone test' do
467
+ it "should work" do
468
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
469
+ end
470
+ end
471
+
472
+ # unit tests for update_project_ticket_type
473
+ #
474
+ # Update project ticket type
475
+ # @param id_or_name numeric project id or project name
476
+ # @param type_id numeric project ticket type id
477
+ # @param [Hash] opts the optional parameters
478
+ # @option opts [String] :name Ticket type name
479
+ # @option opts [String] :description Ticket type description
480
+ # @option opts [BOOLEAN] :is_public if set as false, this type will be shown to project members only.
481
+ # @return [ProjectTicketType]
482
+ describe 'update_project_ticket_type test' do
483
+ it "should work" do
484
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
485
+ end
486
+ end
487
+
488
+ end