pulpcore_client 3.28.29 → 3.28.30

Sign up to get free protection for your applications and to get access to all the features.
Files changed (129) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +157 -155
  3. data/docs/AccessPoliciesApi.md +26 -26
  4. data/docs/ArtifactDistributionResponse.md +9 -9
  5. data/docs/ArtifactsApi.md +21 -21
  6. data/docs/ContentApi.md +8 -8
  7. data/docs/ContentguardsApi.md +8 -8
  8. data/docs/ContentguardsContentRedirectApi.md +51 -51
  9. data/docs/ContentguardsRbacApi.md +51 -51
  10. data/docs/DistributionsApi.md +8 -8
  11. data/docs/DistributionsArtifactsApi.md +11 -11
  12. data/docs/DocsApiJsonApi.md +61 -0
  13. data/docs/DocsApiYamlApi.md +61 -0
  14. data/docs/DomainsApi.md +31 -31
  15. data/docs/ExportersFilesystemApi.md +31 -31
  16. data/docs/ExportersFilesystemExportsApi.md +21 -21
  17. data/docs/ExportersPulpApi.md +31 -31
  18. data/docs/ExportersPulpExportsApi.md +21 -21
  19. data/docs/GroupsApi.md +51 -51
  20. data/docs/GroupsRolesApi.md +21 -21
  21. data/docs/GroupsUsersApi.md +16 -16
  22. data/docs/ImportersPulpApi.md +31 -31
  23. data/docs/ImportersPulpImportCheckApi.md +1 -1
  24. data/docs/ImportersPulpImportsApi.md +21 -21
  25. data/docs/OrphansApi.md +6 -6
  26. data/docs/OrphansCleanupApi.md +6 -6
  27. data/docs/PublicationsApi.md +8 -8
  28. data/docs/RemoteResponseHiddenFields.md +2 -2
  29. data/docs/RemotesApi.md +8 -8
  30. data/docs/RepairApi.md +6 -6
  31. data/docs/RepositoriesApi.md +8 -8
  32. data/docs/RepositoriesReclaimSpaceApi.md +6 -6
  33. data/docs/RepositoryVersionsApi.md +6 -6
  34. data/docs/RolesApi.md +31 -31
  35. data/docs/SigningServicesApi.md +11 -11
  36. data/docs/StatusApi.md +1 -1
  37. data/docs/TaskGroupsApi.md +11 -11
  38. data/docs/TaskSchedulesApi.md +31 -31
  39. data/docs/TasksApi.md +96 -96
  40. data/docs/UploadsApi.md +51 -51
  41. data/docs/UpstreamPulpsApi.md +36 -36
  42. data/docs/UsersApi.md +31 -31
  43. data/docs/UsersRolesApi.md +21 -21
  44. data/docs/WorkersApi.md +11 -11
  45. data/lib/pulpcore_client/api/access_policies_api.rb +31 -31
  46. data/lib/pulpcore_client/api/artifacts_api.rb +29 -29
  47. data/lib/pulpcore_client/api/content_api.rb +8 -8
  48. data/lib/pulpcore_client/api/contentguards_api.rb +8 -8
  49. data/lib/pulpcore_client/api/contentguards_content_redirect_api.rb +63 -63
  50. data/lib/pulpcore_client/api/contentguards_rbac_api.rb +63 -63
  51. data/lib/pulpcore_client/api/distributions_api.rb +8 -8
  52. data/lib/pulpcore_client/api/distributions_artifacts_api.rb +11 -11
  53. data/lib/pulpcore_client/api/docs_api_json_api.rb +89 -0
  54. data/lib/pulpcore_client/api/docs_api_yaml_api.rb +89 -0
  55. data/lib/pulpcore_client/api/domains_api.rb +37 -37
  56. data/lib/pulpcore_client/api/exporters_filesystem_api.rb +37 -37
  57. data/lib/pulpcore_client/api/exporters_filesystem_exports_api.rb +25 -25
  58. data/lib/pulpcore_client/api/exporters_pulp_api.rb +37 -37
  59. data/lib/pulpcore_client/api/exporters_pulp_exports_api.rb +25 -25
  60. data/lib/pulpcore_client/api/groups_api.rb +63 -63
  61. data/lib/pulpcore_client/api/groups_roles_api.rb +25 -25
  62. data/lib/pulpcore_client/api/groups_users_api.rb +19 -19
  63. data/lib/pulpcore_client/api/importers_pulp_api.rb +37 -37
  64. data/lib/pulpcore_client/api/importers_pulp_imports_api.rb +25 -25
  65. data/lib/pulpcore_client/api/orphans_api.rb +5 -5
  66. data/lib/pulpcore_client/api/orphans_cleanup_api.rb +6 -6
  67. data/lib/pulpcore_client/api/publications_api.rb +7 -11
  68. data/lib/pulpcore_client/api/remotes_api.rb +7 -11
  69. data/lib/pulpcore_client/api/repair_api.rb +6 -6
  70. data/lib/pulpcore_client/api/repositories_api.rb +7 -11
  71. data/lib/pulpcore_client/api/repositories_reclaim_space_api.rb +6 -6
  72. data/lib/pulpcore_client/api/repository_versions_api.rb +5 -5
  73. data/lib/pulpcore_client/api/roles_api.rb +37 -37
  74. data/lib/pulpcore_client/api/signing_services_api.rb +11 -11
  75. data/lib/pulpcore_client/api/task_groups_api.rb +11 -11
  76. data/lib/pulpcore_client/api/task_schedules_api.rb +37 -37
  77. data/lib/pulpcore_client/api/tasks_api.rb +119 -119
  78. data/lib/pulpcore_client/api/uploads_api.rb +65 -65
  79. data/lib/pulpcore_client/api/upstream_pulps_api.rb +43 -43
  80. data/lib/pulpcore_client/api/users_api.rb +37 -37
  81. data/lib/pulpcore_client/api/users_roles_api.rb +25 -25
  82. data/lib/pulpcore_client/api/workers_api.rb +11 -11
  83. data/lib/pulpcore_client/configuration.rb +3 -3
  84. data/lib/pulpcore_client/models/artifact_distribution_response.rb +48 -48
  85. data/lib/pulpcore_client/models/remote_response.rb +20 -20
  86. data/lib/pulpcore_client/models/remote_response_hidden_fields.rb +10 -0
  87. data/lib/pulpcore_client/version.rb +1 -1
  88. data/lib/pulpcore_client.rb +2 -0
  89. data/spec/api/access_policies_api_spec.rb +10 -10
  90. data/spec/api/artifacts_api_spec.rb +8 -8
  91. data/spec/api/content_api_spec.rb +3 -3
  92. data/spec/api/contentguards_api_spec.rb +3 -3
  93. data/spec/api/contentguards_content_redirect_api_spec.rb +20 -20
  94. data/spec/api/contentguards_rbac_api_spec.rb +20 -20
  95. data/spec/api/distributions_api_spec.rb +3 -3
  96. data/spec/api/distributions_artifacts_api_spec.rb +4 -4
  97. data/spec/api/docs_api_json_api_spec.rb +48 -0
  98. data/spec/api/docs_api_yaml_api_spec.rb +48 -0
  99. data/spec/api/domains_api_spec.rb +12 -12
  100. data/spec/api/exporters_filesystem_api_spec.rb +12 -12
  101. data/spec/api/exporters_filesystem_exports_api_spec.rb +8 -8
  102. data/spec/api/exporters_pulp_api_spec.rb +12 -12
  103. data/spec/api/exporters_pulp_exports_api_spec.rb +8 -8
  104. data/spec/api/groups_api_spec.rb +20 -20
  105. data/spec/api/groups_roles_api_spec.rb +8 -8
  106. data/spec/api/groups_users_api_spec.rb +6 -6
  107. data/spec/api/importers_pulp_api_spec.rb +12 -12
  108. data/spec/api/importers_pulp_imports_api_spec.rb +8 -8
  109. data/spec/api/orphans_api_spec.rb +2 -2
  110. data/spec/api/orphans_cleanup_api_spec.rb +2 -2
  111. data/spec/api/publications_api_spec.rb +3 -3
  112. data/spec/api/remotes_api_spec.rb +3 -3
  113. data/spec/api/repair_api_spec.rb +2 -2
  114. data/spec/api/repositories_api_spec.rb +3 -3
  115. data/spec/api/repositories_reclaim_space_api_spec.rb +2 -2
  116. data/spec/api/repository_versions_api_spec.rb +2 -2
  117. data/spec/api/roles_api_spec.rb +12 -12
  118. data/spec/api/signing_services_api_spec.rb +4 -4
  119. data/spec/api/task_groups_api_spec.rb +4 -4
  120. data/spec/api/task_schedules_api_spec.rb +12 -12
  121. data/spec/api/tasks_api_spec.rb +29 -29
  122. data/spec/api/uploads_api_spec.rb +20 -20
  123. data/spec/api/upstream_pulps_api_spec.rb +14 -14
  124. data/spec/api/users_api_spec.rb +12 -12
  125. data/spec/api/users_roles_api_spec.rb +8 -8
  126. data/spec/api/workers_api_spec.rb +4 -4
  127. data/spec/configuration_spec.rb +3 -3
  128. data/spec/models/artifact_distribution_response_spec.rb +7 -7
  129. metadata +163 -155
