pulpcore_client 3.21.32 → 3.21.34

Sign up to get free protection for your applications and to get access to all the features.
Files changed (110) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +139 -141
  3. data/docs/AccessPoliciesApi.md +25 -25
  4. data/docs/ArtifactsApi.md +20 -20
  5. data/docs/ContentApi.md +5 -5
  6. data/docs/ContentguardsApi.md +5 -5
  7. data/docs/ContentguardsContentRedirectApi.md +50 -50
  8. data/docs/ContentguardsRbacApi.md +50 -50
  9. data/docs/DistributionsApi.md +5 -5
  10. data/docs/ExportersFilesystemApi.md +30 -30
  11. data/docs/ExportersFilesystemExportsApi.md +20 -20
  12. data/docs/ExportersPulpApi.md +30 -30
  13. data/docs/ExportersPulpExportsApi.md +20 -20
  14. data/docs/GroupsApi.md +50 -50
  15. data/docs/GroupsRolesApi.md +20 -20
  16. data/docs/GroupsUsersApi.md +15 -15
  17. data/docs/ImportersPulpApi.md +30 -30
  18. data/docs/ImportersPulpImportsApi.md +20 -20
  19. data/docs/OrphansApi.md +5 -5
  20. data/docs/OrphansCleanupApi.md +5 -5
  21. data/docs/PublicationsApi.md +5 -5
  22. data/docs/RemotesApi.md +5 -5
  23. data/docs/RepairApi.md +5 -5
  24. data/docs/RepositoriesApi.md +5 -5
  25. data/docs/RepositoriesReclaimSpaceApi.md +5 -5
  26. data/docs/RepositoryVersionsApi.md +5 -5
  27. data/docs/RolesApi.md +30 -30
  28. data/docs/SigningServicesApi.md +10 -10
  29. data/docs/TaskGroupsApi.md +10 -10
  30. data/docs/TaskSchedulesApi.md +30 -30
  31. data/docs/TasksApi.md +95 -95
  32. data/docs/UploadsApi.md +50 -50
  33. data/docs/UsersApi.md +30 -30
  34. data/docs/UsersRolesApi.md +20 -20
  35. data/docs/WorkersApi.md +10 -10
  36. data/lib/pulpcore_client/api/access_policies_api.rb +31 -31
  37. data/lib/pulpcore_client/api/artifacts_api.rb +29 -29
  38. data/lib/pulpcore_client/api/content_api.rb +5 -5
  39. data/lib/pulpcore_client/api/contentguards_api.rb +5 -5
  40. data/lib/pulpcore_client/api/contentguards_content_redirect_api.rb +63 -63
  41. data/lib/pulpcore_client/api/contentguards_rbac_api.rb +63 -63
  42. data/lib/pulpcore_client/api/distributions_api.rb +5 -5
  43. data/lib/pulpcore_client/api/exporters_filesystem_api.rb +37 -37
  44. data/lib/pulpcore_client/api/exporters_filesystem_exports_api.rb +25 -25
  45. data/lib/pulpcore_client/api/exporters_pulp_api.rb +37 -37
  46. data/lib/pulpcore_client/api/exporters_pulp_exports_api.rb +25 -25
  47. data/lib/pulpcore_client/api/groups_api.rb +63 -63
  48. data/lib/pulpcore_client/api/groups_roles_api.rb +25 -25
  49. data/lib/pulpcore_client/api/groups_users_api.rb +19 -19
  50. data/lib/pulpcore_client/api/importers_pulp_api.rb +37 -37
  51. data/lib/pulpcore_client/api/importers_pulp_imports_api.rb +25 -25
  52. data/lib/pulpcore_client/api/orphans_api.rb +5 -5
  53. data/lib/pulpcore_client/api/orphans_cleanup_api.rb +6 -6
  54. data/lib/pulpcore_client/api/publications_api.rb +5 -5
  55. data/lib/pulpcore_client/api/remotes_api.rb +5 -5
  56. data/lib/pulpcore_client/api/repair_api.rb +6 -6
  57. data/lib/pulpcore_client/api/repositories_api.rb +5 -5
  58. data/lib/pulpcore_client/api/repositories_reclaim_space_api.rb +6 -6
  59. data/lib/pulpcore_client/api/repository_versions_api.rb +5 -5
  60. data/lib/pulpcore_client/api/roles_api.rb +37 -37
  61. data/lib/pulpcore_client/api/signing_services_api.rb +11 -11
  62. data/lib/pulpcore_client/api/task_groups_api.rb +11 -11
  63. data/lib/pulpcore_client/api/task_schedules_api.rb +37 -37
  64. data/lib/pulpcore_client/api/tasks_api.rb +119 -119
  65. data/lib/pulpcore_client/api/uploads_api.rb +65 -65
  66. data/lib/pulpcore_client/api/users_api.rb +37 -37
  67. data/lib/pulpcore_client/api/users_roles_api.rb +25 -25
  68. data/lib/pulpcore_client/api/workers_api.rb +11 -11
  69. data/lib/pulpcore_client/version.rb +1 -1
  70. data/lib/pulpcore_client.rb +0 -2
  71. data/spec/api/access_policies_api_spec.rb +10 -10
  72. data/spec/api/artifacts_api_spec.rb +8 -8
  73. data/spec/api/content_api_spec.rb +2 -2
  74. data/spec/api/contentguards_api_spec.rb +2 -2
  75. data/spec/api/contentguards_content_redirect_api_spec.rb +20 -20
  76. data/spec/api/contentguards_rbac_api_spec.rb +20 -20
  77. data/spec/api/distributions_api_spec.rb +2 -2
  78. data/spec/api/exporters_filesystem_api_spec.rb +12 -12
  79. data/spec/api/exporters_filesystem_exports_api_spec.rb +8 -8
  80. data/spec/api/exporters_pulp_api_spec.rb +12 -12
  81. data/spec/api/exporters_pulp_exports_api_spec.rb +8 -8
  82. data/spec/api/groups_api_spec.rb +20 -20
  83. data/spec/api/groups_roles_api_spec.rb +8 -8
  84. data/spec/api/groups_users_api_spec.rb +6 -6
  85. data/spec/api/importers_pulp_api_spec.rb +12 -12
  86. data/spec/api/importers_pulp_imports_api_spec.rb +8 -8
  87. data/spec/api/orphans_api_spec.rb +2 -2
  88. data/spec/api/orphans_cleanup_api_spec.rb +2 -2
  89. data/spec/api/publications_api_spec.rb +2 -2
  90. data/spec/api/remotes_api_spec.rb +2 -2
  91. data/spec/api/repair_api_spec.rb +2 -2
  92. data/spec/api/repositories_api_spec.rb +2 -2
  93. data/spec/api/repositories_reclaim_space_api_spec.rb +2 -2
  94. data/spec/api/repository_versions_api_spec.rb +2 -2
  95. data/spec/api/roles_api_spec.rb +12 -12
  96. data/spec/api/signing_services_api_spec.rb +4 -4
  97. data/spec/api/task_groups_api_spec.rb +4 -4
  98. data/spec/api/task_schedules_api_spec.rb +12 -12
  99. data/spec/api/tasks_api_spec.rb +29 -29
  100. data/spec/api/uploads_api_spec.rb +20 -20
  101. data/spec/api/users_api_spec.rb +12 -12
  102. data/spec/api/users_roles_api_spec.rb +8 -8
  103. data/spec/api/workers_api_spec.rb +4 -4
  104. metadata +127 -135
  105. data/docs/DocsApiJsonApi.md +0 -61
  106. data/docs/DocsApiYamlApi.md +0 -61
  107. data/lib/pulpcore_client/api/docs_api_json_api.rb +0 -89
  108. data/lib/pulpcore_client/api/docs_api_yaml_api.rb +0 -89
  109. data/spec/api/docs_api_json_api_spec.rb +0 -48
  110. data/spec/api/docs_api_yaml_api_spec.rb +0 -48
