cloudsmith-api 1.61.3 → 1.120.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (193) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +2 -2
  3. data/README.md +51 -30
  4. data/build.json +1 -1
  5. data/docs/AuditLogApi.md +137 -0
  6. data/docs/FilesApi.md +13 -6
  7. data/docs/NamespaceAuditLog.md +23 -0
  8. data/docs/OrganizationGroupSync.md +12 -0
  9. data/docs/OrganizationInvite.md +16 -0
  10. data/docs/OrganizationTeam.md +12 -0
  11. data/docs/OrgsApi.md +713 -0
  12. data/docs/OrgsInvitesCreate.md +12 -0
  13. data/docs/OrgsInvitesExtend.md +11 -0
  14. data/docs/OrgsSamlgroupsyncCreate.md +12 -0
  15. data/docs/OrgsTeamsCreate.md +11 -0
  16. data/docs/OrgsTeamsPartialUpdate.md +11 -0
  17. data/docs/ReposApi.md +586 -0
  18. data/docs/ReposCreate.md +29 -1
  19. data/docs/ReposGpgCreate.md +9 -0
  20. data/docs/ReposPartialUpdate.md +28 -0
  21. data/docs/ReposRsaCreate.md +9 -0
  22. data/docs/Repository.md +28 -0
  23. data/docs/RepositoryAuditLog.md +20 -0
  24. data/docs/RepositoryCreate.md +29 -1
  25. data/docs/RepositoryGpgKey.md +14 -0
  26. data/docs/RepositoryPrivilegeList.md +8 -0
  27. data/docs/RepositoryRsaKey.md +13 -0
  28. data/lib/cloudsmith-api/api/audit_log_api.rb +147 -0
  29. data/lib/cloudsmith-api/api/files_api.rb +17 -7
  30. data/lib/cloudsmith-api/api/orgs_api.rb +671 -0
  31. data/lib/cloudsmith-api/api/repos_api.rb +566 -0
  32. data/lib/cloudsmith-api/models/alpine_package_upload.rb +34 -0
  33. data/lib/cloudsmith-api/models/conan_package_upload.rb +34 -0
  34. data/lib/cloudsmith-api/models/entitlements_create.rb +46 -0
  35. data/lib/cloudsmith-api/models/entitlements_partial_update.rb +46 -0
  36. data/lib/cloudsmith-api/models/entitlements_refresh.rb +46 -0
  37. data/lib/cloudsmith-api/models/files_abort.rb +34 -0
  38. data/lib/cloudsmith-api/models/files_complete.rb +34 -0
  39. data/lib/cloudsmith-api/models/files_create.rb +34 -0
  40. data/lib/cloudsmith-api/models/files_validate.rb +34 -0
  41. data/lib/cloudsmith-api/models/maven_package_upload.rb +34 -0
  42. data/lib/cloudsmith-api/models/namespace_audit_log.rb +395 -0
  43. data/lib/cloudsmith-api/models/organization_group_sync.rb +240 -0
  44. data/lib/cloudsmith-api/models/organization_invite.rb +299 -0
  45. data/lib/cloudsmith-api/models/organization_membership.rb +46 -0
  46. data/lib/cloudsmith-api/models/organization_team.rb +264 -0
  47. data/lib/cloudsmith-api/models/orgs_invites_create.rb +259 -0
  48. data/lib/cloudsmith-api/models/orgs_invites_extend.rb +249 -0
  49. data/lib/cloudsmith-api/models/orgs_samlgroupsync_create.rb +245 -0
  50. data/lib/cloudsmith-api/models/orgs_teams_create.rb +254 -0
  51. data/lib/cloudsmith-api/models/orgs_teams_partial_update.rb +249 -0
  52. data/lib/cloudsmith-api/models/package.rb +34 -0
  53. data/lib/cloudsmith-api/models/package_copy.rb +34 -0
  54. data/lib/cloudsmith-api/models/package_move.rb +34 -0
  55. data/lib/cloudsmith-api/models/packages_tag.rb +34 -0
  56. data/lib/cloudsmith-api/models/raw_package_upload.rb +34 -0
  57. data/lib/cloudsmith-api/models/repos_create.rb +403 -5
  58. data/lib/cloudsmith-api/models/repos_gpg_create.rb +200 -0
  59. data/lib/cloudsmith-api/models/repos_partial_update.rb +414 -4
  60. data/lib/cloudsmith-api/models/repos_rsa_create.rb +200 -0
  61. data/lib/cloudsmith-api/models/repository.rb +414 -4
  62. data/lib/cloudsmith-api/models/repository_audit_log.rb +355 -0
  63. data/lib/cloudsmith-api/models/repository_create.rb +403 -5
  64. data/lib/cloudsmith-api/models/repository_gpg_key.rb +250 -0
  65. data/lib/cloudsmith-api/models/repository_privilege_list.rb +185 -0
  66. data/lib/cloudsmith-api/models/repository_rsa_key.rb +235 -0
  67. data/lib/cloudsmith-api/models/repository_token.rb +46 -0
  68. data/lib/cloudsmith-api/models/repository_token_refresh.rb +46 -0
  69. data/lib/cloudsmith-api/models/vagrant_package_upload.rb +34 -0
  70. data/lib/cloudsmith-api/models/vulnerability_scan_results.rb +34 -0
  71. data/lib/cloudsmith-api/models/vulnerability_scan_results_list.rb +34 -0
  72. data/lib/cloudsmith-api/version.rb +1 -1
  73. data/lib/cloudsmith-api.rb +16 -0
  74. data/spec/api/audit_log_api_spec.rb +66 -0
  75. data/spec/api/files_api_spec.rb +4 -2
  76. data/spec/api/orgs_api_spec.rb +161 -0
  77. data/spec/api/repos_api_spec.rb +132 -0
  78. data/spec/models/alpine_package_upload_spec.rb +4 -0
  79. data/spec/models/conan_package_upload_spec.rb +4 -0
  80. data/spec/models/entitlements_create_spec.rb +8 -0
  81. data/spec/models/entitlements_partial_update_spec.rb +8 -0
  82. data/spec/models/entitlements_refresh_spec.rb +8 -0
  83. data/spec/models/files_abort_spec.rb +4 -0
  84. data/spec/models/files_complete_spec.rb +4 -0
  85. data/spec/models/files_create_spec.rb +4 -0
  86. data/spec/models/files_validate_spec.rb +4 -0
  87. data/spec/models/maven_package_upload_spec.rb +4 -0
  88. data/spec/models/namespace_audit_log_spec.rb +131 -0
  89. data/spec/models/organization_group_sync_spec.rb +65 -0
  90. data/spec/models/organization_invite_spec.rb +93 -0
  91. data/spec/models/organization_membership_spec.rb +8 -0
  92. data/spec/models/organization_team_spec.rb +69 -0
  93. data/spec/models/orgs_invites_create_spec.rb +69 -0
  94. data/spec/models/orgs_invites_extend_spec.rb +63 -0
  95. data/spec/models/orgs_samlgroupsync_create_spec.rb +65 -0
  96. data/spec/models/orgs_teams_create_spec.rb +63 -0
  97. data/spec/models/orgs_teams_partial_update_spec.rb +63 -0
  98. data/spec/models/package_copy_spec.rb +4 -0
  99. data/spec/models/package_move_spec.rb +4 -0
  100. data/spec/models/package_spec.rb +4 -0
  101. data/spec/models/packages_tag_spec.rb +4 -0
  102. data/spec/models/raw_package_upload_spec.rb +4 -0
  103. data/spec/models/repos_create_spec.rb +200 -0
  104. data/spec/models/repos_gpg_create_spec.rb +47 -0
  105. data/spec/models/repos_partial_update_spec.rb +204 -0
  106. data/spec/models/repos_rsa_create_spec.rb +47 -0
  107. data/spec/models/repository_audit_log_spec.rb +113 -0
  108. data/spec/models/repository_create_spec.rb +200 -0
  109. data/spec/models/repository_gpg_key_spec.rb +77 -0
  110. data/spec/models/repository_privilege_list_spec.rb +41 -0
  111. data/spec/models/repository_rsa_key_spec.rb +71 -0
  112. data/spec/models/repository_spec.rb +204 -0
  113. data/spec/models/repository_token_refresh_spec.rb +8 -0
  114. data/spec/models/repository_token_spec.rb +8 -0
  115. data/spec/models/vagrant_package_upload_spec.rb +4 -0
  116. data/spec/models/vulnerability_scan_results_list_spec.rb +4 -0
  117. data/spec/models/vulnerability_scan_results_spec.rb +4 -0
  118. data/vendor/bundle/ruby/2.6.0/bin/htmldiff +3 -3
  119. data/vendor/bundle/ruby/2.6.0/bin/ldiff +3 -3
  120. data/vendor/bundle/ruby/2.6.0/bin/multigem +3 -3
  121. data/vendor/bundle/ruby/2.6.0/bin/multiruby +3 -3
  122. data/vendor/bundle/ruby/2.6.0/bin/rake +2 -0
  123. data/vendor/bundle/ruby/2.6.0/bin/rspec +2 -0
  124. data/vendor/bundle/ruby/2.6.0/bin/unit_diff +3 -3
  125. data/vendor/bundle/ruby/2.6.0/bin/zentest +3 -3
  126. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/autotest-fsevent-0.2.19/gem_make.out +4 -4
  127. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.15.5/ffi_c.so +0 -0
  128. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.15.5/gem_make.out +5 -5
  129. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.15.5/mkmf.log +9 -9
  130. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.6.2/gem_make.out +4 -4
  131. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.6.2/json/ext/generator.so +0 -0
  132. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.6.2/json/ext/parser.so +0 -0
  133. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.6.2/mkmf.log +7 -7
  134. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/AbstractMemory.o +0 -0
  135. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/ArrayType.o +0 -0
  136. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Buffer.o +0 -0
  137. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Call.o +0 -0
  138. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/ClosurePool.o +0 -0
  139. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/DynamicLibrary.o +0 -0
  140. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Function.o +0 -0
  141. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/FunctionInfo.o +0 -0
  142. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/LastError.o +0 -0
  143. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/LongDouble.o +0 -0
  144. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Makefile +3 -3
  145. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/MappedType.o +0 -0
  146. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/MemoryPointer.o +0 -0
  147. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/MethodHandle.o +0 -0
  148. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Platform.o +0 -0
  149. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Pointer.o +0 -0
  150. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Struct.o +0 -0
  151. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/StructByValue.o +0 -0
  152. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/StructLayout.o +0 -0
  153. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Thread.o +0 -0
  154. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Type.o +0 -0
  155. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Types.o +0 -0
  156. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Variadic.o +0 -0
  157. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/ffi.o +0 -0
  158. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/ffi_c.so +0 -0
  159. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/lib/ffi_c.so +0 -0
  160. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/ext/json/Makefile +3 -3
  161. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/ext/json/ext/generator/Makefile +3 -3
  162. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/ext/json/ext/generator/generator.o +0 -0
  163. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/ext/json/ext/generator/generator.so +0 -0
  164. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/ext/json/ext/parser/Makefile +3 -3
  165. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/ext/json/ext/parser/parser.o +0 -0
  166. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/ext/json/ext/parser/parser.so +0 -0
  167. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/lib/json/ext/generator.so +0 -0
  168. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/lib/json/ext/parser.so +0 -0
  169. data/vendor/bundle/ruby/2.6.0/specifications/ZenTest-4.12.1.gemspec +6 -9
  170. data/vendor/bundle/ruby/2.6.0/specifications/addressable-2.8.0.gemspec +6 -9
  171. data/vendor/bundle/ruby/2.6.0/specifications/autotest-4.4.6.gemspec +8 -13
  172. data/vendor/bundle/ruby/2.6.0/specifications/autotest-fsevent-0.2.19.gemspec +8 -13
  173. data/vendor/bundle/ruby/2.6.0/specifications/autotest-growl-0.2.16.gemspec +7 -11
  174. data/vendor/bundle/ruby/2.6.0/specifications/autotest-rails-pure-4.1.2.gemspec +2 -2
  175. data/vendor/bundle/ruby/2.6.0/specifications/crack-0.4.5.gemspec +5 -7
  176. data/vendor/bundle/ruby/2.6.0/specifications/diff-lcs-1.5.0.gemspec +12 -21
  177. data/vendor/bundle/ruby/2.6.0/specifications/ethon-0.15.0.gemspec +5 -7
  178. data/vendor/bundle/ruby/2.6.0/specifications/ffi-1.15.5.gemspec +8 -13
  179. data/vendor/bundle/ruby/2.6.0/specifications/hashdiff-1.0.1.gemspec +9 -15
  180. data/vendor/bundle/ruby/2.6.0/specifications/json-2.6.2.gemspec +0 -0
  181. data/vendor/bundle/ruby/2.6.0/specifications/public_suffix-4.0.7.gemspec +2 -2
  182. data/vendor/bundle/ruby/2.6.0/specifications/rake-12.3.3.gemspec +9 -15
  183. data/vendor/bundle/ruby/2.6.0/specifications/rexml-3.2.5.gemspec +7 -11
  184. data/vendor/bundle/ruby/2.6.0/specifications/rspec-3.11.0.gemspec +7 -11
  185. data/vendor/bundle/ruby/2.6.0/specifications/rspec-core-3.11.0.gemspec +13 -23
  186. data/vendor/bundle/ruby/2.6.0/specifications/rspec-expectations-3.11.0.gemspec +10 -17
  187. data/vendor/bundle/ruby/2.6.0/specifications/rspec-mocks-3.11.1.gemspec +10 -17
  188. data/vendor/bundle/ruby/2.6.0/specifications/rspec-support-3.11.0.gemspec +6 -9
  189. data/vendor/bundle/ruby/2.6.0/specifications/sys-uname-1.2.2.gemspec +7 -11
  190. data/vendor/bundle/ruby/2.6.0/specifications/typhoeus-1.4.0.gemspec +5 -7
  191. data/vendor/bundle/ruby/2.6.0/specifications/vcr-3.0.3.gemspec +26 -49
  192. data/vendor/bundle/ruby/2.6.0/specifications/webmock-1.24.6.gemspec +19 -35
  193. metadata +85 -21