@@ -34,7 +34,7 @@ module PulpcoreClient
34
34
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
35
35
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
36
36
  # @option opts [String] :pulp_label_select Filter labels by search string
37
- # @option opts [Array<String>] :pulp_type__in Pulp type is in * &#x60;file.file&#x60; - file.file
37
+ # @option opts [Array<String>] :pulp_type__in Pulp type is in
38
38
  # @option opts [String] :remote Foreign Key referenced by HREF
39
39
  # @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
40
40
  # @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
@@ -48,8 +48,8 @@ module PulpcoreClient
48
48
  # @option opts [Array<String>] :fields A list of fields to include in the response.
49
49
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
50
50
  # @return [PaginatedRepositoryResponseList]
51
- def list(opts = {})
52
- data, _status_code, _headers = list_with_http_info(opts)
51
+ def repositories_list(opts = {})
52
+ data, _status_code, _headers = repositories_list_with_http_info(opts)
53
53
  data
54
54
  end
55
55
 
@@ -68,7 +68,7 @@ module PulpcoreClient
68
68
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
69
69
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
70
70
  # @option opts [String] :pulp_label_select Filter labels by search string
71
- # @option opts [Array<String>] :pulp_type__in Pulp type is in * &#x60;file.file&#x60; - file.file
71
+ # @option opts [Array<String>] :pulp_type__in Pulp type is in
72
72
  # @option opts [String] :remote Foreign Key referenced by HREF
