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
@@ -20,27 +20,27 @@ module PulpContainerClient
20
20
  @api_client = api_client
21
21
  end
22
22
  # Create an user
23
- # ViewSet for User.
23
+ # ViewSet for User. NOTE: This API endpoint is in \"tech preview\" and subject to change
24
24
  # @param user [User]
25
25
  # @param [Hash] opts the optional parameters
26
26
  # @return [UserResponse]
27
- def create(user, opts = {})
28
- data, _status_code, _headers = create_with_http_info(user, opts)
27
+ def users_create(user, opts = {})
28
+ data, _status_code, _headers = users_create_with_http_info(user, opts)
29
29
  data
30
30
  end
31
31
 
32
32
  # Create an user
33
- # ViewSet for User.
33
+ # ViewSet for User. NOTE: This API endpoint is in \"tech preview\" and subject to change
34
34
  # @param user [User]
35
35
  # @param [Hash] opts the optional parameters
36
36
  # @return [Array<(UserResponse, Integer, Hash)>] UserResponse data, response status code and response headers
37
- def create_with_http_info(user, opts = {})
37
+ def users_create_with_http_info(user, opts = {})
38
38
  if @api_client.config.debugging
39
- @api_client.config.logger.debug 'Calling API: UsersApi.create ...'
39
+ @api_client.config.logger.debug 'Calling API: UsersApi.users_create ...'
40
40
  end
41
41
  # verify the required parameter 'user' is set
42
42
  if @api_client.config.client_side_validation && user.nil?
43
- fail ArgumentError, "Missing the required parameter 'user' when calling UsersApi.create"
43
+ fail ArgumentError, "Missing the required parameter 'user' when calling UsersApi.users_create"
44
44
  end
45
45
  # resource path
46
46
  local_var_path = '/pulp/api/v3/users/'
@@ -78,33 +78,33 @@ module PulpContainerClient
78
78
 
79
79
  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
80
80
  if @api_client.config.debugging
81
- @api_client.config.logger.debug "API called: UsersApi#create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
81
+ @api_client.config.logger.debug "API called: UsersApi#users_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
82
82
  end
83
83
  return data, status_code, headers
84
84
  end
85
85
 
86
86
  # Delete an user
87
- # ViewSet for User.
87
+ # ViewSet for User. NOTE: This API endpoint is in \"tech preview\" and subject to change
88
88
  # @param auth_user_href [String]
89
89
  # @param [Hash] opts the optional parameters
90
90
  # @return [nil]
91
- def delete(auth_user_href, opts = {})
92
- delete_with_http_info(auth_user_href, opts)
91
+ def users_delete(auth_user_href, opts = {})
92
+ users_delete_with_http_info(auth_user_href, opts)
93
93
  nil
94
94
  end
95
95
 
96
96
  # Delete an user
97
- # ViewSet for User.
97
+ # ViewSet for User. NOTE: This API endpoint is in \&quot;tech preview\&quot; and subject to change
98
98
  # @param auth_user_href [String]
99
99
  # @param [Hash] opts the optional parameters
100
100
  # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
101
- def delete_with_http_info(auth_user_href, opts = {})
101
+ def users_delete_with_http_info(auth_user_href, opts = {})
102
102
  if @api_client.config.debugging
103
- @api_client.config.logger.debug 'Calling API: UsersApi.delete ...'
103
+ @api_client.config.logger.debug 'Calling API: UsersApi.users_delete ...'
104
104
  end
105
105
  # verify the required parameter 'auth_user_href' is set
106
106
  if @api_client.config.client_side_validation && auth_user_href.nil?
107
- fail ArgumentError, "Missing the required parameter 'auth_user_href' when calling UsersApi.delete"
107
+ fail ArgumentError, "Missing the required parameter 'auth_user_href' when calling UsersApi.users_delete"
108
108
  end
109
109
  # resource path
110
110
  local_var_path = '{auth_user_href}'.sub('{' + 'auth_user_href' + '}', CGI.escape(auth_user_href.to_s).gsub('%2F', '/'))
@@ -138,13 +138,13 @@ module PulpContainerClient
138
138
 
139
139
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
140
140
  if @api_client.config.debugging
141
- @api_client.config.logger.debug "API called: UsersApi#delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
141
+ @api_client.config.logger.debug "API called: UsersApi#users_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
142
142
  end
143
143
  return data, status_code, headers
144
144
  end
145
145
 
146
146
  # List users
147
- # ViewSet for User.
147
+ # ViewSet for User. NOTE: This API endpoint is in \"tech preview\" and subject to change
148
148
  # @param [Hash] opts the optional parameters
149
149
  # @option opts [String] :email Filter results where email matches value
150
150
  # @option opts [String] :email__contains Filter results where email contains value
