pulp_container_client 2.14.14 → 2.14.16

Sign up to get free protection for your applications and to get access to all the features.
Files changed (250) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +222 -246
  3. data/docs/AccessPoliciesApi.md +28 -32
  4. data/docs/ArtifactDistributionResponse.md +7 -7
  5. data/docs/ArtifactsApi.md +23 -27
  6. data/docs/ContainerContainerDistribution.md +5 -5
  7. data/docs/ContainerContainerDistributionResponse.md +8 -8
  8. data/docs/ContainerContainerPushRepository.md +5 -5
  9. data/docs/ContainerContainerPushRepositoryResponse.md +8 -8
  10. data/docs/ContainerContainerRemote.md +1 -1
  11. data/docs/ContainerContainerRemoteResponse.md +1 -1
  12. data/docs/ContainerContainerRepository.md +1 -1
  13. data/docs/ContainerContainerRepositoryResponse.md +1 -1
  14. data/docs/ContentApi.md +8 -14
  15. data/docs/ContentBlobsApi.md +13 -17
  16. data/docs/ContentManifestsApi.md +15 -19
  17. data/docs/ContentSignaturesApi.md +13 -17
  18. data/docs/ContentTagsApi.md +15 -19
  19. data/docs/ContentguardsApi.md +8 -14
  20. data/docs/ContentguardsContentRedirectApi.md +53 -57
  21. data/docs/ContentguardsRbacApi.md +53 -57
  22. data/docs/DistributionsApi.md +8 -18
  23. data/docs/DistributionsArtifactsApi.md +13 -21
  24. data/docs/DistributionsContainerApi.md +53 -61
  25. data/docs/DocsApiJsonApi.md +6 -6
  26. data/docs/DocsApiYamlApi.md +6 -6
  27. data/docs/ExportersFilesystemApi.md +36 -40
  28. data/docs/ExportersFilesystemExportsApi.md +24 -24
  29. data/docs/ExportersPulpApi.md +33 -37
  30. data/docs/ExportersPulpExportsApi.md +21 -21
  31. data/docs/FilesystemExporter.md +1 -1
  32. data/docs/FilesystemExporterResponse.md +1 -1
  33. data/docs/GroupRole.md +1 -3
  34. data/docs/GroupRoleResponse.md +1 -3
  35. data/docs/GroupsApi.md +59 -63
  36. data/docs/GroupsRolesApi.md +27 -33
  37. data/docs/GroupsUsersApi.md +16 -16
  38. data/docs/ImportersPulpApi.md +33 -37
  39. data/docs/ImportersPulpImportCheckApi.md +1 -1
  40. data/docs/ImportersPulpImportsApi.md +21 -21
  41. data/docs/OrphansApi.md +6 -6
  42. data/docs/OrphansCleanupApi.md +6 -6
  43. data/docs/PatchedFilesystemExporter.md +1 -1
  44. data/docs/PatchedcontainerContainerDistribution.md +5 -5
  45. data/docs/PatchedcontainerContainerPushRepository.md +5 -5
  46. data/docs/PatchedcontainerContainerRemote.md +1 -1
  47. data/docs/PatchedcontainerContainerRepository.md +1 -1
  48. data/docs/PublicationsApi.md +9 -15
  49. data/docs/PulpContainerNamespacesApi.md +43 -47
  50. data/docs/RemoteResponse.md +1 -1
  51. data/docs/RemoteResponseHiddenFields.md +2 -2
  52. data/docs/RemotesApi.md +8 -14
  53. data/docs/RemotesContainerApi.md +53 -57
  54. data/docs/RepairApi.md +6 -6
  55. data/docs/RepositoriesApi.md +8 -30
  56. data/docs/RepositoriesContainerApi.md +102 -122
  57. data/docs/RepositoriesContainerPushApi.md +68 -88
  58. data/docs/RepositoriesContainerPushVersionsApi.md +23 -25
  59. data/docs/RepositoriesContainerVersionsApi.md +23 -25
  60. data/docs/RepositoriesReclaimSpaceApi.md +6 -6
  61. data/docs/RepositoryResponse.md +1 -1
  62. data/docs/RepositoryVersionsApi.md +8 -12
  63. data/docs/RolesApi.md +39 -43
  64. data/docs/SigningServicesApi.md +13 -17
  65. data/docs/StatusApi.md +1 -1
  66. data/docs/StatusResponse.md +1 -3
  67. data/docs/TaskGroupsApi.md +11 -11
  68. data/docs/TaskSchedulesApi.md +35 -39
  69. data/docs/TasksApi.md +101 -105
  70. data/docs/TokenApi.md +6 -6
  71. data/docs/UploadsApi.md +53 -57
  72. data/docs/UserRole.md +2 -4
  73. data/docs/UserRoleResponse.md +2 -4
  74. data/docs/UsersApi.md +39 -43
  75. data/docs/UsersRolesApi.md +27 -33
  76. data/docs/VersionResponse.md +1 -3
  77. data/docs/WorkersApi.md +13 -17
  78. data/lib/pulp_container_client/api/access_policies_api.rb +33 -39
  79. data/lib/pulp_container_client/api/artifacts_api.rb +31 -37
  80. data/lib/pulp_container_client/api/content_api.rb +7 -20
  81. data/lib/pulp_container_client/api/content_blobs_api.rb +13 -19
  82. data/lib/pulp_container_client/api/content_manifests_api.rb +15 -21
  83. data/lib/pulp_container_client/api/content_signatures_api.rb +13 -19
  84. data/lib/pulp_container_client/api/content_tags_api.rb +15 -21
  85. data/lib/pulp_container_client/api/contentguards_api.rb +7 -20
  86. data/lib/pulp_container_client/api/contentguards_content_redirect_api.rb +65 -71
  87. data/lib/pulp_container_client/api/contentguards_rbac_api.rb +65 -71
  88. data/lib/pulp_container_client/api/distributions_api.rb +7 -26
  89. data/lib/pulp_container_client/api/distributions_artifacts_api.rb +13 -25
  90. data/lib/pulp_container_client/api/distributions_container_api.rb +65 -77
  91. data/lib/pulp_container_client/api/docs_api_json_api.rb +5 -5
  92. data/lib/pulp_container_client/api/docs_api_yaml_api.rb +5 -5
  93. data/lib/pulp_container_client/api/exporters_filesystem_api.rb +45 -51
  94. data/lib/pulp_container_client/api/exporters_filesystem_exports_api.rb +31 -31
  95. data/lib/pulp_container_client/api/exporters_pulp_api.rb +39 -45
  96. data/lib/pulp_container_client/api/exporters_pulp_exports_api.rb +25 -25
  97. data/lib/pulp_container_client/api/groups_api.rb +77 -83
  98. data/lib/pulp_container_client/api/groups_roles_api.rb +35 -44
  99. data/lib/pulp_container_client/api/groups_users_api.rb +19 -19
  100. data/lib/pulp_container_client/api/importers_pulp_api.rb +39 -45
  101. data/lib/pulp_container_client/api/importers_pulp_imports_api.rb +25 -25
  102. data/lib/pulp_container_client/api/orphans_api.rb +5 -5
  103. data/lib/pulp_container_client/api/orphans_cleanup_api.rb +6 -6
  104. data/lib/pulp_container_client/api/publications_api.rb +9 -18
  105. data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +51 -57
  106. data/lib/pulp_container_client/api/remotes_api.rb +7 -20
  107. data/lib/pulp_container_client/api/remotes_container_api.rb +65 -71
  108. data/lib/pulp_container_client/api/repair_api.rb +6 -6
  109. data/lib/pulp_container_client/api/repositories_api.rb +7 -44
  110. data/lib/pulp_container_client/api/repositories_container_api.rb +128 -158
  111. data/lib/pulp_container_client/api/repositories_container_push_api.rb +88 -118
  112. data/lib/pulp_container_client/api/repositories_container_push_versions_api.rb +27 -30
  113. data/lib/pulp_container_client/api/repositories_container_versions_api.rb +27 -30
  114. data/lib/pulp_container_client/api/repositories_reclaim_space_api.rb +6 -6
  115. data/lib/pulp_container_client/api/repository_versions_api.rb +7 -12
  116. data/lib/pulp_container_client/api/roles_api.rb +51 -57
  117. data/lib/pulp_container_client/api/signing_services_api.rb +13 -19
  118. data/lib/pulp_container_client/api/task_groups_api.rb +11 -11
  119. data/lib/pulp_container_client/api/task_schedules_api.rb +43 -49
  120. data/lib/pulp_container_client/api/tasks_api.rb +125 -131
  121. data/lib/pulp_container_client/api/token_api.rb +5 -5
  122. data/lib/pulp_container_client/api/uploads_api.rb +67 -73
  123. data/lib/pulp_container_client/api/users_api.rb +51 -57
  124. data/lib/pulp_container_client/api/users_roles_api.rb +35 -44
  125. data/lib/pulp_container_client/api/workers_api.rb +14 -20
  126. data/lib/pulp_container_client/configuration.rb +3 -3
  127. data/lib/pulp_container_client/models/artifact_distribution_response.rb +35 -35
  128. data/lib/pulp_container_client/models/container_container_distribution.rb +45 -45
  129. data/lib/pulp_container_client/models/container_container_distribution_response.rb +39 -39
  130. data/lib/pulp_container_client/models/container_container_push_repository.rb +37 -37
  131. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +33 -33
  132. data/lib/pulp_container_client/models/container_container_remote.rb +21 -21
  133. data/lib/pulp_container_client/models/container_container_remote_response.rb +21 -21
  134. data/lib/pulp_container_client/models/container_container_repository.rb +1 -1
  135. data/lib/pulp_container_client/models/container_container_repository_response.rb +1 -1
  136. data/lib/pulp_container_client/models/filesystem_exporter.rb +1 -1
  137. data/lib/pulp_container_client/models/filesystem_exporter_response.rb +1 -1
  138. data/lib/pulp_container_client/models/group_role.rb +5 -16
  139. data/lib/pulp_container_client/models/group_role_response.rb +4 -15
  140. data/lib/pulp_container_client/models/nested_role.rb +0 -19
  141. data/lib/pulp_container_client/models/patched_filesystem_exporter.rb +1 -1
  142. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +36 -36
  143. data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +37 -37
  144. data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +21 -21
  145. data/lib/pulp_container_client/models/patchedcontainer_container_repository.rb +1 -1
  146. data/lib/pulp_container_client/models/remote_response.rb +21 -21
  147. data/lib/pulp_container_client/models/remote_response_hidden_fields.rb +10 -0
  148. data/lib/pulp_container_client/models/repository_response.rb +1 -1
  149. data/lib/pulp_container_client/models/status_response.rb +4 -19
  150. data/lib/pulp_container_client/models/user_role.rb +6 -17
  151. data/lib/pulp_container_client/models/user_role_response.rb +5 -16
  152. data/lib/pulp_container_client/models/version_response.rb +4 -19
  153. data/lib/pulp_container_client/version.rb +1 -1
  154. data/lib/pulp_container_client.rb +0 -11
  155. data/spec/api/access_policies_api_spec.rb +11 -13
  156. data/spec/api/artifacts_api_spec.rb +9 -11
  157. data/spec/api/content_api_spec.rb +3 -6
  158. data/spec/api/content_blobs_api_spec.rb +5 -7
  159. data/spec/api/content_manifests_api_spec.rb +6 -8
  160. data/spec/api/content_signatures_api_spec.rb +5 -7
  161. data/spec/api/content_tags_api_spec.rb +6 -8
  162. data/spec/api/contentguards_api_spec.rb +3 -6
  163. data/spec/api/contentguards_content_redirect_api_spec.rb +21 -23
  164. data/spec/api/contentguards_rbac_api_spec.rb +21 -23
  165. data/spec/api/distributions_api_spec.rb +3 -8
  166. data/spec/api/distributions_artifacts_api_spec.rb +5 -9
  167. data/spec/api/distributions_container_api_spec.rb +21 -25
  168. data/spec/api/docs_api_json_api_spec.rb +2 -2
  169. data/spec/api/docs_api_yaml_api_spec.rb +2 -2
  170. data/spec/api/exporters_filesystem_api_spec.rb +16 -18
  171. data/spec/api/exporters_filesystem_exports_api_spec.rb +11 -11
  172. data/spec/api/exporters_pulp_api_spec.rb +13 -15
  173. data/spec/api/exporters_pulp_exports_api_spec.rb +8 -8
  174. data/spec/api/groups_api_spec.rb +27 -29
  175. data/spec/api/groups_roles_api_spec.rb +13 -16
  176. data/spec/api/groups_users_api_spec.rb +6 -6
  177. data/spec/api/importers_pulp_api_spec.rb +13 -15
  178. data/spec/api/importers_pulp_imports_api_spec.rb +8 -8
  179. data/spec/api/orphans_api_spec.rb +2 -2
  180. data/spec/api/orphans_cleanup_api_spec.rb +2 -2
  181. data/spec/api/publications_api_spec.rb +4 -7
  182. data/spec/api/pulp_container_namespaces_api_spec.rb +17 -19
  183. data/spec/api/remotes_api_spec.rb +3 -6
  184. data/spec/api/remotes_container_api_spec.rb +21 -23
  185. data/spec/api/repair_api_spec.rb +2 -2
  186. data/spec/api/repositories_api_spec.rb +3 -14
  187. data/spec/api/repositories_container_api_spec.rb +39 -49
  188. data/spec/api/repositories_container_push_api_spec.rb +27 -37
  189. data/spec/api/repositories_container_push_versions_api_spec.rb +9 -10
  190. data/spec/api/repositories_container_versions_api_spec.rb +9 -10
  191. data/spec/api/repositories_reclaim_space_api_spec.rb +2 -2
  192. data/spec/api/repository_versions_api_spec.rb +3 -5
  193. data/spec/api/roles_api_spec.rb +19 -21
  194. data/spec/api/signing_services_api_spec.rb +5 -7
  195. data/spec/api/task_groups_api_spec.rb +4 -4
  196. data/spec/api/task_schedules_api_spec.rb +15 -17
  197. data/spec/api/tasks_api_spec.rb +32 -34
  198. data/spec/api/token_api_spec.rb +2 -2
  199. data/spec/api/uploads_api_spec.rb +21 -23
  200. data/spec/api/users_api_spec.rb +19 -21
  201. data/spec/api/users_roles_api_spec.rb +13 -16
  202. data/spec/api/workers_api_spec.rb +5 -7
  203. data/spec/configuration_spec.rb +3 -3
  204. data/spec/models/artifact_distribution_response_spec.rb +7 -7
  205. data/spec/models/container_container_distribution_response_spec.rb +6 -6
  206. data/spec/models/container_container_distribution_spec.rb +4 -4
  207. data/spec/models/container_container_push_repository_response_spec.rb +6 -6
  208. data/spec/models/container_container_push_repository_spec.rb +4 -4
  209. data/spec/models/group_role_response_spec.rb +0 -6
  210. data/spec/models/group_role_spec.rb +0 -6
  211. data/spec/models/patchedcontainer_container_distribution_spec.rb +4 -4
  212. data/spec/models/patchedcontainer_container_push_repository_spec.rb +4 -4
  213. data/spec/models/status_response_spec.rb +0 -6
  214. data/spec/models/user_role_response_spec.rb +0 -6
  215. data/spec/models/user_role_spec.rb +0 -6
  216. data/spec/models/version_response_spec.rb +0 -6
  217. metadata +196 -240
  218. data/docs/Domain.md +0 -27
  219. data/docs/DomainResponse.md +0 -31
  220. data/docs/DomainsApi.md +0 -366
  221. data/docs/PaginatedDomainResponseList.md +0 -23
  222. data/docs/PaginatedUpstreamPulpResponseList.md +0 -23
  223. data/docs/PatchedDomain.md +0 -27
  224. data/docs/PatchedUpstreamPulp.md +0 -37
  225. data/docs/StorageClassEnum.md +0 -16
  226. data/docs/UpstreamPulp.md +0 -37
  227. data/docs/UpstreamPulpResponse.md +0 -39
  228. data/docs/UpstreamPulpsApi.md +0 -405
  229. data/lib/pulp_container_client/api/domains_api.rb +0 -452
  230. data/lib/pulp_container_client/api/upstream_pulps_api.rb +0 -492
  231. data/lib/pulp_container_client/models/domain.rb +0 -323
  232. data/lib/pulp_container_client/models/domain_response.rb +0 -318
  233. data/lib/pulp_container_client/models/paginated_domain_response_list.rb +0 -237
  234. data/lib/pulp_container_client/models/paginated_upstream_pulp_response_list.rb +0 -237
  235. data/lib/pulp_container_client/models/patched_domain.rb +0 -304
  236. data/lib/pulp_container_client/models/patched_upstream_pulp.rb +0 -450
  237. data/lib/pulp_container_client/models/storage_class_enum.rb +0 -37
  238. data/lib/pulp_container_client/models/upstream_pulp.rb +0 -477
  239. data/lib/pulp_container_client/models/upstream_pulp_response.rb +0 -338
  240. data/spec/api/domains_api_spec.rb +0 -122
  241. data/spec/api/upstream_pulps_api_spec.rb +0 -127
  242. data/spec/models/domain_response_spec.rb +0 -83
  243. data/spec/models/domain_spec.rb +0 -71
  244. data/spec/models/paginated_domain_response_list_spec.rb +0 -59
  245. data/spec/models/paginated_upstream_pulp_response_list_spec.rb +0 -59
  246. data/spec/models/patched_domain_spec.rb +0 -71
  247. data/spec/models/patched_upstream_pulp_spec.rb +0 -101
  248. data/spec/models/storage_class_enum_spec.rb +0 -35
  249. data/spec/models/upstream_pulp_response_spec.rb +0 -107
  250. data/spec/models/upstream_pulp_spec.rb +0 -101
