swaggy_jenkins 0.0.1 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (315) hide show
  1. checksums.yaml +5 -5
  2. data/Gemfile +3 -1
  3. data/Gemfile.lock +51 -50
  4. data/README.md +25 -33
  5. data/Rakefile +2 -0
  6. data/bin/bundle +114 -0
  7. data/bin/byebug +27 -0
  8. data/bin/coderay +27 -0
  9. data/bin/htmldiff +27 -0
  10. data/bin/ldiff +27 -0
  11. data/bin/pry +27 -0
  12. data/bin/rake +27 -0
  13. data/bin/rspec +27 -0
  14. data/bin/rubocop +27 -0
  15. data/bin/ruby-parse +27 -0
  16. data/bin/ruby-rewrite +27 -0
  17. data/docs/AllView.md +17 -5
  18. data/docs/BaseApi.md +75 -0
  19. data/docs/BlueOceanApi.md +1347 -631
  20. data/docs/BranchImpl.md +37 -15
  21. data/docs/BranchImpllinks.md +21 -7
  22. data/docs/BranchImplpermissions.md +21 -7
  23. data/docs/CauseAction.md +15 -4
  24. data/docs/CauseUserIdCause.md +19 -6
  25. data/docs/ClassesByClass.md +15 -4
  26. data/docs/ClockDifference.md +15 -4
  27. data/docs/ComputerSet.md +21 -7
  28. data/docs/DefaultCrumbIssuer.md +17 -5
  29. data/docs/DiskSpaceMonitorDescriptorDiskSpace.md +19 -6
  30. data/docs/EmptyChangeLogSet.md +15 -4
  31. data/docs/ExtensionClassContainerImpl1.md +17 -5
  32. data/docs/ExtensionClassContainerImpl1links.md +15 -4
  33. data/docs/ExtensionClassContainerImpl1map.md +17 -5
  34. data/docs/ExtensionClassImpl.md +17 -5
  35. data/docs/ExtensionClassImpllinks.md +15 -4
  36. data/docs/FavoriteImpl.md +17 -5
  37. data/docs/FavoriteImpllinks.md +15 -4
  38. data/docs/FreeStyleBuild.md +47 -20
  39. data/docs/FreeStyleProject.md +65 -29
  40. data/docs/FreeStyleProjectactions.md +13 -3
  41. data/docs/FreeStyleProjecthealthReport.md +21 -7
  42. data/docs/GenericResource.md +23 -8
  43. data/docs/GithubContent.md +27 -10
  44. data/docs/GithubFile.md +15 -4
  45. data/docs/GithubOrganization.md +19 -6
  46. data/docs/GithubOrganizationlinks.md +17 -5
  47. data/docs/GithubRepositories.md +23 -8
  48. data/docs/GithubRepositorieslinks.md +15 -4
  49. data/docs/GithubRepository.md +27 -10
  50. data/docs/GithubRepositorylinks.md +15 -4
  51. data/docs/GithubRepositorypermissions.md +19 -6
  52. data/docs/GithubRespositoryContainer.md +17 -5
  53. data/docs/GithubRespositoryContainerlinks.md +15 -4
  54. data/docs/GithubScm.md +21 -7
  55. data/docs/GithubScmlinks.md +15 -4
  56. data/docs/Hudson.md +41 -17
  57. data/docs/HudsonMasterComputer.md +43 -18
  58. data/docs/HudsonMasterComputerexecutors.md +23 -8
  59. data/docs/HudsonMasterComputermonitorData.md +25 -9
  60. data/docs/HudsonassignedLabels.md +13 -3
  61. data/docs/InputStepImpl.md +25 -9
  62. data/docs/InputStepImpllinks.md +15 -4
  63. data/docs/Label1.md +13 -3
  64. data/docs/Link.md +15 -4
  65. data/docs/ListView.md +21 -7
  66. data/docs/MultibranchPipeline.md +39 -16
  67. data/docs/NullSCM.md +13 -3
  68. data/docs/Organisation.md +15 -4
  69. data/docs/Pipeline.md +27 -10
  70. data/docs/PipelineActivity.md +41 -17
  71. data/docs/PipelineActivityartifacts.md +19 -6
  72. data/docs/PipelineBranchesitem.md +29 -11
  73. data/docs/PipelineBranchesitemlatestRun.md +39 -16
  74. data/docs/PipelineBranchesitempullRequest.md +23 -8
  75. data/docs/PipelineBranchesitempullRequestlinks.md +15 -4
  76. data/docs/PipelineFolderImpl.md +25 -9
  77. data/docs/PipelineImpl.md +29 -11
  78. data/docs/PipelineImpllinks.md +21 -7
  79. data/docs/PipelineRun.md +41 -17
  80. data/docs/PipelineRunImpl.md +41 -17
  81. data/docs/PipelineRunImpllinks.md +23 -8
  82. data/docs/PipelineRunNode.md +27 -10
  83. data/docs/PipelineRunNodeedges.md +15 -4
  84. data/docs/PipelineRunartifacts.md +19 -6
  85. data/docs/PipelineStepImpl.md +29 -11
  86. data/docs/PipelineStepImpllinks.md +17 -5
  87. data/docs/PipelinelatestRun.md +41 -17
  88. data/docs/PipelinelatestRunartifacts.md +19 -6
  89. data/docs/Queue.md +15 -4
  90. data/docs/QueueBlockedItem.md +35 -14
  91. data/docs/QueueItemImpl.md +21 -7
  92. data/docs/QueueLeftItem.md +37 -15
  93. data/docs/RemoteAccessApi.md +666 -350
  94. data/docs/ResponseTimeMonitorData.md +17 -5
  95. data/docs/StringParameterDefinition.md +21 -7
  96. data/docs/StringParameterValue.md +17 -5
  97. data/docs/SwapSpaceMonitorMemoryUsage2.md +21 -7
  98. data/docs/UnlabeledLoadStatistics.md +13 -3
  99. data/docs/User.md +21 -7
  100. data/git_push.sh +12 -10
  101. data/lib/swaggy_jenkins/api/base_api.rb +77 -0
  102. data/lib/swaggy_jenkins/api/blue_ocean_api.rb +1048 -643
  103. data/lib/swaggy_jenkins/api/remote_access_api.rb +506 -361
  104. data/lib/swaggy_jenkins/api_client.rb +98 -95
  105. data/lib/swaggy_jenkins/api_error.rb +22 -3
  106. data/lib/swaggy_jenkins/configuration.rb +93 -16
  107. data/lib/swaggy_jenkins/models/all_view.rb +60 -29
  108. data/lib/swaggy_jenkins/models/branch_impl.rb +77 -46
  109. data/lib/swaggy_jenkins/models/branch_impllinks.rb +63 -32
  110. data/lib/swaggy_jenkins/models/branch_implpermissions.rb +66 -35
  111. data/lib/swaggy_jenkins/models/cause_action.rb +59 -28
  112. data/lib/swaggy_jenkins/models/cause_user_id_cause.rb +64 -33
  113. data/lib/swaggy_jenkins/models/classes_by_class.rb +59 -28
  114. data/lib/swaggy_jenkins/models/clock_difference.rb +59 -28
  115. data/lib/swaggy_jenkins/models/computer_set.rb +65 -34
  116. data/lib/swaggy_jenkins/models/default_crumb_issuer.rb +61 -30
  117. data/lib/swaggy_jenkins/models/disk_space_monitor_descriptor_disk_space.rb +61 -30
  118. data/lib/swaggy_jenkins/models/empty_change_log_set.rb +59 -28
  119. data/lib/swaggy_jenkins/models/extension_class_container_impl1.rb +60 -29
  120. data/lib/swaggy_jenkins/models/extension_class_container_impl1links.rb +60 -29
  121. data/lib/swaggy_jenkins/models/extension_class_container_impl1map.rb +62 -31
  122. data/lib/swaggy_jenkins/models/extension_class_impl.rb +60 -29
  123. data/lib/swaggy_jenkins/models/extension_class_impllinks.rb +60 -29
  124. data/lib/swaggy_jenkins/models/favorite_impl.rb +60 -29
  125. data/lib/swaggy_jenkins/models/favorite_impllinks.rb +60 -29
  126. data/lib/swaggy_jenkins/models/free_style_build.rb +84 -53
  127. data/lib/swaggy_jenkins/models/free_style_project.rb +106 -75
  128. data/lib/swaggy_jenkins/models/free_style_projectactions.rb +58 -27
  129. data/lib/swaggy_jenkins/models/free_style_projecthealth_report.rb +64 -33
  130. data/lib/swaggy_jenkins/models/generic_resource.rb +66 -35
  131. data/lib/swaggy_jenkins/models/github_content.rb +66 -35
  132. data/lib/swaggy_jenkins/models/github_file.rb +59 -28
  133. data/lib/swaggy_jenkins/models/github_organization.rb +63 -32
  134. data/lib/swaggy_jenkins/models/github_organizationlinks.rb +61 -30
  135. data/lib/swaggy_jenkins/models/github_repositories.rb +66 -35
  136. data/lib/swaggy_jenkins/models/github_repositorieslinks.rb +60 -29
  137. data/lib/swaggy_jenkins/models/github_repository.rb +68 -37
  138. data/lib/swaggy_jenkins/models/github_repositorylinks.rb +60 -29
  139. data/lib/swaggy_jenkins/models/github_repositorypermissions.rb +64 -33
  140. data/lib/swaggy_jenkins/models/github_respository_container.rb +60 -29
  141. data/lib/swaggy_jenkins/models/github_respository_containerlinks.rb +60 -29
  142. data/lib/swaggy_jenkins/models/github_scm.rb +63 -32
  143. data/lib/swaggy_jenkins/models/github_scmlinks.rb +60 -29
  144. data/lib/swaggy_jenkins/models/hudson.rb +85 -54
  145. data/lib/swaggy_jenkins/models/hudson_master_computer.rb +90 -59
  146. data/lib/swaggy_jenkins/models/hudson_master_computerexecutors.rb +67 -36
  147. data/lib/swaggy_jenkins/models/hudson_master_computermonitor_data.rb +70 -39
  148. data/lib/swaggy_jenkins/models/hudsonassigned_labels.rb +58 -27
  149. data/lib/swaggy_jenkins/models/input_step_impl.rb +64 -33
  150. data/lib/swaggy_jenkins/models/input_step_impllinks.rb +60 -29
  151. data/lib/swaggy_jenkins/models/label1.rb +58 -27
  152. data/lib/swaggy_jenkins/models/link.rb +59 -28
  153. data/lib/swaggy_jenkins/models/list_view.rb +62 -31
  154. data/lib/swaggy_jenkins/models/multibranch_pipeline.rb +82 -51
  155. data/lib/swaggy_jenkins/models/null_scm.rb +58 -27
  156. data/lib/swaggy_jenkins/models/organisation.rb +59 -28
  157. data/lib/swaggy_jenkins/models/pipeline.rb +70 -39
  158. data/lib/swaggy_jenkins/models/pipeline_activity.rb +79 -48
  159. data/lib/swaggy_jenkins/models/pipeline_activityartifacts.rb +61 -30
  160. data/lib/swaggy_jenkins/models/pipeline_branchesitem.rb +72 -41
  161. data/lib/swaggy_jenkins/models/pipeline_branchesitemlatest_run.rb +78 -47
  162. data/lib/swaggy_jenkins/models/pipeline_branchesitempull_request.rb +63 -32
  163. data/lib/swaggy_jenkins/models/pipeline_branchesitempull_requestlinks.rb +60 -29
  164. data/lib/swaggy_jenkins/models/pipeline_folder_impl.rb +68 -37
  165. data/lib/swaggy_jenkins/models/pipeline_impl.rb +71 -40
  166. data/lib/swaggy_jenkins/models/pipeline_impllinks.rb +63 -32
  167. data/lib/swaggy_jenkins/models/pipeline_run.rb +79 -48
  168. data/lib/swaggy_jenkins/models/pipeline_run_impl.rb +79 -48
  169. data/lib/swaggy_jenkins/models/pipeline_run_impllinks.rb +64 -33
  170. data/lib/swaggy_jenkins/models/pipeline_run_node.rb +68 -37
  171. data/lib/swaggy_jenkins/models/pipeline_run_nodeedges.rb +59 -28
  172. data/lib/swaggy_jenkins/models/pipeline_runartifacts.rb +61 -30
  173. data/lib/swaggy_jenkins/models/pipeline_step_impl.rb +69 -38
  174. data/lib/swaggy_jenkins/models/pipeline_step_impllinks.rb +61 -30
  175. data/lib/swaggy_jenkins/models/pipelinelatest_run.rb +79 -48
  176. data/lib/swaggy_jenkins/models/pipelinelatest_runartifacts.rb +61 -30
  177. data/lib/swaggy_jenkins/models/queue.rb +59 -28
  178. data/lib/swaggy_jenkins/models/queue_blocked_item.rb +74 -43
  179. data/lib/swaggy_jenkins/models/queue_item_impl.rb +64 -33
  180. data/lib/swaggy_jenkins/models/queue_left_item.rb +75 -44
  181. data/lib/swaggy_jenkins/models/response_time_monitor_data.rb +60 -29
  182. data/lib/swaggy_jenkins/models/string_parameter_definition.rb +63 -32
  183. data/lib/swaggy_jenkins/models/string_parameter_value.rb +60 -29
  184. data/lib/swaggy_jenkins/models/swap_space_monitor_memory_usage2.rb +66 -35
  185. data/lib/swaggy_jenkins/models/unlabeled_load_statistics.rb +58 -27
  186. data/lib/swaggy_jenkins/models/user.rb +63 -32
  187. data/lib/swaggy_jenkins/version.rb +4 -4
  188. data/lib/swaggy_jenkins.rb +4 -16
  189. data/spec/api/base_api_spec.rb +45 -0
  190. data/spec/api/blue_ocean_api_spec.rb +76 -88
  191. data/spec/api/remote_access_api_spec.rb +28 -59
  192. data/spec/api_client_spec.rb +40 -40
  193. data/spec/configuration_spec.rb +11 -11
  194. data/spec/models/all_view_spec.rb +10 -18
  195. data/spec/models/branch_impl_spec.rb +20 -28
  196. data/spec/models/branch_impllinks_spec.rb +12 -20
  197. data/spec/models/branch_implpermissions_spec.rb +12 -20
  198. data/spec/models/cause_action_spec.rb +9 -17
  199. data/spec/models/cause_user_id_cause_spec.rb +11 -19
  200. data/spec/models/classes_by_class_spec.rb +9 -17
  201. data/spec/models/clock_difference_spec.rb +9 -17
  202. data/spec/models/computer_set_spec.rb +12 -20
  203. data/spec/models/default_crumb_issuer_spec.rb +10 -18
  204. data/spec/models/disk_space_monitor_descriptor_disk_space_spec.rb +11 -19
  205. data/spec/models/empty_change_log_set_spec.rb +9 -17
  206. data/spec/models/extension_class_container_impl1_spec.rb +10 -18
  207. data/spec/models/extension_class_container_impl1links_spec.rb +9 -17
  208. data/spec/models/extension_class_container_impl1map_spec.rb +10 -18
  209. data/spec/models/extension_class_impl_spec.rb +10 -18
  210. data/spec/models/extension_class_impllinks_spec.rb +9 -17
  211. data/spec/models/favorite_impl_spec.rb +10 -18
  212. data/spec/models/favorite_impllinks_spec.rb +9 -17
  213. data/spec/models/free_style_build_spec.rb +25 -33
  214. data/spec/models/free_style_project_spec.rb +34 -42
  215. data/spec/models/free_style_projectactions_spec.rb +8 -16
  216. data/spec/models/free_style_projecthealth_report_spec.rb +12 -20
  217. data/spec/models/generic_resource_spec.rb +13 -21
  218. data/spec/models/github_content_spec.rb +15 -23
  219. data/spec/models/github_file_spec.rb +9 -17
  220. data/spec/models/github_organization_spec.rb +11 -19
  221. data/spec/models/github_organizationlinks_spec.rb +10 -18
  222. data/spec/models/github_repositories_spec.rb +13 -21
  223. data/spec/models/github_repositorieslinks_spec.rb +9 -17
  224. data/spec/models/github_repository_spec.rb +15 -23
  225. data/spec/models/github_repositorylinks_spec.rb +9 -17
  226. data/spec/models/github_repositorypermissions_spec.rb +11 -19
  227. data/spec/models/github_respository_container_spec.rb +10 -18
  228. data/spec/models/github_respository_containerlinks_spec.rb +9 -17
  229. data/spec/models/github_scm_spec.rb +12 -20
  230. data/spec/models/github_scmlinks_spec.rb +9 -17
  231. data/spec/models/hudson_master_computer_spec.rb +23 -31
  232. data/spec/models/hudson_master_computerexecutors_spec.rb +13 -21
  233. data/spec/models/hudson_master_computermonitor_data_spec.rb +14 -22
  234. data/spec/models/hudson_spec.rb +22 -30
  235. data/spec/models/hudsonassigned_labels_spec.rb +8 -16
  236. data/spec/models/input_step_impl_spec.rb +14 -22
  237. data/spec/models/input_step_impllinks_spec.rb +9 -17
  238. data/spec/models/label1_spec.rb +8 -16
  239. data/spec/models/link_spec.rb +9 -17
  240. data/spec/models/list_view_spec.rb +12 -20
  241. data/spec/models/multibranch_pipeline_spec.rb +21 -29
  242. data/spec/models/null_scm_spec.rb +8 -16
  243. data/spec/models/organisation_spec.rb +9 -17
  244. data/spec/models/pipeline_activity_spec.rb +22 -30
  245. data/spec/models/pipeline_activityartifacts_spec.rb +11 -19
  246. data/spec/models/pipeline_branchesitem_spec.rb +16 -24
  247. data/spec/models/pipeline_branchesitemlatest_run_spec.rb +21 -29
  248. data/spec/models/pipeline_branchesitempull_request_spec.rb +13 -21
  249. data/spec/models/pipeline_branchesitempull_requestlinks_spec.rb +9 -17
  250. data/spec/models/pipeline_folder_impl_spec.rb +14 -22
  251. data/spec/models/pipeline_impl_spec.rb +16 -24
  252. data/spec/models/pipeline_impllinks_spec.rb +12 -20
  253. data/spec/models/pipeline_run_impl_spec.rb +22 -30
  254. data/spec/models/pipeline_run_impllinks_spec.rb +13 -21
  255. data/spec/models/pipeline_run_node_spec.rb +15 -23
  256. data/spec/models/pipeline_run_nodeedges_spec.rb +9 -17
  257. data/spec/models/pipeline_run_spec.rb +22 -30
  258. data/spec/models/pipeline_runartifacts_spec.rb +11 -19
  259. data/spec/models/pipeline_spec.rb +15 -23
  260. data/spec/models/pipeline_step_impl_spec.rb +16 -24
  261. data/spec/models/pipeline_step_impllinks_spec.rb +10 -18
  262. data/spec/models/pipelinelatest_run_spec.rb +22 -30
  263. data/spec/models/pipelinelatest_runartifacts_spec.rb +11 -19
  264. data/spec/models/queue_blocked_item_spec.rb +19 -27
  265. data/spec/models/queue_item_impl_spec.rb +12 -20
  266. data/spec/models/queue_left_item_spec.rb +20 -28
  267. data/spec/models/queue_spec.rb +9 -17
  268. data/spec/models/response_time_monitor_data_spec.rb +10 -18
  269. data/spec/models/string_parameter_definition_spec.rb +12 -20
  270. data/spec/models/string_parameter_value_spec.rb +10 -18
  271. data/spec/models/swap_space_monitor_memory_usage2_spec.rb +12 -20
  272. data/spec/models/unlabeled_load_statistics_spec.rb +8 -16
  273. data/spec/models/user_spec.rb +12 -20
  274. data/spec/spec_helper.rb +3 -3
  275. data/swaggy_jenkins.gemspec +6 -13
  276. metadata +96 -274
  277. data/docs/Body.md +0 -8
  278. data/docs/Organisations.md +0 -7
  279. data/docs/PipelineActivities.md +0 -7
  280. data/docs/PipelineBranches.md +0 -7
  281. data/docs/PipelineQueue.md +0 -7
  282. data/docs/PipelineRunNodeSteps.md +0 -7
  283. data/docs/PipelineRunNodes.md +0 -7
  284. data/docs/PipelineRunSteps.md +0 -7
  285. data/docs/PipelineRuns.md +0 -7
  286. data/docs/Pipelines.md +0 -7
  287. data/docs/ScmOrganisations.md +0 -7
  288. data/docs/UserFavorites.md +0 -7
  289. data/docs/Users.md +0 -7
  290. data/lib/swaggy_jenkins/models/body.rb +0 -193
  291. data/lib/swaggy_jenkins/models/organisations.rb +0 -179
  292. data/lib/swaggy_jenkins/models/pipeline_activities.rb +0 -179
  293. data/lib/swaggy_jenkins/models/pipeline_branches.rb +0 -179
  294. data/lib/swaggy_jenkins/models/pipeline_queue.rb +0 -179
  295. data/lib/swaggy_jenkins/models/pipeline_run_node_steps.rb +0 -179
  296. data/lib/swaggy_jenkins/models/pipeline_run_nodes.rb +0 -179
  297. data/lib/swaggy_jenkins/models/pipeline_run_steps.rb +0 -179
  298. data/lib/swaggy_jenkins/models/pipeline_runs.rb +0 -179
  299. data/lib/swaggy_jenkins/models/pipelines.rb +0 -179
  300. data/lib/swaggy_jenkins/models/scm_organisations.rb +0 -179
  301. data/lib/swaggy_jenkins/models/user_favorites.rb +0 -179
  302. data/lib/swaggy_jenkins/models/users.rb +0 -179
  303. data/spec/models/body_spec.rb +0 -42
  304. data/spec/models/organisations_spec.rb +0 -36
  305. data/spec/models/pipeline_activities_spec.rb +0 -36
  306. data/spec/models/pipeline_branches_spec.rb +0 -36
  307. data/spec/models/pipeline_queue_spec.rb +0 -36
  308. data/spec/models/pipeline_run_node_steps_spec.rb +0 -36
  309. data/spec/models/pipeline_run_nodes_spec.rb +0 -36
  310. data/spec/models/pipeline_run_steps_spec.rb +0 -36
  311. data/spec/models/pipeline_runs_spec.rb +0 -36
  312. data/spec/models/pipelines_spec.rb +0 -36
  313. data/spec/models/scm_organisations_spec.rb +0 -36
  314. data/spec/models/user_favorites_spec.rb +0 -36
  315. data/spec/models/users_spec.rb +0 -36