@@ -165,9 +165,7 @@ module PulpContainerClient
165
165
  # @option opts [Array<String>] :last_name__in Filter results where last_name is in a comma-separated list of values
166
166
  # @option opts [Integer] :limit Number of results to return per page.
167
167
  # @option opts [Integer] :offset The initial index from which to return the results.
168
- # @option opts [Array<String>] :ordering Ordering * &#x60;id&#x60; - Id * &#x60;-id&#x60; - Id (descending) * &#x60;password&#x60; - Password * &#x60;-password&#x60; - Password (descending) * &#x60;last_login&#x60; - Last login * &#x60;-last_login&#x60; - Last login (descending) * &#x60;is_superuser&#x60; - Is superuser * &#x60;-is_superuser&#x60; - Is superuser (descending) * &#x60;username&#x60; - Username * &#x60;-username&#x60; - Username (descending) * &#x60;first_name&#x60; - First name * &#x60;-first_name&#x60; - First name (descending) * &#x60;last_name&#x60; - Last name * &#x60;-last_name&#x60; - Last name (descending) * &#x60;email&#x60; - Email * &#x60;-email&#x60; - Email (descending) * &#x60;is_staff&#x60; - Is staff * &#x60;-is_staff&#x60; - Is staff (descending) * &#x60;is_active&#x60; - Is active * &#x60;-is_active&#x60; - Is active (descending) * &#x60;date_joined&#x60; - Date joined * &#x60;-date_joined&#x60; - Date joined (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
169
- # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
170
- # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
168
+ # @option opts [Array<String>] :ordering Ordering
171
169
  # @option opts [String] :username Filter results where username matches value
172
170
  # @option opts [String] :username__contains Filter results where username contains value
173
171
  # @option opts [String] :username__icontains Filter results where username contains value
@@ -176,13 +174,13 @@ module PulpContainerClient
176
174
  # @option opts [Array<String>] :fields A list of fields to include in the response.
177
175
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
178
176
  # @return [PaginatedUserResponseList]
179
- def list(opts = {})
180
- data, _status_code, _headers = list_with_http_info(opts)
177
+ def users_list(opts = {})
178
+ data, _status_code, _headers = users_list_with_http_info(opts)
181
179
  data
182
180
  end
183
181
 
184
182
  # List users
185
- # ViewSet for User.
183
+ # ViewSet for User. NOTE: This API endpoint is in \&quot;tech preview\&quot; and subject to change
186
184
  # @param [Hash] opts the optional parameters
187
185
  # @option opts [String] :email Filter results where email matches value
188
186
  # @option opts [String] :email__contains Filter results where email contains value
@@ -203,9 +201,7 @@ module PulpContainerClient
203
201
  # @option opts [Array<String>] :last_name__in Filter results where last_name is in a comma-separated list of values
204
202
  # @option opts [Integer] :limit Number of results to return per page.
205
203
  # @option opts [Integer] :offset The initial index from which to return the results.
206
- # @option opts [Array<String>] :ordering Ordering * &#x60;id&#x60; - Id * &#x60;-id&#x60; - Id (descending) * &#x60;password&#x60; - Password * &#x60;-password&#x60; - Password (descending) * &#x60;last_login&#x60; - Last login * &#x60;-last_login&#x60; - Last login (descending) * &#x60;is_superuser&#x60; - Is superuser * &#x60;-is_superuser&#x60; - Is superuser (descending) * &#x60;username&#x60; - Username * &#x60;-username&#x60; - Username (descending) * &#x60;first_name&#x60; - First name * &#x60;-first_name&#x60; - First name (descending) * &#x60;last_name&#x60; - Last name * &#x60;-last_name&#x60; - Last name (descending) * &#x60;email&#x60; - Email * &#x60;-email&#x60; - Email (descending) * &#x60;is_staff&#x60; - Is staff * &#x60;-is_staff&#x60; - Is staff (descending) * &#x60;is_active&#x60; - Is active * &#x60;-is_active&#x60; - Is active (descending) * &#x60;date_joined&#x60; - Date joined * &#x60;-date_joined&#x60; - Date joined (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
207
- # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
208
- # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
204
+ # @option opts [Array<String>] :ordering Ordering
209
205
  # @option opts [String] :username Filter results where username matches value
210
206
  # @option opts [String] :username__contains Filter results where username contains value
211
207
  # @option opts [String] :username__icontains Filter results where username contains value
@@ -214,9 +210,9 @@ module PulpContainerClient
214
210
  # @option opts [Array<String>] :fields A list of fields to include in the response.
215
211
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
216
212
  # @return [Array<(PaginatedUserResponseList, Integer, Hash)>] PaginatedUserResponseList data, response status code and response headers