@@ -24,8 +24,8 @@ module PulpContainerClient
24
24
  # @param nested_role [NestedRole]
25
25
  # @param [Hash] opts the optional parameters
26
26
  # @return [NestedRoleResponse]
27
- def add_role(group_href, nested_role, opts = {})
28
- data, _status_code, _headers = add_role_with_http_info(group_href, nested_role, opts)
27
+ def groups_add_role(group_href, nested_role, opts = {})
28
+ data, _status_code, _headers = groups_add_role_with_http_info(group_href, nested_role, opts)
29
29
  data
30
30
  end
31
31
 
@@ -34,17 +34,17 @@ module PulpContainerClient
34
34
  # @param nested_role [NestedRole]
35
35
  # @param [Hash] opts the optional parameters
36
36
  # @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
37
- def add_role_with_http_info(group_href, nested_role, opts = {})
37
+ def groups_add_role_with_http_info(group_href, nested_role, opts = {})
38
38
  if @api_client.config.debugging
39
- @api_client.config.logger.debug 'Calling API: GroupsApi.add_role ...'
39
+ @api_client.config.logger.debug 'Calling API: GroupsApi.groups_add_role ...'
40
40
  end
41
41
  # verify the required parameter 'group_href' is set
42
42
  if @api_client.config.client_side_validation && group_href.nil?