@@ -23,8 +23,8 @@ module PulpcoreClient
23
23
  # DEPRECATED! Trigger an asynchronous task that deletes all orphaned content and artifacts. Use the `POST /pulp/api/v3/orphans/cleanup/` call instead.
24
24
  # @param [Hash] opts the optional parameters
25
25
  # @return [AsyncOperationResponse]
26
- def orphans_delete(opts = {})
27
- data, _status_code, _headers = orphans_delete_with_http_info(opts)
26
+ def delete(opts = {})
27
+ data, _status_code, _headers = delete_with_http_info(opts)
28
28
  data
29
29
  end
30
30
 
@@ -32,9 +32,9 @@ module PulpcoreClient
32
32
  # DEPRECATED! Trigger an asynchronous task that deletes all orphaned content and artifacts. Use the `POST /pulp/api/v3/orphans/cleanup/` call instead.
33
33
  # @param [Hash] opts the optional parameters
34
34
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
35
- def orphans_delete_with_http_info(opts = {})
35
+ def delete_with_http_info(opts = {})
36
36
  if @api_client.config.debugging
37
- @api_client.config.logger.debug 'Calling API: OrphansApi.orphans_delete ...'
37
+ @api_client.config.logger.debug 'Calling API: OrphansApi.delete ...'
38
38
  end
39
39
  # resource path
40
40
  local_var_path = '/pulp/api/v3/orphans/'
@@ -70,7 +70,7 @@ module PulpcoreClient
70
70
 
71
71
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
72
72
  if @api_client.config.debugging
73
- @api_client.config.logger.debug "API called: OrphansApi#orphans_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
73
+ @api_client.config.logger.debug "API called: OrphansApi#delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
74
74
  end
75
75
  return data, status_code, headers
76
76
  end
@@ -23,8 +23,8 @@ module PulpcoreClient
23
23
  # @param orphans_cleanup [OrphansCleanup]
24
24
  # @param [Hash] opts the optional parameters
25
25
  # @return [AsyncOperationResponse]