@@ -3,10 +3,10 @@
3
3
 
4
4
  #Jenkins API clients generated from Swagger / Open API specification
5
5
 
6
- OpenAPI spec version: 0.1.0
6
+ The version of the OpenAPI document: 1.5.1-pre.0
7
7
  Contact: blah@cliffano.com
8
- Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.3.0-SNAPSHOT
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 6.0.0
10
10
 
11
11
  =end
12
12
 
@@ -14,12 +14,12 @@ require 'spec_helper'
14
14
  require 'json'
15
15
 
16
16
  # Unit tests for SwaggyJenkinsClient::BlueOceanApi
17
- # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
18
  # Please update as you see appropriate
19
19
  describe 'BlueOceanApi' do
20
20
  before do
21
21
  # run before each test
22
- @instance = SwaggyJenkinsClient::BlueOceanApi.new
22
+ @api_instance = SwaggyJenkinsClient::BlueOceanApi.new
23
23
  end
24
24
 
25
25
  after do
@@ -28,12 +28,11 @@ describe 'BlueOceanApi' do
28
28
 
29
29
  describe 'test an instance of BlueOceanApi' do
30
30
  it 'should create an instance of BlueOceanApi' do
31
- expect(@instance).to be_instance_of(SwaggyJenkinsClient::BlueOceanApi)
31
+ expect(@api_instance).to be_instance_of(SwaggyJenkinsClient::BlueOceanApi)
32
32
  end