43
- fail ArgumentError, "Missing the required parameter 'group_href' when calling GroupsApi.add_role"
43
+ fail ArgumentError, "Missing the required parameter 'group_href' when calling GroupsApi.groups_add_role"
44
44
  end
45
45
  # verify the required parameter 'nested_role' is set
46
46
  if @api_client.config.client_side_validation && nested_role.nil?
47
- fail ArgumentError, "Missing the required parameter 'nested_role' when calling GroupsApi.add_role"
47
+ fail ArgumentError, "Missing the required parameter 'nested_role' when calling GroupsApi.groups_add_role"
48
48
  end
49
49
  # resource path
50
50
  local_var_path = '{group_href}add_role/'.sub('{' + 'group_href' + '}', CGI.escape(group_href.to_s).gsub('%2F', '/'))
@@ -82,33 +82,33 @@ module PulpContainerClient
82
82
 
83
83
  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
84
84
  if @api_client.config.debugging
85
- @api_client.config.logger.debug "API called: GroupsApi#add_role\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
85
+ @api_client.config.logger.debug "API called: GroupsApi#groups_add_role\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
86
86
  end
87
87
  return data, status_code, headers
88
88
  end
89
89
 
90
90
  # Create a group
91
- # ViewSet for Group.
91
+ # ViewSet for Group. NOTE: This API endpoint is in \"tech preview\" and subject to change
92
92
  # @param group [Group]