217
- def list_with_http_info(opts = {})
213
+ def users_list_with_http_info(opts = {})
218
214
  if @api_client.config.debugging
219
- @api_client.config.logger.debug 'Calling API: UsersApi.list ...'
215
+ @api_client.config.logger.debug 'Calling API: UsersApi.users_list ...'
220
216
  end
221
217
  allowable_values = ["-date_joined", "-email", "-first_name", "-id", "-is_active", "-is_staff", "-is_superuser", "-last_login", "-last_name", "-password", "-pk", "-username", "date_joined", "email", "first_name", "id", "is_active", "is_staff", "is_superuser", "last_login", "last_name", "password", "pk", "username"]
222
218
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
@@ -247,8 +243,6 @@ module PulpContainerClient
247
243
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
248
244
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
249
245
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
250
- query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
251
- query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
252
246
  query_params[:'username'] = opts[:'username'] if !opts[:'username'].nil?
253
247
  query_params[:'username__contains'] = opts[:'username__contains'] if !opts[:'username__contains'].nil?
254
248
  query_params[:'username__icontains'] = opts[:'username__icontains'] if !opts[:'username__icontains'].nil?
@@ -285,39 +279,39 @@ module PulpContainerClient
285
279
 
286
280
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
287
281
  if @api_client.config.debugging
288
- @api_client.config.logger.debug "API called: UsersApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
282
+ @api_client.config.logger.debug "API called: UsersApi#users_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
289
283
  end
290
284
  return data, status_code, headers
291
285
  end
292
286
 
293
287
  # Update an user
294
- # ViewSet for User.
288
+ # ViewSet for User. NOTE: This API endpoint is in \"tech preview\" and subject to change
295
289
  # @param auth_user_href [String]
296
290
  # @param patched_user [PatchedUser]
297
291
  # @param [Hash] opts the optional parameters
298
292
  # @return [UserResponse]
299
- def partial_update(auth_user_href, patched_user, opts = {})
300
- data, _status_code, _headers = partial_update_with_http_info(auth_user_href, patched_user, opts)
293
+ def users_partial_update(auth_user_href, patched_user, opts = {})
294
+ data, _status_code, _headers = users_partial_update_with_http_info(auth_user_href, patched_user, opts)
301
295
  data
302
296
  end
303
297
 
304
298
  # Update an user
305
- # ViewSet for User.
299
+ # ViewSet for User. NOTE: This API endpoint is in \&quot;tech preview\&quot; and subject to change
306
300
  # @param auth_user_href [String]
307
301
  # @param patched_user [PatchedUser]
308
302
  # @param [Hash] opts the optional parameters
309
303
  # @return [Array<(UserResponse, Integer, Hash)>] UserResponse data, response status code and response headers
310
- def partial_update_with_http_info(auth_user_href, patched_user, opts = {})
304
+ def users_partial_update_with_http_info(auth_user_href, patched_user, opts = {})
311
305
  if @api_client.config.debugging
312
- @api_client.config.logger.debug 'Calling API: UsersApi.partial_update ...'
306
+ @api_client.config.logger.debug 'Calling API: UsersApi.users_partial_update ...'
313
307
  end
314
308
  # verify the required parameter 'auth_user_href' is set
315
309
  if @api_client.config.client_side_validation && auth_user_href.nil?
316
- fail ArgumentError, "Missing the required parameter 'auth_user_href' when calling UsersApi.partial_update"
310
+ fail ArgumentError, "Missing the required parameter 'auth_user_href' when calling UsersApi.users_partial_update"
317
311
  end
318
312
  # verify the required parameter 'patched_user' is set
319
313
  if @api_client.config.client_side_validation && patched_user.nil?
320
- fail ArgumentError, "Missing the required parameter 'patched_user' when calling UsersApi.partial_update"
314
+ fail ArgumentError, "Missing the required parameter 'patched_user' when calling UsersApi.users_partial_update"
321
315
  end
322
316
  # resource path
323
317
  local_var_path = '{auth_user_href}'.sub('{' + 'auth_user_href' + '}', CGI.escape(auth_user_href.to_s).gsub('%2F', '/'))
@@ -355,37 +349,37 @@ module PulpContainerClient
355
349
 
356
350
  data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
357
351
  if @api_client.config.debugging
358
- @api_client.config.logger.debug "API called: UsersApi#partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
352
+ @api_client.config.logger.debug "API called: UsersApi#users_partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
359
353
  end
360
354
  return data, status_code, headers
361
355
  end
362
356
 
363
357
  # Inspect an user
364
- # ViewSet for User.
358
+ # ViewSet for User. NOTE: This API endpoint is in \"tech preview\" and subject to change
365
359
  # @param auth_user_href [String]