33
33
  end
34
34
 
35
35
  # unit tests for delete_pipeline_queue_item
36
- #
37
36
  # Delete queue item from an organization pipeline queue
38
37
  # @param organization Name of the organization
39
38
  # @param pipeline Name of the pipeline
@@ -41,86 +40,102 @@ describe 'BlueOceanApi' do
41
40
  # @param [Hash] opts the optional parameters
42
41
  # @return [nil]
43
42
  describe 'delete_pipeline_queue_item test' do
44
- it "should work" do
43
+ it 'should work' do
45
44
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
46
45
  end
47
46
  end
48
47
 
49
48
  # unit tests for get_authenticated_user
50
- #
51
49
  # Retrieve authenticated user details for an organization
52
50
  # @param organization Name of the organization
53
51
  # @param [Hash] opts the optional parameters
54
52
  # @return [User]
55
53
  describe 'get_authenticated_user test' do
56
- it "should work" do
54
+ it 'should work' do
57
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
58
56
  end
59
57
  end
60
58
 
61
59
  # unit tests for get_classes
62
- #
63
60
  # Get a list of class names supported by a given class
64
61
  # @param _class Name of the class
65
62
  # @param [Hash] opts the optional parameters
66
63
  # @return [String]
67
64
  describe 'get_classes test' do