93
93
  # @param [Hash] opts the optional parameters
94
94
  # @return [GroupResponse]
95
- def create(group, opts = {})
96
- data, _status_code, _headers = create_with_http_info(group, opts)
95
+ def groups_create(group, opts = {})
96
+ data, _status_code, _headers = groups_create_with_http_info(group, opts)
97
97
  data
98
98
  end
99
99
 
100
100
  # Create a group
101
- # ViewSet for Group.
101
+ # ViewSet for Group. NOTE: This API endpoint is in \&quot;tech preview\&quot; and subject to change
102
102
  # @param group [Group]
103
103
  # @param [Hash] opts the optional parameters
104
104
  # @return [Array<(GroupResponse, Integer, Hash)>] GroupResponse data, response status code and response headers
105
- def create_with_http_info(group, opts = {})
105
+ def groups_create_with_http_info(group, opts = {})
106
106
  if @api_client.config.debugging
107
- @api_client.config.logger.debug 'Calling API: GroupsApi.create ...'
107
+ @api_client.config.logger.debug 'Calling API: GroupsApi.groups_create ...'
108
108
  end
109
109
  # verify the required parameter 'group' is set
110
110
  if @api_client.config.client_side_validation && group.nil?
111
- fail ArgumentError, "Missing the required parameter 'group' when calling GroupsApi.create"
111
+ fail ArgumentError, "Missing the required parameter 'group' when calling GroupsApi.groups_create"
112
112
  end