366
360
  # @param [Hash] opts the optional parameters
367
361
  # @option opts [Array<String>] :fields A list of fields to include in the response.
368
362
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
369
363
  # @return [UserResponse]
370
- def read(auth_user_href, opts = {})
371
- data, _status_code, _headers = read_with_http_info(auth_user_href, opts)
364
+ def users_read(auth_user_href, opts = {})
365
+ data, _status_code, _headers = users_read_with_http_info(auth_user_href, opts)
372
366
  data
373
367
  end
374
368
 
375
369
  # Inspect an user
376
- # ViewSet for User.
370
+ # ViewSet for User. NOTE: This API endpoint is in \&quot;tech preview\&quot; and subject to change
377
371
  # @param auth_user_href [String]
378
372
  # @param [Hash] opts the optional parameters
379
373
  # @option opts [Array<String>] :fields A list of fields to include in the response.
380
374
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
381
375
  # @return [Array<(UserResponse, Integer, Hash)>] UserResponse data, response status code and response headers
382
- def read_with_http_info(auth_user_href, opts = {})
376
+ def users_read_with_http_info(auth_user_href, opts = {})
383
377
  if @api_client.config.debugging
384
- @api_client.config.logger.debug 'Calling API: UsersApi.read ...'
378
+ @api_client.config.logger.debug 'Calling API: UsersApi.users_read ...'
385
379
  end
386
380
  # verify the required parameter 'auth_user_href' is set
387
381
  if @api_client.config.client_side_validation && auth_user_href.nil?
388
- fail ArgumentError, "Missing the required parameter 'auth_user_href' when calling UsersApi.read"
382
+ fail ArgumentError, "Missing the required parameter 'auth_user_href' when calling UsersApi.users_read"
389
383
  end
390
384
  # resource path
391
385
  local_var_path = '{auth_user_href}'.sub('{' + 'auth_user_href' + '}', CGI.escape(auth_user_href.to_s).gsub('%2F', '/'))
@@ -423,39 +417,39 @@ module PulpContainerClient
423
417
 
424
418
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
425
419
  if @api_client.config.debugging
426
- @api_client.config.logger.debug "API called: UsersApi#read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
420
+ @api_client.config.logger.debug "API called: UsersApi#users_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
427
421
  end
428
422
  return data, status_code, headers
429
423
  end
430
424
 
431
425
  # Update an user
432
- # ViewSet for User.
426
+ # ViewSet for User. NOTE: This API endpoint is in \"tech preview\" and subject to change
433
427
  # @param auth_user_href [String]
434
428
  # @param user [User]
435
429
  # @param [Hash] opts the optional parameters
436
430
  # @return [UserResponse]
437
- def update(auth_user_href, user, opts = {})
438
- data, _status_code, _headers = update_with_http_info(auth_user_href, user, opts)
431
+ def users_update(auth_user_href, user, opts = {})
432
+ data, _status_code, _headers = users_update_with_http_info(auth_user_href, user, opts)
439
433
  data
440
434
  end
441
435
 
442
436
  # Update an user
443
- # ViewSet for User.
437
+ # ViewSet for User. NOTE: This API endpoint is in \&quot;tech preview\&quot; and subject to change
444
438
  # @param auth_user_href [String]
445
439
  # @param user [User]
446
440
  # @param [Hash] opts the optional parameters
447
441
  # @return [Array<(UserResponse, Integer, Hash)>] UserResponse data, response status code and response headers
448
- def update_with_http_info(auth_user_href, user, opts = {})
442
+ def users_update_with_http_info(auth_user_href, user, opts = {})
449
443
  if @api_client.config.debugging
450
- @api_client.config.logger.debug 'Calling API: UsersApi.update ...'
444
+ @api_client.config.logger.debug 'Calling API: UsersApi.users_update ...'
451
445
  end
452
446
  # verify the required parameter 'auth_user_href' is set
453
447
  if @api_client.config.client_side_validation && auth_user_href.nil?
454
- fail ArgumentError, "Missing the required parameter 'auth_user_href' when calling UsersApi.update"
448
+ fail ArgumentError, "Missing the required parameter 'auth_user_href' when calling UsersApi.users_update"
455
449
  end
456
450
  # verify the required parameter 'user' is set
457
451
  if @api_client.config.client_side_validation && user.nil?
458
- fail ArgumentError, "Missing the required parameter 'user' when calling UsersApi.update"
452
+ fail ArgumentError, "Missing the required parameter 'user' when calling UsersApi.users_update"
459
453
  end
460
454
  # resource path
461
455
  local_var_path = '{auth_user_href}'.sub('{' + 'auth_user_href' + '}', CGI.escape(auth_user_href.to_s).gsub('%2F', '/'))
