pulp_rpm_client 3.29.5 → 3.30.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +5 -8
- data/docs/AcsRpmApi.md +28 -64
- data/docs/ContentAdvisoriesApi.md +8 -22
- data/docs/ContentDistributionTreesApi.md +8 -20
- data/docs/ContentModulemdDefaultsApi.md +12 -28
- data/docs/ContentModulemdObsoletesApi.md +12 -28
- data/docs/ContentModulemdsApi.md +12 -28
- data/docs/ContentPackagecategoriesApi.md +8 -20
- data/docs/ContentPackageenvironmentsApi.md +8 -20
- data/docs/ContentPackagegroupsApi.md +8 -20
- data/docs/ContentPackagelangpacksApi.md +8 -20
- data/docs/ContentPackagesApi.md +8 -22
- data/docs/ContentRepoMetadataFilesApi.md +8 -20
- data/docs/DistributionsRpmApi.md +32 -72
- data/docs/PatchedrpmRpmDistribution.md +3 -1
- data/docs/PatchedrpmRpmRepository.md +1 -9
- data/docs/PublicationsRpmApi.md +16 -40
- data/docs/RemotesRpmApi.md +32 -72
- data/docs/RemotesUlnApi.md +32 -72
- data/docs/RepositoriesRpmApi.md +40 -88
- data/docs/RepositoriesRpmVersionsApi.md +10 -22
- data/docs/RpmCompsApi.md +0 -2
- data/docs/RpmCopyApi.md +4 -8
- data/docs/RpmPackageResponse.md +2 -2
- data/docs/RpmPruneApi.md +4 -8
- data/docs/RpmRpmDistribution.md +3 -1
- data/docs/RpmRpmDistributionResponse.md +3 -1
- data/docs/RpmRpmPublication.md +3 -9
- data/docs/RpmRpmPublicationResponse.md +8 -6
- data/docs/RpmRpmRepository.md +1 -9
- data/docs/RpmRpmRepositoryResponse.md +5 -5
- data/lib/pulp_rpm_client/api/acs_rpm_api.rb +0 -33
- data/lib/pulp_rpm_client/api/content_advisories_api.rb +0 -15
- data/lib/pulp_rpm_client/api/content_distribution_trees_api.rb +0 -12
- data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +0 -15
- data/lib/pulp_rpm_client/api/content_modulemd_obsoletes_api.rb +0 -15
- data/lib/pulp_rpm_client/api/content_modulemds_api.rb +0 -15
- data/lib/pulp_rpm_client/api/content_packagecategories_api.rb +0 -12
- data/lib/pulp_rpm_client/api/content_packageenvironments_api.rb +0 -12
- data/lib/pulp_rpm_client/api/content_packagegroups_api.rb +0 -12
- data/lib/pulp_rpm_client/api/content_packagelangpacks_api.rb +0 -12
- data/lib/pulp_rpm_client/api/content_packages_api.rb +0 -15
- data/lib/pulp_rpm_client/api/content_repo_metadata_files_api.rb +0 -12
- data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +0 -36
- data/lib/pulp_rpm_client/api/publications_rpm_api.rb +0 -24
- data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +0 -36
- data/lib/pulp_rpm_client/api/remotes_uln_api.rb +0 -36
- data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +0 -42
- data/lib/pulp_rpm_client/api/repositories_rpm_versions_api.rb +3 -15
- data/lib/pulp_rpm_client/api/rpm_comps_api.rb +0 -3
- data/lib/pulp_rpm_client/api/rpm_copy_api.rb +0 -3
- data/lib/pulp_rpm_client/api/rpm_prune_api.rb +0 -3
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_distribution.rb +13 -4
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_repository.rb +2 -94
- data/lib/pulp_rpm_client/models/rpm_package_response.rb +2 -2
- data/lib/pulp_rpm_client/models/rpm_rpm_distribution.rb +13 -4
- data/lib/pulp_rpm_client/models/rpm_rpm_distribution_response.rb +13 -4
- data/lib/pulp_rpm_client/models/rpm_rpm_publication.rb +11 -92
- data/lib/pulp_rpm_client/models/rpm_rpm_publication_response.rb +28 -13
- data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +2 -94
- data/lib/pulp_rpm_client/models/rpm_rpm_repository_response.rb +17 -12
- data/lib/pulp_rpm_client/version.rb +1 -1
- data/spec/api/acs_rpm_api_spec.rb +0 -11
- data/spec/api/content_advisories_api_spec.rb +0 -5
- data/spec/api/content_distribution_trees_api_spec.rb +0 -4
- data/spec/api/content_modulemd_defaults_api_spec.rb +0 -5
- data/spec/api/content_modulemd_obsoletes_api_spec.rb +0 -5
- data/spec/api/content_modulemds_api_spec.rb +0 -5
- data/spec/api/content_packagecategories_api_spec.rb +0 -4
- data/spec/api/content_packageenvironments_api_spec.rb +0 -4
- data/spec/api/content_packagegroups_api_spec.rb +0 -4
- data/spec/api/content_packagelangpacks_api_spec.rb +0 -4
- data/spec/api/content_packages_api_spec.rb +0 -5
- data/spec/api/content_repo_metadata_files_api_spec.rb +0 -4
- data/spec/api/distributions_rpm_api_spec.rb +0 -12
- data/spec/api/publications_rpm_api_spec.rb +0 -8
- data/spec/api/remotes_rpm_api_spec.rb +0 -12
- data/spec/api/remotes_uln_api_spec.rb +0 -12
- data/spec/api/repositories_rpm_api_spec.rb +0 -14
- data/spec/api/repositories_rpm_versions_api_spec.rb +1 -5
- data/spec/api/rpm_comps_api_spec.rb +0 -1
- data/spec/api/rpm_copy_api_spec.rb +0 -1
- data/spec/api/rpm_prune_api_spec.rb +0 -1
- data/spec/models/patchedrpm_rpm_distribution_spec.rb +6 -0
- data/spec/models/patchedrpm_rpm_repository_spec.rb +0 -24
- data/spec/models/rpm_rpm_distribution_response_spec.rb +6 -0
- data/spec/models/rpm_rpm_distribution_spec.rb +6 -0
- data/spec/models/rpm_rpm_publication_response_spec.rb +6 -0
- data/spec/models/rpm_rpm_publication_spec.rb +2 -20
- data/spec/models/rpm_rpm_repository_spec.rb +0 -24
- metadata +82 -82
@@ -24,7 +24,6 @@ module PulpRpmClient
|
|
24
24
|
# @param rpm_rpm_repository_href [String]
|
25
25
|
# @param nested_role [NestedRole]
|
26
26
|
# @param [Hash] opts the optional parameters
|
27
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
28
27
|
# @return [NestedRoleResponse]
|
29
28
|
def add_role(rpm_rpm_repository_href, nested_role, opts = {})
|
30
29
|
data, _status_code, _headers = add_role_with_http_info(rpm_rpm_repository_href, nested_role, opts)
|
@@ -36,7 +35,6 @@ module PulpRpmClient
|
|
36
35
|
# @param rpm_rpm_repository_href [String]
|
37
36
|
# @param nested_role [NestedRole]
|
38
37
|
# @param [Hash] opts the optional parameters
|
39
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
40
38
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
41
39
|
def add_role_with_http_info(rpm_rpm_repository_href, nested_role, opts = {})
|
42
40
|
if @api_client.config.debugging
|
@@ -65,7 +63,6 @@ module PulpRpmClient
|
|
65
63
|
if !content_type.nil?
|
66
64
|
header_params['Content-Type'] = content_type
|
67
65
|
end
|
68
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
69
66
|
|
70
67
|
# form parameters
|
71
68
|
form_params = opts[:form_params] || {}
|
@@ -100,7 +97,6 @@ module PulpRpmClient
|
|
100
97
|
# A ViewSet for RpmRepository.
|
101
98
|
# @param rpm_rpm_repository [RpmRpmRepository]
|
102
99
|
# @param [Hash] opts the optional parameters
|
103
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
104
100
|
# @return [RpmRpmRepositoryResponse]
|
105
101
|
def create(rpm_rpm_repository, opts = {})
|
106
102
|
data, _status_code, _headers = create_with_http_info(rpm_rpm_repository, opts)
|
@@ -111,7 +107,6 @@ module PulpRpmClient
|
|
111
107
|
# A ViewSet for RpmRepository.
|
112
108
|
# @param rpm_rpm_repository [RpmRpmRepository]
|
113
109
|
# @param [Hash] opts the optional parameters
|
114
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
115
110
|
# @return [Array<(RpmRpmRepositoryResponse, Integer, Hash)>] RpmRpmRepositoryResponse data, response status code and response headers
|
116
111
|
def create_with_http_info(rpm_rpm_repository, opts = {})
|
117
112
|
if @api_client.config.debugging
|
@@ -136,7 +131,6 @@ module PulpRpmClient
|
|
136
131
|
if !content_type.nil?
|
137
132
|
header_params['Content-Type'] = content_type
|
138
133
|
end
|
139
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
140
134
|
|
141
135
|
# form parameters
|
142
136
|
form_params = opts[:form_params] || {}
|
@@ -171,7 +165,6 @@ module PulpRpmClient
|
|
171
165
|
# Trigger an asynchronous delete task
|
172
166
|
# @param rpm_rpm_repository_href [String]
|
173
167
|
# @param [Hash] opts the optional parameters
|
174
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
175
168
|
# @return [AsyncOperationResponse]
|
176
169
|
def delete(rpm_rpm_repository_href, opts = {})
|
177
170
|
data, _status_code, _headers = delete_with_http_info(rpm_rpm_repository_href, opts)
|
@@ -182,7 +175,6 @@ module PulpRpmClient
|
|
182
175
|
# Trigger an asynchronous delete task
|
183
176
|
# @param rpm_rpm_repository_href [String]
|
184
177
|
# @param [Hash] opts the optional parameters
|
185
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
186
178
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
187
179
|
def delete_with_http_info(rpm_rpm_repository_href, opts = {})
|
188
180
|
if @api_client.config.debugging
|
@@ -202,7 +194,6 @@ module PulpRpmClient
|
|
202
194
|
header_params = opts[:header_params] || {}
|
203
195
|
# HTTP header 'Accept' (if needed)
|
204
196
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
205
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
206
197
|
|
207
198
|
# form parameters
|
208
199
|
form_params = opts[:form_params] || {}
|
@@ -236,7 +227,6 @@ module PulpRpmClient
|
|
236
227
|
# List rpm repositorys
|
237
228
|
# A ViewSet for RpmRepository.
|
238
229
|
# @param [Hash] opts the optional parameters
|
239
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
240
230
|
# @option opts [String] :latest_with_content Content Unit referenced by HREF/PRN
|
241
231
|
# @option opts [Integer] :limit Number of results to return per page.
|
242
232
|
# @option opts [String] :name Filter results where name matches value
|
@@ -276,7 +266,6 @@ module PulpRpmClient
|
|
276
266
|
# List rpm repositorys
|
277
267
|
# A ViewSet for RpmRepository.
|
278
268
|
# @param [Hash] opts the optional parameters
|
279
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
280
269
|
# @option opts [String] :latest_with_content Content Unit referenced by HREF/PRN
|
281
270
|
# @option opts [Integer] :limit Number of results to return per page.
|
282
271
|
# @option opts [String] :name Filter results where name matches value
|
@@ -356,7 +345,6 @@ module PulpRpmClient
|
|
356
345
|
header_params = opts[:header_params] || {}
|
357
346
|
# HTTP header 'Accept' (if needed)
|
358
347
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
359
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
360
348
|
|
361
349
|
# form parameters
|
362
350
|
form_params = opts[:form_params] || {}
|
@@ -391,7 +379,6 @@ module PulpRpmClient
|
|
391
379
|
# List roles assigned to this object.
|
392
380
|
# @param rpm_rpm_repository_href [String]
|
393
381
|
# @param [Hash] opts the optional parameters
|
394
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
395
382
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
396
383
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
397
384
|
# @return [ObjectRolesResponse]
|
@@ -404,7 +391,6 @@ module PulpRpmClient
|
|
404
391
|
# List roles assigned to this object.
|
405
392
|
# @param rpm_rpm_repository_href [String]
|
406
393
|
# @param [Hash] opts the optional parameters
|
407
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
408
394
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
409
395
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
410
396
|
# @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
|
@@ -428,7 +414,6 @@ module PulpRpmClient
|
|
428
414
|
header_params = opts[:header_params] || {}
|
429
415
|
# HTTP header 'Accept' (if needed)
|
430
416
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
431
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
432
417
|
|
433
418
|
# form parameters
|
434
419
|
form_params = opts[:form_params] || {}
|
@@ -464,7 +449,6 @@ module PulpRpmClient
|
|
464
449
|
# @param rpm_rpm_repository_href [String]
|
465
450
|
# @param repository_add_remove_content [RepositoryAddRemoveContent]
|
466
451
|
# @param [Hash] opts the optional parameters
|
467
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
468
452
|
# @return [AsyncOperationResponse]
|
469
453
|
def modify(rpm_rpm_repository_href, repository_add_remove_content, opts = {})
|
470
454
|
data, _status_code, _headers = modify_with_http_info(rpm_rpm_repository_href, repository_add_remove_content, opts)
|
@@ -476,7 +460,6 @@ module PulpRpmClient
|
|
476
460
|
# @param rpm_rpm_repository_href [String]
|
477
461
|
# @param repository_add_remove_content [RepositoryAddRemoveContent]
|
478
462
|
# @param [Hash] opts the optional parameters
|
479
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
480
463
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
481
464
|
def modify_with_http_info(rpm_rpm_repository_href, repository_add_remove_content, opts = {})
|
482
465
|
if @api_client.config.debugging
|
@@ -505,7 +488,6 @@ module PulpRpmClient
|
|
505
488
|
if !content_type.nil?
|
506
489
|
header_params['Content-Type'] = content_type
|
507
490
|
end
|
508
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
509
491
|
|
510
492
|
# form parameters
|
511
493
|
form_params = opts[:form_params] || {}
|
@@ -540,7 +522,6 @@ module PulpRpmClient
|
|
540
522
|
# List permissions available to the current user on this object.
|
541
523
|
# @param rpm_rpm_repository_href [String]
|
542
524
|
# @param [Hash] opts the optional parameters
|
543
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
544
525
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
545
526
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
546
527
|
# @return [MyPermissionsResponse]
|
@@ -553,7 +534,6 @@ module PulpRpmClient
|
|
553
534
|
# List permissions available to the current user on this object.
|
554
535
|
# @param rpm_rpm_repository_href [String]
|
555
536
|
# @param [Hash] opts the optional parameters
|
556
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
557
537
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
558
538
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
559
539
|
# @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
|
@@ -577,7 +557,6 @@ module PulpRpmClient
|
|
577
557
|
header_params = opts[:header_params] || {}
|
578
558
|
# HTTP header 'Accept' (if needed)
|
579
559
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
580
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
581
560
|
|
582
561
|
# form parameters
|
583
562
|
form_params = opts[:form_params] || {}
|
@@ -613,7 +592,6 @@ module PulpRpmClient
|
|
613
592
|
# @param rpm_rpm_repository_href [String]
|
614
593
|
# @param patchedrpm_rpm_repository [PatchedrpmRpmRepository]
|
615
594
|
# @param [Hash] opts the optional parameters
|
616
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
617
595
|
# @return [AsyncOperationResponse]
|
618
596
|
def partial_update(rpm_rpm_repository_href, patchedrpm_rpm_repository, opts = {})
|
619
597
|
data, _status_code, _headers = partial_update_with_http_info(rpm_rpm_repository_href, patchedrpm_rpm_repository, opts)
|
@@ -625,7 +603,6 @@ module PulpRpmClient
|
|
625
603
|
# @param rpm_rpm_repository_href [String]
|
626
604
|
# @param patchedrpm_rpm_repository [PatchedrpmRpmRepository]
|
627
605
|
# @param [Hash] opts the optional parameters
|
628
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
629
606
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
630
607
|
def partial_update_with_http_info(rpm_rpm_repository_href, patchedrpm_rpm_repository, opts = {})
|
631
608
|
if @api_client.config.debugging
|
@@ -654,7 +631,6 @@ module PulpRpmClient
|
|
654
631
|
if !content_type.nil?
|
655
632
|
header_params['Content-Type'] = content_type
|
656
633
|
end
|
657
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
658
634
|
|
659
635
|
# form parameters
|
660
636
|
form_params = opts[:form_params] || {}
|
@@ -689,7 +665,6 @@ module PulpRpmClient
|
|
689
665
|
# A ViewSet for RpmRepository.
|
690
666
|
# @param rpm_rpm_repository_href [String]
|
691
667
|
# @param [Hash] opts the optional parameters
|
692
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
693
668
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
694
669
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
695
670
|
# @return [RpmRpmRepositoryResponse]
|
@@ -702,7 +677,6 @@ module PulpRpmClient
|
|
702
677
|
# A ViewSet for RpmRepository.
|
703
678
|
# @param rpm_rpm_repository_href [String]
|
704
679
|
# @param [Hash] opts the optional parameters
|
705
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
706
680
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
707
681
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
708
682
|
# @return [Array<(RpmRpmRepositoryResponse, Integer, Hash)>] RpmRpmRepositoryResponse data, response status code and response headers
|
@@ -726,7 +700,6 @@ module PulpRpmClient
|
|
726
700
|
header_params = opts[:header_params] || {}
|
727
701
|
# HTTP header 'Accept' (if needed)
|
728
702
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
729
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
730
703
|
|
731
704
|
# form parameters
|
732
705
|
form_params = opts[:form_params] || {}
|
@@ -762,7 +735,6 @@ module PulpRpmClient
|
|
762
735
|
# @param rpm_rpm_repository_href [String]
|
763
736
|
# @param nested_role [NestedRole]
|
764
737
|
# @param [Hash] opts the optional parameters
|
765
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
766
738
|
# @return [NestedRoleResponse]
|
767
739
|
def remove_role(rpm_rpm_repository_href, nested_role, opts = {})
|
768
740
|
data, _status_code, _headers = remove_role_with_http_info(rpm_rpm_repository_href, nested_role, opts)
|
@@ -774,7 +746,6 @@ module PulpRpmClient
|
|
774
746
|
# @param rpm_rpm_repository_href [String]
|
775
747
|
# @param nested_role [NestedRole]
|
776
748
|
# @param [Hash] opts the optional parameters
|
777
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
778
749
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
779
750
|
def remove_role_with_http_info(rpm_rpm_repository_href, nested_role, opts = {})
|
780
751
|
if @api_client.config.debugging
|
@@ -803,7 +774,6 @@ module PulpRpmClient
|
|
803
774
|
if !content_type.nil?
|
804
775
|
header_params['Content-Type'] = content_type
|
805
776
|
end
|
806
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
807
777
|
|
808
778
|
# form parameters
|
809
779
|
form_params = opts[:form_params] || {}
|
@@ -839,7 +809,6 @@ module PulpRpmClient
|
|
839
809
|
# @param rpm_rpm_repository_href [String]
|
840
810
|
# @param set_label [SetLabel]
|
841
811
|
# @param [Hash] opts the optional parameters
|
842
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
843
812
|
# @return [SetLabelResponse]
|
844
813
|
def set_label(rpm_rpm_repository_href, set_label, opts = {})
|
845
814
|
data, _status_code, _headers = set_label_with_http_info(rpm_rpm_repository_href, set_label, opts)
|
@@ -851,7 +820,6 @@ module PulpRpmClient
|
|
851
820
|
# @param rpm_rpm_repository_href [String]
|
852
821
|
# @param set_label [SetLabel]
|
853
822
|
# @param [Hash] opts the optional parameters
|
854
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
855
823
|
# @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
|
856
824
|
def set_label_with_http_info(rpm_rpm_repository_href, set_label, opts = {})
|
857
825
|
if @api_client.config.debugging
|
@@ -880,7 +848,6 @@ module PulpRpmClient
|
|
880
848
|
if !content_type.nil?
|
881
849
|
header_params['Content-Type'] = content_type
|
882
850
|
end
|
883
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
884
851
|
|
885
852
|
# form parameters
|
886
853
|
form_params = opts[:form_params] || {}
|
@@ -916,7 +883,6 @@ module PulpRpmClient
|
|
916
883
|
# @param rpm_rpm_repository_href [String]
|
917
884
|
# @param rpm_repository_sync_url [RpmRepositorySyncURL]
|
918
885
|
# @param [Hash] opts the optional parameters
|
919
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
920
886
|
# @return [AsyncOperationResponse]
|
921
887
|
def sync(rpm_rpm_repository_href, rpm_repository_sync_url, opts = {})
|
922
888
|
data, _status_code, _headers = sync_with_http_info(rpm_rpm_repository_href, rpm_repository_sync_url, opts)
|
@@ -928,7 +894,6 @@ module PulpRpmClient
|
|
928
894
|
# @param rpm_rpm_repository_href [String]
|
929
895
|
# @param rpm_repository_sync_url [RpmRepositorySyncURL]
|
930
896
|
# @param [Hash] opts the optional parameters
|
931
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
932
897
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
933
898
|
def sync_with_http_info(rpm_rpm_repository_href, rpm_repository_sync_url, opts = {})
|
934
899
|
if @api_client.config.debugging
|
@@ -957,7 +922,6 @@ module PulpRpmClient
|
|
957
922
|
if !content_type.nil?
|
958
923
|
header_params['Content-Type'] = content_type
|
959
924
|
end
|
960
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
961
925
|
|
962
926
|
# form parameters
|
963
927
|
form_params = opts[:form_params] || {}
|
@@ -993,7 +957,6 @@ module PulpRpmClient
|
|
993
957
|
# @param rpm_rpm_repository_href [String]
|
994
958
|
# @param unset_label [UnsetLabel]
|
995
959
|
# @param [Hash] opts the optional parameters
|
996
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
997
960
|
# @return [UnsetLabelResponse]
|
998
961
|
def unset_label(rpm_rpm_repository_href, unset_label, opts = {})
|
999
962
|
data, _status_code, _headers = unset_label_with_http_info(rpm_rpm_repository_href, unset_label, opts)
|
@@ -1005,7 +968,6 @@ module PulpRpmClient
|
|
1005
968
|
# @param rpm_rpm_repository_href [String]
|
1006
969
|
# @param unset_label [UnsetLabel]
|
1007
970
|
# @param [Hash] opts the optional parameters
|
1008
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
1009
971
|
# @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
|
1010
972
|
def unset_label_with_http_info(rpm_rpm_repository_href, unset_label, opts = {})
|
1011
973
|
if @api_client.config.debugging
|
@@ -1034,7 +996,6 @@ module PulpRpmClient
|
|
1034
996
|
if !content_type.nil?
|
1035
997
|
header_params['Content-Type'] = content_type
|
1036
998
|
end
|
1037
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
1038
999
|
|
1039
1000
|
# form parameters
|
1040
1001
|
form_params = opts[:form_params] || {}
|
@@ -1070,7 +1031,6 @@ module PulpRpmClient
|
|
1070
1031
|
# @param rpm_rpm_repository_href [String]
|
1071
1032
|
# @param rpm_rpm_repository [RpmRpmRepository]
|
1072
1033
|
# @param [Hash] opts the optional parameters
|
1073
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
1074
1034
|
# @return [AsyncOperationResponse]
|
1075
1035
|
def update(rpm_rpm_repository_href, rpm_rpm_repository, opts = {})
|
1076
1036
|
data, _status_code, _headers = update_with_http_info(rpm_rpm_repository_href, rpm_rpm_repository, opts)
|
@@ -1082,7 +1042,6 @@ module PulpRpmClient
|
|
1082
1042
|
# @param rpm_rpm_repository_href [String]
|
1083
1043
|
# @param rpm_rpm_repository [RpmRpmRepository]
|
1084
1044
|
# @param [Hash] opts the optional parameters
|
1085
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
1086
1045
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
1087
1046
|
def update_with_http_info(rpm_rpm_repository_href, rpm_rpm_repository, opts = {})
|
1088
1047
|
if @api_client.config.debugging
|
@@ -1111,7 +1070,6 @@ module PulpRpmClient
|
|
1111
1070
|
if !content_type.nil?
|
1112
1071
|
header_params['Content-Type'] = content_type
|
1113
1072
|
end
|
1114
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
1115
1073
|
|
1116
1074
|
# form parameters
|
1117
1075
|
form_params = opts[:form_params] || {}
|
@@ -23,7 +23,6 @@ module PulpRpmClient
|
|
23
23
|
# Trigger an asynchronous task to delete a repository version.
|
24
24
|
# @param rpm_rpm_repository_version_href [String]
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
27
26
|
# @return [AsyncOperationResponse]
|
28
27
|
def delete(rpm_rpm_repository_version_href, opts = {})
|
29
28
|
data, _status_code, _headers = delete_with_http_info(rpm_rpm_repository_version_href, opts)
|
@@ -34,7 +33,6 @@ module PulpRpmClient
|
|
34
33
|
# Trigger an asynchronous task to delete a repository version.
|
35
34
|
# @param rpm_rpm_repository_version_href [String]
|
36
35
|
# @param [Hash] opts the optional parameters
|
37
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
38
36
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
39
37
|
def delete_with_http_info(rpm_rpm_repository_version_href, opts = {})
|
40
38
|
if @api_client.config.debugging
|
@@ -54,7 +52,6 @@ module PulpRpmClient
|
|
54
52
|
header_params = opts[:header_params] || {}
|
55
53
|
# HTTP header 'Accept' (if needed)
|
56
54
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
57
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
58
55
|
|
59
56
|
# form parameters
|
60
57
|
form_params = opts[:form_params] || {}
|
@@ -89,7 +86,6 @@ module PulpRpmClient
|
|
89
86
|
# RpmRepositoryVersion represents a single rpm repository version.
|
90
87
|
# @param rpm_rpm_repository_href [String]
|
91
88
|
# @param [Hash] opts the optional parameters
|
92
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
93
89
|
# @option opts [String] :content Content Unit referenced by HREF/PRN
|
94
90
|
# @option opts [Array<String>] :content__in Multiple values may be separated by commas.
|
95
91
|
# @option opts [Integer] :limit Number of results to return per page.
|
@@ -100,7 +96,7 @@ module PulpRpmClient
|
|
100
96
|
# @option opts [Integer] :number__lte Filter results where number is less than or equal to value
|
101
97
|
# @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
|
102
98
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
103
|
-
# @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) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `
|
99
|
+
# @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) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
104
100
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
105
101
|
# @option opts [Time] :pulp_created Filter results where pulp_created matches value
|
106
102
|
# @option opts [Time] :pulp_created__gt Filter results where pulp_created is greater than value
|
@@ -123,7 +119,6 @@ module PulpRpmClient
|
|
123
119
|
# RpmRepositoryVersion represents a single rpm repository version.
|
124
120
|
# @param rpm_rpm_repository_href [String]
|
125
121
|
# @param [Hash] opts the optional parameters
|
126
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
127
122
|
# @option opts [String] :content Content Unit referenced by HREF/PRN
|
128
123
|
# @option opts [Array<String>] :content__in Multiple values may be separated by commas.
|
129
124
|
# @option opts [Integer] :limit Number of results to return per page.
|
@@ -134,7 +129,7 @@ module PulpRpmClient
|
|
134
129
|
# @option opts [Integer] :number__lte Filter results where number is less than or equal to value
|
135
130
|
# @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
|
136
131
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
137
|
-
# @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) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `
|
132
|
+
# @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) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
138
133
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
139
134
|
# @option opts [Time] :pulp_created Filter results where pulp_created matches value
|
140
135
|
# @option opts [Time] :pulp_created__gt Filter results where pulp_created is greater than value
|
@@ -156,7 +151,7 @@ module PulpRpmClient
|
|
156
151
|
if @api_client.config.client_side_validation && rpm_rpm_repository_href.nil?
|
157
152
|
fail ArgumentError, "Missing the required parameter 'rpm_rpm_repository_href' when calling RepositoriesRpmVersionsApi.list"
|
158
153
|
end
|
159
|
-
allowable_values = ["-complete", "-
|
154
|
+
allowable_values = ["-complete", "-info", "-number", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "complete", "info", "number", "pk", "pulp_created", "pulp_id", "pulp_last_updated"]
|
160
155
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
161
156
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
162
157
|
end
|
@@ -193,7 +188,6 @@ module PulpRpmClient
|
|
193
188
|
header_params = opts[:header_params] || {}
|
194
189
|
# HTTP header 'Accept' (if needed)
|
195
190
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
196
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
197
191
|
|
198
192
|
# form parameters
|
199
193
|
form_params = opts[:form_params] || {}
|
@@ -228,7 +222,6 @@ module PulpRpmClient
|
|
228
222
|
# RpmRepositoryVersion represents a single rpm repository version.
|
229
223
|
# @param rpm_rpm_repository_version_href [String]
|
230
224
|
# @param [Hash] opts the optional parameters
|
231
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
232
225
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
233
226
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
234
227
|
# @return [RepositoryVersionResponse]
|
@@ -241,7 +234,6 @@ module PulpRpmClient
|
|
241
234
|
# RpmRepositoryVersion represents a single rpm repository version.
|
242
235
|
# @param rpm_rpm_repository_version_href [String]
|
243
236
|
# @param [Hash] opts the optional parameters
|
244
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
245
237
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
246
238
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
247
239
|
# @return [Array<(RepositoryVersionResponse, Integer, Hash)>] RepositoryVersionResponse data, response status code and response headers
|
@@ -265,7 +257,6 @@ module PulpRpmClient
|
|
265
257
|
header_params = opts[:header_params] || {}
|
266
258
|
# HTTP header 'Accept' (if needed)
|
267
259
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
268
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
269
260
|
|
270
261
|
# form parameters
|
271
262
|
form_params = opts[:form_params] || {}
|
@@ -300,7 +291,6 @@ module PulpRpmClient
|
|
300
291
|
# @param rpm_rpm_repository_version_href [String]
|
301
292
|
# @param repair [Repair]
|
302
293
|
# @param [Hash] opts the optional parameters
|
303
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
304
294
|
# @return [AsyncOperationResponse]
|
305
295
|
def repair(rpm_rpm_repository_version_href, repair, opts = {})
|
306
296
|
data, _status_code, _headers = repair_with_http_info(rpm_rpm_repository_version_href, repair, opts)
|
@@ -311,7 +301,6 @@ module PulpRpmClient
|
|
311
301
|
# @param rpm_rpm_repository_version_href [String]
|
312
302
|
# @param repair [Repair]
|
313
303
|
# @param [Hash] opts the optional parameters
|
314
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
315
304
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
316
305
|
def repair_with_http_info(rpm_rpm_repository_version_href, repair, opts = {})
|
317
306
|
if @api_client.config.debugging
|
@@ -340,7 +329,6 @@ module PulpRpmClient
|
|
340
329
|
if !content_type.nil?
|
341
330
|
header_params['Content-Type'] = content_type
|
342
331
|
end
|
343
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
344
332
|
|
345
333
|
# form parameters
|
346
334
|
form_params = opts[:form_params] || {}
|
@@ -23,7 +23,6 @@ module PulpRpmClient
|
|
23
23
|
# Trigger an asynchronous task to upload a comps.xml file.
|
24
24
|
# @param file [File] Full path of a comps.xml file that may be parsed into comps.xml Content units.
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
27
26
|
# @option opts [String] :repository URI of an RPM repository the comps.xml content units should be associated to.
|
28
27
|
# @option opts [Boolean] :replace If true, incoming comps.xml replaces existing comps-related ContentUnits in the specified repository.
|
29
28
|
# @return [AsyncOperationResponse]
|
@@ -36,7 +35,6 @@ module PulpRpmClient
|
|
36
35
|
# Trigger an asynchronous task to upload a comps.xml file.
|
37
36
|
# @param file [File] Full path of a comps.xml file that may be parsed into comps.xml Content units.
|
38
37
|
# @param [Hash] opts the optional parameters
|
39
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
40
38
|
# @option opts [String] :repository URI of an RPM repository the comps.xml content units should be associated to.
|
41
39
|
# @option opts [Boolean] :replace If true, incoming comps.xml replaces existing comps-related ContentUnits in the specified repository.
|
42
40
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
@@ -63,7 +61,6 @@ module PulpRpmClient
|
|
63
61
|
if !content_type.nil?
|
64
62
|
header_params['Content-Type'] = content_type
|
65
63
|
end
|
66
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
67
64
|
|
68
65
|
# form parameters
|
69
66
|
form_params = opts[:form_params] || {}
|
@@ -23,7 +23,6 @@ module PulpRpmClient
|
|
23
23
|
# Trigger an asynchronous task to copy RPM contentfrom one repository into another, creating a newrepository version.
|
24
24
|
# @param copy [Copy]
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
27
26
|
# @return [AsyncOperationResponse]
|
28
27
|
def copy_content(copy, opts = {})
|
29
28
|
data, _status_code, _headers = copy_content_with_http_info(copy, opts)
|
@@ -34,7 +33,6 @@ module PulpRpmClient
|
|
34
33
|
# Trigger an asynchronous task to copy RPM contentfrom one repository into another, creating a newrepository version.
|
35
34
|
# @param copy [Copy]
|
36
35
|
# @param [Hash] opts the optional parameters
|
37
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
38
36
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
39
37
|
def copy_content_with_http_info(copy, opts = {})
|
40
38
|
if @api_client.config.debugging
|
@@ -59,7 +57,6 @@ module PulpRpmClient
|
|
59
57
|
if !content_type.nil?
|
60
58
|
header_params['Content-Type'] = content_type
|
61
59
|
end
|
62
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
63
60
|
|
64
61
|
# form parameters
|
65
62
|
form_params = opts[:form_params] || {}
|
@@ -22,7 +22,6 @@ module PulpRpmClient
|
|
22
22
|
# Trigger an asynchronous old-Package-prune operation.
|
23
23
|
# @param prune_packages [PrunePackages]
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
26
25
|
# @return [TaskGroupOperationResponse]
|
27
26
|
def prune_packages(prune_packages, opts = {})
|
28
27
|
data, _status_code, _headers = prune_packages_with_http_info(prune_packages, opts)
|
@@ -32,7 +31,6 @@ module PulpRpmClient
|
|
32
31
|
# Trigger an asynchronous old-Package-prune operation.
|
33
32
|
# @param prune_packages [PrunePackages]
|
34
33
|
# @param [Hash] opts the optional parameters
|
35
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
36
34
|
# @return [Array<(TaskGroupOperationResponse, Integer, Hash)>] TaskGroupOperationResponse data, response status code and response headers
|
37
35
|
def prune_packages_with_http_info(prune_packages, opts = {})
|
38
36
|
if @api_client.config.debugging
|
@@ -57,7 +55,6 @@ module PulpRpmClient
|
|
57
55
|
if !content_type.nil?
|
58
56
|
header_params['Content-Type'] = content_type
|
59
57
|
end
|
60
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
61
58
|
|
62
59
|
# form parameters
|
63
60
|
form_params = opts[:form_params] || {}
|
@@ -39,6 +39,8 @@ module PulpRpmClient
|
|
39
39
|
# An option specifying whether Pulp should generate *.repo files.
|
40
40
|
attr_accessor :generate_repo_config
|
41
41
|
|
42
|
+
attr_accessor :checkpoint
|
43
|
+
|
42
44
|
# Attribute mapping from ruby-style variable name to JSON key.
|
43
45
|
def self.attribute_map
|
44
46
|
{
|
@@ -49,7 +51,8 @@ module PulpRpmClient
|
|
49
51
|
:'name' => :'name',
|
50
52
|
:'repository' => :'repository',
|
51
53
|
:'publication' => :'publication',
|
52
|
-
:'generate_repo_config' => :'generate_repo_config'
|
54
|
+
:'generate_repo_config' => :'generate_repo_config',
|
55
|
+
:'checkpoint' => :'checkpoint'
|
53
56
|
}
|
54
57
|
end
|
55
58
|
|
@@ -68,7 +71,8 @@ module PulpRpmClient
|
|
68
71
|
:'name' => :'String',
|
69
72
|
:'repository' => :'String',
|
70
73
|
:'publication' => :'String',
|
71
|
-
:'generate_repo_config' => :'Boolean'
|
74
|
+
:'generate_repo_config' => :'Boolean',
|
75
|
+
:'checkpoint' => :'Boolean'
|
72
76
|
}
|
73
77
|
end
|
74
78
|
|
@@ -133,6 +137,10 @@ module PulpRpmClient
|
|
133
137
|
else
|
134
138
|
self.generate_repo_config = false
|
135
139
|
end
|
140
|
+
|
141
|
+
if attributes.key?(:'checkpoint')
|
142
|
+
self.checkpoint = attributes[:'checkpoint']
|
143
|
+
end
|
136
144
|
end
|
137
145
|
|
138
146
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -200,7 +208,8 @@ module PulpRpmClient
|
|
200
208
|
name == o.name &&
|
201
209
|
repository == o.repository &&
|
202
210
|
publication == o.publication &&
|
203
|
-
generate_repo_config == o.generate_repo_config
|
211
|
+
generate_repo_config == o.generate_repo_config &&
|
212
|
+
checkpoint == o.checkpoint
|
204
213
|
end
|
205
214
|
|
206
215
|
# @see the `==` method
|
@@ -212,7 +221,7 @@ module PulpRpmClient
|
|
212
221
|
# Calculates hash code according to all attributes.
|
213
222
|
# @return [Integer] Hash code
|
214
223
|
def hash
|
215
|
-
[base_path, content_guard, hidden, pulp_labels, name, repository, publication, generate_repo_config].hash
|
224
|
+
[base_path, content_guard, hidden, pulp_labels, name, repository, publication, generate_repo_config, checkpoint].hash
|
216
225
|
end
|
217
226
|
|
218
227
|
# Builds the object from hash
|