113
113
  # resource path
114
114
  local_var_path = '/pulp/api/v3/groups/'
@@ -146,33 +146,33 @@ module PulpContainerClient
146
146
 
147
147
  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
148
148
  if @api_client.config.debugging
149
- @api_client.config.logger.debug "API called: GroupsApi#create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
149
+ @api_client.config.logger.debug "API called: GroupsApi#groups_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
150
150
  end
151
151
  return data, status_code, headers
152
152
  end
153
153
 
154
154
  # Delete a group
155
- # ViewSet for Group.
155
+ # ViewSet for Group. NOTE: This API endpoint is in \"tech preview\" and subject to change
156
156
  # @param group_href [String]
157
157
  # @param [Hash] opts the optional parameters
158
158
  # @return [nil]
159
- def delete(group_href, opts = {})
160
- delete_with_http_info(group_href, opts)
159
+ def groups_delete(group_href, opts = {})
160
+ groups_delete_with_http_info(group_href, opts)
161
161
  nil
162
162
  end
163
163
 
164
164
  # Delete a group
165
- # ViewSet for Group.
165
+ # ViewSet for Group. NOTE: This API endpoint is in \&quot;tech preview\&quot; and subject to change
166
166
  # @param group_href [String]
167
167
  # @param [Hash] opts the optional parameters
168
168
  # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
169
- def delete_with_http_info(group_href, opts = {})
169
+ def groups_delete_with_http_info(group_href, opts = {})
170
170
  if @api_client.config.debugging
171
- @api_client.config.logger.debug 'Calling API: GroupsApi.delete ...'
171
+ @api_client.config.logger.debug 'Calling API: GroupsApi.groups_delete ...'
172
172
  end
173
173
  # verify the required parameter 'group_href' is set
174
174
  if @api_client.config.client_side_validation && group_href.nil?
175
- fail ArgumentError, "Missing the required parameter 'group_href' when calling GroupsApi.delete"
175
+ fail ArgumentError, "Missing the required parameter 'group_href' when calling GroupsApi.groups_delete"
176
176
  end
177
177
  # resource path
178
178
  local_var_path = '{group_href}'.sub('{' + 'group_href' + '}', CGI.escape(group_href.to_s).gsub('%2F', '/'))
@@ -206,13 +206,13 @@ module PulpContainerClient
206
206
 
207
207
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
208
208
  if @api_client.config.debugging
209
- @api_client.config.logger.debug "API called: GroupsApi#delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
209
+ @api_client.config.logger.debug "API called: GroupsApi#groups_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
210
210
  end
211
211
  return data, status_code, headers
212
212
  end
213
213
 
214
214
  # List groups
215
- # ViewSet for Group.
215
+ # ViewSet for Group. NOTE: This API endpoint is in \"tech preview\" and subject to change
216
216
  # @param [Hash] opts the optional parameters
217
217
  # @option opts [Integer] :id Filter results where id matches value
218
218
  # @option opts [Array<Integer>] :id__in Filter results where id is in a comma-separated list of values
@@ -223,19 +223,17 @@ module PulpContainerClient
223
223
  # @option opts [String] :name__iexact Filter results where name matches value
224
224
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
225
225
  # @option opts [Integer] :offset The initial index from which to return the results.
226
- # @option opts [Array<String>] :ordering Ordering * &#x60;id&#x60; - Id * &#x60;-id&#x60; - Id (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
227
- # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
228
- # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
226
+ # @option opts [Array<String>] :ordering Ordering
229
227
  # @option opts [Array<String>] :fields A list of fields to include in the response.
230
228
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
231
229
  # @return [PaginatedGroupResponseList]
232
- def list(opts = {})
233
- data, _status_code, _headers = list_with_http_info(opts)
230
+ def groups_list(opts = {})
231
+ data, _status_code, _headers = groups_list_with_http_info(opts)
234
232
  data
235
233
  end
236
234
 
237
235
  # List groups
238
- # ViewSet for Group.
236
+ # ViewSet for Group. NOTE: This API endpoint is in \&quot;tech preview\&quot; and subject to change
239
237
  # @param [Hash] opts the optional parameters
240
238
  # @option opts [Integer] :id Filter results where id matches value
241
239
  # @option opts [Array<Integer>] :id__in Filter results where id is in a comma-separated list of values
@@ -246,15 +244,13 @@ module PulpContainerClient
246
244
  # @option opts [String] :name__iexact Filter results where name matches value
247
245
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
248
246
  # @option opts [Integer] :offset The initial index from which to return the results.