@@ -493,7 +487,7 @@ module PulpContainerClient
493
487
 
494
488
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
495
489
  if @api_client.config.debugging
496
- @api_client.config.logger.debug "API called: UsersApi#update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
490
+ @api_client.config.logger.debug "API called: UsersApi#users_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
497
491
  end
498
492
  return data, status_code, headers
499
493
  end
@@ -20,33 +20,33 @@ module PulpContainerClient
20
20
  @api_client = api_client
21
21
  end
22
22
  # Create an user role
23
- # ViewSet for UserRole.
23
+ # ViewSet for UserRole. NOTE: This API endpoint is in \"tech preview\" and subject to change
24
24
  # @param auth_user_href [String]
25
25
  # @param user_role [UserRole]
26
26
  # @param [Hash] opts the optional parameters
27
27
  # @return [UserRoleResponse]
28
- def create(auth_user_href, user_role, opts = {})
29
- data, _status_code, _headers = create_with_http_info(auth_user_href, user_role, opts)
28
+ def users_roles_create(auth_user_href, user_role, opts = {})
29
+ data, _status_code, _headers = users_roles_create_with_http_info(auth_user_href, user_role, opts)
30
30
  data
31
31
  end
32
32
 
33
33
  # Create an user role
34
- # ViewSet for UserRole.
34
+ # ViewSet for UserRole. NOTE: This API endpoint is in \&quot;tech preview\&quot; and subject to change
35
35
  # @param auth_user_href [String]
36
36
  # @param user_role [UserRole]
37
37
  # @param [Hash] opts the optional parameters
38
38
  # @return [Array<(UserRoleResponse, Integer, Hash)>] UserRoleResponse data, response status code and response headers
39
- def create_with_http_info(auth_user_href, user_role, opts = {})
39
+ def users_roles_create_with_http_info(auth_user_href, user_role, opts = {})
40
40
  if @api_client.config.debugging
41
- @api_client.config.logger.debug 'Calling API: UsersRolesApi.create ...'
41
+ @api_client.config.logger.debug 'Calling API: UsersRolesApi.users_roles_create ...'
42
42
  end
43
43
  # verify the required parameter 'auth_user_href' is set
44
44
  if @api_client.config.client_side_validation && auth_user_href.nil?
45
- fail ArgumentError, "Missing the required parameter 'auth_user_href' when calling UsersRolesApi.create"
45
+ fail ArgumentError, "Missing the required parameter 'auth_user_href' when calling UsersRolesApi.users_roles_create"
46
46
  end
47
47
  # verify the required parameter 'user_role' is set
48
48
  if @api_client.config.client_side_validation && user_role.nil?
49
- fail ArgumentError, "Missing the required parameter 'user_role' when calling UsersRolesApi.create"
49
+ fail ArgumentError, "Missing the required parameter 'user_role' when calling UsersRolesApi.users_roles_create"
50
50
  end
51
51
  # resource path
52
52
  local_var_path = '{auth_user_href}roles/'.sub('{' + 'auth_user_href' + '}', CGI.escape(auth_user_href.to_s).gsub('%2F', '/'))
@@ -84,33 +84,33 @@ module PulpContainerClient
84
84
 
85
85
  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
86
86
  if @api_client.config.debugging
87
- @api_client.config.logger.debug "API called: UsersRolesApi#create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
87
+ @api_client.config.logger.debug "API called: UsersRolesApi#users_roles_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
88
88
  end
89
89
  return data, status_code, headers
90
90
  end
91
91
 
92
92
  # Delete an user role
93
- # ViewSet for UserRole.
93
+ # ViewSet for UserRole. NOTE: This API endpoint is in \"tech preview\" and subject to change
94
94
  # @param auth_users_user_role_href [String]
95
95
  # @param [Hash] opts the optional parameters
96
96
  # @return [nil]
97
- def delete(auth_users_user_role_href, opts = {})
98
- delete_with_http_info(auth_users_user_role_href, opts)
97
+ def users_roles_delete(auth_users_user_role_href, opts = {})
98
+ users_roles_delete_with_http_info(auth_users_user_role_href, opts)
99
99
  nil
100
100
  end
101
101
 
102
102
  # Delete an user role
103
- # ViewSet for UserRole.
103
+ # ViewSet for UserRole. NOTE: This API endpoint is in \&quot;tech preview\&quot; and subject to change
104
104
  # @param auth_users_user_role_href [String]
105
105
  # @param [Hash] opts the optional parameters
106
106
  # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
107
- def delete_with_http_info(auth_users_user_role_href, opts = {})
107
+ def users_roles_delete_with_http_info(auth_users_user_role_href, opts = {})
108
108
  if @api_client.config.debugging