@@ -19,6 +19,231 @@ module CloudsmithApi
19
19
  def initialize(api_client = ApiClient.default)
20
20
  @api_client = api_client
21
21
  end
22
+ # Create an organization invite for a specific user
23
+ # Create an organization invite for a specific user
24
+ # @param org
25
+ # @param [Hash] opts the optional parameters
26
+ # @option opts [OrgsInvitesCreate] :data
27
+ # @return [OrganizationInvite]
28
+ def orgs_invites_create(org, opts = {})
29
+ data, _status_code, _headers = orgs_invites_create_with_http_info(org, opts)
30
+ data
31
+ end
32
+
33
+ # Create an organization invite for a specific user
34
+ # Create an organization invite for a specific user
35
+ # @param org
36
+ # @param [Hash] opts the optional parameters
37
+ # @option opts [OrgsInvitesCreate] :data
38
+ # @return [Array<(OrganizationInvite, Fixnum, Hash)>] OrganizationInvite data, response status code and response headers
39
+ def orgs_invites_create_with_http_info(org, opts = {})
40
+ if @api_client.config.debugging
41
+ @api_client.config.logger.debug 'Calling API: OrgsApi.orgs_invites_create ...'
42
+ end
43
+ # verify the required parameter 'org' is set
44
+ if @api_client.config.client_side_validation && org.nil?
45
+ fail ArgumentError, "Missing the required parameter 'org' when calling OrgsApi.orgs_invites_create"
46
+ end
47
+ # resource path
48
+ local_var_path = '/orgs/{org}/invites/'.sub('{' + 'org' + '}', org.to_s)
49
+
50
+ # query parameters
51
+ query_params = {}
52
+
53
+ # header parameters
54
+ header_params = {}
55
+ # HTTP header 'Content-Type'
56
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
57
+
58
+ # form parameters
59
+ form_params = {}
60
+
61
+ # http body (model)
62
+ post_body = @api_client.object_to_http_body(opts[:'data'])
63
+ auth_names = ['apikey']
64
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
65
+ :header_params => header_params,
66
+ :query_params => query_params,
67
+ :form_params => form_params,
68
+ :body => post_body,
69
+ :auth_names => auth_names,
70
+ :return_type => 'OrganizationInvite')
71
+ if @api_client.config.debugging
72
+ @api_client.config.logger.debug "API called: OrgsApi#orgs_invites_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
73
+ end
74
+ return data, status_code, headers
75
+ end
76
+ # Delete a specific organization invite
77
+ # Delete a specific organization invite
78
+ # @param org
79
+ # @param slug_perm
80
+ # @param [Hash] opts the optional parameters
81
+ # @return [nil]
82
+ def orgs_invites_delete(org, slug_perm, opts = {})
83
+ orgs_invites_delete_with_http_info(org, slug_perm, opts)
84
+ nil
85
+ end
86
+
87
+ # Delete a specific organization invite
88
+ # Delete a specific organization invite
89
+ # @param org
90
+ # @param slug_perm
91
+ # @param [Hash] opts the optional parameters
92
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
93
+ def orgs_invites_delete_with_http_info(org, slug_perm, opts = {})
94
+ if @api_client.config.debugging
95
+ @api_client.config.logger.debug 'Calling API: OrgsApi.orgs_invites_delete ...'
96
+ end
97
+ # verify the required parameter 'org' is set
98
+ if @api_client.config.client_side_validation && org.nil?
99
+ fail ArgumentError, "Missing the required parameter 'org' when calling OrgsApi.orgs_invites_delete"
100
+ end
101
+ # verify the required parameter 'slug_perm' is set
102
+ if @api_client.config.client_side_validation && slug_perm.nil?
103
+ fail ArgumentError, "Missing the required parameter 'slug_perm' when calling OrgsApi.orgs_invites_delete"
104
+ end
105
+ # resource path
106
+ local_var_path = '/orgs/{org}/invites/{slug_perm}/'.sub('{' + 'org' + '}', org.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
107
+
108
+ # query parameters
109
+ query_params = {}
110
+
111
+ # header parameters
112
+ header_params = {}
113
+
114
+ # form parameters
115
+ form_params = {}
116
+
117
+ # http body (model)
118
+ post_body = nil
119
+ auth_names = ['apikey']
120
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
121
+ :header_params => header_params,
122
+ :query_params => query_params,
123
+ :form_params => form_params,
124
+ :body => post_body,
125
+ :auth_names => auth_names)
126
+ if @api_client.config.debugging
127
+ @api_client.config.logger.debug "API called: OrgsApi#orgs_invites_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
128
+ end
129
+ return data, status_code, headers
130
+ end
131
+ # Extend an organization invite.
132
+ # Extend an organization invite.
133
+ # @param org
134
+ # @param slug_perm
135
+ # @param [Hash] opts the optional parameters
136
+ # @option opts [OrgsInvitesExtend] :data
137
+ # @return [OrganizationInvite]
138
+ def orgs_invites_extend(org, slug_perm, opts = {})
139
+ data, _status_code, _headers = orgs_invites_extend_with_http_info(org, slug_perm, opts)
140
+ data
141
+ end
142
+
143
+ # Extend an organization invite.
144
+ # Extend an organization invite.
145
+ # @param org
146
+ # @param slug_perm
147
+ # @param [Hash] opts the optional parameters
148
+ # @option opts [OrgsInvitesExtend] :data
149
+ # @return [Array<(OrganizationInvite, Fixnum, Hash)>] OrganizationInvite data, response status code and response headers
150
+ def orgs_invites_extend_with_http_info(org, slug_perm, opts = {})
151
+ if @api_client.config.debugging
152
+ @api_client.config.logger.debug 'Calling API: OrgsApi.orgs_invites_extend ...'
153
+ end
154
+ # verify the required parameter 'org' is set
155
+ if @api_client.config.client_side_validation && org.nil?
156
+ fail ArgumentError, "Missing the required parameter 'org' when calling OrgsApi.orgs_invites_extend"
157
+ end
158
+ # verify the required parameter 'slug_perm' is set
159
+ if @api_client.config.client_side_validation && slug_perm.nil?
160
+ fail ArgumentError, "Missing the required parameter 'slug_perm' when calling OrgsApi.orgs_invites_extend"
161
+ end
162
+ # resource path
163
+ local_var_path = '/orgs/{org}/invites/{slug_perm}/extend/'.sub('{' + 'org' + '}', org.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
164
+
165
+ # query parameters
166
+ query_params = {}
167
+
168
+ # header parameters
169
+ header_params = {}
170
+ # HTTP header 'Content-Type'
171
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
172
+
173
+ # form parameters
174
+ form_params = {}
175
+
176
+ # http body (model)
177
+ post_body = @api_client.object_to_http_body(opts[:'data'])
178
+ auth_names = ['apikey']
179
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
180
+ :header_params => header_params,
181
+ :query_params => query_params,
182
+ :form_params => form_params,
183
+ :body => post_body,
184
+ :auth_names => auth_names,
185
+ :return_type => 'OrganizationInvite')
186
+ if @api_client.config.debugging
187
+ @api_client.config.logger.debug "API called: OrgsApi#orgs_invites_extend\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
188
+ end
189
+ return data, status_code, headers
190
+ end
191
+ # Get a list of all invites for an organization.
192
+ # Get a list of all invites for an organization.
193
+ # @param org
194
+ # @param [Hash] opts the optional parameters
195
+ # @option opts [Integer] :page A page number within the paginated result set.
196
+ # @option opts [Integer] :page_size Number of results to return per page.
197
+ # @return [Array<OrganizationInvite>]
198
+ def orgs_invites_list(org, opts = {})
199
+ data, _status_code, _headers = orgs_invites_list_with_http_info(org, opts)
200
+ data
201
+ end
202
+
203
+ # Get a list of all invites for an organization.
204
+ # Get a list of all invites for an organization.
205
+ # @param org
206
+ # @param [Hash] opts the optional parameters
207
+ # @option opts [Integer] :page A page number within the paginated result set.
208
+ # @option opts [Integer] :page_size Number of results to return per page.
209
+ # @return [Array<(Array<OrganizationInvite>, Fixnum, Hash)>] Array<OrganizationInvite> data, response status code and response headers
210
+ def orgs_invites_list_with_http_info(org, opts = {})
211
+ if @api_client.config.debugging
212
+ @api_client.config.logger.debug 'Calling API: OrgsApi.orgs_invites_list ...'
213
+ end
214
+ # verify the required parameter 'org' is set
215
+ if @api_client.config.client_side_validation && org.nil?
216
+ fail ArgumentError, "Missing the required parameter 'org' when calling OrgsApi.orgs_invites_list"
217
+ end
218
+ # resource path
219
+ local_var_path = '/orgs/{org}/invites/'.sub('{' + 'org' + '}', org.to_s)
220
+
221
+ # query parameters
222
+ query_params = {}
223
+ query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
224
+ query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
225
+
226
+ # header parameters
227
+ header_params = {}
228
+
229
+ # form parameters
230
+ form_params = {}
231
+
232
+ # http body (model)
233
+ post_body = nil
234
+ auth_names = ['apikey']
235
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
236
+ :header_params => header_params,
237
+ :query_params => query_params,
238
+ :form_params => form_params,
239
+ :body => post_body,
240
+ :auth_names => auth_names,
241
+ :return_type => 'Array<OrganizationInvite>')
242
+ if @api_client.config.debugging
243
+ @api_client.config.logger.debug "API called: OrgsApi#orgs_invites_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
244
+ end
245
+ return data, status_code, headers
246
+ end
22
247
  # Get a list of all the organizations you are associated with.