249
- # @option opts [Array<String>] :ordering Ordering * &#x60;id&#x60; - Id * &#x60;-id&#x60; - Id (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
250
- # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
251
- # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
247
+ # @option opts [Array<String>] :ordering Ordering
252
248
  # @option opts [Array<String>] :fields A list of fields to include in the response.
253
249
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
254
250
  # @return [Array<(PaginatedGroupResponseList, Integer, Hash)>] PaginatedGroupResponseList data, response status code and response headers
255
- def list_with_http_info(opts = {})
251
+ def groups_list_with_http_info(opts = {})
256
252
  if @api_client.config.debugging
257
- @api_client.config.logger.debug 'Calling API: GroupsApi.list ...'
253
+ @api_client.config.logger.debug 'Calling API: GroupsApi.groups_list ...'
258
254
  end
259
255
  allowable_values = ["-id", "-name", "-pk", "id", "name", "pk"]
260
256
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
@@ -275,8 +271,6 @@ module PulpContainerClient
275
271
  query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
276
272
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
277
273
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
278
- query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
279
- query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
280
274
  query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
281
275
  query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
282
276
 
@@ -308,7 +302,7 @@ module PulpContainerClient
308
302
 
309
303
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
310
304
  if @api_client.config.debugging
311
- @api_client.config.logger.debug "API called: GroupsApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
305
+ @api_client.config.logger.debug "API called: GroupsApi#groups_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
312
306
  end
313
307
  return data, status_code, headers
314
308
  end
@@ -319,8 +313,8 @@ module PulpContainerClient
319
313
  # @option opts [Array<String>] :fields A list of fields to include in the response.
320
314
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
321
315
  # @return [ObjectRolesResponse]
322
- def list_roles(group_href, opts = {})
323
- data, _status_code, _headers = list_roles_with_http_info(group_href, opts)
316
+ def groups_list_roles(group_href, opts = {})
317
+ data, _status_code, _headers = groups_list_roles_with_http_info(group_href, opts)
324
318
  data
325
319
  end
326
320
 
@@ -330,13 +324,13 @@ module PulpContainerClient
330
324
  # @option opts [Array<String>] :fields A list of fields to include in the response.
331
325
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
332
326
  # @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
333
- def list_roles_with_http_info(group_href, opts = {})
327
+ def groups_list_roles_with_http_info(group_href, opts = {})
334
328
  if @api_client.config.debugging
335
- @api_client.config.logger.debug 'Calling API: GroupsApi.list_roles ...'
329
+ @api_client.config.logger.debug 'Calling API: GroupsApi.groups_list_roles ...'
336
330
  end
337
331
  # verify the required parameter 'group_href' is set
338
332
  if @api_client.config.client_side_validation && group_href.nil?
339
- fail ArgumentError, "Missing the required parameter 'group_href' when calling GroupsApi.list_roles"
333
+ fail ArgumentError, "Missing the required parameter 'group_href' when calling GroupsApi.groups_list_roles"
340
334
  end
341
335
  # resource path
342
336
  local_var_path = '{group_href}list_roles/'.sub('{' + 'group_href' + '}', CGI.escape(group_href.to_s).gsub('%2F', '/'))
@@ -374,7 +368,7 @@ module PulpContainerClient
374
368
 
375
369
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
376
370
  if @api_client.config.debugging
377
- @api_client.config.logger.debug "API called: GroupsApi#list_roles\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
371
+ @api_client.config.logger.debug "API called: GroupsApi#groups_list_roles\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
378
372
  end
379
373
  return data, status_code, headers
380
374
  end
@@ -385,8 +379,8 @@ module PulpContainerClient
385
379
  # @option opts [Array<String>] :fields A list of fields to include in the response.
386
380
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
387
381
  # @return [MyPermissionsResponse]
388
- def my_permissions(group_href, opts = {})
389
- data, _status_code, _headers = my_permissions_with_http_info(group_href, opts)
382
+ def groups_my_permissions(group_href, opts = {})
383
+ data, _status_code, _headers = groups_my_permissions_with_http_info(group_href, opts)
390
384
  data
391
385
  end
392
386
 
@@ -396,13 +390,13 @@ module PulpContainerClient
396
390
  # @option opts [Array<String>] :fields A list of fields to include in the response.
397
391
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
398
392
  # @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
399
- def my_permissions_with_http_info(group_href, opts = {})
393
+ def groups_my_permissions_with_http_info(group_href, opts = {})
400
394
  if @api_client.config.debugging
401
- @api_client.config.logger.debug 'Calling API: GroupsApi.my_permissions ...'
395
+ @api_client.config.logger.debug 'Calling API: GroupsApi.groups_my_permissions ...'
402
396
  end
403
397
  # verify the required parameter 'group_href' is set
404
398
  if @api_client.config.client_side_validation && group_href.nil?
405
- fail ArgumentError, "Missing the required parameter 'group_href' when calling GroupsApi.my_permissions"
399
+ fail ArgumentError, "Missing the required parameter 'group_href' when calling GroupsApi.groups_my_permissions"
406
400
  end
407
401
  # resource path
408
402
  local_var_path = '{group_href}my_permissions/'.sub('{' + 'group_href' + '}', CGI.escape(group_href.to_s).gsub('%2F', '/'))
@@ -440,39 +434,39 @@ module PulpContainerClient
440
434
 
441
435
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
442
436
  if @api_client.config.debugging