68
- it "should work" do
65
+ it 'should work' do
66
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
67
+ end
68
+ end
69
+
70
+ # unit tests for get_json_web_key
71
+ # Retrieve JSON Web Key
72
+ # @param key Key ID received as part of JWT header field kid
73
+ # @param [Hash] opts the optional parameters
74
+ # @return [String]
75
+ describe 'get_json_web_key test' do
76
+ it 'should work' do
77
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
78
+ end
79
+ end
80
+
81
+ # unit tests for get_json_web_token
82
+ # Retrieve JSON Web Token
83
+ # @param [Hash] opts the optional parameters
84
+ # @option opts [Integer] :expiry_time_in_mins Token expiry time in minutes, default: 30 minutes
85
+ # @option opts [Integer] :max_expiry_time_in_mins Maximum token expiry time in minutes, default: 480 minutes
86
+ # @return [String]
87
+ describe 'get_json_web_token test' do
88
+ it 'should work' do
69
89
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
70
90
  end
71
91
  end
72
92
 
73
93
  # unit tests for get_organisation
74
- #
75
94
  # Retrieve organization details
76
95
  # @param organization Name of the organization
77
96
  # @param [Hash] opts the optional parameters
78
97
  # @return [Organisation]
79
98
  describe 'get_organisation test' do