26
- def orphans_cleanup_cleanup(orphans_cleanup, opts = {})
27
- data, _status_code, _headers = orphans_cleanup_cleanup_with_http_info(orphans_cleanup, opts)
26
+ def cleanup(orphans_cleanup, opts = {})
27
+ data, _status_code, _headers = cleanup_with_http_info(orphans_cleanup, opts)
28
28
  data
29
29
  end
30
30
 
@@ -32,13 +32,13 @@ module PulpcoreClient
32
32
  # @param orphans_cleanup [OrphansCleanup]
33
33
  # @param [Hash] opts the optional parameters
34
34
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
35
- def orphans_cleanup_cleanup_with_http_info(orphans_cleanup, opts = {})
35
+ def cleanup_with_http_info(orphans_cleanup, opts = {})
36
36
  if @api_client.config.debugging
37
- @api_client.config.logger.debug 'Calling API: OrphansCleanupApi.orphans_cleanup_cleanup ...'
37
+ @api_client.config.logger.debug 'Calling API: OrphansCleanupApi.cleanup ...'
38
38
  end
39
39
  # verify the required parameter 'orphans_cleanup' is set
40
40
  if @api_client.config.client_side_validation && orphans_cleanup.nil?
41
- fail ArgumentError, "Missing the required parameter 'orphans_cleanup' when calling OrphansCleanupApi.orphans_cleanup_cleanup"
41
+ fail ArgumentError, "Missing the required parameter 'orphans_cleanup' when calling OrphansCleanupApi.cleanup"
42
42
  end
43
43
  # resource path
44
44
  local_var_path = '/pulp/api/v3/orphans/cleanup/'
@@ -76,7 +76,7 @@ module PulpcoreClient
76
76
 
77
77
  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
78
78
  if @api_client.config.debugging
79
- @api_client.config.logger.debug "API called: OrphansCleanupApi#orphans_cleanup_cleanup\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
79
+ @api_client.config.logger.debug "API called: OrphansCleanupApi#cleanup\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
80
80
  end
81
81
  return data, status_code, headers
82
82
  end
@@ -38,8 +38,8 @@ module PulpcoreClient
38
38
  # @option opts [Array<String>] :fields A list of fields to include in the response.
39
39
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
40
40
  # @return [PaginatedPublicationResponseList]
41
- def publications_list(opts = {})
42
- data, _status_code, _headers = publications_list_with_http_info(opts)
41
+ def list(opts = {})
42
+ data, _status_code, _headers = list_with_http_info(opts)
43
43
  data
44
44
  end
45
45
 
@@ -62,9 +62,9 @@ module PulpcoreClient
62
62
  # @option opts [Array<String>] :fields A list of fields to include in the response.
63
63
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
64
64
  # @return [Array<(PaginatedPublicationResponseList, Integer, Hash)>] PaginatedPublicationResponseList data, response status code and response headers
65
- def publications_list_with_http_info(opts = {})
65
+ def list_with_http_info(opts = {})
66
66
  if @api_client.config.debugging
67
- @api_client.config.logger.debug 'Calling API: PublicationsApi.publications_list ...'
67
+ @api_client.config.logger.debug 'Calling API: PublicationsApi.list ...'
68
68
  end