23
248
  # Get a list of all the organizations you are associated with.
24
249
  # @param [Hash] opts the optional parameters
@@ -287,5 +512,451 @@ module CloudsmithApi
287
512
  end
288
513
  return data, status_code, headers
289
514
  end
515
+ # Create a new SAML Group Sync mapping within an organization.
516
+ # Create a new SAML Group Sync mapping within an organization.
517
+ # @param org
518
+ # @param [Hash] opts the optional parameters
519
+ # @option opts [OrgsSamlgroupsyncCreate] :data
520
+ # @return [OrganizationGroupSync]
521
+ def orgs_saml_group_sync_create(org, opts = {})
522
+ data, _status_code, _headers = orgs_saml_group_sync_create_with_http_info(org, opts)
523
+ data
524
+ end
525
+
526
+ # Create a new SAML Group Sync mapping within an organization.
527
+ # Create a new SAML Group Sync mapping within an organization.
528
+ # @param org
529
+ # @param [Hash] opts the optional parameters
530
+ # @option opts [OrgsSamlgroupsyncCreate] :data
531
+ # @return [Array<(OrganizationGroupSync, Fixnum, Hash)>] OrganizationGroupSync data, response status code and response headers
532
+ def orgs_saml_group_sync_create_with_http_info(org, opts = {})
533
+ if @api_client.config.debugging
534
+ @api_client.config.logger.debug 'Calling API: OrgsApi.orgs_saml_group_sync_create ...'
535
+ end
536
+ # verify the required parameter 'org' is set
537
+ if @api_client.config.client_side_validation && org.nil?
538
+ fail ArgumentError, "Missing the required parameter 'org' when calling OrgsApi.orgs_saml_group_sync_create"
539
+ end
540
+ # resource path
541
+ local_var_path = '/orgs/{org}/saml-group-sync/'.sub('{' + 'org' + '}', org.to_s)
542
+
543
+ # query parameters
544
+ query_params = {}
545
+
546
+ # header parameters
547
+ header_params = {}
548
+ # HTTP header 'Content-Type'
549
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
550
+
551
+ # form parameters
552
+ form_params = {}
553
+
554
+ # http body (model)
555
+ post_body = @api_client.object_to_http_body(opts[:'data'])
556
+ auth_names = ['apikey']
557
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
558
+ :header_params => header_params,
559
+ :query_params => query_params,
560
+ :form_params => form_params,
561
+ :body => post_body,
562
+ :auth_names => auth_names,
563
+ :return_type => 'OrganizationGroupSync')
564
+ if @api_client.config.debugging
565
+ @api_client.config.logger.debug "API called: OrgsApi#orgs_saml_group_sync_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
566
+ end
567
+ return data, status_code, headers
568
+ end
569
+ # Delete a SAML Group Sync mapping from an organization.
570
+ # Delete a SAML Group Sync mapping from an organization.
571
+ # @param org
572
+ # @param slug_perm
573
+ # @param [Hash] opts the optional parameters
574
+ # @return [nil]
575
+ def orgs_saml_group_sync_delete(org, slug_perm, opts = {})
576
+ orgs_saml_group_sync_delete_with_http_info(org, slug_perm, opts)
577
+ nil
578
+ end
579
+
580
+ # Delete a SAML Group Sync mapping from an organization.
581
+ # Delete a SAML Group Sync mapping from an organization.
582
+ # @param org
583
+ # @param slug_perm
584
+ # @param [Hash] opts the optional parameters
585
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
586
+ def orgs_saml_group_sync_delete_with_http_info(org, slug_perm, opts = {})
587
+ if @api_client.config.debugging
588
+ @api_client.config.logger.debug 'Calling API: OrgsApi.orgs_saml_group_sync_delete ...'
589
+ end
590
+ # verify the required parameter 'org' is set
591
+ if @api_client.config.client_side_validation && org.nil?
592
+ fail ArgumentError, "Missing the required parameter 'org' when calling OrgsApi.orgs_saml_group_sync_delete"
593
+ end
594
+ # verify the required parameter 'slug_perm' is set
595
+ if @api_client.config.client_side_validation && slug_perm.nil?
596
+ fail ArgumentError, "Missing the required parameter 'slug_perm' when calling OrgsApi.orgs_saml_group_sync_delete"
597
+ end
598
+ # resource path
599
+ local_var_path = '/orgs/{org}/saml-group-sync/{slug_perm}/'.sub('{' + 'org' + '}', org.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
600
+
601
+ # query parameters
602
+ query_params = {}
603
+
604
+ # header parameters
605
+ header_params = {}
606
+
607
+ # form parameters
608
+ form_params = {}
609
+
610
+ # http body (model)
611
+ post_body = nil
612
+ auth_names = ['apikey']
613
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
614
+ :header_params => header_params,
615
+ :query_params => query_params,
616
+ :form_params => form_params,
617
+ :body => post_body,
618
+ :auth_names => auth_names)
619
+ if @api_client.config.debugging
620
+ @api_client.config.logger.debug "API called: OrgsApi#orgs_saml_group_sync_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
621
+ end
622
+ return data, status_code, headers
623
+ end
624
+ # Get the details of all SAML Group Sync mapping within an organization.
625
+ # Get the details of all SAML Group Sync mapping within an organization.
626
+ # @param org
627
+ # @param [Hash] opts the optional parameters
628
+ # @option opts [Integer] :page A page number within the paginated result set.
629
+ # @option opts [Integer] :page_size Number of results to return per page.
630
+ # @return [Array<OrganizationGroupSync>]
631
+ def orgs_saml_group_sync_list(org, opts = {})
632
+ data, _status_code, _headers = orgs_saml_group_sync_list_with_http_info(org, opts)
633
+ data
634
+ end
635
+
636
+ # Get the details of all SAML Group Sync mapping within an organization.
637
+ # Get the details of all SAML Group Sync mapping within an organization.
638
+ # @param org
639
+ # @param [Hash] opts the optional parameters
640
+ # @option opts [Integer] :page A page number within the paginated result set.
641
+ # @option opts [Integer] :page_size Number of results to return per page.
642
+ # @return [Array<(Array<OrganizationGroupSync>, Fixnum, Hash)>] Array<OrganizationGroupSync> data, response status code and response headers
643
+ def orgs_saml_group_sync_list_with_http_info(org, opts = {})
644
+ if @api_client.config.debugging
645
+ @api_client.config.logger.debug 'Calling API: OrgsApi.orgs_saml_group_sync_list ...'
646
+ end
647
+ # verify the required parameter 'org' is set
648
+ if @api_client.config.client_side_validation && org.nil?
649
+ fail ArgumentError, "Missing the required parameter 'org' when calling OrgsApi.orgs_saml_group_sync_list"
650
+ end
651
+ # resource path
652
+ local_var_path = '/orgs/{org}/saml-group-sync/'.sub('{' + 'org' + '}', org.to_s)
653
+
654
+ # query parameters
655
+ query_params = {}
656
+ query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
657
+ query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
658
+
659
+ # header parameters
660
+ header_params = {}
661
+
662
+ # form parameters
663
+ form_params = {}
664
+
665
+ # http body (model)
666
+ post_body = nil
667
+ auth_names = ['apikey']
668
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
669
+ :header_params => header_params,
670
+ :query_params => query_params,
671
+ :form_params => form_params,
672
+ :body => post_body,
673
+ :auth_names => auth_names,
674
+ :return_type => 'Array<OrganizationGroupSync>')
675
+ if @api_client.config.debugging
676
+ @api_client.config.logger.debug "API called: OrgsApi#orgs_saml_group_sync_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
677
+ end
678
+ return data, status_code, headers
679
+ end
680
+ # Create a team for this organization.
681
+ # Create a team for this organization.
682
+ # @param org
683
+ # @param [Hash] opts the optional parameters
684
+ # @option opts [OrgsTeamsCreate] :data
685
+ # @return [OrganizationTeam]
686
+ def orgs_teams_create(org, opts = {})
687
+ data, _status_code, _headers = orgs_teams_create_with_http_info(org, opts)
688
+ data
689
+ end
690
+
691
+ # Create a team for this organization.
692
+ # Create a team for this organization.
693
+ # @param org
694
+ # @param [Hash] opts the optional parameters
695
+ # @option opts [OrgsTeamsCreate] :data
696
+ # @return [Array<(OrganizationTeam, Fixnum, Hash)>] OrganizationTeam data, response status code and response headers
697
+ def orgs_teams_create_with_http_info(org, opts = {})
698
+ if @api_client.config.debugging
699
+ @api_client.config.logger.debug 'Calling API: OrgsApi.orgs_teams_create ...'
700
+ end
701
+ # verify the required parameter 'org' is set
702
+ if @api_client.config.client_side_validation && org.nil?
703
+ fail ArgumentError, "Missing the required parameter 'org' when calling OrgsApi.orgs_teams_create"
704
+ end
705
+ # resource path
706
+ local_var_path = '/orgs/{org}/teams/'.sub('{' + 'org' + '}', org.to_s)
707
+
708
+ # query parameters
709
+ query_params = {}
710
+
711
+ # header parameters
712
+ header_params = {}
713
+ # HTTP header 'Content-Type'
714
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
715
+
716
+ # form parameters
717
+ form_params = {}
718
+
719
+ # http body (model)
720
+ post_body = @api_client.object_to_http_body(opts[:'data'])
721
+ auth_names = ['apikey']
722
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
723
+ :header_params => header_params,
724
+ :query_params => query_params,
725
+ :form_params => form_params,
726
+ :body => post_body,
727
+ :auth_names => auth_names,
728
+ :return_type => 'OrganizationTeam')
729
+ if @api_client.config.debugging
730
+ @api_client.config.logger.debug "API called: OrgsApi#orgs_teams_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
731
+ end
732
+ return data, status_code, headers
733
+ end
734
+ # Delete a specific team in a organization.
735
+ # Delete a specific team in a organization.
736
+ # @param org
737
+ # @param slug_perm
738
+ # @param [Hash] opts the optional parameters
739
+ # @return [nil]
740
+ def orgs_teams_delete(org, slug_perm, opts = {})
741
+ orgs_teams_delete_with_http_info(org, slug_perm, opts)
742
+ nil
743
+ end
744
+
745
+ # Delete a specific team in a organization.
746
+ # Delete a specific team in a organization.
747
+ # @param org
748
+ # @param slug_perm
749
+ # @param [Hash] opts the optional parameters
750
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
751
+ def orgs_teams_delete_with_http_info(org, slug_perm, opts = {})
752
+ if @api_client.config.debugging
753
+ @api_client.config.logger.debug 'Calling API: OrgsApi.orgs_teams_delete ...'
754
+ end
755
+ # verify the required parameter 'org' is set
756
+ if @api_client.config.client_side_validation && org.nil?
757
+ fail ArgumentError, "Missing the required parameter 'org' when calling OrgsApi.orgs_teams_delete"
758
+ end
759
+ # verify the required parameter 'slug_perm' is set
760
+ if @api_client.config.client_side_validation && slug_perm.nil?
761
+ fail ArgumentError, "Missing the required parameter 'slug_perm' when calling OrgsApi.orgs_teams_delete"
762
+ end
763
+ # resource path
764
+ local_var_path = '/orgs/{org}/teams/{slug_perm}/'.sub('{' + 'org' + '}', org.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
765
+
766
+ # query parameters
767
+ query_params = {}
768
+
769
+ # header parameters
770
+ header_params = {}
771
+
772
+ # form parameters
773
+ form_params = {}
774
+
775
+ # http body (model)
776
+ post_body = nil
777
+ auth_names = ['apikey']
778
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
779
+ :header_params => header_params,
780
+ :query_params => query_params,
781
+ :form_params => form_params,
782
+ :body => post_body,
783
+ :auth_names => auth_names)
784
+ if @api_client.config.debugging
785
+ @api_client.config.logger.debug "API called: OrgsApi#orgs_teams_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
786
+ end
787
+ return data, status_code, headers
788
+ end
789
+ # Get the details of all teams within an organization.
790
+ # Get the details of all teams within an organization.
791
+ # @param org
792
+ # @param [Hash] opts the optional parameters
793
+ # @option opts [Integer] :page A page number within the paginated result set.
794
+ # @option opts [Integer] :page_size Number of results to return per page.
795
+ # @return [Array<OrganizationTeam>]
796
+ def orgs_teams_list(org, opts = {})
797
+ data, _status_code, _headers = orgs_teams_list_with_http_info(org, opts)
798
+ data
799
+ end
800
+
801
+ # Get the details of all teams within an organization.
802
+ # Get the details of all teams within an organization.
803
+ # @param org
804
+ # @param [Hash] opts the optional parameters
805
+ # @option opts [Integer] :page A page number within the paginated result set.
806
+ # @option opts [Integer] :page_size Number of results to return per page.
807
+ # @return [Array<(Array<OrganizationTeam>, Fixnum, Hash)>] Array<OrganizationTeam> data, response status code and response headers
808
+ def orgs_teams_list_with_http_info(org, opts = {})
809
+ if @api_client.config.debugging
810
+ @api_client.config.logger.debug 'Calling API: OrgsApi.orgs_teams_list ...'
811
+ end
812
+ # verify the required parameter 'org' is set
813
+ if @api_client.config.client_side_validation && org.nil?
814
+ fail ArgumentError, "Missing the required parameter 'org' when calling OrgsApi.orgs_teams_list"
815
+ end
816
+ # resource path
817
+ local_var_path = '/orgs/{org}/teams/'.sub('{' + 'org' + '}', org.to_s)
818
+
819
+ # query parameters
820
+ query_params = {}
821
+ query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
822
+ query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
823
+
824
+ # header parameters
825
+ header_params = {}
826
+
827
+ # form parameters
828
+ form_params = {}
829
+
830
+ # http body (model)
831
+ post_body = nil
832
+ auth_names = ['apikey']
833
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
834
+ :header_params => header_params,
835
+ :query_params => query_params,
836
+ :form_params => form_params,
837
+ :body => post_body,
838
+ :auth_names => auth_names,
839
+ :return_type => 'Array<OrganizationTeam>')
840
+ if @api_client.config.debugging
841
+ @api_client.config.logger.debug "API called: OrgsApi#orgs_teams_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
842
+ end
843
+ return data, status_code, headers
844
+ end
845
+ # Update a specific team in a organization.
846
+ # Update a specific team in a organization.
847
+ # @param org
848
+ # @param slug_perm
849
+ # @param [Hash] opts the optional parameters
850
+ # @option opts [OrgsTeamsPartialUpdate] :data
851
+ # @return [OrganizationTeam]
852
+ def orgs_teams_partial_update(org, slug_perm, opts = {})
853
+ data, _status_code, _headers = orgs_teams_partial_update_with_http_info(org, slug_perm, opts)
854
+ data
855
+ end
856
+
857
+ # Update a specific team in a organization.
858
+ # Update a specific team in a organization.
859
+ # @param org
860
+ # @param slug_perm
861
+ # @param [Hash] opts the optional parameters
862
+ # @option opts [OrgsTeamsPartialUpdate] :data
863
+ # @return [Array<(OrganizationTeam, Fixnum, Hash)>] OrganizationTeam data, response status code and response headers
864
+ def orgs_teams_partial_update_with_http_info(org, slug_perm, opts = {})
865
+ if @api_client.config.debugging
866
+ @api_client.config.logger.debug 'Calling API: OrgsApi.orgs_teams_partial_update ...'
867
+ end
868
+ # verify the required parameter 'org' is set
869
+ if @api_client.config.client_side_validation && org.nil?
870
+ fail ArgumentError, "Missing the required parameter 'org' when calling OrgsApi.orgs_teams_partial_update"
871
+ end
872
+ # verify the required parameter 'slug_perm' is set
873
+ if @api_client.config.client_side_validation && slug_perm.nil?
874
+ fail ArgumentError, "Missing the required parameter 'slug_perm' when calling OrgsApi.orgs_teams_partial_update"
875
+ end
876
+ # resource path
877
+ local_var_path = '/orgs/{org}/teams/{slug_perm}/'.sub('{' + 'org' + '}', org.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
878
+
879
+ # query parameters
880
+ query_params = {}
881
+
882
+ # header parameters
883
+ header_params = {}
884
+ # HTTP header 'Content-Type'
885
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
886
+
887
+ # form parameters
888
+ form_params = {}
889
+
890
+ # http body (model)
891
+ post_body = @api_client.object_to_http_body(opts[:'data'])
892
+ auth_names = ['apikey']
893
+ data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
894
+ :header_params => header_params,
895
+ :query_params => query_params,
896
+ :form_params => form_params,
897
+ :body => post_body,
898
+ :auth_names => auth_names,
899
+ :return_type => 'OrganizationTeam')
900
+ if @api_client.config.debugging
901
+ @api_client.config.logger.debug "API called: OrgsApi#orgs_teams_partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
902
+ end
903
+ return data, status_code, headers
904
+ end
905
+ # Viewset for working with Organization teams.
906
+ # Viewset for working with Organization teams.
907
+ # @param org
908
+ # @param slug_perm
909
+ # @param [Hash] opts the optional parameters
910
+ # @return [OrganizationTeam]
911
+ def orgs_teams_read(org, slug_perm, opts = {})
912
+ data, _status_code, _headers = orgs_teams_read_with_http_info(org, slug_perm, opts)
913
+ data
914
+ end
915
+
916
+ # Viewset for working with Organization teams.
917
+ # Viewset for working with Organization teams.
918
+ # @param org
919
+ # @param slug_perm
920
+ # @param [Hash] opts the optional parameters
921
+ # @return [Array<(OrganizationTeam, Fixnum, Hash)>] OrganizationTeam data, response status code and response headers
922
+ def orgs_teams_read_with_http_info(org, slug_perm, opts = {})
923
+ if @api_client.config.debugging
924
+ @api_client.config.logger.debug 'Calling API: OrgsApi.orgs_teams_read ...'
925
+ end
926
+ # verify the required parameter 'org' is set
927
+ if @api_client.config.client_side_validation && org.nil?
928
+ fail ArgumentError, "Missing the required parameter 'org' when calling OrgsApi.orgs_teams_read"
929
+ end
930
+ # verify the required parameter 'slug_perm' is set
931
+ if @api_client.config.client_side_validation && slug_perm.nil?
932
+ fail ArgumentError, "Missing the required parameter 'slug_perm' when calling OrgsApi.orgs_teams_read"
933
+ end
934
+ # resource path
935
+ local_var_path = '/orgs/{org}/teams/{slug_perm}/'.sub('{' + 'org' + '}', org.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
936
+
937
+ # query parameters
938
+ query_params = {}
939
+
940
+ # header parameters
941
+ header_params = {}
942
+
943
+ # form parameters
944
+ form_params = {}
945
+
946
+ # http body (model)
947
+ post_body = nil
948
+ auth_names = ['apikey']
949
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
950
+ :header_params => header_params,
951
+ :query_params => query_params,
952
+ :form_params => form_params,
953
+ :body => post_body,
954
+ :auth_names => auth_names,
955
+ :return_type => 'OrganizationTeam')
956
+ if @api_client.config.debugging
957
+ @api_client.config.logger.debug "API called: OrgsApi#orgs_teams_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
958
+ end
959
+ return data, status_code, headers
960
+ end
290
961
  end
291
962
  end