443
- @api_client.config.logger.debug "API called: GroupsApi#my_permissions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
437
+ @api_client.config.logger.debug "API called: GroupsApi#groups_my_permissions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
444
438
  end
445
439
  return data, status_code, headers
446
440
  end
447
441
 
448
442
  # Update a group
449
- # ViewSet for Group.
443
+ # ViewSet for Group. NOTE: This API endpoint is in \"tech preview\" and subject to change
450
444
  # @param group_href [String]
451
445
  # @param patched_group [PatchedGroup]
452
446
  # @param [Hash] opts the optional parameters
453
447
  # @return [GroupResponse]
454
- def partial_update(group_href, patched_group, opts = {})
455
- data, _status_code, _headers = partial_update_with_http_info(group_href, patched_group, opts)
448
+ def groups_partial_update(group_href, patched_group, opts = {})
449
+ data, _status_code, _headers = groups_partial_update_with_http_info(group_href, patched_group, opts)
456
450
  data
457
451
  end
458
452
 
459
453
  # Update a group
460
- # ViewSet for Group.
454
+ # ViewSet for Group. NOTE: This API endpoint is in \&quot;tech preview\&quot; and subject to change
461
455
  # @param group_href [String]
462
456
  # @param patched_group [PatchedGroup]
463
457
  # @param [Hash] opts the optional parameters
464
458
  # @return [Array<(GroupResponse, Integer, Hash)>] GroupResponse data, response status code and response headers
465
- def partial_update_with_http_info(group_href, patched_group, opts = {})
459
+ def groups_partial_update_with_http_info(group_href, patched_group, opts = {})
466
460
  if @api_client.config.debugging
467
- @api_client.config.logger.debug 'Calling API: GroupsApi.partial_update ...'
461
+ @api_client.config.logger.debug 'Calling API: GroupsApi.groups_partial_update ...'
468
462
  end
469
463
  # verify the required parameter 'group_href' is set
470
464
  if @api_client.config.client_side_validation && group_href.nil?
471
- fail ArgumentError, "Missing the required parameter 'group_href' when calling GroupsApi.partial_update"
465
+ fail ArgumentError, "Missing the required parameter 'group_href' when calling GroupsApi.groups_partial_update"
472
466
  end
473
467
  # verify the required parameter 'patched_group' is set
474
468
  if @api_client.config.client_side_validation && patched_group.nil?
475
- fail ArgumentError, "Missing the required parameter 'patched_group' when calling GroupsApi.partial_update"
469
+ fail ArgumentError, "Missing the required parameter 'patched_group' when calling GroupsApi.groups_partial_update"
476
470
  end
477
471
  # resource path
478
472
  local_var_path = '{group_href}'.sub('{' + 'group_href' + '}', CGI.escape(group_href.to_s).gsub('%2F', '/'))
@@ -510,37 +504,37 @@ module PulpContainerClient
510
504
 
511
505
  data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
512
506
  if @api_client.config.debugging
513
- @api_client.config.logger.debug "API called: GroupsApi#partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
507
+ @api_client.config.logger.debug "API called: GroupsApi#groups_partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
514
508
  end
515
509
  return data, status_code, headers
516
510
  end
517
511
 
518
512
  # Inspect a group
519
- # ViewSet for Group.
513
+ # ViewSet for Group. NOTE: This API endpoint is in \"tech preview\" and subject to change
520
514
  # @param group_href [String]
521
515
  # @param [Hash] opts the optional parameters
522
516
  # @option opts [Array<String>] :fields A list of fields to include in the response.
523
517
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
524
518
  # @return [GroupResponse]
525
- def read(group_href, opts = {})
526
- data, _status_code, _headers = read_with_http_info(group_href, opts)
519
+ def groups_read(group_href, opts = {})
520
+ data, _status_code, _headers = groups_read_with_http_info(group_href, opts)
527
521
  data
528
522
  end
529
523
 
530
524
  # Inspect a group
531
- # ViewSet for Group.
525
+ # ViewSet for Group. NOTE: This API endpoint is in \&quot;tech preview\&quot; and subject to change
532
526
  # @param group_href [String]
533
527
  # @param [Hash] opts the optional parameters
534
528
  # @option opts [Array<String>] :fields A list of fields to include in the response.
535
529
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
536
530
  # @return [Array<(GroupResponse, Integer, Hash)>] GroupResponse data, response status code and response headers
537
- def read_with_http_info(group_href, opts = {})
531
+ def groups_read_with_http_info(group_href, opts = {})
538
532
  if @api_client.config.debugging
539
- @api_client.config.logger.debug 'Calling API: GroupsApi.read ...'
533
+ @api_client.config.logger.debug 'Calling API: GroupsApi.groups_read ...'
540
534
  end
541
535
  # verify the required parameter 'group_href' is set
542
536
  if @api_client.config.client_side_validation && group_href.nil?
543
- fail ArgumentError, "Missing the required parameter 'group_href' when calling GroupsApi.read"
537
+ fail ArgumentError, "Missing the required parameter 'group_href' when calling GroupsApi.groups_read"
544
538
  end
545
539
  # resource path
546
540
  local_var_path = '{group_href}'.sub('{' + 'group_href' + '}', CGI.escape(group_href.to_s).gsub('%2F', '/'))
@@ -578,7 +572,7 @@ module PulpContainerClient
578
572
 
579
573
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
580
574
  if @api_client.config.debugging