80
- it "should work" do
99
+ it 'should work' do
81
100
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
82
101
  end
83
102
  end
84
103
 
85
104
  # unit tests for get_organisations
86
- #
87
105
  # Retrieve all organizations details
88
106
  # @param [Hash] opts the optional parameters
89
- # @return [Organisations]
107
+ # @return [Array<Organisation>]
90
108
  describe 'get_organisations test' do
91
- it "should work" do
109
+ it 'should work' do
92
110
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
93
111
  end
94
112
  end
95
113
 
96
114
  # unit tests for get_pipeline
97
- #
98
115
  # Retrieve pipeline details for an organization
99
116
  # @param organization Name of the organization
100
117
  # @param pipeline Name of the pipeline
101
118
  # @param [Hash] opts the optional parameters
102
119
  # @return [Pipeline]
103
120
  describe 'get_pipeline test' do
104
- it "should work" do
121
+ it 'should work' do
105
122
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
106
123
  end
107
124
  end
108
125
 
109
126
  # unit tests for get_pipeline_activities
110
- #
111
127
  # Retrieve all activities details for an organization pipeline
112
128
  # @param organization Name of the organization
113
129
  # @param pipeline Name of the pipeline
114
130
  # @param [Hash] opts the optional parameters
115
- # @return [PipelineActivities]
131
+ # @return [Array<PipelineActivity>]
116
132
  describe 'get_pipeline_activities test' do