73
73
  # @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
74
74
  # @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
@@ -82,18 +82,14 @@ module PulpcoreClient
82
82
  # @option opts [Array<String>] :fields A list of fields to include in the response.
83
83
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
84
84
  # @return [Array<(PaginatedRepositoryResponseList, Integer, Hash)>] PaginatedRepositoryResponseList data, response status code and response headers
85
- def list_with_http_info(opts = {})
85
+ def repositories_list_with_http_info(opts = {})
86
86
  if @api_client.config.debugging
87
- @api_client.config.logger.debug 'Calling API: RepositoriesApi.list ...'
87
+ @api_client.config.logger.debug 'Calling API: RepositoriesApi.repositories_list ...'
88
88
  end
89
89
  allowable_values = ["-description", "-name", "-next_version", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-retain_repo_versions", "-user_hidden", "description", "name", "next_version", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "retain_repo_versions", "user_hidden"]
90
90
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
91
91
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
92
92
  end
93
- allowable_values = ["file.file"]
94
- if @api_client.config.client_side_validation && opts[:'pulp_type__in'] && !opts[:'pulp_type__in'].all? { |item| allowable_values.include?(item) }
95
- fail ArgumentError, "invalid value for \"pulp_type__in\", must include one of #{allowable_values}"
96
- end
97
93
  # resource path
98
94
  local_var_path = '/pulp/api/v3/repositories/'
99
95
 
@@ -153,7 +149,7 @@ module PulpcoreClient
153
149
 
154
150
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
155
151
  if @api_client.config.debugging
156
- @api_client.config.logger.debug "API called: RepositoriesApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
152
+ @api_client.config.logger.debug "API called: RepositoriesApi#repositories_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
157
153
  end
158
154
  return data, status_code, headers
159
155
  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 reclaim(reclaim_space, opts = {})
27
- data, _status_code, _headers = reclaim_with_http_info(reclaim_space, opts)
26
+ def repositories_reclaim_space_reclaim(reclaim_space, opts = {})
27
+ data, _status_code, _headers = repositories_reclaim_space_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 reclaim_with_http_info(reclaim_space, opts = {})
35
+ def repositories_reclaim_space_reclaim_with_http_info(reclaim_space, opts = {})
36
36
  if @api_client.config.debugging
37
- @api_client.config.logger.debug 'Calling API: RepositoriesReclaimSpaceApi.reclaim ...'
37
+ @api_client.config.logger.debug 'Calling API: RepositoriesReclaimSpaceApi.repositories_reclaim_space_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.reclaim"
41
+ fail ArgumentError, "Missing the required parameter 'reclaim_space' when calling RepositoriesReclaimSpaceApi.repositories_reclaim_space_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#reclaim\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
79
+ @api_client.config.logger.debug "API called: RepositoriesReclaimSpaceApi#repositories_reclaim_space_reclaim\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
80
80
  end
81
81
  return data, status_code, headers
82
82
  end
@@ -43,8 +43,8 @@ module PulpcoreClient
43
43
  # @option opts [Array<String>] :fields A list of fields to include in the response.
44
44
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
45
45
  # @return [PaginatedRepositoryVersionResponseList]
46
- def list(opts = {})
47
- data, _status_code, _headers = list_with_http_info(opts)
46
+ def repository_versions_list(opts = {})
47
+ data, _status_code, _headers = repository_versions_list_with_http_info(opts)
48
48
  data
49
49
  end
50
50
 
@@ -72,9 +72,9 @@ module PulpcoreClient
72
72
  # @option opts [Array<String>] :fields A list of fields to include in the response.
73
73
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
74
74
  # @return [Array<(PaginatedRepositoryVersionResponseList, Integer, Hash)>] PaginatedRepositoryVersionResponseList data, response status code and response headers
75
- def list_with_http_info(opts = {})
75
+ def repository_versions_list_with_http_info(opts = {})
76
76
  if @api_client.config.debugging
77
- @api_client.config.logger.debug 'Calling API: RepositoryVersionsApi.list ...'
77
+ @api_client.config.logger.debug 'Calling API: RepositoryVersionsApi.repository_versions_list ...'
78
78
  end
79
79
  allowable_values = ["-complete", "-info", "-number", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "complete", "info", "number", "pk", "pulp_created", "pulp_id", "pulp_last_updated"]
80
80
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
@@ -134,7 +134,7 @@ module PulpcoreClient
134
134
 
135
135
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
136
136
  if @api_client.config.debugging
137
- @api_client.config.logger.debug "API called: RepositoryVersionsApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
137
+ @api_client.config.logger.debug "API called: RepositoryVersionsApi#repository_versions_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
138
138
  end
139
139
  return data, status_code, headers
140
140
  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 create(role, opts = {})
28
- data, _status_code, _headers = create_with_http_info(role, opts)
27
+ def roles_create(role, opts = {})
28
+ data, _status_code, _headers = roles_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 create_with_http_info(role, opts = {})
37
+ def roles_create_with_http_info(role, opts = {})
38
38
  if @api_client.config.debugging
39
- @api_client.config.logger.debug 'Calling API: RolesApi.create ...'
39
+ @api_client.config.logger.debug 'Calling API: RolesApi.roles_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.create"
43
+ fail ArgumentError, "Missing the required parameter 'role' when calling RolesApi.roles_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#create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
81
+ @api_client.config.logger.debug "API called: RolesApi#roles_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 delete(role_href, opts = {})
92
- delete_with_http_info(role_href, opts)
91
+ def roles_delete(role_href, opts = {})
92
+ roles_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 delete_with_http_info(role_href, opts = {})
101
+ def roles_delete_with_http_info(role_href, opts = {})
102
102
  if @api_client.config.debugging
103
- @api_client.config.logger.debug 'Calling API: RolesApi.delete ...'
103
+ @api_client.config.logger.debug 'Calling API: RolesApi.roles_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.delete"
107
+ fail ArgumentError, "Missing the required parameter 'role_href' when calling RolesApi.roles_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#delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
141
+ @api_client.config.logger.debug "API called: RolesApi#roles_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
142
142
  end
143
143
  return data, status_code, headers
144
144
  end
@@ -166,8 +166,8 @@ module PulpcoreClient
166
166
  # @option opts [Array<String>] :fields A list of fields to include in the response.
167
167
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
168
168
  # @return [PaginatedRoleResponseList]
169
- def list(opts = {})
170
- data, _status_code, _headers = list_with_http_info(opts)
169
+ def roles_list(opts = {})
170
+ data, _status_code, _headers = roles_list_with_http_info(opts)
171
171
  data
172
172
  end
173
173
 
@@ -194,9 +194,9 @@ module PulpcoreClient
194
194
  # @option opts [Array<String>] :fields A list of fields to include in the response.
195
195
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
196
196
  # @return [Array<(PaginatedRoleResponseList, Integer, Hash)>] PaginatedRoleResponseList data, response status code and response headers
197
- def list_with_http_info(opts = {})
197
+ def roles_list_with_http_info(opts = {})
198
198
  if @api_client.config.debugging
199
- @api_client.config.logger.debug 'Calling API: RolesApi.list ...'
199
+ @api_client.config.logger.debug 'Calling API: RolesApi.roles_list ...'
200
200
  end
201
201
  allowable_values = ["-description", "-locked", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "description", "locked", "name", "pk", "pulp_created", "pulp_id", "pulp_last_updated"]
202
202
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
@@ -255,7 +255,7 @@ module PulpcoreClient
255
255
 
256
256
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
257
257
  if @api_client.config.debugging
258
- @api_client.config.logger.debug "API called: RolesApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
258
+ @api_client.config.logger.debug "API called: RolesApi#roles_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
259
259
  end
260
260
  return data, status_code, headers
261
261
  end
@@ -266,8 +266,8 @@ module PulpcoreClient
266
266
  # @param patched_role [PatchedRole]
267
267
  # @param [Hash] opts the optional parameters
268
268
  # @return [RoleResponse]
269
- def partial_update(role_href, patched_role, opts = {})
270
- data, _status_code, _headers = partial_update_with_http_info(role_href, patched_role, opts)
269
+ def roles_partial_update(role_href, patched_role, opts = {})
270
+ data, _status_code, _headers = roles_partial_update_with_http_info(role_href, patched_role, opts)
271
271
  data
272
272
  end
273
273
 
@@ -277,17 +277,17 @@ module PulpcoreClient
277
277
  # @param patched_role [PatchedRole]
278
278
  # @param [Hash] opts the optional parameters
279
279
  # @return [Array<(RoleResponse, Integer, Hash)>] RoleResponse data, response status code and response headers
280
- def partial_update_with_http_info(role_href, patched_role, opts = {})
280
+ def roles_partial_update_with_http_info(role_href, patched_role, opts = {})
281
281
  if @api_client.config.debugging
282
- @api_client.config.logger.debug 'Calling API: RolesApi.partial_update ...'
282
+ @api_client.config.logger.debug 'Calling API: RolesApi.roles_partial_update ...'
283
283
  end
284
284
  # verify the required parameter 'role_href' is set
285
285
  if @api_client.config.client_side_validation && role_href.nil?
286
- fail ArgumentError, "Missing the required parameter 'role_href' when calling RolesApi.partial_update"
286
+ fail ArgumentError, "Missing the required parameter 'role_href' when calling RolesApi.roles_partial_update"
287
287
  end
288
288
  # verify the required parameter 'patched_role' is set
289
289
  if @api_client.config.client_side_validation && patched_role.nil?
290
- fail ArgumentError, "Missing the required parameter 'patched_role' when calling RolesApi.partial_update"
290
+ fail ArgumentError, "Missing the required parameter 'patched_role' when calling RolesApi.roles_partial_update"
291
291
  end
292
292
  # resource path
293
293
  local_var_path = '{role_href}'.sub('{' + 'role_href' + '}', CGI.escape(role_href.to_s).gsub('%2F', '/'))
@@ -325,7 +325,7 @@ module PulpcoreClient
325
325
 
326
326
  data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
327
327
  if @api_client.config.debugging
328
- @api_client.config.logger.debug "API called: RolesApi#partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
328
+ @api_client.config.logger.debug "API called: RolesApi#roles_partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
329
329
  end
330
330
  return data, status_code, headers
331
331
  end
@@ -337,8 +337,8 @@ module PulpcoreClient
337
337
  # @option opts [Array<String>] :fields A list of fields to include in the response.
338
338
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
339
339
  # @return [RoleResponse]
340
- def read(role_href, opts = {})
341
- data, _status_code, _headers = read_with_http_info(role_href, opts)
340
+ def roles_read(role_href, opts = {})
341
+ data, _status_code, _headers = roles_read_with_http_info(role_href, opts)
342
342
  data
343
343
  end
344
344
 
@@ -349,13 +349,13 @@ module PulpcoreClient
349
349
  # @option opts [Array<String>] :fields A list of fields to include in the response.
350
350
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
351
351
  # @return [Array<(RoleResponse, Integer, Hash)>] RoleResponse data, response status code and response headers
352
- def read_with_http_info(role_href, opts = {})
352
+ def roles_read_with_http_info(role_href, opts = {})
353
353
  if @api_client.config.debugging
354
- @api_client.config.logger.debug 'Calling API: RolesApi.read ...'
354
+ @api_client.config.logger.debug 'Calling API: RolesApi.roles_read ...'
355
355
  end
356
356
  # verify the required parameter 'role_href' is set
357
357
  if @api_client.config.client_side_validation && role_href.nil?
358
- fail ArgumentError, "Missing the required parameter 'role_href' when calling RolesApi.read"
358
+ fail ArgumentError, "Missing the required parameter 'role_href' when calling RolesApi.roles_read"
359
359
  end
360
360
  # resource path
361
361
  local_var_path = '{role_href}'.sub('{' + 'role_href' + '}', CGI.escape(role_href.to_s).gsub('%2F', '/'))
@@ -393,7 +393,7 @@ module PulpcoreClient
393
393
 
394
394
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
395
395
  if @api_client.config.debugging
396
- @api_client.config.logger.debug "API called: RolesApi#read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
396
+ @api_client.config.logger.debug "API called: RolesApi#roles_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
397
397
  end
398
398
  return data, status_code, headers
399
399
  end
@@ -404,8 +404,8 @@ module PulpcoreClient
404
404
  # @param role [Role]
405
405
  # @param [Hash] opts the optional parameters
406
406
  # @return [RoleResponse]
407
- def update(role_href, role, opts = {})
408
- data, _status_code, _headers = update_with_http_info(role_href, role, opts)
407
+ def roles_update(role_href, role, opts = {})
408
+ data, _status_code, _headers = roles_update_with_http_info(role_href, role, opts)
409
409
  data
410
410
  end
411
411
 
@@ -415,17 +415,17 @@ module PulpcoreClient
415
415
  # @param role [Role]
416
416
  # @param [Hash] opts the optional parameters
417
417
  # @return [Array<(RoleResponse, Integer, Hash)>] RoleResponse data, response status code and response headers
418
- def update_with_http_info(role_href, role, opts = {})
418
+ def roles_update_with_http_info(role_href, role, opts = {})
419
419
  if @api_client.config.debugging
420
- @api_client.config.logger.debug 'Calling API: RolesApi.update ...'
420
+ @api_client.config.logger.debug 'Calling API: RolesApi.roles_update ...'
421
421
  end
422
422
  # verify the required parameter 'role_href' is set
423
423
  if @api_client.config.client_side_validation && role_href.nil?
424
- fail ArgumentError, "Missing the required parameter 'role_href' when calling RolesApi.update"
424
+ fail ArgumentError, "Missing the required parameter 'role_href' when calling RolesApi.roles_update"
425
425
  end
426
426
  # verify the required parameter 'role' is set
427
427
  if @api_client.config.client_side_validation && role.nil?
428
- fail ArgumentError, "Missing the required parameter 'role' when calling RolesApi.update"
428
+ fail ArgumentError, "Missing the required parameter 'role' when calling RolesApi.roles_update"
429
429
  end
430
430
  # resource path
431
431
  local_var_path = '{role_href}'.sub('{' + 'role_href' + '}', CGI.escape(role_href.to_s).gsub('%2F', '/'))
@@ -463,7 +463,7 @@ module PulpcoreClient
463
463
 
464
464
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
465
465
  if @api_client.config.debugging
466
- @api_client.config.logger.debug "API called: RolesApi#update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
466
+ @api_client.config.logger.debug "API called: RolesApi#roles_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
467
467
  end
468
468
  return data, status_code, headers
469
469
  end
@@ -31,8 +31,8 @@ module PulpcoreClient
31
31
  # @option opts [Array<String>] :fields A list of fields to include in the response.
32
32
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
33
33
  # @return [PaginatedSigningServiceResponseList]
34
- def list(opts = {})
35
- data, _status_code, _headers = list_with_http_info(opts)
34
+ def signing_services_list(opts = {})
35
+ data, _status_code, _headers = signing_services_list_with_http_info(opts)
36
36
  data
37
37
  end
38
38
 
@@ -48,9 +48,9 @@ module PulpcoreClient
48
48
  # @option opts [Array<String>] :fields A list of fields to include in the response.
49
49
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
50
50
  # @return [Array<(PaginatedSigningServiceResponseList, Integer, Hash)>] PaginatedSigningServiceResponseList data, response status code and response headers
51
- def list_with_http_info(opts = {})
51
+ def signing_services_list_with_http_info(opts = {})
52
52
  if @api_client.config.debugging
53
- @api_client.config.logger.debug 'Calling API: SigningServicesApi.list ...'
53
+ @api_client.config.logger.debug 'Calling API: SigningServicesApi.signing_services_list ...'
54
54
  end
55
55
  allowable_values = ["-name", "-pk", "-pubkey_fingerprint", "-public_key", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-script", "name", "pk", "pubkey_fingerprint", "public_key", "pulp_created", "pulp_id", "pulp_last_updated", "script"]
56
56
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
@@ -98,7 +98,7 @@ module PulpcoreClient
98
98
 
99
99
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
100
100
  if @api_client.config.debugging
101
- @api_client.config.logger.debug "API called: SigningServicesApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
101
+ @api_client.config.logger.debug "API called: SigningServicesApi#signing_services_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
102
102
  end
103
103
  return data, status_code, headers
104
104
  end
@@ -110,8 +110,8 @@ module PulpcoreClient
110
110
  # @option opts [Array<String>] :fields A list of fields to include in the response.
111
111
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
112
112
  # @return [SigningServiceResponse]
113
- def read(signing_service_href, opts = {})
114
- data, _status_code, _headers = read_with_http_info(signing_service_href, opts)
113
+ def signing_services_read(signing_service_href, opts = {})
114
+ data, _status_code, _headers = signing_services_read_with_http_info(signing_service_href, opts)
115
115
  data
116
116
  end
117
117
 
@@ -122,13 +122,13 @@ module PulpcoreClient
122
122
  # @option opts [Array<String>] :fields A list of fields to include in the response.
123
123
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
124
124
  # @return [Array<(SigningServiceResponse, Integer, Hash)>] SigningServiceResponse data, response status code and response headers
125
- def read_with_http_info(signing_service_href, opts = {})
125
+ def signing_services_read_with_http_info(signing_service_href, opts = {})
126
126
  if @api_client.config.debugging
127
- @api_client.config.logger.debug 'Calling API: SigningServicesApi.read ...'
127
+ @api_client.config.logger.debug 'Calling API: SigningServicesApi.signing_services_read ...'
128
128
  end
129
129
  # verify the required parameter 'signing_service_href' is set
130
130
  if @api_client.config.client_side_validation && signing_service_href.nil?
131
- fail ArgumentError, "Missing the required parameter 'signing_service_href' when calling SigningServicesApi.read"
131
+ fail ArgumentError, "Missing the required parameter 'signing_service_href' when calling SigningServicesApi.signing_services_read"
132
132
  end
133
133
  # resource path
134
134
  local_var_path = '{signing_service_href}'.sub('{' + 'signing_service_href' + '}', CGI.escape(signing_service_href.to_s).gsub('%2F', '/'))
@@ -166,7 +166,7 @@ module PulpcoreClient
166
166
 
167
167
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
168
168
  if @api_client.config.debugging
169
- @api_client.config.logger.debug "API called: SigningServicesApi#read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
169
+ @api_client.config.logger.debug "API called: SigningServicesApi#signing_services_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
170
170
  end
171
171
  return data, status_code, headers
172
172
  end
@@ -27,8 +27,8 @@ module PulpcoreClient
27
27
  # @option opts [Array<String>] :fields A list of fields to include in the response.
28
28
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
29
29
  # @return [PaginatedTaskGroupResponseList]
30
- def list(opts = {})
31
- data, _status_code, _headers = list_with_http_info(opts)
30
+ def task_groups_list(opts = {})
31
+ data, _status_code, _headers = task_groups_list_with_http_info(opts)
32
32
  data
33
33
  end
34
34
 
@@ -40,9 +40,9 @@ 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 [Array<(PaginatedTaskGroupResponseList, Integer, Hash)>] PaginatedTaskGroupResponseList data, response status code and response headers
43
- def list_with_http_info(opts = {})
43
+ def task_groups_list_with_http_info(opts = {})
44
44
  if @api_client.config.debugging
45
- @api_client.config.logger.debug 'Calling API: TaskGroupsApi.list ...'
45
+ @api_client.config.logger.debug 'Calling API: TaskGroupsApi.task_groups_list ...'
46
46
  end
47
47
  # resource path
48
48
  local_var_path = '/pulp/api/v3/task-groups/'
@@ -82,7 +82,7 @@ module PulpcoreClient
82
82
 
83
83
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
84
84
  if @api_client.config.debugging
85
- @api_client.config.logger.debug "API called: TaskGroupsApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
85
+ @api_client.config.logger.debug "API called: TaskGroupsApi#task_groups_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
86
86
  end
87
87
  return data, status_code, headers
88
88
  end
@@ -94,8 +94,8 @@ module PulpcoreClient
94
94
  # @option opts [Array<String>] :fields A list of fields to include in the response.
95
95
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
96
96
  # @return [TaskGroupResponse]
97
- def read(task_group_href, opts = {})
98
- data, _status_code, _headers = read_with_http_info(task_group_href, opts)
97
+ def task_groups_read(task_group_href, opts = {})
98
+ data, _status_code, _headers = task_groups_read_with_http_info(task_group_href, opts)
99
99
  data
100
100
  end
101
101
 
@@ -106,13 +106,13 @@ module PulpcoreClient
106
106
  # @option opts [Array<String>] :fields A list of fields to include in the response.
107
107
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
108
108
  # @return [Array<(TaskGroupResponse, Integer, Hash)>] TaskGroupResponse data, response status code and response headers
109
- def read_with_http_info(task_group_href, opts = {})
109
+ def task_groups_read_with_http_info(task_group_href, opts = {})
110
110
  if @api_client.config.debugging
111
- @api_client.config.logger.debug 'Calling API: TaskGroupsApi.read ...'
111
+ @api_client.config.logger.debug 'Calling API: TaskGroupsApi.task_groups_read ...'
112
112
  end
113
113
  # verify the required parameter 'task_group_href' is set
114
114
  if @api_client.config.client_side_validation && task_group_href.nil?
115
- fail ArgumentError, "Missing the required parameter 'task_group_href' when calling TaskGroupsApi.read"
115
+ fail ArgumentError, "Missing the required parameter 'task_group_href' when calling TaskGroupsApi.task_groups_read"
116
116
  end
117
117
  # resource path
118
118
  local_var_path = '{task_group_href}'.sub('{' + 'task_group_href' + '}', CGI.escape(task_group_href.to_s).gsub('%2F', '/'))
@@ -150,7 +150,7 @@ module PulpcoreClient
150
150
 
151
151
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
152
152
  if @api_client.config.debugging
153
- @api_client.config.logger.debug "API called: TaskGroupsApi#read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
153
+ @api_client.config.logger.debug "API called: TaskGroupsApi#task_groups_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
154
154
  end
155
155
  return data, status_code, headers
156
156
  end