69
69
  allowable_values = ["-complete", "-distribution", "-group_roles", "-pass_through", "-pk", "-published_artifact", "-published_metadata", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-repository_version", "-user_roles", "complete", "distribution", "group_roles", "pass_through", "pk", "published_artifact", "published_metadata", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "repository_version", "user_roles"]
70
70
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
@@ -119,7 +119,7 @@ module PulpcoreClient
119
119
 
120
120
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
121
121
  if @api_client.config.debugging
122
- @api_client.config.logger.debug "API called: PublicationsApi#publications_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
122
+ @api_client.config.logger.debug "API called: PublicationsApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
123
123
  end
124
124
  return data, status_code, headers
125
125
  end
@@ -40,8 +40,8 @@ module PulpcoreClient
40
40
  # @option opts [Array<String>] :fields A list of fields to include in the response.
41
41
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
42
42
  # @return [PaginatedRemoteResponseList]
43
- def remotes_list(opts = {})
44
- data, _status_code, _headers = remotes_list_with_http_info(opts)
43
+ def list(opts = {})
44
+ data, _status_code, _headers = list_with_http_info(opts)
45
45
  data
46
46
  end
47
47
 
@@ -66,9 +66,9 @@ module PulpcoreClient
66
66
  # @option opts [Array<String>] :fields A list of fields to include in the response.
67
67
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
68
68
  # @return [Array<(PaginatedRemoteResponseList, Integer, Hash)>] PaginatedRemoteResponseList data, response status code and response headers
69
- def remotes_list_with_http_info(opts = {})
69
+ def list_with_http_info(opts = {})
70
70
  if @api_client.config.debugging
71
- @api_client.config.logger.debug 'Calling API: RemotesApi.remotes_list ...'
71
+ @api_client.config.logger.debug 'Calling API: RemotesApi.list ...'
72
72
  end
73
73
  allowable_values = ["-alternatecontentsource", "-basedistribution", "-ca_cert", "-client_cert", "-client_key", "-connect_timeout", "-distribution", "-download_concurrency", "-group_roles", "-headers", "-max_retries", "-name", "-password", "-pk", "-policy", "-proxy_password", "-proxy_url", "-proxy_username", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-rate_limit", "-remoteartifact", "-repository", "-sock_connect_timeout", "-sock_read_timeout", "-tls_validation", "-total_timeout", "-url", "-user_roles", "-username", "alternatecontentsource", "basedistribution", "ca_cert", "client_cert", "client_key", "connect_timeout", "distribution", "download_concurrency", "group_roles", "headers", "max_retries", "name", "password", "pk", "policy", "proxy_password", "proxy_url", "proxy_username", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "rate_limit", "remoteartifact", "repository", "sock_connect_timeout", "sock_read_timeout", "tls_validation", "total_timeout", "url", "user_roles", "username"]
74
74
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
@@ -125,7 +125,7 @@ module PulpcoreClient
125
125
 
126
126
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
127
127
  if @api_client.config.debugging
128
- @api_client.config.logger.debug "API called: RemotesApi#remotes_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
128
+ @api_client.config.logger.debug "API called: RemotesApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
129
129
  end
130
130
  return data, status_code, headers
131
131
  end
@@ -24,8 +24,8 @@ module PulpcoreClient
24
24
  # @param repair [Repair]
25
25
  # @param [Hash] opts the optional parameters
26
26
  # @return [AsyncOperationResponse]
27
- def repair_post(repair, opts = {})
28
- data, _status_code, _headers = repair_post_with_http_info(repair, opts)
27
+ def post(repair, opts = {})
28
+ data, _status_code, _headers = post_with_http_info(repair, opts)
29
29
  data
30
30
  end
31
31
 
@@ -34,13 +34,13 @@ module PulpcoreClient
34
34
  # @param repair [Repair]
35
35
  # @param [Hash] opts the optional parameters
36
36
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
37
- def repair_post_with_http_info(repair, opts = {})
37
+ def post_with_http_info(repair, opts = {})
38
38
  if @api_client.config.debugging
39
- @api_client.config.logger.debug 'Calling API: RepairApi.repair_post ...'
39
+ @api_client.config.logger.debug 'Calling API: RepairApi.post ...'
40
40
  end
41
41
  # verify the required parameter 'repair' is set
42
42
  if @api_client.config.client_side_validation && repair.nil?
43
- fail ArgumentError, "Missing the required parameter 'repair' when calling RepairApi.repair_post"
43
+ fail ArgumentError, "Missing the required parameter 'repair' when calling RepairApi.post"
44
44
  end
45
45
  # resource path
46
46
  local_var_path = '/pulp/api/v3/repair/'
@@ -78,7 +78,7 @@ module PulpcoreClient
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: RepairApi#repair_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
81
+ @api_client.config.logger.debug "API called: RepairApi#post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
82
82
  end
83
83
  return data, status_code, headers
84
84
  end
@@ -35,8 +35,8 @@ module PulpcoreClient
35
35
  # @option opts [Array<String>] :fields A list of fields to include in the response.
36
36
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
37
37
  # @return [PaginatedRepositoryResponseList]
38
- def repositories_list(opts = {})
39
- data, _status_code, _headers = repositories_list_with_http_info(opts)
38
+ def list(opts = {})
39
+ data, _status_code, _headers = list_with_http_info(opts)
40
40
  data
41
41
  end
42
42
 
@@ -56,9 +56,9 @@ module PulpcoreClient
56
56
  # @option opts [Array<String>] :fields A list of fields to include in the response.
57
57
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
58
58
  # @return [Array<(PaginatedRepositoryResponseList, Integer, Hash)>] PaginatedRepositoryResponseList data, response status code and response headers
59
- def repositories_list_with_http_info(opts = {})
59
+ def list_with_http_info(opts = {})
60
60
  if @api_client.config.debugging
61
- @api_client.config.logger.debug 'Calling API: RepositoriesApi.repositories_list ...'
61
+ @api_client.config.logger.debug 'Calling API: RepositoriesApi.list ...'
62
62
  end
63
63
  allowable_values = ["-alternatecontentsourcepath", "-content", "-core_pulp_exporter", "-description", "-distributions", "-group_roles", "-name", "-next_version", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-pulpimporterrepository", "-remote", "-repositorycontent", "-retain_repo_versions", "-user_hidden", "-user_roles", "-versions", "alternatecontentsourcepath", "content", "core_pulp_exporter", "description", "distributions", "group_roles", "name", "next_version", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "pulpimporterrepository", "remote", "repositorycontent", "retain_repo_versions", "user_hidden", "user_roles", "versions"]
64
64
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
@@ -110,7 +110,7 @@ module PulpcoreClient
110
110
 
111
111
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
112
112
  if @api_client.config.debugging
113
- @api_client.config.logger.debug "API called: RepositoriesApi#repositories_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
113
+ @api_client.config.logger.debug "API called: RepositoriesApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
114
114
  end
115
115
  return data, status_code, headers
116
116
  end
@@ -23,8 +23,8 @@ module PulpcoreClient
23
23
  # @param reclaim_space [ReclaimSpace]
24
24
  # @param [Hash] opts the optional parameters
25
25
  # @return [AsyncOperationResponse]
26
- def repositories_reclaim_space_reclaim(reclaim_space, opts = {})
27
- data, _status_code, _headers = repositories_reclaim_space_reclaim_with_http_info(reclaim_space, opts)
26
+ def reclaim(reclaim_space, opts = {})
27
+ data, _status_code, _headers = reclaim_with_http_info(reclaim_space, opts)
28
28
  data
29
29
  end
30
30
 
@@ -32,13 +32,13 @@ module PulpcoreClient
32
32
  # @param reclaim_space [ReclaimSpace]
33
33
  # @param [Hash] opts the optional parameters
34
34
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
35
- def repositories_reclaim_space_reclaim_with_http_info(reclaim_space, opts = {})
35
+ def reclaim_with_http_info(reclaim_space, opts = {})
36
36
  if @api_client.config.debugging
37
- @api_client.config.logger.debug 'Calling API: RepositoriesReclaimSpaceApi.repositories_reclaim_space_reclaim ...'
37
+ @api_client.config.logger.debug 'Calling API: RepositoriesReclaimSpaceApi.reclaim ...'
38
38
  end
39
39
  # verify the required parameter 'reclaim_space' is set
40
40
  if @api_client.config.client_side_validation && reclaim_space.nil?
41
- fail ArgumentError, "Missing the required parameter 'reclaim_space' when calling RepositoriesReclaimSpaceApi.repositories_reclaim_space_reclaim"
41
+ fail ArgumentError, "Missing the required parameter 'reclaim_space' when calling RepositoriesReclaimSpaceApi.reclaim"
42
42
  end
43
43
  # resource path
44
44
  local_var_path = '/pulp/api/v3/repositories/reclaim_space/'
@@ -76,7 +76,7 @@ module PulpcoreClient
76
76
 
77
77
  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
78
78
  if @api_client.config.debugging
79
- @api_client.config.logger.debug "API called: RepositoriesReclaimSpaceApi#repositories_reclaim_space_reclaim\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
79
+ @api_client.config.logger.debug "API called: RepositoriesReclaimSpaceApi#reclaim\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
80
80
  end
81
81
  return data, status_code, headers
82
82
  end
@@ -41,8 +41,8 @@ module PulpcoreClient
41
41
  # @option opts [Array<String>] :fields A list of fields to include in the response.
42
42
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
43
43
  # @return [PaginatedRepositoryVersionResponseList]
44
- def repository_versions_list(opts = {})
45
- data, _status_code, _headers = repository_versions_list_with_http_info(opts)
44
+ def list(opts = {})
45
+ data, _status_code, _headers = list_with_http_info(opts)
46
46
  data
47
47
  end
48
48
 
@@ -68,9 +68,9 @@ module PulpcoreClient
68
68
  # @option opts [Array<String>] :fields A list of fields to include in the response.
69
69
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
70
70
  # @return [Array<(PaginatedRepositoryVersionResponseList, Integer, Hash)>] PaginatedRepositoryVersionResponseList data, response status code and response headers
71
- def repository_versions_list_with_http_info(opts = {})
71
+ def list_with_http_info(opts = {})
72
72
  if @api_client.config.debugging
73
- @api_client.config.logger.debug 'Calling API: RepositoryVersionsApi.repository_versions_list ...'
73
+ @api_client.config.logger.debug 'Calling API: RepositoryVersionsApi.list ...'
74
74
  end
75
75
  allowable_values = ["-added_memberships", "-base_version", "-complete", "-counts", "-distribution", "-group_roles", "-info", "-number", "-pk", "-publication", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-removed_memberships", "-repository", "-user_roles", "-versions", "added_memberships", "base_version", "complete", "counts", "distribution", "group_roles", "info", "number", "pk", "publication", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "removed_memberships", "repository", "user_roles", "versions"]
76
76
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
@@ -129,7 +129,7 @@ module PulpcoreClient
129
129
 
130
130
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
131
131
  if @api_client.config.debugging
132
- @api_client.config.logger.debug "API called: RepositoryVersionsApi#repository_versions_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
132
+ @api_client.config.logger.debug "API called: RepositoryVersionsApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
133
133
  end
134
134
  return data, status_code, headers
135
135
  end
@@ -24,8 +24,8 @@ module PulpcoreClient
24
24
  # @param role [Role]
25
25
  # @param [Hash] opts the optional parameters
26
26
  # @return [RoleResponse]
27
- def roles_create(role, opts = {})
28
- data, _status_code, _headers = roles_create_with_http_info(role, opts)
27
+ def create(role, opts = {})
28
+ data, _status_code, _headers = create_with_http_info(role, opts)
29
29
  data
30
30
  end
31
31
 
@@ -34,13 +34,13 @@ module PulpcoreClient
34
34
  # @param role [Role]
35
35
  # @param [Hash] opts the optional parameters
36
36
  # @return [Array<(RoleResponse, Integer, Hash)>] RoleResponse data, response status code and response headers
37
- def roles_create_with_http_info(role, opts = {})
37
+ def create_with_http_info(role, opts = {})
38
38
  if @api_client.config.debugging
39
- @api_client.config.logger.debug 'Calling API: RolesApi.roles_create ...'
39
+ @api_client.config.logger.debug 'Calling API: RolesApi.create ...'
40
40
  end
41
41
  # verify the required parameter 'role' is set
42
42
  if @api_client.config.client_side_validation && role.nil?
43
- fail ArgumentError, "Missing the required parameter 'role' when calling RolesApi.roles_create"
43
+ fail ArgumentError, "Missing the required parameter 'role' when calling RolesApi.create"
44
44
  end
45
45
  # resource path
46
46
  local_var_path = '/pulp/api/v3/roles/'
@@ -78,7 +78,7 @@ module PulpcoreClient
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: RolesApi#roles_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
81
+ @api_client.config.logger.debug "API called: RolesApi#create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
82
82
  end
83
83
  return data, status_code, headers
84
84
  end
@@ -88,8 +88,8 @@ module PulpcoreClient
88
88
  # @param role_href [String]
89
89
  # @param [Hash] opts the optional parameters
90
90
  # @return [nil]
91
- def roles_delete(role_href, opts = {})
92
- roles_delete_with_http_info(role_href, opts)
91
+ def delete(role_href, opts = {})
92
+ delete_with_http_info(role_href, opts)
93
93
  nil
94
94
  end
95
95
 
@@ -98,13 +98,13 @@ module PulpcoreClient
98
98
  # @param role_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 roles_delete_with_http_info(role_href, opts = {})
101
+ def delete_with_http_info(role_href, opts = {})
102
102
  if @api_client.config.debugging
103
- @api_client.config.logger.debug 'Calling API: RolesApi.roles_delete ...'
103
+ @api_client.config.logger.debug 'Calling API: RolesApi.delete ...'
104
104
  end
105
105
  # verify the required parameter 'role_href' is set
106
106
  if @api_client.config.client_side_validation && role_href.nil?
107
- fail ArgumentError, "Missing the required parameter 'role_href' when calling RolesApi.roles_delete"
107
+ fail ArgumentError, "Missing the required parameter 'role_href' when calling RolesApi.delete"
108
108
  end
109
109
  # resource path
110
110
  local_var_path = '{role_href}'.sub('{' + 'role_href' + '}', CGI.escape(role_href.to_s).gsub('%2F', '/'))
@@ -138,7 +138,7 @@ module PulpcoreClient
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: RolesApi#roles_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
141
+ @api_client.config.logger.debug "API called: RolesApi#delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
142
142
  end
143
143
  return data, status_code, headers
144
144
  end
@@ -164,8 +164,8 @@ module PulpcoreClient
164
164
  # @option opts [Array<String>] :fields A list of fields to include in the response.
165
165
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
166
166
  # @return [PaginatedRoleResponseList]
167
- def roles_list(opts = {})
168
- data, _status_code, _headers = roles_list_with_http_info(opts)
167
+ def list(opts = {})
168
+ data, _status_code, _headers = list_with_http_info(opts)
169
169
  data
170
170
  end
171
171
 
@@ -190,9 +190,9 @@ module PulpcoreClient
190
190
  # @option opts [Array<String>] :fields A list of fields to include in the response.
191
191
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
192
192
  # @return [Array<(PaginatedRoleResponseList, Integer, Hash)>] PaginatedRoleResponseList data, response status code and response headers
193
- def roles_list_with_http_info(opts = {})
193
+ def list_with_http_info(opts = {})
194
194
  if @api_client.config.debugging
195
- @api_client.config.logger.debug 'Calling API: RolesApi.roles_list ...'
195
+ @api_client.config.logger.debug 'Calling API: RolesApi.list ...'
196
196
  end
197
197
  allowable_values = ["-description", "-group_roles", "-locked", "-name", "-object_groups", "-object_users", "-permissions", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-user_roles", "description", "group_roles", "locked", "name", "object_groups", "object_users", "permissions", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "user_roles"]
198
198
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
@@ -249,7 +249,7 @@ module PulpcoreClient
249
249
 
250
250
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
251
251
  if @api_client.config.debugging
252
- @api_client.config.logger.debug "API called: RolesApi#roles_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
252
+ @api_client.config.logger.debug "API called: RolesApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
253
253
  end
254
254
  return data, status_code, headers
255
255
  end
@@ -260,8 +260,8 @@ module PulpcoreClient
260
260
  # @param patched_role [PatchedRole]
261
261
  # @param [Hash] opts the optional parameters
262
262
  # @return [RoleResponse]
263
- def roles_partial_update(role_href, patched_role, opts = {})
264
- data, _status_code, _headers = roles_partial_update_with_http_info(role_href, patched_role, opts)
263
+ def partial_update(role_href, patched_role, opts = {})
264
+ data, _status_code, _headers = partial_update_with_http_info(role_href, patched_role, opts)
265
265
  data
266
266
  end
267
267
 
@@ -271,17 +271,17 @@ module PulpcoreClient
271
271
  # @param patched_role [PatchedRole]
272
272
  # @param [Hash] opts the optional parameters
273
273
  # @return [Array<(RoleResponse, Integer, Hash)>] RoleResponse data, response status code and response headers
274
- def roles_partial_update_with_http_info(role_href, patched_role, opts = {})
274
+ def partial_update_with_http_info(role_href, patched_role, opts = {})
275
275
  if @api_client.config.debugging
276
- @api_client.config.logger.debug 'Calling API: RolesApi.roles_partial_update ...'
276
+ @api_client.config.logger.debug 'Calling API: RolesApi.partial_update ...'
277
277
  end
278
278
  # verify the required parameter 'role_href' is set
279
279
  if @api_client.config.client_side_validation && role_href.nil?
280
- fail ArgumentError, "Missing the required parameter 'role_href' when calling RolesApi.roles_partial_update"
280
+ fail ArgumentError, "Missing the required parameter 'role_href' when calling RolesApi.partial_update"
281
281
  end
282
282
  # verify the required parameter 'patched_role' is set
283
283
  if @api_client.config.client_side_validation && patched_role.nil?
284
- fail ArgumentError, "Missing the required parameter 'patched_role' when calling RolesApi.roles_partial_update"
284
+ fail ArgumentError, "Missing the required parameter 'patched_role' when calling RolesApi.partial_update"
285
285
  end
286
286
  # resource path
287
287
  local_var_path = '{role_href}'.sub('{' + 'role_href' + '}', CGI.escape(role_href.to_s).gsub('%2F', '/'))
@@ -319,7 +319,7 @@ module PulpcoreClient
319
319
 
320
320
  data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
321
321
  if @api_client.config.debugging
322
- @api_client.config.logger.debug "API called: RolesApi#roles_partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
322
+ @api_client.config.logger.debug "API called: RolesApi#partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
323
323
  end
324
324
  return data, status_code, headers
325
325
  end
@@ -331,8 +331,8 @@ module PulpcoreClient
331
331
  # @option opts [Array<String>] :fields A list of fields to include in the response.
332
332
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
333
333
  # @return [RoleResponse]
334
- def roles_read(role_href, opts = {})
335
- data, _status_code, _headers = roles_read_with_http_info(role_href, opts)
334
+ def read(role_href, opts = {})
335
+ data, _status_code, _headers = read_with_http_info(role_href, opts)
336
336
  data
337
337
  end
338
338
 
@@ -343,13 +343,13 @@ module PulpcoreClient
343
343
  # @option opts [Array<String>] :fields A list of fields to include in the response.
344
344
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
345
345
  # @return [Array<(RoleResponse, Integer, Hash)>] RoleResponse data, response status code and response headers
346
- def roles_read_with_http_info(role_href, opts = {})
346
+ def read_with_http_info(role_href, opts = {})
347
347
  if @api_client.config.debugging
348
- @api_client.config.logger.debug 'Calling API: RolesApi.roles_read ...'
348
+ @api_client.config.logger.debug 'Calling API: RolesApi.read ...'
349
349
  end
350
350
  # verify the required parameter 'role_href' is set
351
351
  if @api_client.config.client_side_validation && role_href.nil?
352
- fail ArgumentError, "Missing the required parameter 'role_href' when calling RolesApi.roles_read"
352
+ fail ArgumentError, "Missing the required parameter 'role_href' when calling RolesApi.read"
353
353
  end
354
354
  # resource path
355
355
  local_var_path = '{role_href}'.sub('{' + 'role_href' + '}', CGI.escape(role_href.to_s).gsub('%2F', '/'))
@@ -387,7 +387,7 @@ module PulpcoreClient
387
387
 
388
388
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
389
389
  if @api_client.config.debugging
390
- @api_client.config.logger.debug "API called: RolesApi#roles_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
390
+ @api_client.config.logger.debug "API called: RolesApi#read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
391
391
  end
392
392
  return data, status_code, headers
393
393
  end
@@ -398,8 +398,8 @@ module PulpcoreClient
398
398
  # @param role [Role]
399
399
  # @param [Hash] opts the optional parameters
400
400
  # @return [RoleResponse]
401
- def roles_update(role_href, role, opts = {})
402
- data, _status_code, _headers = roles_update_with_http_info(role_href, role, opts)
401
+ def update(role_href, role, opts = {})
402
+ data, _status_code, _headers = update_with_http_info(role_href, role, opts)
403
403
  data
404
404
  end
405
405
 
@@ -409,17 +409,17 @@ module PulpcoreClient
409
409
  # @param role [Role]
410
410
  # @param [Hash] opts the optional parameters
411
411
  # @return [Array<(RoleResponse, Integer, Hash)>] RoleResponse data, response status code and response headers
412
- def roles_update_with_http_info(role_href, role, opts = {})
412
+ def update_with_http_info(role_href, role, opts = {})
413
413
  if @api_client.config.debugging
414
- @api_client.config.logger.debug 'Calling API: RolesApi.roles_update ...'
414
+ @api_client.config.logger.debug 'Calling API: RolesApi.update ...'
415
415
  end
416
416
  # verify the required parameter 'role_href' is set
417
417
  if @api_client.config.client_side_validation && role_href.nil?
418
- fail ArgumentError, "Missing the required parameter 'role_href' when calling RolesApi.roles_update"
418
+ fail ArgumentError, "Missing the required parameter 'role_href' when calling RolesApi.update"
419
419
  end
420
420
  # verify the required parameter 'role' is set
421
421
  if @api_client.config.client_side_validation && role.nil?
422
- fail ArgumentError, "Missing the required parameter 'role' when calling RolesApi.roles_update"
422
+ fail ArgumentError, "Missing the required parameter 'role' when calling RolesApi.update"
423
423
  end
424
424
  # resource path
425
425
  local_var_path = '{role_href}'.sub('{' + 'role_href' + '}', CGI.escape(role_href.to_s).gsub('%2F', '/'))
@@ -457,7 +457,7 @@ module PulpcoreClient
457
457
 
458
458
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
459
459
  if @api_client.config.debugging
460
- @api_client.config.logger.debug "API called: RolesApi#roles_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
460
+ @api_client.config.logger.debug "API called: RolesApi#update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
461
461
  end
462
462
  return data, status_code, headers
463
463
  end
@@ -28,8 +28,8 @@ module PulpcoreClient
28
28
  # @option opts [Array<String>] :fields A list of fields to include in the response.
29
29
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
30
30
  # @return [PaginatedSigningServiceResponseList]
31
- def signing_services_list(opts = {})
32
- data, _status_code, _headers = signing_services_list_with_http_info(opts)
31
+ def list(opts = {})
32
+ data, _status_code, _headers = list_with_http_info(opts)
33
33
  data
34
34
  end
35
35
 
@@ -42,9 +42,9 @@ module PulpcoreClient
42
42
  # @option opts [Array<String>] :fields A list of fields to include in the response.
43
43
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
44
44
  # @return [Array<(PaginatedSigningServiceResponseList, Integer, Hash)>] PaginatedSigningServiceResponseList data, response status code and response headers
45
- def signing_services_list_with_http_info(opts = {})
45
+ def list_with_http_info(opts = {})
46
46
  if @api_client.config.debugging
47
- @api_client.config.logger.debug 'Calling API: SigningServicesApi.signing_services_list ...'
47
+ @api_client.config.logger.debug 'Calling API: SigningServicesApi.list ...'
48
48
  end
49
49
  # resource path
50
50
  local_var_path = '/pulp/api/v3/signing-services/'
@@ -85,7 +85,7 @@ module PulpcoreClient
85
85
 
86
86
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
87
87
  if @api_client.config.debugging
88
- @api_client.config.logger.debug "API called: SigningServicesApi#signing_services_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
88
+ @api_client.config.logger.debug "API called: SigningServicesApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
89
89
  end
90
90
  return data, status_code, headers
91
91
  end
@@ -97,8 +97,8 @@ module PulpcoreClient
97
97
  # @option opts [Array<String>] :fields A list of fields to include in the response.
98
98
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
99
99
  # @return [SigningServiceResponse]
100
- def signing_services_read(signing_service_href, opts = {})
101
- data, _status_code, _headers = signing_services_read_with_http_info(signing_service_href, opts)
100
+ def read(signing_service_href, opts = {})
101
+ data, _status_code, _headers = read_with_http_info(signing_service_href, opts)
102
102
  data
103
103
  end
104
104
 
@@ -109,13 +109,13 @@ module PulpcoreClient
109
109
  # @option opts [Array<String>] :fields A list of fields to include in the response.
110
110
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
111
111
  # @return [Array<(SigningServiceResponse, Integer, Hash)>] SigningServiceResponse data, response status code and response headers
112
- def signing_services_read_with_http_info(signing_service_href, opts = {})
112
+ def read_with_http_info(signing_service_href, opts = {})
113
113
  if @api_client.config.debugging
114
- @api_client.config.logger.debug 'Calling API: SigningServicesApi.signing_services_read ...'
114
+ @api_client.config.logger.debug 'Calling API: SigningServicesApi.read ...'
115
115
  end
116
116
  # verify the required parameter 'signing_service_href' is set
117
117
  if @api_client.config.client_side_validation && signing_service_href.nil?
118
- fail ArgumentError, "Missing the required parameter 'signing_service_href' when calling SigningServicesApi.signing_services_read"
118
+ fail ArgumentError, "Missing the required parameter 'signing_service_href' when calling SigningServicesApi.read"
119
119
  end
120
120
  # resource path
121
121
  local_var_path = '{signing_service_href}'.sub('{' + 'signing_service_href' + '}', CGI.escape(signing_service_href.to_s).gsub('%2F', '/'))
@@ -153,7 +153,7 @@ module PulpcoreClient
153
153
 
154
154
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
155
155
  if @api_client.config.debugging
156
- @api_client.config.logger.debug "API called: SigningServicesApi#signing_services_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
156
+ @api_client.config.logger.debug "API called: SigningServicesApi#read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
157
157
  end
158
158
  return data, status_code, headers
159
159
  end