117
- it "should work" do
133
+ it 'should work' do
118
134
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
119
135
  end
120
136
  end
121
137
 
122
138
  # unit tests for get_pipeline_branch
123
- #
124
139
  # Retrieve branch details for an organization pipeline
125
140
  # @param organization Name of the organization
126
141
  # @param pipeline Name of the pipeline
@@ -128,13 +143,12 @@ describe 'BlueOceanApi' do
128
143
  # @param [Hash] opts the optional parameters
129
144
  # @return [BranchImpl]
130
145
  describe 'get_pipeline_branch test' do
131
- it "should work" do
146
+ it 'should work' do
132
147
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
133
148
  end
134
149
  end
135
150
 
136
151
  # unit tests for get_pipeline_branch_run
137
- #
138
152
  # Retrieve branch run details for an organization pipeline
139
153
  # @param organization Name of the organization
140
154
  # @param pipeline Name of the pipeline
@@ -143,39 +157,36 @@ describe 'BlueOceanApi' do
143
157
  # @param [Hash] opts the optional parameters
144
158
  # @return [PipelineRun]
145
159
  describe 'get_pipeline_branch_run test' do
146
- it "should work" do
160
+ it 'should work' do
147
161
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
148
162
  end
149
163
  end
150
164
 
151
165
  # unit tests for get_pipeline_branches
152
- #
153
166
  # Retrieve all branches details for an organization pipeline
154
167
  # @param organization Name of the organization
155
168
  # @param pipeline Name of the pipeline
156
169
  # @param [Hash] opts the optional parameters
157
170
  # @return [MultibranchPipeline]
158
171
  describe 'get_pipeline_branches test' do
159
- it "should work" do
172
+ it 'should work' do
160
173
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
161
174
  end
162
175
  end
163
176
 
164
177
  # unit tests for get_pipeline_folder
165
- #
166
178
  # Retrieve pipeline folder for an organization
167
179
  # @param organization Name of the organization
168
180
  # @param folder Name of the folder
169
181
  # @param [Hash] opts the optional parameters
170
182
  # @return [PipelineFolderImpl]
171
183
  describe 'get_pipeline_folder test' do
172
- it "should work" do
184
+ it 'should work' do
173
185
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
174
186
  end
175
187
  end
176
188
 
177
189
  # unit tests for get_pipeline_folder_pipeline
178
- #
179
190
  # Retrieve pipeline details for an organization folder
180
191
  # @param organization Name of the organization
181
192
  # @param pipeline Name of the pipeline
@@ -183,26 +194,24 @@ describe 'BlueOceanApi' do
183
194
  # @param [Hash] opts the optional parameters
184
195
  # @return [PipelineImpl]
185
196
  describe 'get_pipeline_folder_pipeline test' do
186
- it "should work" do
197
+ it 'should work' do
187
198
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
188
199
  end
189
200
  end
190
201
 
191
202
  # unit tests for get_pipeline_queue
192
- #
193
203
  # Retrieve queue details for an organization pipeline
194
204
  # @param organization Name of the organization
195
205
  # @param pipeline Name of the pipeline
196
206
  # @param [Hash] opts the optional parameters
197
- # @return [PipelineQueue]
207
+ # @return [Array<QueueItemImpl>]
198
208
  describe 'get_pipeline_queue test' do
199
- it "should work" do
209
+ it 'should work' do
200
210
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
201
211
  end
202
212
  end
203
213
 
204
214
  # unit tests for get_pipeline_run
205
- #
206
215
  # Retrieve run details for an organization pipeline
207
216
  # @param organization Name of the organization
208
217
  # @param pipeline Name of the pipeline
@@ -210,29 +219,27 @@ describe 'BlueOceanApi' do
210
219
  # @param [Hash] opts the optional parameters
211
220
  # @return [PipelineRun]
212
221
  describe 'get_pipeline_run test' do
213
- it "should work" do
222
+ it 'should work' do
214
223
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
215
224
  end
216
225
  end
217
226
 
218
227
  # unit tests for get_pipeline_run_log
219
- #
220
228
  # Get log for a pipeline run
221
229
  # @param organization Name of the organization
222
230
  # @param pipeline Name of the pipeline
223
231
  # @param run Name of the run
224
232
  # @param [Hash] opts the optional parameters
225
233
  # @option opts [Integer] :start Start position of the log
226
- # @option opts [BOOLEAN] :download Set to true in order to download the file, otherwise it&#39;s passed as a response body
234
+ # @option opts [Boolean] :download Set to true in order to download the file, otherwise it&#39;s passed as a response body
227
235
  # @return [String]