109
- @api_client.config.logger.debug 'Calling API: UsersRolesApi.delete ...'
109
+ @api_client.config.logger.debug 'Calling API: UsersRolesApi.users_roles_delete ...'
110
110
  end
111
111
  # verify the required parameter 'auth_users_user_role_href' is set
112
112
  if @api_client.config.client_side_validation && auth_users_user_role_href.nil?
113
- fail ArgumentError, "Missing the required parameter 'auth_users_user_role_href' when calling UsersRolesApi.delete"
113
+ fail ArgumentError, "Missing the required parameter 'auth_users_user_role_href' when calling UsersRolesApi.users_roles_delete"
114
114
  end
115
115
  # resource path
116
116
  local_var_path = '{auth_users_user_role_href}'.sub('{' + 'auth_users_user_role_href' + '}', CGI.escape(auth_users_user_role_href.to_s).gsub('%2F', '/'))
@@ -144,22 +144,19 @@ module PulpContainerClient
144
144
 
145
145
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
146
146
  if @api_client.config.debugging
147
- @api_client.config.logger.debug "API called: UsersRolesApi#delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
147
+ @api_client.config.logger.debug "API called: UsersRolesApi#users_roles_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
148
148
  end
149
149
  return data, status_code, headers
150
150
  end
151
151
 
152
152
  # List user roles
153
- # ViewSet for UserRole.
153
+ # ViewSet for UserRole. NOTE: This API endpoint is in \"tech preview\" and subject to change
154
154
  # @param auth_user_href [String]
155
155
  # @param [Hash] opts the optional parameters
156
156
  # @option opts [String] :content_object content_object
157
- # @option opts [String] :domain Foreign Key referenced by HREF
158
157
  # @option opts [Integer] :limit Number of results to return per page.
159
158
  # @option opts [Integer] :offset The initial index from which to return the results.
160
- # @option opts [Array<String>] :ordering Ordering * &#x60;role&#x60; - Role * &#x60;-role&#x60; - Role (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
161
- # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
162
- # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
159
+ # @option opts [Array<String>] :ordering Ordering
163
160
  # @option opts [String] :role
164
161
  # @option opts [String] :role__contains
165
162
  # @option opts [String] :role__icontains
@@ -168,22 +165,19 @@ module PulpContainerClient
168
165
  # @option opts [Array<String>] :fields A list of fields to include in the response.
169
166
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
170
167
  # @return [PaginatedUserRoleResponseList]
171
- def list(auth_user_href, opts = {})
172
- data, _status_code, _headers = list_with_http_info(auth_user_href, opts)
168
+ def users_roles_list(auth_user_href, opts = {})
169
+ data, _status_code, _headers = users_roles_list_with_http_info(auth_user_href, opts)
173
170
  data
174
171
  end
175
172
 
176
173
  # List user roles
177
- # ViewSet for UserRole.
174
+ # ViewSet for UserRole. NOTE: This API endpoint is in \&quot;tech preview\&quot; and subject to change
178
175
  # @param auth_user_href [String]
179
176
  # @param [Hash] opts the optional parameters
180
177
  # @option opts [String] :content_object content_object
181
- # @option opts [String] :domain Foreign Key referenced by HREF
182
178
  # @option opts [Integer] :limit Number of results to return per page.
183
179
  # @option opts [Integer] :offset The initial index from which to return the results.
184
- # @option opts [Array<String>] :ordering Ordering * &#x60;role&#x60; - Role * &#x60;-role&#x60; - Role (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
185
- # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
186
- # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
180
+ # @option opts [Array<String>] :ordering Ordering
187
181
  # @option opts [String] :role
188
182
  # @option opts [String] :role__contains
189
183
  # @option opts [String] :role__icontains
@@ -192,13 +186,13 @@ module PulpContainerClient
192
186
  # @option opts [Array<String>] :fields A list of fields to include in the response.
193
187
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
194
188
  # @return [Array<(PaginatedUserRoleResponseList, Integer, Hash)>] PaginatedUserRoleResponseList data, response status code and response headers
195
- def list_with_http_info(auth_user_href, opts = {})
189
+ def users_roles_list_with_http_info(auth_user_href, opts = {})
196
190
  if @api_client.config.debugging
197
- @api_client.config.logger.debug 'Calling API: UsersRolesApi.list ...'
191
+ @api_client.config.logger.debug 'Calling API: UsersRolesApi.users_roles_list ...'
198
192
  end
199
193
  # verify the required parameter 'auth_user_href' is set
200
194
  if @api_client.config.client_side_validation && auth_user_href.nil?
201
- fail ArgumentError, "Missing the required parameter 'auth_user_href' when calling UsersRolesApi.list"
195
+ fail ArgumentError, "Missing the required parameter 'auth_user_href' when calling UsersRolesApi.users_roles_list"
202
196
  end
