pulpcore_client 3.23.24 → 3.24.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +7 -5
- data/docs/AccessPoliciesApi.md +6 -2
- data/docs/ArtifactDistributionResponse.md +9 -9
- data/docs/ArtifactsApi.md +6 -2
- data/docs/ContentApi.md +8 -2
- data/docs/ContentguardsApi.md +8 -2
- data/docs/ContentguardsContentRedirectApi.md +6 -2
- data/docs/ContentguardsRbacApi.md +6 -2
- data/docs/DistributionsApi.md +8 -2
- data/docs/DistributionsArtifactsApi.md +6 -2
- data/docs/Domain.md +1 -1
- data/docs/DomainResponse.md +1 -1
- data/docs/DomainsApi.md +6 -2
- data/docs/ExportersFilesystemApi.md +6 -2
- data/docs/ExportersPulpApi.md +6 -2
- data/docs/FilesystemExporter.md +1 -1
- data/docs/FilesystemExporterResponse.md +1 -1
- data/docs/GroupsApi.md +6 -2
- data/docs/GroupsRolesApi.md +6 -2
- data/docs/ImportersPulpApi.md +6 -2
- data/docs/PatchedDomain.md +1 -1
- data/docs/PatchedFilesystemExporter.md +1 -1
- data/docs/PublicationsApi.md +9 -3
- data/docs/RemoteResponse.md +1 -1
- data/docs/RemotesApi.md +8 -2
- data/docs/RepositoriesApi.md +8 -2
- data/docs/RepositoryVersionsApi.md +6 -2
- data/docs/RolesApi.md +6 -2
- data/docs/SigningServicesApi.md +6 -2
- data/docs/TaskSchedulesApi.md +6 -2
- data/docs/TasksApi.md +8 -4
- data/docs/UploadsApi.md +6 -2
- data/docs/UpstreamPulpsApi.md +6 -4
- data/docs/UsersApi.md +6 -2
- data/docs/UsersRolesApi.md +6 -2
- data/docs/WorkersApi.md +6 -2
- data/lib/pulpcore_client/api/access_policies_api.rb +8 -2
- data/lib/pulpcore_client/api/artifacts_api.rb +8 -2
- data/lib/pulpcore_client/api/content_api.rb +15 -2
- data/lib/pulpcore_client/api/contentguards_api.rb +15 -2
- data/lib/pulpcore_client/api/contentguards_content_redirect_api.rb +8 -2
- data/lib/pulpcore_client/api/contentguards_rbac_api.rb +8 -2
- data/lib/pulpcore_client/api/distributions_api.rb +15 -2
- data/lib/pulpcore_client/api/distributions_artifacts_api.rb +8 -2
- data/lib/pulpcore_client/api/domains_api.rb +8 -2
- data/lib/pulpcore_client/api/exporters_filesystem_api.rb +8 -2
- data/lib/pulpcore_client/api/exporters_pulp_api.rb +8 -2
- data/lib/pulpcore_client/api/groups_api.rb +8 -2
- data/lib/pulpcore_client/api/groups_roles_api.rb +8 -2
- data/lib/pulpcore_client/api/importers_pulp_api.rb +8 -2
- data/lib/pulpcore_client/api/publications_api.rb +17 -4
- data/lib/pulpcore_client/api/remotes_api.rb +15 -2
- data/lib/pulpcore_client/api/repositories_api.rb +15 -2
- data/lib/pulpcore_client/api/repository_versions_api.rb +7 -2
- data/lib/pulpcore_client/api/roles_api.rb +8 -2
- data/lib/pulpcore_client/api/signing_services_api.rb +8 -2
- data/lib/pulpcore_client/api/task_schedules_api.rb +8 -2
- data/lib/pulpcore_client/api/tasks_api.rb +10 -4
- data/lib/pulpcore_client/api/uploads_api.rb +8 -2
- data/lib/pulpcore_client/api/upstream_pulps_api.rb +15 -7
- data/lib/pulpcore_client/api/users_api.rb +8 -2
- data/lib/pulpcore_client/api/users_roles_api.rb +8 -2
- data/lib/pulpcore_client/api/workers_api.rb +8 -2
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +42 -42
- data/lib/pulpcore_client/models/domain.rb +1 -1
- data/lib/pulpcore_client/models/domain_response.rb +1 -1
- data/lib/pulpcore_client/models/filesystem_exporter.rb +1 -1
- data/lib/pulpcore_client/models/filesystem_exporter_response.rb +1 -1
- data/lib/pulpcore_client/models/patched_domain.rb +1 -1
- data/lib/pulpcore_client/models/patched_filesystem_exporter.rb +1 -1
- data/lib/pulpcore_client/models/remote_response.rb +1 -1
- data/lib/pulpcore_client/version.rb +1 -1
- data/spec/api/access_policies_api_spec.rb +3 -1
- data/spec/api/artifacts_api_spec.rb +3 -1
- data/spec/api/content_api_spec.rb +4 -1
- data/spec/api/contentguards_api_spec.rb +4 -1
- data/spec/api/contentguards_content_redirect_api_spec.rb +3 -1
- data/spec/api/contentguards_rbac_api_spec.rb +3 -1
- data/spec/api/distributions_api_spec.rb +4 -1
- data/spec/api/distributions_artifacts_api_spec.rb +3 -1
- data/spec/api/domains_api_spec.rb +3 -1
- data/spec/api/exporters_filesystem_api_spec.rb +3 -1
- data/spec/api/exporters_pulp_api_spec.rb +3 -1
- data/spec/api/groups_api_spec.rb +3 -1
- data/spec/api/groups_roles_api_spec.rb +3 -1
- data/spec/api/importers_pulp_api_spec.rb +3 -1
- data/spec/api/publications_api_spec.rb +5 -2
- data/spec/api/remotes_api_spec.rb +4 -1
- data/spec/api/repositories_api_spec.rb +4 -1
- data/spec/api/repository_versions_api_spec.rb +3 -1
- data/spec/api/roles_api_spec.rb +3 -1
- data/spec/api/signing_services_api_spec.rb +3 -1
- data/spec/api/task_schedules_api_spec.rb +3 -1
- data/spec/api/tasks_api_spec.rb +4 -2
- data/spec/api/uploads_api_spec.rb +3 -1
- data/spec/api/upstream_pulps_api_spec.rb +2 -1
- data/spec/api/users_api_spec.rb +3 -1
- data/spec/api/users_roles_api_spec.rb +3 -1
- data/spec/api/workers_api_spec.rb +3 -1
- data/spec/models/artifact_distribution_response_spec.rb +6 -6
- metadata +143 -143
@@ -160,7 +160,9 @@ module PulpcoreClient
|
|
160
160
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
161
161
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
162
162
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
163
|
-
# @option opts [Array<String>] :ordering Ordering
|
163
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `name` - Name * `-name` - Name (descending) * `description` - Description * `-description` - Description (descending) * `locked` - Locked * `-locked` - Locked (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
164
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
165
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
164
166
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
165
167
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
166
168
|
# @return [PaginatedRoleResponseList]
|
@@ -186,7 +188,9 @@ module PulpcoreClient
|
|
186
188
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
187
189
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
188
190
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
189
|
-
# @option opts [Array<String>] :ordering Ordering
|
191
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `name` - Name * `-name` - Name (descending) * `description` - Description * `-description` - Description (descending) * `locked` - Locked * `-locked` - Locked (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
192
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
193
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
190
194
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
191
195
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
192
196
|
# @return [Array<(PaginatedRoleResponseList, Integer, Hash)>] PaginatedRoleResponseList data, response status code and response headers
|
@@ -218,6 +222,8 @@ module PulpcoreClient
|
|
218
222
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
219
223
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
220
224
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
225
|
+
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
226
|
+
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
221
227
|
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
222
228
|
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
223
229
|
|
@@ -25,7 +25,9 @@ module PulpcoreClient
|
|
25
25
|
# @option opts [Integer] :limit Number of results to return per page.
|
26
26
|
# @option opts [String] :name Filter results where name matches value
|
27
27
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
28
|
-
# @option opts [Array<String>] :ordering Ordering
|
28
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `name` - Name * `-name` - Name (descending) * `public_key` - Public key * `-public_key` - Public key (descending) * `pubkey_fingerprint` - Pubkey fingerprint * `-pubkey_fingerprint` - Pubkey fingerprint (descending) * `script` - Script * `-script` - Script (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
29
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
30
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
29
31
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
30
32
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
31
33
|
# @return [PaginatedSigningServiceResponseList]
|
@@ -40,7 +42,9 @@ module PulpcoreClient
|
|
40
42
|
# @option opts [Integer] :limit Number of results to return per page.
|
41
43
|
# @option opts [String] :name Filter results where name matches value
|
42
44
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
43
|
-
# @option opts [Array<String>] :ordering Ordering
|
45
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `name` - Name * `-name` - Name (descending) * `public_key` - Public key * `-public_key` - Public key (descending) * `pubkey_fingerprint` - Pubkey fingerprint * `-pubkey_fingerprint` - Pubkey fingerprint (descending) * `script` - Script * `-script` - Script (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
46
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
47
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
44
48
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
45
49
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
46
50
|
# @return [Array<(PaginatedSigningServiceResponseList, Integer, Hash)>] PaginatedSigningServiceResponseList data, response status code and response headers
|
@@ -61,6 +65,8 @@ module PulpcoreClient
|
|
61
65
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
62
66
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
63
67
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
68
|
+
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
69
|
+
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
64
70
|
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
65
71
|
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
66
72
|
|
@@ -94,7 +94,9 @@ module PulpcoreClient
|
|
94
94
|
# @option opts [String] :name Filter results where name matches value
|
95
95
|
# @option opts [String] :name__contains Filter results where name contains value
|
96
96
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
97
|
-
# @option opts [Array<String>] :ordering Ordering
|
97
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `name` - Name * `-name` - Name (descending) * `next_dispatch` - Next dispatch * `-next_dispatch` - Next dispatch (descending) * `dispatch_interval` - Dispatch interval * `-dispatch_interval` - Dispatch interval (descending) * `task_name` - Task name * `-task_name` - Task name (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
98
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
99
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
98
100
|
# @option opts [String] :task_name Filter results where task_name matches value
|
99
101
|
# @option opts [String] :task_name__contains Filter results where task_name contains value
|
100
102
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
@@ -112,7 +114,9 @@ module PulpcoreClient
|
|
112
114
|
# @option opts [String] :name Filter results where name matches value
|
113
115
|
# @option opts [String] :name__contains Filter results where name contains value
|
114
116
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
115
|
-
# @option opts [Array<String>] :ordering Ordering
|
117
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `name` - Name * `-name` - Name (descending) * `next_dispatch` - Next dispatch * `-next_dispatch` - Next dispatch (descending) * `dispatch_interval` - Dispatch interval * `-dispatch_interval` - Dispatch interval (descending) * `task_name` - Task name * `-task_name` - Task name (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
118
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
119
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
116
120
|
# @option opts [String] :task_name Filter results where task_name matches value
|
117
121
|
# @option opts [String] :task_name__contains Filter results where task_name contains value
|
118
122
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
@@ -136,6 +140,8 @@ module PulpcoreClient
|
|
136
140
|
query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
|
137
141
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
138
142
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
143
|
+
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
144
|
+
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
139
145
|
query_params[:'task_name'] = opts[:'task_name'] if !opts[:'task_name'].nil?
|
140
146
|
query_params[:'task_name__contains'] = opts[:'task_name__contains'] if !opts[:'task_name__contains'].nil?
|
141
147
|
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
@@ -167,8 +167,10 @@ module PulpcoreClient
|
|
167
167
|
# @option opts [String] :name__contains Filter results where name contains value
|
168
168
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
169
169
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
170
|
-
# @option opts [Array<String>] :ordering Ordering
|
170
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `state` - State * `-state` - State (descending) * `name` - Name * `-name` - Name (descending) * `logging_cid` - Logging cid * `-logging_cid` - Logging cid (descending) * `started_at` - Started at * `-started_at` - Started at (descending) * `finished_at` - Finished at * `-finished_at` - Finished at (descending) * `error` - Error * `-error` - Error (descending) * `args` - Args * `-args` - Args (descending) * `kwargs` - Kwargs * `-kwargs` - Kwargs (descending) * `reserved_resources_record` - Reserved resources record * `-reserved_resources_record` - Reserved resources record (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
171
171
|
# @option opts [String] :parent_task Filter results where parent_task matches value
|
172
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
173
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
172
174
|
# @option opts [String] :reserved_resources
|
173
175
|
# @option opts [Array<String>] :reserved_resources__in Multiple values may be separated by commas.
|
174
176
|
# @option opts [Array<String>] :reserved_resources_record
|
@@ -180,7 +182,7 @@ module PulpcoreClient
|
|
180
182
|
# @option opts [DateTime] :started_at__lt Filter results where started_at is less than value
|
181
183
|
# @option opts [DateTime] :started_at__lte Filter results where started_at is less than or equal to value
|
182
184
|
# @option opts [Array<DateTime>] :started_at__range Filter results where started_at is between two comma separated values
|
183
|
-
# @option opts [String] :state Filter results where state matches value
|
185
|
+
# @option opts [String] :state Filter results where state matches value * `waiting` - Waiting * `skipped` - Skipped * `running` - Running * `completed` - Completed * `failed` - Failed * `canceled` - Canceled * `canceling` - Canceling
|
184
186
|
# @option opts [Array<String>] :state__in Filter results where state is in a comma-separated list of values
|
185
187
|
# @option opts [String] :task_group Filter results where task_group matches value
|
186
188
|
# @option opts [String] :worker Filter results where worker matches value
|
@@ -213,8 +215,10 @@ module PulpcoreClient
|
|
213
215
|
# @option opts [String] :name__contains Filter results where name contains value
|
214
216
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
215
217
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
216
|
-
# @option opts [Array<String>] :ordering Ordering
|
218
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `state` - State * `-state` - State (descending) * `name` - Name * `-name` - Name (descending) * `logging_cid` - Logging cid * `-logging_cid` - Logging cid (descending) * `started_at` - Started at * `-started_at` - Started at (descending) * `finished_at` - Finished at * `-finished_at` - Finished at (descending) * `error` - Error * `-error` - Error (descending) * `args` - Args * `-args` - Args (descending) * `kwargs` - Kwargs * `-kwargs` - Kwargs (descending) * `reserved_resources_record` - Reserved resources record * `-reserved_resources_record` - Reserved resources record (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
217
219
|
# @option opts [String] :parent_task Filter results where parent_task matches value
|
220
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
221
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
218
222
|
# @option opts [String] :reserved_resources
|
219
223
|
# @option opts [Array<String>] :reserved_resources__in Multiple values may be separated by commas.
|
220
224
|
# @option opts [Array<String>] :reserved_resources_record
|
@@ -226,7 +230,7 @@ module PulpcoreClient
|
|
226
230
|
# @option opts [DateTime] :started_at__lt Filter results where started_at is less than value
|
227
231
|
# @option opts [DateTime] :started_at__lte Filter results where started_at is less than or equal to value
|
228
232
|
# @option opts [Array<DateTime>] :started_at__range Filter results where started_at is between two comma separated values
|
229
|
-
# @option opts [String] :state Filter results where state matches value
|
233
|
+
# @option opts [String] :state Filter results where state matches value * `waiting` - Waiting * `skipped` - Skipped * `running` - Running * `completed` - Completed * `failed` - Failed * `canceled` - Canceled * `canceling` - Canceling
|
230
234
|
# @option opts [Array<String>] :state__in Filter results where state is in a comma-separated list of values
|
231
235
|
# @option opts [String] :task_group Filter results where task_group matches value
|
232
236
|
# @option opts [String] :worker Filter results where worker matches value
|
@@ -270,6 +274,8 @@ module PulpcoreClient
|
|
270
274
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
271
275
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
272
276
|
query_params[:'parent_task'] = opts[:'parent_task'] if !opts[:'parent_task'].nil?
|
277
|
+
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
278
|
+
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
273
279
|
query_params[:'reserved_resources'] = opts[:'reserved_resources'] if !opts[:'reserved_resources'].nil?
|
274
280
|
query_params[:'reserved_resources__in'] = @api_client.build_collection_param(opts[:'reserved_resources__in'], :csv) if !opts[:'reserved_resources__in'].nil?
|
275
281
|
query_params[:'reserved_resources_record'] = @api_client.build_collection_param(opts[:'reserved_resources_record'], :multi) if !opts[:'reserved_resources_record'].nil?
|
@@ -286,7 +286,9 @@ module PulpcoreClient
|
|
286
286
|
# @param [Hash] opts the optional parameters
|
287
287
|
# @option opts [Integer] :limit Number of results to return per page.
|
288
288
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
289
|
-
# @option opts [Array<String>] :ordering Ordering
|
289
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `size` - Size * `-size` - Size (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
290
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
291
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
290
292
|
# @option opts [Integer] :size Filter results where size matches value
|
291
293
|
# @option opts [Integer] :size__gt Filter results where size is greater than value
|
292
294
|
# @option opts [Integer] :size__lt Filter results where size is less than value
|
@@ -304,7 +306,9 @@ module PulpcoreClient
|
|
304
306
|
# @param [Hash] opts the optional parameters
|
305
307
|
# @option opts [Integer] :limit Number of results to return per page.
|
306
308
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
307
|
-
# @option opts [Array<String>] :ordering Ordering
|
309
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `size` - Size * `-size` - Size (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
310
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
311
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
308
312
|
# @option opts [Integer] :size Filter results where size matches value
|
309
313
|
# @option opts [Integer] :size__gt Filter results where size is greater than value
|
310
314
|
# @option opts [Integer] :size__lt Filter results where size is less than value
|
@@ -328,6 +332,8 @@ module PulpcoreClient
|
|
328
332
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
329
333
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
330
334
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
335
|
+
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
336
|
+
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
331
337
|
query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
|
332
338
|
query_params[:'size__gt'] = opts[:'size__gt'] if !opts[:'size__gt'].nil?
|
333
339
|
query_params[:'size__lt'] = opts[:'size__lt'] if !opts[:'size__lt'].nil?
|
@@ -352,19 +352,21 @@ module PulpcoreClient
|
|
352
352
|
# Replicate
|
353
353
|
# Trigger an asynchronous repository replication task group. This API is provided as a tech preview.
|
354
354
|
# @param upstream_pulp_href [String]
|
355
|
+
# @param upstream_pulp [UpstreamPulp]
|
355
356
|
# @param [Hash] opts the optional parameters
|
356
|
-
# @return [
|
357
|
-
def replicate(upstream_pulp_href, opts = {})
|
358
|
-
data, _status_code, _headers = replicate_with_http_info(upstream_pulp_href, opts)
|
357
|
+
# @return [AsyncOperationResponse]
|
358
|
+
def replicate(upstream_pulp_href, upstream_pulp, opts = {})
|
359
|
+
data, _status_code, _headers = replicate_with_http_info(upstream_pulp_href, upstream_pulp, opts)
|
359
360
|
data
|
360
361
|
end
|
361
362
|
|
362
363
|
# Replicate
|
363
364
|
# Trigger an asynchronous repository replication task group. This API is provided as a tech preview.
|
364
365
|
# @param upstream_pulp_href [String]
|
366
|
+
# @param upstream_pulp [UpstreamPulp]
|
365
367
|
# @param [Hash] opts the optional parameters
|
366
|
-
# @return [Array<(
|
367
|
-
def replicate_with_http_info(upstream_pulp_href, opts = {})
|
368
|
+
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
369
|
+
def replicate_with_http_info(upstream_pulp_href, upstream_pulp, opts = {})
|
368
370
|
if @api_client.config.debugging
|
369
371
|
@api_client.config.logger.debug 'Calling API: UpstreamPulpsApi.replicate ...'
|
370
372
|
end
|
@@ -372,6 +374,10 @@ module PulpcoreClient
|
|
372
374
|
if @api_client.config.client_side_validation && upstream_pulp_href.nil?
|
373
375
|
fail ArgumentError, "Missing the required parameter 'upstream_pulp_href' when calling UpstreamPulpsApi.replicate"
|
374
376
|
end
|
377
|
+
# verify the required parameter 'upstream_pulp' is set
|
378
|
+
if @api_client.config.client_side_validation && upstream_pulp.nil?
|
379
|
+
fail ArgumentError, "Missing the required parameter 'upstream_pulp' when calling UpstreamPulpsApi.replicate"
|
380
|
+
end
|
375
381
|
# resource path
|
376
382
|
local_var_path = '{upstream_pulp_href}replicate/'.sub('{' + 'upstream_pulp_href' + '}', CGI.escape(upstream_pulp_href.to_s).gsub('%2F', '/'))
|
377
383
|
|
@@ -382,15 +388,17 @@ module PulpcoreClient
|
|
382
388
|
header_params = opts[:header_params] || {}
|
383
389
|
# HTTP header 'Accept' (if needed)
|
384
390
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
391
|
+
# HTTP header 'Content-Type'
|
392
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
385
393
|
|
386
394
|
# form parameters
|
387
395
|
form_params = opts[:form_params] || {}
|
388
396
|
|
389
397
|
# http body (model)
|
390
|
-
post_body = opts[:body]
|
398
|
+
post_body = opts[:body] || @api_client.object_to_http_body(upstream_pulp)
|
391
399
|
|
392
400
|
# return_type
|
393
|
-
return_type = opts[:return_type] || '
|
401
|
+
return_type = opts[:return_type] || 'AsyncOperationResponse'
|
394
402
|
|
395
403
|
# auth_names
|
396
404
|
auth_names = opts[:auth_names] || ['basicAuth']
|
@@ -165,7 +165,9 @@ module PulpcoreClient
|
|
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
|
168
|
+
# @option opts [Array<String>] :ordering Ordering * `id` - Id * `-id` - Id (descending) * `password` - Password * `-password` - Password (descending) * `last_login` - Last login * `-last_login` - Last login (descending) * `is_superuser` - Is superuser * `-is_superuser` - Is superuser (descending) * `username` - Username * `-username` - Username (descending) * `first_name` - First name * `-first_name` - First name (descending) * `last_name` - Last name * `-last_name` - Last name (descending) * `email` - Email * `-email` - Email (descending) * `is_staff` - Is staff * `-is_staff` - Is staff (descending) * `is_active` - Is active * `-is_active` - Is active (descending) * `date_joined` - Date joined * `-date_joined` - Date joined (descending) * `pk` - Pk * `-pk` - 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.
|
169
171
|
# @option opts [String] :username Filter results where username matches value
|
170
172
|
# @option opts [String] :username__contains Filter results where username contains value
|
171
173
|
# @option opts [String] :username__icontains Filter results where username contains value
|
@@ -201,7 +203,9 @@ module PulpcoreClient
|
|
201
203
|
# @option opts [Array<String>] :last_name__in Filter results where last_name is in a comma-separated list of values
|
202
204
|
# @option opts [Integer] :limit Number of results to return per page.
|
203
205
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
204
|
-
# @option opts [Array<String>] :ordering Ordering
|
206
|
+
# @option opts [Array<String>] :ordering Ordering * `id` - Id * `-id` - Id (descending) * `password` - Password * `-password` - Password (descending) * `last_login` - Last login * `-last_login` - Last login (descending) * `is_superuser` - Is superuser * `-is_superuser` - Is superuser (descending) * `username` - Username * `-username` - Username (descending) * `first_name` - First name * `-first_name` - First name (descending) * `last_name` - Last name * `-last_name` - Last name (descending) * `email` - Email * `-email` - Email (descending) * `is_staff` - Is staff * `-is_staff` - Is staff (descending) * `is_active` - Is active * `-is_active` - Is active (descending) * `date_joined` - Date joined * `-date_joined` - Date joined (descending) * `pk` - Pk * `-pk` - 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.
|
205
209
|
# @option opts [String] :username Filter results where username matches value
|
206
210
|
# @option opts [String] :username__contains Filter results where username contains value
|
207
211
|
# @option opts [String] :username__icontains Filter results where username contains value
|
@@ -243,6 +247,8 @@ module PulpcoreClient
|
|
243
247
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
244
248
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
245
249
|
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?
|
246
252
|
query_params[:'username'] = opts[:'username'] if !opts[:'username'].nil?
|
247
253
|
query_params[:'username__contains'] = opts[:'username__contains'] if !opts[:'username__contains'].nil?
|
248
254
|
query_params[:'username__icontains'] = opts[:'username__icontains'] if !opts[:'username__icontains'].nil?
|
@@ -157,7 +157,9 @@ module PulpcoreClient
|
|
157
157
|
# @option opts [String] :domain Foreign Key referenced by HREF
|
158
158
|
# @option opts [Integer] :limit Number of results to return per page.
|
159
159
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
160
|
-
# @option opts [Array<String>] :ordering Ordering
|
160
|
+
# @option opts [Array<String>] :ordering Ordering * `role` - Role * `-role` - Role (descending) * `description` - Description * `-description` - Description (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pk` - Pk * `-pk` - 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.
|
161
163
|
# @option opts [String] :role
|
162
164
|
# @option opts [String] :role__contains
|
163
165
|
# @option opts [String] :role__icontains
|
@@ -179,7 +181,9 @@ module PulpcoreClient
|
|
179
181
|
# @option opts [String] :domain Foreign Key referenced by HREF
|
180
182
|
# @option opts [Integer] :limit Number of results to return per page.
|
181
183
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
182
|
-
# @option opts [Array<String>] :ordering Ordering
|
184
|
+
# @option opts [Array<String>] :ordering Ordering * `role` - Role * `-role` - Role (descending) * `description` - Description * `-description` - Description (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pk` - Pk * `-pk` - 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.
|
183
187
|
# @option opts [String] :role
|
184
188
|
# @option opts [String] :role__contains
|
185
189
|
# @option opts [String] :role__icontains
|
@@ -210,6 +214,8 @@ module PulpcoreClient
|
|
210
214
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
211
215
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
212
216
|
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?
|
213
219
|
query_params[:'role'] = opts[:'role'] if !opts[:'role'].nil?
|
214
220
|
query_params[:'role__contains'] = opts[:'role__contains'] if !opts[:'role__contains'].nil?
|
215
221
|
query_params[:'role__icontains'] = opts[:'role__icontains'] if !opts[:'role__icontains'].nil?
|
@@ -37,7 +37,9 @@ module PulpcoreClient
|
|
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
|
40
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `name` - Name * `-name` - Name (descending) * `last_heartbeat` - Last heartbeat * `-last_heartbeat` - Last heartbeat (descending) * `versions` - Versions * `-versions` - Versions (descending) * `pk` - Pk * `-pk` - 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.
|
41
43
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
42
44
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
43
45
|
# @return [PaginatedWorkerResponseList]
|
@@ -64,7 +66,9 @@ module PulpcoreClient
|
|
64
66
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
65
67
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
66
68
|
# @option opts [Boolean] :online
|
67
|
-
# @option opts [Array<String>] :ordering Ordering
|
69
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `name` - Name * `-name` - Name (descending) * `last_heartbeat` - Last heartbeat * `-last_heartbeat` - Last heartbeat (descending) * `versions` - Versions * `-versions` - Versions (descending) * `pk` - Pk * `-pk` - 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.
|
68
72
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
69
73
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
70
74
|
# @return [Array<(PaginatedWorkerResponseList, Integer, Hash)>] PaginatedWorkerResponseList data, response status code and response headers
|
@@ -97,6 +101,8 @@ module PulpcoreClient
|
|
97
101
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
98
102
|
query_params[:'online'] = opts[:'online'] if !opts[:'online'].nil?
|
99
103
|
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?
|
100
106
|
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
101
107
|
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
102
108
|
|
@@ -15,48 +15,48 @@ require 'date'
|
|
15
15
|
module PulpcoreClient
|
16
16
|
# A serializer for ArtifactDistribution.
|
17
17
|
class ArtifactDistributionResponse
|
18
|
-
attr_accessor :pulp_href
|
19
|
-
|
20
|
-
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
21
|
-
attr_accessor :base_path
|
22
|
-
|
23
|
-
# The URL for accessing the publication as defined by this distribution.
|
24
|
-
attr_accessor :base_url
|
25
|
-
|
26
18
|
# Timestamp of creation.
|
27
19
|
attr_accessor :pulp_created
|
28
20
|
|
29
|
-
|
21
|
+
# The URL for accessing the publication as defined by this distribution.
|
22
|
+
attr_accessor :base_url
|
30
23
|
|
31
24
|
# An optional content-guard.
|
32
25
|
attr_accessor :content_guard
|
33
26
|
|
27
|
+
attr_accessor :pulp_href
|
28
|
+
|
29
|
+
attr_accessor :pulp_labels
|
30
|
+
|
34
31
|
# A unique name. Ex, `rawhide` and `stable`.
|
35
32
|
attr_accessor :name
|
36
33
|
|
34
|
+
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
35
|
+
attr_accessor :base_path
|
36
|
+
|
37
37
|
# Attribute mapping from ruby-style variable name to JSON key.
|
38
38
|
def self.attribute_map
|
39
39
|
{
|
40
|
-
:'pulp_href' => :'pulp_href',
|
41
|
-
:'base_path' => :'base_path',
|
42
|
-
:'base_url' => :'base_url',
|
43
40
|
:'pulp_created' => :'pulp_created',
|
44
|
-
:'
|
41
|
+
:'base_url' => :'base_url',
|
45
42
|
:'content_guard' => :'content_guard',
|
46
|
-
:'
|
43
|
+
:'pulp_href' => :'pulp_href',
|
44
|
+
:'pulp_labels' => :'pulp_labels',
|
45
|
+
:'name' => :'name',
|
46
|
+
:'base_path' => :'base_path'
|
47
47
|
}
|
48
48
|
end
|
49
49
|
|
50
50
|
# Attribute type mapping.
|
51
51
|
def self.openapi_types
|
52
52
|
{
|
53
|
-
:'pulp_href' => :'String',
|
54
|
-
:'base_path' => :'String',
|
55
|
-
:'base_url' => :'String',
|
56
53
|
:'pulp_created' => :'DateTime',
|
57
|
-
:'
|
54
|
+
:'base_url' => :'String',
|
58
55
|
:'content_guard' => :'String',
|
59
|
-
:'
|
56
|
+
:'pulp_href' => :'String',
|
57
|
+
:'pulp_labels' => :'Hash<String, String>',
|
58
|
+
:'name' => :'String',
|
59
|
+
:'base_path' => :'String'
|
60
60
|
}
|
61
61
|
end
|
62
62
|
|
@@ -82,20 +82,20 @@ module PulpcoreClient
|
|
82
82
|
h[k.to_sym] = v
|
83
83
|
}
|
84
84
|
|
85
|
-
if attributes.key?(:'
|
86
|
-
self.
|
87
|
-
end
|
88
|
-
|
89
|
-
if attributes.key?(:'base_path')
|
90
|
-
self.base_path = attributes[:'base_path']
|
85
|
+
if attributes.key?(:'pulp_created')
|
86
|
+
self.pulp_created = attributes[:'pulp_created']
|
91
87
|
end
|
92
88
|
|
93
89
|
if attributes.key?(:'base_url')
|
94
90
|
self.base_url = attributes[:'base_url']
|
95
91
|
end
|
96
92
|
|
97
|
-
if attributes.key?(:'
|
98
|
-
self.
|
93
|
+
if attributes.key?(:'content_guard')
|
94
|
+
self.content_guard = attributes[:'content_guard']
|
95
|
+
end
|
96
|
+
|
97
|
+
if attributes.key?(:'pulp_href')
|
98
|
+
self.pulp_href = attributes[:'pulp_href']
|
99
99
|
end
|
100
100
|
|
101
101
|
if attributes.key?(:'pulp_labels')
|
@@ -104,35 +104,35 @@ module PulpcoreClient
|
|
104
104
|
end
|
105
105
|
end
|
106
106
|
|
107
|
-
if attributes.key?(:'content_guard')
|
108
|
-
self.content_guard = attributes[:'content_guard']
|
109
|
-
end
|
110
|
-
|
111
107
|
if attributes.key?(:'name')
|
112
108
|
self.name = attributes[:'name']
|
113
109
|
end
|
110
|
+
|
111
|
+
if attributes.key?(:'base_path')
|
112
|
+
self.base_path = attributes[:'base_path']
|
113
|
+
end
|
114
114
|
end
|
115
115
|
|
116
116
|
# Show invalid properties with the reasons. Usually used together with valid?
|
117
117
|
# @return Array for valid properties with the reasons
|
118
118
|
def list_invalid_properties
|
119
119
|
invalid_properties = Array.new
|
120
|
-
if @base_path.nil?
|
121
|
-
invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
|
122
|
-
end
|
123
|
-
|
124
120
|
if @name.nil?
|
125
121
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
126
122
|
end
|
127
123
|
|
124
|
+
if @base_path.nil?
|
125
|
+
invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
|
126
|
+
end
|
127
|
+
|
128
128
|
invalid_properties
|
129
129
|
end
|
130
130
|
|
131
131
|
# Check to see if the all the properties in the model are valid
|
132
132
|
# @return true if the model is valid
|
133
133
|
def valid?
|
134
|
-
return false if @base_path.nil?
|
135
134
|
return false if @name.nil?
|
135
|
+
return false if @base_path.nil?
|
136
136
|
true
|
137
137
|
end
|
138
138
|
|
@@ -141,13 +141,13 @@ module PulpcoreClient
|
|
141
141
|
def ==(o)
|
142
142
|
return true if self.equal?(o)
|
143
143
|
self.class == o.class &&
|
144
|
-
pulp_href == o.pulp_href &&
|
145
|
-
base_path == o.base_path &&
|
146
|
-
base_url == o.base_url &&
|
147
144
|
pulp_created == o.pulp_created &&
|
148
|
-
|
145
|
+
base_url == o.base_url &&
|
149
146
|
content_guard == o.content_guard &&
|
150
|
-
|
147
|
+
pulp_href == o.pulp_href &&
|
148
|
+
pulp_labels == o.pulp_labels &&
|
149
|
+
name == o.name &&
|
150
|
+
base_path == o.base_path
|
151
151
|
end
|
152
152
|
|
153
153
|
# @see the `==` method
|
@@ -159,7 +159,7 @@ module PulpcoreClient
|
|
159
159
|
# Calculates hash code according to all attributes.
|
160
160
|
# @return [Integer] Hash code
|
161
161
|
def hash
|
162
|
-
[
|
162
|
+
[pulp_created, base_url, content_guard, pulp_href, pulp_labels, name, base_path].hash
|
163
163
|
end
|
164
164
|
|
165
165
|
# Builds the object from hash
|
@@ -21,7 +21,7 @@ module PulpcoreClient
|
|
21
21
|
# An optional description.
|
22
22
|
attr_accessor :description
|
23
23
|
|
24
|
-
# Backend storage class for domain.
|
24
|
+
# Backend storage class for domain. * `pulpcore.app.models.storage.FileSystem` - Use local filesystem as storage * `storages.backends.s3boto3.S3Boto3Storage` - Use Amazon S3 as storage * `storages.backends.azure_storage.AzureStorage` - Use Azure Blob as storage
|
25
25
|
attr_accessor :storage_class
|
26
26
|
|
27
27
|
# Settings for storage class.
|
@@ -26,7 +26,7 @@ module PulpcoreClient
|
|
26
26
|
# An optional description.
|
27
27
|
attr_accessor :description
|
28
28
|
|
29
|
-
# Backend storage class for domain.
|
29
|
+
# Backend storage class for domain. * `pulpcore.app.models.storage.FileSystem` - Use local filesystem as storage * `storages.backends.s3boto3.S3Boto3Storage` - Use Amazon S3 as storage * `storages.backends.azure_storage.AzureStorage` - Use Azure Blob as storage
|
30
30
|
attr_accessor :storage_class
|
31
31
|
|
32
32
|
# Settings for storage class.
|
@@ -21,7 +21,7 @@ module PulpcoreClient
|
|
21
21
|
# File system location to export to.
|
22
22
|
attr_accessor :path
|
23
23
|
|
24
|
-
# Method of exporting
|
24
|
+
# Method of exporting * `write` - Export by writing * `hardlink` - Export by hardlinking * `symlink` - Export by symlinking
|
25
25
|
attr_accessor :method
|
26
26
|
|
27
27
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -26,7 +26,7 @@ module PulpcoreClient
|
|
26
26
|
# File system location to export to.
|
27
27
|
attr_accessor :path
|
28
28
|
|
29
|
-
# Method of exporting
|
29
|
+
# Method of exporting * `write` - Export by writing * `hardlink` - Export by hardlinking * `symlink` - Export by symlinking
|
30
30
|
attr_accessor :method
|
31
31
|
|
32
32
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -21,7 +21,7 @@ module PulpcoreClient
|
|
21
21
|
# An optional description.
|
22
22
|
attr_accessor :description
|
23
23
|
|
24
|
-
# Backend storage class for domain.
|
24
|
+
# Backend storage class for domain. * `pulpcore.app.models.storage.FileSystem` - Use local filesystem as storage * `storages.backends.s3boto3.S3Boto3Storage` - Use Amazon S3 as storage * `storages.backends.azure_storage.AzureStorage` - Use Azure Blob as storage
|
25
25
|
attr_accessor :storage_class
|
26
26
|
|
27
27
|
# Settings for storage class.
|
@@ -21,7 +21,7 @@ module PulpcoreClient
|
|
21
21
|
# File system location to export to.
|
22
22
|
attr_accessor :path
|
23
23
|
|
24
|
-
# Method of exporting
|
24
|
+
# Method of exporting * `write` - Export by writing * `hardlink` - Export by hardlinking * `symlink` - Export by symlinking
|
25
25
|
attr_accessor :method
|
26
26
|
|
27
27
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -49,7 +49,7 @@ module PulpcoreClient
|
|
49
49
|
# Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
|
50
50
|
attr_accessor :max_retries
|
51
51
|
|
52
|
-
# The policy to use when downloading content.
|
52
|
+
# The policy to use when downloading content. * `immediate` - immediate * `When syncing, download all metadata and content now.` - When syncing, download all metadata and content now.
|
53
53
|
attr_accessor :policy
|
54
54
|
|
55
55
|
# aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
@@ -39,7 +39,9 @@ describe 'AccessPoliciesApi' do
|
|
39
39
|
# @option opts [Boolean] :customized Filter results where customized matches value
|
40
40
|
# @option opts [Integer] :limit Number of results to return per page.
|
41
41
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
42
|
-
# @option opts [Array<String>] :ordering Ordering
|
42
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `creation_hooks` - Creation hooks * `-creation_hooks` - Creation hooks (descending) * `statements` - Statements * `-statements` - Statements (descending) * `viewset_name` - Viewset name * `-viewset_name` - Viewset name (descending) * `customized` - Customized * `-customized` - Customized (descending) * `queryset_scoping` - Queryset scoping * `-queryset_scoping` - Queryset scoping (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
43
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
44
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
43
45
|
# @option opts [String] :viewset_name Filter results where viewset_name matches value
|
44
46
|
# @option opts [String] :viewset_name__contains Filter results where viewset_name contains value
|
45
47
|
# @option opts [String] :viewset_name__icontains Filter results where viewset_name contains value
|