581
- @api_client.config.logger.debug "API called: GroupsApi#read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
575
+ @api_client.config.logger.debug "API called: GroupsApi#groups_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
582
576
  end
583
577
  return data, status_code, headers
584
578
  end
@@ -588,8 +582,8 @@ module PulpContainerClient
588
582
  # @param nested_role [NestedRole]
589
583
  # @param [Hash] opts the optional parameters
590
584
  # @return [NestedRoleResponse]
591
- def remove_role(group_href, nested_role, opts = {})
592
- data, _status_code, _headers = remove_role_with_http_info(group_href, nested_role, opts)
585
+ def groups_remove_role(group_href, nested_role, opts = {})
586
+ data, _status_code, _headers = groups_remove_role_with_http_info(group_href, nested_role, opts)
593
587
  data
594
588
  end
595
589
 
@@ -598,17 +592,17 @@ module PulpContainerClient
598
592
  # @param nested_role [NestedRole]
599
593
  # @param [Hash] opts the optional parameters
600
594
  # @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
601
- def remove_role_with_http_info(group_href, nested_role, opts = {})
595
+ def groups_remove_role_with_http_info(group_href, nested_role, opts = {})
602
596
  if @api_client.config.debugging
603
- @api_client.config.logger.debug 'Calling API: GroupsApi.remove_role ...'
597
+ @api_client.config.logger.debug 'Calling API: GroupsApi.groups_remove_role ...'
604
598
  end
605
599
  # verify the required parameter 'group_href' is set
606
600
  if @api_client.config.client_side_validation && group_href.nil?
607
- fail ArgumentError, "Missing the required parameter 'group_href' when calling GroupsApi.remove_role"
601
+ fail ArgumentError, "Missing the required parameter 'group_href' when calling GroupsApi.groups_remove_role"
608
602
  end
609
603
  # verify the required parameter 'nested_role' is set
610
604
  if @api_client.config.client_side_validation && nested_role.nil?
611
- fail ArgumentError, "Missing the required parameter 'nested_role' when calling GroupsApi.remove_role"
605
+ fail ArgumentError, "Missing the required parameter 'nested_role' when calling GroupsApi.groups_remove_role"
612
606
  end
613
607
  # resource path
614
608
  local_var_path = '{group_href}remove_role/'.sub('{' + 'group_href' + '}', CGI.escape(group_href.to_s).gsub('%2F', '/'))
@@ -646,39 +640,39 @@ module PulpContainerClient
646
640
 
647
641
  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
648
642
  if @api_client.config.debugging
649
- @api_client.config.logger.debug "API called: GroupsApi#remove_role\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
643
+ @api_client.config.logger.debug "API called: GroupsApi#groups_remove_role\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
650
644
  end
651
645
  return data, status_code, headers
652
646
  end
653
647
 
654
648
  # Update a group
655
- # ViewSet for Group.
649
+ # ViewSet for Group. NOTE: This API endpoint is in \"tech preview\" and subject to change
656
650
  # @param group_href [String]
657
651
  # @param group [Group]
658
652
  # @param [Hash] opts the optional parameters
659
653
  # @return [GroupResponse]
660
- def update(group_href, group, opts = {})
661
- data, _status_code, _headers = update_with_http_info(group_href, group, opts)
654
+ def groups_update(group_href, group, opts = {})
655
+ data, _status_code, _headers = groups_update_with_http_info(group_href, group, opts)
662
656
  data
663
657
  end
664
658
 
665
659
  # Update a group
666
- # ViewSet for Group.
660
+ # ViewSet for Group. NOTE: This API endpoint is in \&quot;tech preview\&quot; and subject to change
667
661
  # @param group_href [String]
668
662
  # @param group [Group]
669
663
  # @param [Hash] opts the optional parameters
670
664
  # @return [Array<(GroupResponse, Integer, Hash)>] GroupResponse data, response status code and response headers
671
- def update_with_http_info(group_href, group, opts = {})
665
+ def groups_update_with_http_info(group_href, group, opts = {})
672
666
  if @api_client.config.debugging
673
- @api_client.config.logger.debug 'Calling API: GroupsApi.update ...'
667
+ @api_client.config.logger.debug 'Calling API: GroupsApi.groups_update ...'
674
668
  end
675
669
  # verify the required parameter 'group_href' is set
676
670
  if @api_client.config.client_side_validation && group_href.nil?
677
- fail ArgumentError, "Missing the required parameter 'group_href' when calling GroupsApi.update"
671
+ fail ArgumentError, "Missing the required parameter 'group_href' when calling GroupsApi.groups_update"
678
672
  end
679
673
  # verify the required parameter 'group' is set
680
674
  if @api_client.config.client_side_validation && group.nil?
681
- fail ArgumentError, "Missing the required parameter 'group' when calling GroupsApi.update"
675
+ fail ArgumentError, "Missing the required parameter 'group' when calling GroupsApi.groups_update"
682
676
  end
683
677
  # resource path
684
678
  local_var_path = '{group_href}'.sub('{' + 'group_href' + '}', CGI.escape(group_href.to_s).gsub('%2F', '/'))
@@ -716,7 +710,7 @@ module PulpContainerClient
716
710
 
717
711
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
718
712
  if @api_client.config.debugging
719
- @api_client.config.logger.debug "API called: GroupsApi#update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
713
+ @api_client.config.logger.debug "API called: GroupsApi#groups_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
720
714
  end
721
715
  return data, status_code, headers
722
716
  end