pulpcore_client 3.32.0 → 3.33.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 +9 -5
- data/docs/AccessPoliciesApi.md +7 -1
- data/docs/ApiAppStatusResponse.md +21 -0
- data/docs/ArtifactDistributionResponse.md +8 -8
- data/docs/ArtifactsApi.md +3 -1
- data/docs/ContentApi.md +7 -3
- data/docs/ContentAppStatusResponse.md +3 -1
- data/docs/ContentguardsApi.md +11 -3
- data/docs/ContentguardsContentRedirectApi.md +7 -1
- data/docs/ContentguardsRbacApi.md +7 -1
- data/docs/DistributionsApi.md +11 -3
- data/docs/DistributionsArtifactsApi.md +7 -1
- data/docs/DomainsApi.md +7 -1
- data/docs/ExportersFilesystemApi.md +7 -1
- data/docs/ExportersFilesystemExportsApi.md +1 -1
- data/docs/ExportersPulpApi.md +7 -1
- data/docs/ExportersPulpExportsApi.md +1 -1
- data/docs/GroupsApi.md +3 -1
- data/docs/GroupsRolesApi.md +3 -1
- data/docs/GroupsUsersApi.md +1 -1
- data/docs/ImportersPulpApi.md +7 -1
- data/docs/ImportersPulpImportCheckApi.md +1 -1
- data/docs/ImportersPulpImportsApi.md +1 -1
- data/docs/OrphansApi.md +1 -1
- data/docs/OrphansCleanupApi.md +1 -1
- data/docs/PublicationsApi.md +7 -3
- data/docs/RemotesApi.md +11 -3
- data/docs/RepairApi.md +1 -1
- data/docs/RepositoriesApi.md +11 -3
- data/docs/RepositoriesReclaimSpaceApi.md +1 -1
- data/docs/RepositoryVersionsApi.md +3 -1
- data/docs/RolesApi.md +7 -1
- data/docs/SigningServicesApi.md +3 -1
- data/docs/StatusApi.md +1 -1
- data/docs/StatusResponse.md +4 -2
- data/docs/TaskGroupsApi.md +1 -1
- data/docs/TaskSchedulesApi.md +3 -1
- data/docs/TasksApi.md +9 -1
- data/docs/UploadsApi.md +3 -1
- data/docs/UpstreamPulpsApi.md +1 -1
- data/docs/UsersApi.md +3 -1
- data/docs/UsersRolesApi.md +3 -1
- data/docs/WorkerResponse.md +2 -0
- data/docs/WorkersApi.md +7 -1
- data/lib/pulpcore_client/api/access_policies_api.rb +9 -0
- data/lib/pulpcore_client/api/artifacts_api.rb +3 -0
- data/lib/pulpcore_client/api/content_api.rb +12 -2
- data/lib/pulpcore_client/api/contentguards_api.rb +18 -2
- data/lib/pulpcore_client/api/contentguards_content_redirect_api.rb +9 -0
- data/lib/pulpcore_client/api/contentguards_rbac_api.rb +9 -0
- data/lib/pulpcore_client/api/distributions_api.rb +18 -2
- data/lib/pulpcore_client/api/distributions_artifacts_api.rb +9 -0
- data/lib/pulpcore_client/api/domains_api.rb +9 -0
- data/lib/pulpcore_client/api/exporters_filesystem_api.rb +9 -0
- data/lib/pulpcore_client/api/exporters_pulp_api.rb +9 -0
- data/lib/pulpcore_client/api/groups_api.rb +3 -0
- data/lib/pulpcore_client/api/groups_roles_api.rb +3 -0
- data/lib/pulpcore_client/api/importers_pulp_api.rb +9 -0
- data/lib/pulpcore_client/api/publications_api.rb +12 -2
- data/lib/pulpcore_client/api/remotes_api.rb +18 -2
- data/lib/pulpcore_client/api/repositories_api.rb +18 -2
- data/lib/pulpcore_client/api/repository_versions_api.rb +3 -0
- data/lib/pulpcore_client/api/roles_api.rb +9 -0
- data/lib/pulpcore_client/api/signing_services_api.rb +3 -0
- data/lib/pulpcore_client/api/task_schedules_api.rb +3 -0
- data/lib/pulpcore_client/api/tasks_api.rb +12 -0
- data/lib/pulpcore_client/api/uploads_api.rb +3 -0
- data/lib/pulpcore_client/api/users_api.rb +3 -0
- data/lib/pulpcore_client/api/users_roles_api.rb +3 -0
- data/lib/pulpcore_client/api/workers_api.rb +9 -0
- data/lib/pulpcore_client/configuration.rb +2 -2
- data/lib/pulpcore_client/models/api_app_status_response.rb +230 -0
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +40 -40
- data/lib/pulpcore_client/models/content_app_status_response.rb +16 -4
- data/lib/pulpcore_client/models/status_response.rb +20 -3
- data/lib/pulpcore_client/models/worker_response.rb +13 -1
- data/lib/pulpcore_client/version.rb +1 -1
- data/lib/pulpcore_client.rb +1 -0
- data/spec/api/access_policies_api_spec.rb +3 -0
- data/spec/api/artifacts_api_spec.rb +1 -0
- data/spec/api/content_api_spec.rb +3 -1
- data/spec/api/contentguards_api_spec.rb +5 -1
- data/spec/api/contentguards_content_redirect_api_spec.rb +3 -0
- data/spec/api/contentguards_rbac_api_spec.rb +3 -0
- data/spec/api/distributions_api_spec.rb +5 -1
- data/spec/api/distributions_artifacts_api_spec.rb +3 -0
- data/spec/api/domains_api_spec.rb +3 -0
- data/spec/api/exporters_filesystem_api_spec.rb +3 -0
- data/spec/api/exporters_pulp_api_spec.rb +3 -0
- data/spec/api/groups_api_spec.rb +1 -0
- data/spec/api/groups_roles_api_spec.rb +1 -0
- data/spec/api/importers_pulp_api_spec.rb +3 -0
- data/spec/api/publications_api_spec.rb +3 -1
- data/spec/api/remotes_api_spec.rb +5 -1
- data/spec/api/repositories_api_spec.rb +5 -1
- data/spec/api/repository_versions_api_spec.rb +1 -0
- data/spec/api/roles_api_spec.rb +3 -0
- data/spec/api/signing_services_api_spec.rb +1 -0
- data/spec/api/task_schedules_api_spec.rb +1 -0
- data/spec/api/tasks_api_spec.rb +4 -0
- data/spec/api/uploads_api_spec.rb +1 -0
- data/spec/api/users_api_spec.rb +1 -0
- data/spec/api/users_roles_api_spec.rb +1 -0
- data/spec/api/workers_api_spec.rb +3 -0
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/api_app_status_response_spec.rb +53 -0
- data/spec/models/artifact_distribution_response_spec.rb +7 -7
- data/spec/models/content_app_status_response_spec.rb +6 -0
- data/spec/models/status_response_spec.rb +6 -0
- data/spec/models/worker_response_spec.rb +6 -0
- metadata +6 -2
@@ -168,11 +168,13 @@ module PulpcoreClient
|
|
168
168
|
# @option opts [String] :name Filter results where name matches value
|
169
169
|
# @option opts [String] :name__contains Filter results where name contains value
|
170
170
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
171
|
+
# @option opts [String] :name__ne Filter results where name not equal to value
|
171
172
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
172
173
|
# @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) * `versions` - Versions * `-versions` - Versions (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
173
174
|
# @option opts [String] :parent_task Filter results where parent_task matches value
|
174
175
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
175
176
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
177
|
+
# @option opts [String] :q
|
176
178
|
# @option opts [String] :reserved_resources
|
177
179
|
# @option opts [Array<String>] :reserved_resources__in Multiple values may be separated by commas.
|
178
180
|
# @option opts [Array<String>] :reserved_resources_record
|
@@ -186,9 +188,11 @@ module PulpcoreClient
|
|
186
188
|
# @option opts [Array<DateTime>] :started_at__range Filter results where started_at is between two comma separated values
|
187
189
|
# @option opts [String] :state Filter results where state matches value * `waiting` - Waiting * `skipped` - Skipped * `running` - Running * `completed` - Completed * `failed` - Failed * `canceled` - Canceled * `canceling` - Canceling
|
188
190
|
# @option opts [Array<String>] :state__in Filter results where state is in a comma-separated list of values
|
191
|
+
# @option opts [String] :state__ne Filter results where state not equal to value
|
189
192
|
# @option opts [String] :task_group Filter results where task_group matches value
|
190
193
|
# @option opts [String] :worker Filter results where worker matches value
|
191
194
|
# @option opts [Array<String>] :worker__in Filter results where worker is in a comma-separated list of values
|
195
|
+
# @option opts [Boolean] :worker__isnull Filter results where worker has a null value
|
192
196
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
193
197
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
194
198
|
# @return [PaginatedTaskResponseList]
|
@@ -216,11 +220,13 @@ module PulpcoreClient
|
|
216
220
|
# @option opts [String] :name Filter results where name matches value
|
217
221
|
# @option opts [String] :name__contains Filter results where name contains value
|
218
222
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
223
|
+
# @option opts [String] :name__ne Filter results where name not equal to value
|
219
224
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
220
225
|
# @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) * `versions` - Versions * `-versions` - Versions (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
221
226
|
# @option opts [String] :parent_task Filter results where parent_task matches value
|
222
227
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
223
228
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
229
|
+
# @option opts [String] :q
|
224
230
|
# @option opts [String] :reserved_resources
|
225
231
|
# @option opts [Array<String>] :reserved_resources__in Multiple values may be separated by commas.
|
226
232
|
# @option opts [Array<String>] :reserved_resources_record
|
@@ -234,9 +240,11 @@ module PulpcoreClient
|
|
234
240
|
# @option opts [Array<DateTime>] :started_at__range Filter results where started_at is between two comma separated values
|
235
241
|
# @option opts [String] :state Filter results where state matches value * `waiting` - Waiting * `skipped` - Skipped * `running` - Running * `completed` - Completed * `failed` - Failed * `canceled` - Canceled * `canceling` - Canceling
|
236
242
|
# @option opts [Array<String>] :state__in Filter results where state is in a comma-separated list of values
|
243
|
+
# @option opts [String] :state__ne Filter results where state not equal to value
|
237
244
|
# @option opts [String] :task_group Filter results where task_group matches value
|
238
245
|
# @option opts [String] :worker Filter results where worker matches value
|
239
246
|
# @option opts [Array<String>] :worker__in Filter results where worker is in a comma-separated list of values
|
247
|
+
# @option opts [Boolean] :worker__isnull Filter results where worker has a null value
|
240
248
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
241
249
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
242
250
|
# @return [Array<(PaginatedTaskResponseList, Integer, Hash)>] PaginatedTaskResponseList data, response status code and response headers
|
@@ -273,11 +281,13 @@ module PulpcoreClient
|
|
273
281
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
274
282
|
query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
|
275
283
|
query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
|
284
|
+
query_params[:'name__ne'] = opts[:'name__ne'] if !opts[:'name__ne'].nil?
|
276
285
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
277
286
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
278
287
|
query_params[:'parent_task'] = opts[:'parent_task'] if !opts[:'parent_task'].nil?
|
279
288
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
280
289
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
290
|
+
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
281
291
|
query_params[:'reserved_resources'] = opts[:'reserved_resources'] if !opts[:'reserved_resources'].nil?
|
282
292
|
query_params[:'reserved_resources__in'] = @api_client.build_collection_param(opts[:'reserved_resources__in'], :csv) if !opts[:'reserved_resources__in'].nil?
|
283
293
|
query_params[:'reserved_resources_record'] = @api_client.build_collection_param(opts[:'reserved_resources_record'], :multi) if !opts[:'reserved_resources_record'].nil?
|
@@ -291,9 +301,11 @@ module PulpcoreClient
|
|
291
301
|
query_params[:'started_at__range'] = @api_client.build_collection_param(opts[:'started_at__range'], :csv) if !opts[:'started_at__range'].nil?
|
292
302
|
query_params[:'state'] = opts[:'state'] if !opts[:'state'].nil?
|
293
303
|
query_params[:'state__in'] = @api_client.build_collection_param(opts[:'state__in'], :csv) if !opts[:'state__in'].nil?
|
304
|
+
query_params[:'state__ne'] = opts[:'state__ne'] if !opts[:'state__ne'].nil?
|
294
305
|
query_params[:'task_group'] = opts[:'task_group'] if !opts[:'task_group'].nil?
|
295
306
|
query_params[:'worker'] = opts[:'worker'] if !opts[:'worker'].nil?
|
296
307
|
query_params[:'worker__in'] = @api_client.build_collection_param(opts[:'worker__in'], :csv) if !opts[:'worker__in'].nil?
|
308
|
+
query_params[:'worker__isnull'] = opts[:'worker__isnull'] if !opts[:'worker__isnull'].nil?
|
297
309
|
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
298
310
|
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
299
311
|
|
@@ -291,6 +291,7 @@ module PulpcoreClient
|
|
291
291
|
# @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)
|
292
292
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
293
293
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
294
|
+
# @option opts [String] :q
|
294
295
|
# @option opts [Integer] :size Filter results where size matches value
|
295
296
|
# @option opts [Integer] :size__gt Filter results where size is greater than value
|
296
297
|
# @option opts [Integer] :size__lt Filter results where size is less than value
|
@@ -311,6 +312,7 @@ module PulpcoreClient
|
|
311
312
|
# @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)
|
312
313
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
313
314
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
315
|
+
# @option opts [String] :q
|
314
316
|
# @option opts [Integer] :size Filter results where size matches value
|
315
317
|
# @option opts [Integer] :size__gt Filter results where size is greater than value
|
316
318
|
# @option opts [Integer] :size__lt Filter results where size is less than value
|
@@ -336,6 +338,7 @@ module PulpcoreClient
|
|
336
338
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
337
339
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
338
340
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
341
|
+
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
339
342
|
query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
|
340
343
|
query_params[:'size__gt'] = opts[:'size__gt'] if !opts[:'size__gt'].nil?
|
341
344
|
query_params[:'size__lt'] = opts[:'size__lt'] if !opts[:'size__lt'].nil?
|
@@ -168,6 +168,7 @@ module PulpcoreClient
|
|
168
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
169
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
170
170
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
171
|
+
# @option opts [String] :q
|
171
172
|
# @option opts [String] :username Filter results where username matches value
|
172
173
|
# @option opts [String] :username__contains Filter results where username contains value
|
173
174
|
# @option opts [String] :username__icontains Filter results where username contains value
|
@@ -206,6 +207,7 @@ module PulpcoreClient
|
|
206
207
|
# @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
208
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
208
209
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
210
|
+
# @option opts [String] :q
|
209
211
|
# @option opts [String] :username Filter results where username matches value
|
210
212
|
# @option opts [String] :username__contains Filter results where username contains value
|
211
213
|
# @option opts [String] :username__icontains Filter results where username contains value
|
@@ -249,6 +251,7 @@ module PulpcoreClient
|
|
249
251
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
250
252
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
251
253
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
254
|
+
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
252
255
|
query_params[:'username'] = opts[:'username'] if !opts[:'username'].nil?
|
253
256
|
query_params[:'username__contains'] = opts[:'username__contains'] if !opts[:'username__contains'].nil?
|
254
257
|
query_params[:'username__icontains'] = opts[:'username__icontains'] if !opts[:'username__icontains'].nil?
|
@@ -160,6 +160,7 @@ module PulpcoreClient
|
|
160
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
161
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
162
162
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
163
|
+
# @option opts [String] :q
|
163
164
|
# @option opts [String] :role
|
164
165
|
# @option opts [String] :role__contains
|
165
166
|
# @option opts [String] :role__icontains
|
@@ -184,6 +185,7 @@ module PulpcoreClient
|
|
184
185
|
# @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
186
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
186
187
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
188
|
+
# @option opts [String] :q
|
187
189
|
# @option opts [String] :role
|
188
190
|
# @option opts [String] :role__contains
|
189
191
|
# @option opts [String] :role__icontains
|
@@ -216,6 +218,7 @@ module PulpcoreClient
|
|
216
218
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
217
219
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
218
220
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
221
|
+
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
219
222
|
query_params[:'role'] = opts[:'role'] if !opts[:'role'].nil?
|
220
223
|
query_params[:'role__contains'] = opts[:'role__contains'] if !opts[:'role__contains'].nil?
|
221
224
|
query_params[:'role__icontains'] = opts[:'role__icontains'] if !opts[:'role__icontains'].nil?
|
@@ -33,13 +33,16 @@ module PulpcoreClient
|
|
33
33
|
# @option opts [String] :name Filter results where name matches value
|
34
34
|
# @option opts [String] :name__contains Filter results where name contains value
|
35
35
|
# @option opts [String] :name__icontains Filter results where name contains value
|
36
|
+
# @option opts [String] :name__iexact Filter results where name matches value
|
36
37
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
38
|
+
# @option opts [String] :name__istartswith Filter results where name starts with value
|
37
39
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
38
40
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
39
41
|
# @option opts [Boolean] :online
|
40
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) * `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
43
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
42
44
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
45
|
+
# @option opts [String] :q
|
43
46
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
44
47
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
45
48
|
# @return [PaginatedWorkerResponseList]
|
@@ -62,13 +65,16 @@ module PulpcoreClient
|
|
62
65
|
# @option opts [String] :name Filter results where name matches value
|
63
66
|
# @option opts [String] :name__contains Filter results where name contains value
|
64
67
|
# @option opts [String] :name__icontains Filter results where name contains value
|
68
|
+
# @option opts [String] :name__iexact Filter results where name matches value
|
65
69
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
70
|
+
# @option opts [String] :name__istartswith Filter results where name starts with value
|
66
71
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
67
72
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
68
73
|
# @option opts [Boolean] :online
|
69
74
|
# @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
75
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
71
76
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
77
|
+
# @option opts [String] :q
|
72
78
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
73
79
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
74
80
|
# @return [Array<(PaginatedWorkerResponseList, Integer, Hash)>] PaginatedWorkerResponseList data, response status code and response headers
|
@@ -96,13 +102,16 @@ module PulpcoreClient
|
|
96
102
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
97
103
|
query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
|
98
104
|
query_params[:'name__icontains'] = opts[:'name__icontains'] if !opts[:'name__icontains'].nil?
|
105
|
+
query_params[:'name__iexact'] = opts[:'name__iexact'] if !opts[:'name__iexact'].nil?
|
99
106
|
query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
|
107
|
+
query_params[:'name__istartswith'] = opts[:'name__istartswith'] if !opts[:'name__istartswith'].nil?
|
100
108
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
101
109
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
102
110
|
query_params[:'online'] = opts[:'online'] if !opts[:'online'].nil?
|
103
111
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
104
112
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
105
113
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
114
|
+
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
106
115
|
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
107
116
|
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
108
117
|
|
@@ -127,7 +127,7 @@ module PulpcoreClient
|
|
127
127
|
attr_accessor :force_ending_format
|
128
128
|
|
129
129
|
def initialize
|
130
|
-
@scheme = '
|
130
|
+
@scheme = 'http'
|
131
131
|
@host = 'pulp'
|
132
132
|
@base_path = ''
|
133
133
|
@api_key = {}
|
@@ -210,7 +210,7 @@ module PulpcoreClient
|
|
210
210
|
def server_settings
|
211
211
|
[
|
212
212
|
{
|
213
|
-
url: "
|
213
|
+
url: "http://pulp/",
|
214
214
|
description: "No description provided",
|
215
215
|
}
|
216
216
|
]
|
@@ -0,0 +1,230 @@
|
|
1
|
+
=begin
|
2
|
+
#Pulp 3 API
|
3
|
+
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
Contact: pulp-list@redhat.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'date'
|
14
|
+
|
15
|
+
module PulpcoreClient
|
16
|
+
# Base serializer for use with :class:`pulpcore.app.models.Model` This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the ``ref_name`` attribute in the ModelSerializers's ``Meta`` class. This ensures that the OpenAPI definitions of plugins are namespaced properly.
|
17
|
+
class ApiAppStatusResponse
|
18
|
+
# The name of the worker.
|
19
|
+
attr_accessor :name
|
20
|
+
|
21
|
+
# Timestamp of the last time the worker talked to the service.
|
22
|
+
attr_accessor :last_heartbeat
|
23
|
+
|
24
|
+
# Versions of the components installed.
|
25
|
+
attr_accessor :versions
|
26
|
+
|
27
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
28
|
+
def self.attribute_map
|
29
|
+
{
|
30
|
+
:'name' => :'name',
|
31
|
+
:'last_heartbeat' => :'last_heartbeat',
|
32
|
+
:'versions' => :'versions'
|
33
|
+
}
|
34
|
+
end
|
35
|
+
|
36
|
+
# Attribute type mapping.
|
37
|
+
def self.openapi_types
|
38
|
+
{
|
39
|
+
:'name' => :'String',
|
40
|
+
:'last_heartbeat' => :'DateTime',
|
41
|
+
:'versions' => :'Hash<String, String>'
|
42
|
+
}
|
43
|
+
end
|
44
|
+
|
45
|
+
# List of attributes with nullable: true
|
46
|
+
def self.openapi_nullable
|
47
|
+
Set.new([
|
48
|
+
])
|
49
|
+
end
|
50
|
+
|
51
|
+
# Initializes the object
|
52
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
53
|
+
def initialize(attributes = {})
|
54
|
+
if (!attributes.is_a?(Hash))
|
55
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpcoreClient::ApiAppStatusResponse` initialize method"
|
56
|
+
end
|
57
|
+
|
58
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
59
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
60
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
61
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpcoreClient::ApiAppStatusResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
62
|
+
end
|
63
|
+
h[k.to_sym] = v
|
64
|
+
}
|
65
|
+
|
66
|
+
if attributes.key?(:'name')
|
67
|
+
self.name = attributes[:'name']
|
68
|
+
end
|
69
|
+
|
70
|
+
if attributes.key?(:'last_heartbeat')
|
71
|
+
self.last_heartbeat = attributes[:'last_heartbeat']
|
72
|
+
end
|
73
|
+
|
74
|
+
if attributes.key?(:'versions')
|
75
|
+
if (value = attributes[:'versions']).is_a?(Hash)
|
76
|
+
self.versions = value
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|
80
|
+
|
81
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
82
|
+
# @return Array for valid properties with the reasons
|
83
|
+
def list_invalid_properties
|
84
|
+
invalid_properties = Array.new
|
85
|
+
invalid_properties
|
86
|
+
end
|
87
|
+
|
88
|
+
# Check to see if the all the properties in the model are valid
|
89
|
+
# @return true if the model is valid
|
90
|
+
def valid?
|
91
|
+
true
|
92
|
+
end
|
93
|
+
|
94
|
+
# Checks equality by comparing each attribute.
|
95
|
+
# @param [Object] Object to be compared
|
96
|
+
def ==(o)
|
97
|
+
return true if self.equal?(o)
|
98
|
+
self.class == o.class &&
|
99
|
+
name == o.name &&
|
100
|
+
last_heartbeat == o.last_heartbeat &&
|
101
|
+
versions == o.versions
|
102
|
+
end
|
103
|
+
|
104
|
+
# @see the `==` method
|
105
|
+
# @param [Object] Object to be compared
|
106
|
+
def eql?(o)
|
107
|
+
self == o
|
108
|
+
end
|
109
|
+
|
110
|
+
# Calculates hash code according to all attributes.
|
111
|
+
# @return [Integer] Hash code
|
112
|
+
def hash
|
113
|
+
[name, last_heartbeat, versions].hash
|
114
|
+
end
|
115
|
+
|
116
|
+
# Builds the object from hash
|
117
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
118
|
+
# @return [Object] Returns the model itself
|
119
|
+
def self.build_from_hash(attributes)
|
120
|
+
new.build_from_hash(attributes)
|
121
|
+
end
|
122
|
+
|
123
|
+
# Builds the object from hash
|
124
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
125
|
+
# @return [Object] Returns the model itself
|
126
|
+
def build_from_hash(attributes)
|
127
|
+
return nil unless attributes.is_a?(Hash)
|
128
|
+
self.class.openapi_types.each_pair do |key, type|
|
129
|
+
if type =~ /\AArray<(.*)>/i
|
130
|
+
# check to ensure the input is an array given that the attribute
|
131
|
+
# is documented as an array but the input is not
|
132
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
133
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
134
|
+
end
|
135
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
136
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
137
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
138
|
+
end
|
139
|
+
|
140
|
+
self
|
141
|
+
end
|
142
|
+
|
143
|
+
# Deserializes the data based on type
|
144
|
+
# @param string type Data type
|
145
|
+
# @param string value Value to be deserialized
|
146
|
+
# @return [Object] Deserialized data
|
147
|
+
def _deserialize(type, value)
|
148
|
+
case type.to_sym
|
149
|
+
when :DateTime
|
150
|
+
DateTime.parse(value)
|
151
|
+
when :Date
|
152
|
+
Date.parse(value)
|
153
|
+
when :String
|
154
|
+
value.to_s
|
155
|
+
when :Integer
|
156
|
+
value.to_i
|
157
|
+
when :Float
|
158
|
+
value.to_f
|
159
|
+
when :Boolean
|
160
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
161
|
+
true
|
162
|
+
else
|
163
|
+
false
|
164
|
+
end
|
165
|
+
when :Object
|
166
|
+
# generic object (usually a Hash), return directly
|
167
|
+
value
|
168
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
169
|
+
inner_type = Regexp.last_match[:inner_type]
|
170
|
+
value.map { |v| _deserialize(inner_type, v) }
|
171
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
172
|
+
k_type = Regexp.last_match[:k_type]
|
173
|
+
v_type = Regexp.last_match[:v_type]
|
174
|
+
{}.tap do |hash|
|
175
|
+
value.each do |k, v|
|
176
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
177
|
+
end
|
178
|
+
end
|
179
|
+
else # model
|
180
|
+
PulpcoreClient.const_get(type).build_from_hash(value)
|
181
|
+
end
|
182
|
+
end
|
183
|
+
|
184
|
+
# Returns the string representation of the object
|
185
|
+
# @return [String] String presentation of the object
|
186
|
+
def to_s
|
187
|
+
to_hash.to_s
|
188
|
+
end
|
189
|
+
|
190
|
+
# to_body is an alias to to_hash (backward compatibility)
|
191
|
+
# @return [Hash] Returns the object in the form of hash
|
192
|
+
def to_body
|
193
|
+
to_hash
|
194
|
+
end
|
195
|
+
|
196
|
+
# Returns the object in the form of hash
|
197
|
+
# @return [Hash] Returns the object in the form of hash
|
198
|
+
def to_hash
|
199
|
+
hash = {}
|
200
|
+
self.class.attribute_map.each_pair do |attr, param|
|
201
|
+
value = self.send(attr)
|
202
|
+
if value.nil?
|
203
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
204
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
205
|
+
end
|
206
|
+
|
207
|
+
hash[param] = _to_hash(value)
|
208
|
+
end
|
209
|
+
hash
|
210
|
+
end
|
211
|
+
|
212
|
+
# Outputs non-array value in the form of hash
|
213
|
+
# For object, use to_hash. Otherwise, just return the value
|
214
|
+
# @param [Object] value Any valid value
|
215
|
+
# @return [Hash] Returns the value in the form of hash
|
216
|
+
def _to_hash(value)
|
217
|
+
if value.is_a?(Array)
|
218
|
+
value.compact.map { |v| _to_hash(v) }
|
219
|
+
elsif value.is_a?(Hash)
|
220
|
+
{}.tap do |hash|
|
221
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
222
|
+
end
|
223
|
+
elsif value.respond_to? :to_hash
|
224
|
+
value.to_hash
|
225
|
+
else
|
226
|
+
value
|
227
|
+
end
|
228
|
+
end
|
229
|
+
end
|
230
|
+
end
|
@@ -15,53 +15,53 @@ require 'date'
|
|
15
15
|
module PulpcoreClient
|
16
16
|
# A serializer for ArtifactDistribution.
|
17
17
|
class ArtifactDistributionResponse
|
18
|
+
attr_accessor :pulp_labels
|
19
|
+
|
18
20
|
# Whether this distribution should be shown in the content app.
|
19
21
|
attr_accessor :hidden
|
20
22
|
|
21
|
-
# The URL for accessing the publication as defined by this distribution.
|
22
|
-
attr_accessor :base_url
|
23
|
-
|
24
|
-
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
25
|
-
attr_accessor :base_path
|
26
|
-
|
27
23
|
# Timestamp of creation.
|
28
24
|
attr_accessor :pulp_created
|
29
25
|
|
30
26
|
# A unique name. Ex, `rawhide` and `stable`.
|
31
27
|
attr_accessor :name
|
32
28
|
|
29
|
+
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
30
|
+
attr_accessor :base_path
|
31
|
+
|
33
32
|
# An optional content-guard.
|
34
33
|
attr_accessor :content_guard
|
35
34
|
|
36
|
-
attr_accessor :pulp_labels
|
37
|
-
|
38
35
|
attr_accessor :pulp_href
|
39
36
|
|
37
|
+
# The URL for accessing the publication as defined by this distribution.
|
38
|
+
attr_accessor :base_url
|
39
|
+
|
40
40
|
# Attribute mapping from ruby-style variable name to JSON key.
|
41
41
|
def self.attribute_map
|
42
42
|
{
|
43
|
+
:'pulp_labels' => :'pulp_labels',
|
43
44
|
:'hidden' => :'hidden',
|
44
|
-
:'base_url' => :'base_url',
|
45
|
-
:'base_path' => :'base_path',
|
46
45
|
:'pulp_created' => :'pulp_created',
|
47
46
|
:'name' => :'name',
|
47
|
+
:'base_path' => :'base_path',
|
48
48
|
:'content_guard' => :'content_guard',
|
49
|
-
:'
|
50
|
-
:'
|
49
|
+
:'pulp_href' => :'pulp_href',
|
50
|
+
:'base_url' => :'base_url'
|
51
51
|
}
|
52
52
|
end
|
53
53
|
|
54
54
|
# Attribute type mapping.
|
55
55
|
def self.openapi_types
|
56
56
|
{
|
57
|
+
:'pulp_labels' => :'Hash<String, String>',
|
57
58
|
:'hidden' => :'Boolean',
|
58
|
-
:'base_url' => :'String',
|
59
|
-
:'base_path' => :'String',
|
60
59
|
:'pulp_created' => :'DateTime',
|
61
60
|
:'name' => :'String',
|
61
|
+
:'base_path' => :'String',
|
62
62
|
:'content_guard' => :'String',
|
63
|
-
:'
|
64
|
-
:'
|
63
|
+
:'pulp_href' => :'String',
|
64
|
+
:'base_url' => :'String'
|
65
65
|
}
|
66
66
|
end
|
67
67
|
|
@@ -87,20 +87,18 @@ module PulpcoreClient
|
|
87
87
|
h[k.to_sym] = v
|
88
88
|
}
|
89
89
|
|
90
|
+
if attributes.key?(:'pulp_labels')
|
91
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
92
|
+
self.pulp_labels = value
|
93
|
+
end
|
94
|
+
end
|
95
|
+
|
90
96
|
if attributes.key?(:'hidden')
|
91
97
|
self.hidden = attributes[:'hidden']
|
92
98
|
else
|
93
99
|
self.hidden = false
|
94
100
|
end
|
95
101
|
|
96
|
-
if attributes.key?(:'base_url')
|
97
|
-
self.base_url = attributes[:'base_url']
|
98
|
-
end
|
99
|
-
|
100
|
-
if attributes.key?(:'base_path')
|
101
|
-
self.base_path = attributes[:'base_path']
|
102
|
-
end
|
103
|
-
|
104
102
|
if attributes.key?(:'pulp_created')
|
105
103
|
self.pulp_created = attributes[:'pulp_created']
|
106
104
|
end
|
@@ -109,41 +107,43 @@ module PulpcoreClient
|
|
109
107
|
self.name = attributes[:'name']
|
110
108
|
end
|
111
109
|
|
112
|
-
if attributes.key?(:'
|
113
|
-
self.
|
110
|
+
if attributes.key?(:'base_path')
|
111
|
+
self.base_path = attributes[:'base_path']
|
114
112
|
end
|
115
113
|
|
116
|
-
if attributes.key?(:'
|
117
|
-
|
118
|
-
self.pulp_labels = value
|
119
|
-
end
|
114
|
+
if attributes.key?(:'content_guard')
|
115
|
+
self.content_guard = attributes[:'content_guard']
|
120
116
|
end
|
121
117
|
|
122
118
|
if attributes.key?(:'pulp_href')
|
123
119
|
self.pulp_href = attributes[:'pulp_href']
|
124
120
|
end
|
121
|
+
|
122
|
+
if attributes.key?(:'base_url')
|
123
|
+
self.base_url = attributes[:'base_url']
|
124
|
+
end
|
125
125
|
end
|
126
126
|
|
127
127
|
# Show invalid properties with the reasons. Usually used together with valid?
|
128
128
|
# @return Array for valid properties with the reasons
|
129
129
|
def list_invalid_properties
|
130
130
|
invalid_properties = Array.new
|
131
|
-
if @base_path.nil?
|
132
|
-
invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
|
133
|
-
end
|
134
|
-
|
135
131
|
if @name.nil?
|
136
132
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
137
133
|
end
|
138
134
|
|
135
|
+
if @base_path.nil?
|
136
|
+
invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
|
137
|
+
end
|
138
|
+
|
139
139
|
invalid_properties
|
140
140
|
end
|
141
141
|
|
142
142
|
# Check to see if the all the properties in the model are valid
|
143
143
|
# @return true if the model is valid
|
144
144
|
def valid?
|
145
|
-
return false if @base_path.nil?
|
146
145
|
return false if @name.nil?
|
146
|
+
return false if @base_path.nil?
|
147
147
|
true
|
148
148
|
end
|
149
149
|
|
@@ -152,14 +152,14 @@ module PulpcoreClient
|
|
152
152
|
def ==(o)
|
153
153
|
return true if self.equal?(o)
|
154
154
|
self.class == o.class &&
|
155
|
+
pulp_labels == o.pulp_labels &&
|
155
156
|
hidden == o.hidden &&
|
156
|
-
base_url == o.base_url &&
|
157
|
-
base_path == o.base_path &&
|
158
157
|
pulp_created == o.pulp_created &&
|
159
158
|
name == o.name &&
|
159
|
+
base_path == o.base_path &&
|
160
160
|
content_guard == o.content_guard &&
|
161
|
-
|
162
|
-
|
161
|
+
pulp_href == o.pulp_href &&
|
162
|
+
base_url == o.base_url
|
163
163
|
end
|
164
164
|
|
165
165
|
# @see the `==` method
|
@@ -171,7 +171,7 @@ module PulpcoreClient
|
|
171
171
|
# Calculates hash code according to all attributes.
|
172
172
|
# @return [Integer] Hash code
|
173
173
|
def hash
|
174
|
-
[
|
174
|
+
[pulp_labels, hidden, pulp_created, name, base_path, content_guard, pulp_href, base_url].hash
|
175
175
|
end
|
176
176
|
|
177
177
|
# Builds the object from hash
|