203
197
  allowable_values = ["-description", "-pk", "-pulp_created", "-role", "description", "pk", "pulp_created", "role"]
204
198
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
@@ -210,12 +204,9 @@ module PulpContainerClient
210
204
  # query parameters
211
205
  query_params = opts[:query_params] || {}
212
206
  query_params[:'content_object'] = opts[:'content_object'] if !opts[:'content_object'].nil?
213
- query_params[:'domain'] = opts[:'domain'] if !opts[:'domain'].nil?
214
207
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
215
208
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
216
209
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
217
- query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
218
- query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
219
210
  query_params[:'role'] = opts[:'role'] if !opts[:'role'].nil?
220
211
  query_params[:'role__contains'] = opts[:'role__contains'] if !opts[:'role__contains'].nil?
221
212
  query_params[:'role__icontains'] = opts[:'role__icontains'] if !opts[:'role__icontains'].nil?
@@ -252,37 +243,37 @@ module PulpContainerClient
252
243
 
253
244
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
254
245
  if @api_client.config.debugging
255
- @api_client.config.logger.debug "API called: UsersRolesApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
246
+ @api_client.config.logger.debug "API called: UsersRolesApi#users_roles_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
256
247
  end
257
248
  return data, status_code, headers
258
249
  end
259
250
 
260
251
  # Inspect an user role
261
- # ViewSet for UserRole.
252
+ # ViewSet for UserRole. NOTE: This API endpoint is in \"tech preview\" and subject to change
262
253
  # @param auth_users_user_role_href [String]
263
254
  # @param [Hash] opts the optional parameters
264
255
  # @option opts [Array<String>] :fields A list of fields to include in the response.
265
256
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
266
257
  # @return [UserRoleResponse]
267
- def read(auth_users_user_role_href, opts = {})
268
- data, _status_code, _headers = read_with_http_info(auth_users_user_role_href, opts)
258
+ def users_roles_read(auth_users_user_role_href, opts = {})
259
+ data, _status_code, _headers = users_roles_read_with_http_info(auth_users_user_role_href, opts)
269
260
  data
270
261
  end
271
262
 
272
263
  # Inspect an user role
273
- # ViewSet for UserRole.
264
+ # ViewSet for UserRole. NOTE: This API endpoint is in \&quot;tech preview\&quot; and subject to change
274
265
  # @param auth_users_user_role_href [String]
275
266
  # @param [Hash] opts the optional parameters
276
267
  # @option opts [Array<String>] :fields A list of fields to include in the response.
277
268
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
278
269
  # @return [Array<(UserRoleResponse, Integer, Hash)>] UserRoleResponse data, response status code and response headers
279
- def read_with_http_info(auth_users_user_role_href, opts = {})
270
+ def users_roles_read_with_http_info(auth_users_user_role_href, opts = {})
280
271
  if @api_client.config.debugging
281
- @api_client.config.logger.debug 'Calling API: UsersRolesApi.read ...'
272
+ @api_client.config.logger.debug 'Calling API: UsersRolesApi.users_roles_read ...'
282
273
  end
283
274
  # verify the required parameter 'auth_users_user_role_href' is set
284
275
  if @api_client.config.client_side_validation && auth_users_user_role_href.nil?
285
- fail ArgumentError, "Missing the required parameter 'auth_users_user_role_href' when calling UsersRolesApi.read"
276
+ fail ArgumentError, "Missing the required parameter 'auth_users_user_role_href' when calling UsersRolesApi.users_roles_read"
286
277
  end
287
278
  # resource path
288
279
  local_var_path = '{auth_users_user_role_href}'.sub('{' + 'auth_users_user_role_href' + '}', CGI.escape(auth_users_user_role_href.to_s).gsub('%2F', '/'))
@@ -320,7 +311,7 @@ module PulpContainerClient
320
311
 
321
312
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
322
313
  if @api_client.config.debugging
323
- @api_client.config.logger.debug "API called: UsersRolesApi#read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
314
+ @api_client.config.logger.debug "API called: UsersRolesApi#users_roles_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
324
315
  end
325
316
  return data, status_code, headers
326
317
  end
@@ -37,14 +37,12 @@ module PulpContainerClient
37
37
  # @option opts [String] :name__startswith Filter results where name starts with value
38
38
  # @option opts [Integer] :offset The initial index from which to return the results.
39
39
  # @option opts [Boolean] :online
40
- # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;last_heartbeat&#x60; - Last heartbeat * &#x60;-last_heartbeat&#x60; - Last heartbeat (descending) * &#x60;versions&#x60; - Versions * &#x60;-versions&#x60; - Versions (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
41
- # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
42
- # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
40
+ # @option opts [Array<String>] :ordering Ordering
43
41
  # @option opts [Array<String>] :fields A list of fields to include in the response.