228
236
  describe 'get_pipeline_run_log test' do
229
- it "should work" do
237
+ it 'should work' do
230
238
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
231
239
  end
232
240
  end
233
241
 
234
242
  # unit tests for get_pipeline_run_node
235
- #
236
243
  # Retrieve run node details for an organization pipeline
237
244
  # @param organization Name of the organization
238
245
  # @param pipeline Name of the pipeline
@@ -241,13 +248,12 @@ describe 'BlueOceanApi' do
241
248
  # @param [Hash] opts the optional parameters
242
249
  # @return [PipelineRunNode]
243
250
  describe 'get_pipeline_run_node test' do
244
- it "should work" do
251
+ it 'should work' do
245
252
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
246
253
  end
247
254
  end
248
255
 
249
256
  # unit tests for get_pipeline_run_node_step
250
- #
251
257
  # Retrieve run node details for an organization pipeline
252
258
  # @param organization Name of the organization
253
259
  # @param pipeline Name of the pipeline
@@ -257,13 +263,12 @@ describe 'BlueOceanApi' do
257
263
  # @param [Hash] opts the optional parameters
258
264
  # @return [PipelineStepImpl]
259
265
  describe 'get_pipeline_run_node_step test' do
260
- it "should work" do
266
+ it 'should work' do
261
267
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
262
268
  end
263
269
  end
264
270
 
265
271
  # unit tests for get_pipeline_run_node_step_log
266
- #
267
272
  # Get log for a pipeline run node step
268
273
  # @param organization Name of the organization
269
274
  # @param pipeline Name of the pipeline
@@ -273,80 +278,74 @@ describe 'BlueOceanApi' do
273
278
  # @param [Hash] opts the optional parameters
274
279
  # @return [String]
275
280
  describe 'get_pipeline_run_node_step_log test' do
276
- it "should work" do
281
+ it 'should work' do
277
282
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
278
283
  end
279
284
  end
280
285
 
281
286
  # unit tests for get_pipeline_run_node_steps
282
- #
283
287
  # Retrieve run node steps details for an organization pipeline
284
288
  # @param organization Name of the organization
285
289
  # @param pipeline Name of the pipeline
286
290
  # @param run Name of the run
287
291
  # @param node Name of the node
288
292
  # @param [Hash] opts the optional parameters
289
- # @return [PipelineRunNodeSteps]
293
+ # @return [Array<PipelineStepImpl>]
290
294
  describe 'get_pipeline_run_node_steps test' do
291
- it "should work" do
295
+ it 'should work' do
292
296
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
293
297
  end
294
298
  end
295
299
 
296
300
  # unit tests for get_pipeline_run_nodes
297
- #
298
301
  # Retrieve run nodes details for an organization pipeline
299
302
  # @param organization Name of the organization
300
303
  # @param pipeline Name of the pipeline
301
304
  # @param run Name of the run
302
305
  # @param [Hash] opts the optional parameters
303
- # @return [PipelineRunNodes]
306
+ # @return [Array<PipelineRunNode>]
304
307
  describe 'get_pipeline_run_nodes test' do
305
- it "should work" do
308
+ it 'should work' do
306
309
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
307
310
  end
308
311
  end
309
312
 
310
313
  # unit tests for get_pipeline_runs
311
- #
312
314
  # Retrieve all runs details for an organization pipeline
313
315
  # @param organization Name of the organization
314
316
  # @param pipeline Name of the pipeline
315
317
  # @param [Hash] opts the optional parameters
316
- # @return [PipelineRuns]
318
+ # @return [Array<PipelineRun>]
317
319
  describe 'get_pipeline_runs test' do
318
- it "should work" do
320
+ it 'should work' do
319
321
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
320
322
  end
321
323
  end
322
324
 
323
325
  # unit tests for get_pipelines
324
- #
325
326
  # Retrieve all pipelines details for an organization
326
327
  # @param organization Name of the organization
327
328
  # @param [Hash] opts the optional parameters
328
- # @return [Pipelines]
329
+ # @return [Array<Pipeline>]
329
330
  describe 'get_pipelines test' do
330
- it "should work" do
331
+ it 'should work' do
331
332
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
332
333
  end
333
334
  end
334
335
 
335
336
  # unit tests for get_scm
336
- #
337
337
  # Retrieve SCM details for an organization
338
338
  # @param organization Name of the organization
339
339
  # @param scm Name of SCM
340
340
  # @param [Hash] opts the optional parameters
341
341
  # @return [GithubScm]
342
342
  describe 'get_scm test' do
343
- it "should work" do
343
+ it 'should work' do
344
344
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
345
345
  end
346
346
  end
347
347
 
348
348
  # unit tests for get_scm_organisation_repositories
349
- #
350
349
  # Retrieve SCM organization repositories details for an organization
351
350
  # @param organization Name of the organization
352
351
  # @param scm Name of SCM
@@ -355,15 +354,14 @@ describe 'BlueOceanApi' do
355
354
  # @option opts [String] :credential_id Credential ID
356
355
  # @option opts [Integer] :page_size Number of items in a page
357
356
  # @option opts [Integer] :page_number Page number
358
- # @return [ScmOrganisations]
357
+ # @return [Array<GithubOrganization>]
359
358
  describe 'get_scm_organisation_repositories test' do
360
- it "should work" do
359
+ it 'should work' do
361
360
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
362
361
  end
363
362
  end
364
363
 
365
364
  # unit tests for get_scm_organisation_repository
366
- #
367
365
  # Retrieve SCM organization repository details for an organization
368
366
  # @param organization Name of the organization
369
367
  # @param scm Name of SCM
@@ -371,66 +369,61 @@ describe 'BlueOceanApi' do
371
369
  # @param repository Name of the SCM repository
372
370
  # @param [Hash] opts the optional parameters
373
371
  # @option opts [String] :credential_id Credential ID
374
- # @return [ScmOrganisations]
372
+ # @return [Array<GithubOrganization>]
375
373
  describe 'get_scm_organisation_repository test' do
376
- it "should work" do
374
+ it 'should work' do
377
375
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
378
376
  end
379
377
  end
380
378
 
381
379
  # unit tests for get_scm_organisations
382
- #
383
380
  # Retrieve SCM organizations details for an organization
384
381
  # @param organization Name of the organization
385
382
  # @param scm Name of SCM
386
383
  # @param [Hash] opts the optional parameters
387
384
  # @option opts [String] :credential_id Credential ID
388
- # @return [ScmOrganisations]
385
+ # @return [Array<GithubOrganization>]
389
386
  describe 'get_scm_organisations test' do
390
- it "should work" do
387
+ it 'should work' do
391
388
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
392
389
  end
393
390
  end
394
391
 
395
392
  # unit tests for get_user
396
- #
397
393
  # Retrieve user details for an organization
398
394
  # @param organization Name of the organization
399
395
  # @param user Name of the user
400
396
  # @param [Hash] opts the optional parameters
401
397
  # @return [User]
402
398
  describe 'get_user test' do
403
- it "should work" do
399
+ it 'should work' do
404
400
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
405
401
  end
406
402
  end
407
403
 
408
404
  # unit tests for get_user_favorites
409
- #
410
405
  # Retrieve user favorites details for an organization
411
406
  # @param user Name of the user
412
407
  # @param [Hash] opts the optional parameters
413
- # @return [UserFavorites]
408
+ # @return [Array<FavoriteImpl>]
414
409
  describe 'get_user_favorites test' do
415
- it "should work" do
410
+ it 'should work' do
416
411
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
417
412
  end
418
413
  end
419
414
 
420
415
  # unit tests for get_users
421
- #
422
416
  # Retrieve users details for an organization
423
417
  # @param organization Name of the organization
424
418
  # @param [Hash] opts the optional parameters
425
419
  # @return [User]
426
420
  describe 'get_users test' do
427
- it "should work" do
421
+ it 'should work' do
428
422
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
429
423
  end
430
424
  end
431
425
 
432
426
  # unit tests for post_pipeline_run
433
- #
434
427
  # Replay an organization pipeline run
435
428
  # @param organization Name of the organization
436
429
  # @param pipeline Name of the pipeline
@@ -438,26 +431,24 @@ describe 'BlueOceanApi' do
438
431
  # @param [Hash] opts the optional parameters
439
432
  # @return [QueueItemImpl]
440
433
  describe 'post_pipeline_run test' do
441
- it "should work" do
434
+ it 'should work' do
442
435
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
443
436
  end
444
437
  end
445
438
 
446
439
  # unit tests for post_pipeline_runs
447
- #
448
440
  # Start a build for an organization pipeline
449
441
  # @param organization Name of the organization
450
442
  # @param pipeline Name of the pipeline
451
443
  # @param [Hash] opts the optional parameters
452
444
  # @return [QueueItemImpl]
453
445
  describe 'post_pipeline_runs test' do
454
- it "should work" do
446
+ it 'should work' do
455
447
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
456
448
  end
457
449
  end
458
450
 
459
451
  # unit tests for put_pipeline_favorite
460
- #
461
452
  # Favorite/unfavorite a pipeline
462
453
  # @param organization Name of the organization
463
454
  # @param pipeline Name of the pipeline
@@ -465,13 +456,12 @@ describe 'BlueOceanApi' do
465
456
  # @param [Hash] opts the optional parameters
466
457
  # @return [FavoriteImpl]
467
458
  describe 'put_pipeline_favorite test' do
468
- it "should work" do
459
+ it 'should work' do
469
460
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
470
461
  end
471
462
  end
472
463
 
473
464
  # unit tests for put_pipeline_run
474
- #
475
465
  # Stop a build of an organization pipeline
476
466
  # @param organization Name of the organization
477
467
  # @param pipeline Name of the pipeline
@@ -481,31 +471,29 @@ describe 'BlueOceanApi' do
481
471
  # @option opts [Integer] :time_out_in_secs Timeout in seconds, default: 10 seconds
482
472
  # @return [PipelineRun]
483
473
  describe 'put_pipeline_run test' do
484
- it "should work" do
474
+ it 'should work' do
485
475
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
486
476
  end
487
477
  end
488
478
 
489
479
  # unit tests for search
490
- #
491
480
  # Search for any resource details
492
481
  # @param q Query string
493
482
  # @param [Hash] opts the optional parameters
494
483
  # @return [String]
495
484
  describe 'search test' do
496
- it "should work" do
485
+ it 'should work' do
497
486
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
498
487
  end
499
488
  end
500
489
 
501
490
  # unit tests for search_classes
502
- #
503
491
  # Get classes details
504
492
  # @param q Query string containing an array of class names
505
493
  # @param [Hash] opts the optional parameters
506
494
  # @return [String]
507
495
  describe 'search_classes test' do
508
- it "should work" do
496
+ it 'should work' do
509
497
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
510
498
  end
511
499
  end