44
42
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
45
43
  # @return [PaginatedWorkerResponseList]
46
- def list(opts = {})
47
- data, _status_code, _headers = list_with_http_info(opts)
44
+ def workers_list(opts = {})
45
+ data, _status_code, _headers = workers_list_with_http_info(opts)
48
46
  data
49
47
  end
50
48
 
@@ -66,17 +64,15 @@ module PulpContainerClient
66
64
  # @option opts [String] :name__startswith Filter results where name starts with value
67
65
  # @option opts [Integer] :offset The initial index from which to return the results.
68
66
  # @option opts [Boolean] :online
69
- # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;last_heartbeat&#x60; - Last heartbeat * &#x60;-last_heartbeat&#x60; - Last heartbeat (descending) * &#x60;versions&#x60; - Versions * &#x60;-versions&#x60; - Versions (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
70
- # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
71
- # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
67
+ # @option opts [Array<String>] :ordering Ordering
72
68
  # @option opts [Array<String>] :fields A list of fields to include in the response.
73
69
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
74
70
  # @return [Array<(PaginatedWorkerResponseList, Integer, Hash)>] PaginatedWorkerResponseList data, response status code and response headers
75
- def list_with_http_info(opts = {})
71
+ def workers_list_with_http_info(opts = {})
76
72
  if @api_client.config.debugging
77
- @api_client.config.logger.debug 'Calling API: WorkersApi.list ...'
73
+ @api_client.config.logger.debug 'Calling API: WorkersApi.workers_list ...'
78
74
  end
79
- allowable_values = ["-last_heartbeat", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-versions", "last_heartbeat", "name", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "versions"]
75
+ allowable_values = ["-last_heartbeat", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "last_heartbeat", "name", "pk", "pulp_created", "pulp_id", "pulp_last_updated"]
80
76
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
81
77
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
82
78
  end
@@ -101,8 +97,6 @@ module PulpContainerClient
101
97
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
102
98
  query_params[:'online'] = opts[:'online'] if !opts[:'online'].nil?
103
99
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
104
- query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
105
- query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
106
100
  query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
107
101
  query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
108
102
 
@@ -134,7 +128,7 @@ module PulpContainerClient
134
128
 
135
129
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
136
130
  if @api_client.config.debugging
137
- @api_client.config.logger.debug "API called: WorkersApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
131
+ @api_client.config.logger.debug "API called: WorkersApi#workers_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
138
132
  end
139
133
  return data, status_code, headers
140
134
  end
@@ -146,8 +140,8 @@ module PulpContainerClient
146
140
  # @option opts [Array<String>] :fields A list of fields to include in the response.
147
141
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
148
142
  # @return [WorkerResponse]
149
- def read(worker_href, opts = {})
150
- data, _status_code, _headers = read_with_http_info(worker_href, opts)
143
+ def workers_read(worker_href, opts = {})
144
+ data, _status_code, _headers = workers_read_with_http_info(worker_href, opts)
151
145
  data
152
146
  end
153
147
 
@@ -158,13 +152,13 @@ module PulpContainerClient
158
152
  # @option opts [Array<String>] :fields A list of fields to include in the response.
159
153
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
160
154
  # @return [Array<(WorkerResponse, Integer, Hash)>] WorkerResponse data, response status code and response headers
161
- def read_with_http_info(worker_href, opts = {})
155
+ def workers_read_with_http_info(worker_href, opts = {})
162
156
  if @api_client.config.debugging
163
- @api_client.config.logger.debug 'Calling API: WorkersApi.read ...'
157
+ @api_client.config.logger.debug 'Calling API: WorkersApi.workers_read ...'
164
158
  end
165
159
  # verify the required parameter 'worker_href' is set
166
160
  if @api_client.config.client_side_validation && worker_href.nil?
167
- fail ArgumentError, "Missing the required parameter 'worker_href' when calling WorkersApi.read"
161
+ fail ArgumentError, "Missing the required parameter 'worker_href' when calling WorkersApi.workers_read"
168
162
  end
169
163
  # resource path
170
164
  local_var_path = '{worker_href}'.sub('{' + 'worker_href' + '}', CGI.escape(worker_href.to_s).gsub('%2F', '/'))
@@ -202,7 +196,7 @@ module PulpContainerClient
202
196
 
203
197
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
204
198
  if @api_client.config.debugging
205
- @api_client.config.logger.debug "API called: WorkersApi#read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
199
+ @api_client.config.logger.debug "API called: WorkersApi#workers_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
206
200
  end
207
201
  return data, status_code, headers
208
202
  end