pulp_rpm_client 3.26.3 → 3.27.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/AcsRpmApi.md +3 -5
- data/docs/ArtifactResponse.md +0 -2
- data/docs/ContentAdvisoriesApi.md +10 -14
- data/docs/ContentDistributionTreesApi.md +9 -11
- data/docs/ContentModulemdDefaultsApi.md +9 -11
- data/docs/ContentModulemdObsoletesApi.md +9 -11
- data/docs/ContentModulemdsApi.md +9 -11
- data/docs/ContentPackagecategoriesApi.md +9 -11
- data/docs/ContentPackageenvironmentsApi.md +9 -11
- data/docs/ContentPackagegroupsApi.md +9 -11
- data/docs/ContentPackagelangpacksApi.md +9 -11
- data/docs/ContentPackagesApi.md +11 -15
- data/docs/ContentRepoMetadataFilesApi.md +9 -11
- data/docs/DistributionsRpmApi.md +3 -5
- data/docs/PatchedrpmRpmRepository.md +4 -0
- data/docs/PrunePackages.md +21 -0
- data/docs/PublicationsRpmApi.md +11 -13
- data/docs/RemotesRpmApi.md +3 -5
- data/docs/RemotesUlnApi.md +3 -5
- data/docs/RepositoriesRpmApi.md +7 -9
- data/docs/RepositoriesRpmVersionsApi.md +7 -9
- data/docs/RepositoryVersionResponse.md +0 -2
- data/docs/RpmCompsApi.md +1 -1
- data/docs/RpmCopyApi.md +1 -1
- data/docs/RpmModulemdDefaultsResponse.md +0 -2
- data/docs/RpmModulemdObsoleteResponse.md +0 -2
- data/docs/RpmModulemdResponse.md +0 -2
- data/docs/RpmPackage.md +1 -3
- data/docs/RpmPackageCategoryResponse.md +0 -2
- data/docs/RpmPackageEnvironmentResponse.md +0 -2
- data/docs/RpmPackageGroupResponse.md +0 -2
- data/docs/RpmPackageLangpacksResponse.md +0 -2
- data/docs/RpmPackageResponse.md +0 -2
- data/docs/RpmPruneApi.md +61 -0
- data/docs/RpmRepoMetadataFileResponse.md +0 -2
- data/docs/RpmRpmAlternateContentSourceResponse.md +0 -2
- data/docs/RpmRpmDistributionResponse.md +0 -4
- data/docs/RpmRpmPublicationResponse.md +0 -2
- data/docs/RpmRpmRemoteResponse.md +0 -2
- data/docs/RpmRpmRepository.md +4 -0
- data/docs/RpmRpmRepositoryResponse.md +4 -2
- data/docs/RpmUlnRemoteResponse.md +0 -2
- data/docs/RpmUpdateRecord.md +1 -3
- data/docs/RpmUpdateRecordResponse.md +0 -2
- data/lib/pulp_rpm_client/api/acs_rpm_api.rb +2 -5
- data/lib/pulp_rpm_client/api/content_advisories_api.rb +8 -18
- data/lib/pulp_rpm_client/api/content_distribution_trees_api.rb +8 -11
- data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +8 -11
- data/lib/pulp_rpm_client/api/content_modulemd_obsoletes_api.rb +8 -11
- data/lib/pulp_rpm_client/api/content_modulemds_api.rb +8 -11
- data/lib/pulp_rpm_client/api/content_packagecategories_api.rb +8 -11
- data/lib/pulp_rpm_client/api/content_packageenvironments_api.rb +8 -11
- data/lib/pulp_rpm_client/api/content_packagegroups_api.rb +8 -11
- data/lib/pulp_rpm_client/api/content_packagelangpacks_api.rb +8 -11
- data/lib/pulp_rpm_client/api/content_packages_api.rb +10 -20
- data/lib/pulp_rpm_client/api/content_repo_metadata_files_api.rb +8 -11
- data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +2 -5
- data/lib/pulp_rpm_client/api/publications_rpm_api.rb +11 -14
- data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +2 -5
- data/lib/pulp_rpm_client/api/remotes_uln_api.rb +2 -5
- data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +6 -9
- data/lib/pulp_rpm_client/api/repositories_rpm_versions_api.rb +7 -10
- data/lib/pulp_rpm_client/api/rpm_prune_api.rb +84 -0
- data/lib/pulp_rpm_client/configuration.rb +2 -2
- data/lib/pulp_rpm_client/models/artifact_response.rb +2 -12
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_remote.rb +20 -20
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_repository.rb +39 -1
- data/lib/pulp_rpm_client/models/patchedrpm_uln_remote.rb +20 -20
- data/lib/pulp_rpm_client/models/prune_packages.rb +254 -0
- data/lib/pulp_rpm_client/models/repository_add_remove_content.rb +1 -1
- data/lib/pulp_rpm_client/models/repository_version_response.rb +2 -12
- data/lib/pulp_rpm_client/models/rpm_modulemd_defaults_response.rb +1 -11
- data/lib/pulp_rpm_client/models/rpm_modulemd_obsolete_response.rb +1 -11
- data/lib/pulp_rpm_client/models/rpm_modulemd_response.rb +1 -11
- data/lib/pulp_rpm_client/models/rpm_package.rb +4 -29
- data/lib/pulp_rpm_client/models/rpm_package_category_response.rb +1 -11
- data/lib/pulp_rpm_client/models/rpm_package_environment_response.rb +1 -11
- data/lib/pulp_rpm_client/models/rpm_package_group_response.rb +1 -11
- data/lib/pulp_rpm_client/models/rpm_package_langpacks_response.rb +1 -11
- data/lib/pulp_rpm_client/models/rpm_package_response.rb +1 -11
- data/lib/pulp_rpm_client/models/rpm_repo_metadata_file_response.rb +1 -11
- data/lib/pulp_rpm_client/models/rpm_rpm_alternate_content_source_response.rb +1 -11
- data/lib/pulp_rpm_client/models/rpm_rpm_distribution_response.rb +1 -21
- data/lib/pulp_rpm_client/models/rpm_rpm_publication_response.rb +1 -11
- data/lib/pulp_rpm_client/models/rpm_rpm_remote.rb +20 -20
- data/lib/pulp_rpm_client/models/rpm_rpm_remote_response.rb +21 -31
- data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +39 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_repository_response.rb +39 -11
- data/lib/pulp_rpm_client/models/rpm_uln_remote.rb +20 -20
- data/lib/pulp_rpm_client/models/rpm_uln_remote_response.rb +21 -31
- data/lib/pulp_rpm_client/models/rpm_update_record.rb +4 -29
- data/lib/pulp_rpm_client/models/rpm_update_record_response.rb +1 -11
- data/lib/pulp_rpm_client/version.rb +1 -1
- data/lib/pulp_rpm_client.rb +2 -0
- data/spec/api/acs_rpm_api_spec.rb +1 -2
- data/spec/api/content_advisories_api_spec.rb +4 -6
- data/spec/api/content_distribution_trees_api_spec.rb +4 -5
- data/spec/api/content_modulemd_defaults_api_spec.rb +4 -5
- data/spec/api/content_modulemd_obsoletes_api_spec.rb +4 -5
- data/spec/api/content_modulemds_api_spec.rb +4 -5
- data/spec/api/content_packagecategories_api_spec.rb +4 -5
- data/spec/api/content_packageenvironments_api_spec.rb +4 -5
- data/spec/api/content_packagegroups_api_spec.rb +4 -5
- data/spec/api/content_packagelangpacks_api_spec.rb +4 -5
- data/spec/api/content_packages_api_spec.rb +5 -7
- data/spec/api/content_repo_metadata_files_api_spec.rb +4 -5
- data/spec/api/distributions_rpm_api_spec.rb +1 -2
- data/spec/api/publications_rpm_api_spec.rb +5 -6
- data/spec/api/remotes_rpm_api_spec.rb +1 -2
- data/spec/api/remotes_uln_api_spec.rb +1 -2
- data/spec/api/repositories_rpm_api_spec.rb +3 -4
- data/spec/api/repositories_rpm_versions_api_spec.rb +3 -4
- data/spec/api/rpm_prune_api_spec.rb +46 -0
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/artifact_response_spec.rb +0 -6
- data/spec/models/patchedrpm_rpm_repository_spec.rb +12 -0
- data/spec/models/prune_packages_spec.rb +53 -0
- data/spec/models/repository_version_response_spec.rb +0 -6
- data/spec/models/rpm_modulemd_defaults_response_spec.rb +0 -6
- data/spec/models/rpm_modulemd_obsolete_response_spec.rb +0 -6
- data/spec/models/rpm_modulemd_response_spec.rb +0 -6
- data/spec/models/rpm_package_category_response_spec.rb +0 -6
- data/spec/models/rpm_package_environment_response_spec.rb +0 -6
- data/spec/models/rpm_package_group_response_spec.rb +0 -6
- data/spec/models/rpm_package_langpacks_response_spec.rb +0 -6
- data/spec/models/rpm_package_response_spec.rb +0 -6
- data/spec/models/rpm_package_spec.rb +0 -6
- data/spec/models/rpm_repo_metadata_file_response_spec.rb +0 -6
- data/spec/models/rpm_rpm_alternate_content_source_response_spec.rb +0 -6
- data/spec/models/rpm_rpm_distribution_response_spec.rb +0 -12
- data/spec/models/rpm_rpm_publication_response_spec.rb +0 -6
- data/spec/models/rpm_rpm_remote_response_spec.rb +0 -6
- data/spec/models/rpm_rpm_repository_response_spec.rb +12 -6
- data/spec/models/rpm_rpm_repository_spec.rb +12 -0
- data/spec/models/rpm_uln_remote_response_spec.rb +0 -6
- data/spec/models/rpm_update_record_response_spec.rb +0 -6
- data/spec/models/rpm_update_record_spec.rb +0 -6
- metadata +104 -96
@@ -90,13 +90,12 @@ module PulpRpmClient
|
|
90
90
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
91
91
|
# @option opts [Array<String>] :ordering Ordering * `pk` - Pk * `-pk` - Pk (descending)
|
92
92
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
93
|
-
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
94
93
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
95
94
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
96
|
-
# @option opts [String] :q
|
97
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
98
|
-
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
99
|
-
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
95
|
+
# @option opts [String] :q
|
96
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF
|
97
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
98
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
100
99
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
101
100
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
102
101
|
# @return [PaginatedrpmModulemdObsoleteResponseList]
|
@@ -112,13 +111,12 @@ module PulpRpmClient
|
|
112
111
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
113
112
|
# @option opts [Array<String>] :ordering Ordering * `pk` - Pk * `-pk` - Pk (descending)
|
114
113
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
115
|
-
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
116
114
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
117
115
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
118
|
-
# @option opts [String] :q
|
119
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
120
|
-
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
121
|
-
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
116
|
+
# @option opts [String] :q
|
117
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF
|
118
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
119
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
122
120
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
123
121
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
124
122
|
# @return [Array<(PaginatedrpmModulemdObsoleteResponseList, Integer, Hash)>] PaginatedrpmModulemdObsoleteResponseList data, response status code and response headers
|
@@ -139,7 +137,6 @@ module PulpRpmClient
|
|
139
137
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
140
138
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
141
139
|
query_params[:'orphaned_for'] = opts[:'orphaned_for'] if !opts[:'orphaned_for'].nil?
|
142
|
-
query_params[:'prn__in'] = @api_client.build_collection_param(opts[:'prn__in'], :csv) if !opts[:'prn__in'].nil?
|
143
140
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
144
141
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
145
142
|
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
@@ -96,13 +96,12 @@ module PulpRpmClient
|
|
96
96
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
97
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) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `stream` - Stream * `-stream` - Stream (descending) * `version` - Version * `-version` - Version (descending) * `context` - Context * `-context` - Context (descending) * `arch` - Arch * `-arch` - Arch (descending) * `static_context` - Static context * `-static_context` - Static context (descending) * `dependencies` - Dependencies * `-dependencies` - Dependencies (descending) * `artifacts` - Artifacts * `-artifacts` - Artifacts (descending) * `profiles` - Profiles * `-profiles` - Profiles (descending) * `description` - Description * `-description` - Description (descending) * `digest` - Digest * `-digest` - Digest (descending) * `snippet` - Snippet * `-snippet` - Snippet (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
98
98
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
99
|
-
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
100
99
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
101
100
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
102
|
-
# @option opts [String] :q
|
103
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
104
|
-
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
105
|
-
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
101
|
+
# @option opts [String] :q
|
102
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF
|
103
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
104
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
106
105
|
# @option opts [String] :sha256
|
107
106
|
# @option opts [String] :stream Filter results where stream matches value
|
108
107
|
# @option opts [Array<String>] :stream__in Filter results where stream is in a comma-separated list of values
|
@@ -129,13 +128,12 @@ module PulpRpmClient
|
|
129
128
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
130
129
|
# @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) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `stream` - Stream * `-stream` - Stream (descending) * `version` - Version * `-version` - Version (descending) * `context` - Context * `-context` - Context (descending) * `arch` - Arch * `-arch` - Arch (descending) * `static_context` - Static context * `-static_context` - Static context (descending) * `dependencies` - Dependencies * `-dependencies` - Dependencies (descending) * `artifacts` - Artifacts * `-artifacts` - Artifacts (descending) * `profiles` - Profiles * `-profiles` - Profiles (descending) * `description` - Description * `-description` - Description (descending) * `digest` - Digest * `-digest` - Digest (descending) * `snippet` - Snippet * `-snippet` - Snippet (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
131
130
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
132
|
-
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
133
131
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
134
132
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
135
|
-
# @option opts [String] :q
|
136
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
137
|
-
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
138
|
-
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
133
|
+
# @option opts [String] :q
|
134
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF
|
135
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
136
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
139
137
|
# @option opts [String] :sha256
|
140
138
|
# @option opts [String] :stream Filter results where stream matches value
|
141
139
|
# @option opts [Array<String>] :stream__in Filter results where stream is in a comma-separated list of values
|
@@ -167,7 +165,6 @@ module PulpRpmClient
|
|
167
165
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
168
166
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
169
167
|
query_params[:'orphaned_for'] = opts[:'orphaned_for'] if !opts[:'orphaned_for'].nil?
|
170
|
-
query_params[:'prn__in'] = @api_client.build_collection_param(opts[:'prn__in'], :csv) if !opts[:'prn__in'].nil?
|
171
168
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
172
169
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
173
170
|
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
@@ -26,13 +26,12 @@ module PulpRpmClient
|
|
26
26
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
27
27
|
# @option opts [Array<String>] :ordering Ordering * `pk` - Pk * `-pk` - Pk (descending)
|
28
28
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
29
|
-
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
30
29
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
31
30
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
32
|
-
# @option opts [String] :q
|
33
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
34
|
-
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
35
|
-
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
31
|
+
# @option opts [String] :q
|
32
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF
|
33
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
34
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
36
35
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
37
36
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
38
37
|
# @return [PaginatedrpmPackageCategoryResponseList]
|
@@ -48,13 +47,12 @@ module PulpRpmClient
|
|
48
47
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
49
48
|
# @option opts [Array<String>] :ordering Ordering * `pk` - Pk * `-pk` - Pk (descending)
|
50
49
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
51
|
-
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
52
50
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
53
51
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
54
|
-
# @option opts [String] :q
|
55
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
56
|
-
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
57
|
-
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
52
|
+
# @option opts [String] :q
|
53
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF
|
54
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
55
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
58
56
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
59
57
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
60
58
|
# @return [Array<(PaginatedrpmPackageCategoryResponseList, Integer, Hash)>] PaginatedrpmPackageCategoryResponseList data, response status code and response headers
|
@@ -75,7 +73,6 @@ module PulpRpmClient
|
|
75
73
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
76
74
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
77
75
|
query_params[:'orphaned_for'] = opts[:'orphaned_for'] if !opts[:'orphaned_for'].nil?
|
78
|
-
query_params[:'prn__in'] = @api_client.build_collection_param(opts[:'prn__in'], :csv) if !opts[:'prn__in'].nil?
|
79
76
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
80
77
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
81
78
|
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
@@ -26,13 +26,12 @@ module PulpRpmClient
|
|
26
26
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
27
27
|
# @option opts [Array<String>] :ordering Ordering * `pk` - Pk * `-pk` - Pk (descending)
|
28
28
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
29
|
-
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
30
29
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
31
30
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
32
|
-
# @option opts [String] :q
|
33
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
34
|
-
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
35
|
-
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
31
|
+
# @option opts [String] :q
|
32
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF
|
33
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
34
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
36
35
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
37
36
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
38
37
|
# @return [PaginatedrpmPackageEnvironmentResponseList]
|
@@ -48,13 +47,12 @@ module PulpRpmClient
|
|
48
47
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
49
48
|
# @option opts [Array<String>] :ordering Ordering * `pk` - Pk * `-pk` - Pk (descending)
|
50
49
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
51
|
-
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
52
50
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
53
51
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
54
|
-
# @option opts [String] :q
|
55
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
56
|
-
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
57
|
-
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
52
|
+
# @option opts [String] :q
|
53
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF
|
54
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
55
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
58
56
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
59
57
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
60
58
|
# @return [Array<(PaginatedrpmPackageEnvironmentResponseList, Integer, Hash)>] PaginatedrpmPackageEnvironmentResponseList data, response status code and response headers
|
@@ -75,7 +73,6 @@ module PulpRpmClient
|
|
75
73
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
76
74
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
77
75
|
query_params[:'orphaned_for'] = opts[:'orphaned_for'] if !opts[:'orphaned_for'].nil?
|
78
|
-
query_params[:'prn__in'] = @api_client.build_collection_param(opts[:'prn__in'], :csv) if !opts[:'prn__in'].nil?
|
79
76
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
80
77
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
81
78
|
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
@@ -26,13 +26,12 @@ module PulpRpmClient
|
|
26
26
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
27
27
|
# @option opts [Array<String>] :ordering Ordering * `pk` - Pk * `-pk` - Pk (descending)
|
28
28
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
29
|
-
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
30
29
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
31
30
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
32
|
-
# @option opts [String] :q
|
33
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
34
|
-
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
35
|
-
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
31
|
+
# @option opts [String] :q
|
32
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF
|
33
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
34
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
36
35
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
37
36
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
38
37
|
# @return [PaginatedrpmPackageGroupResponseList]
|
@@ -48,13 +47,12 @@ module PulpRpmClient
|
|
48
47
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
49
48
|
# @option opts [Array<String>] :ordering Ordering * `pk` - Pk * `-pk` - Pk (descending)
|
50
49
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
51
|
-
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
52
50
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
53
51
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
54
|
-
# @option opts [String] :q
|
55
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
56
|
-
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
57
|
-
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
52
|
+
# @option opts [String] :q
|
53
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF
|
54
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
55
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
58
56
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
59
57
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
60
58
|
# @return [Array<(PaginatedrpmPackageGroupResponseList, Integer, Hash)>] PaginatedrpmPackageGroupResponseList data, response status code and response headers
|
@@ -75,7 +73,6 @@ module PulpRpmClient
|
|
75
73
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
76
74
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
77
75
|
query_params[:'orphaned_for'] = opts[:'orphaned_for'] if !opts[:'orphaned_for'].nil?
|
78
|
-
query_params[:'prn__in'] = @api_client.build_collection_param(opts[:'prn__in'], :csv) if !opts[:'prn__in'].nil?
|
79
76
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
80
77
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
81
78
|
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
@@ -26,13 +26,12 @@ module PulpRpmClient
|
|
26
26
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
27
27
|
# @option opts [Array<String>] :ordering Ordering * `pk` - Pk * `-pk` - Pk (descending)
|
28
28
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
29
|
-
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
30
29
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
31
30
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
32
|
-
# @option opts [String] :q
|
33
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
34
|
-
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
35
|
-
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
31
|
+
# @option opts [String] :q
|
32
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF
|
33
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
34
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
36
35
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
37
36
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
38
37
|
# @return [PaginatedrpmPackageLangpacksResponseList]
|
@@ -48,13 +47,12 @@ module PulpRpmClient
|
|
48
47
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
49
48
|
# @option opts [Array<String>] :ordering Ordering * `pk` - Pk * `-pk` - Pk (descending)
|
50
49
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
51
|
-
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
52
50
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
53
51
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
54
|
-
# @option opts [String] :q
|
55
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
56
|
-
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
57
|
-
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
52
|
+
# @option opts [String] :q
|
53
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF
|
54
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
55
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
58
56
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
59
57
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
60
58
|
# @return [Array<(PaginatedrpmPackageLangpacksResponseList, Integer, Hash)>] PaginatedrpmPackageLangpacksResponseList data, response status code and response headers
|
@@ -75,7 +73,6 @@ module PulpRpmClient
|
|
75
73
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
76
74
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
77
75
|
query_params[:'orphaned_for'] = opts[:'orphaned_for'] if !opts[:'orphaned_for'].nil?
|
78
|
-
query_params[:'prn__in'] = @api_client.build_collection_param(opts[:'prn__in'], :csv) if !opts[:'prn__in'].nil?
|
79
76
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
80
77
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
81
78
|
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
@@ -20,14 +20,13 @@ module PulpRpmClient
|
|
20
20
|
@api_client = api_client
|
21
21
|
end
|
22
22
|
# Create a package
|
23
|
-
# Trigger an asynchronous task to create
|
23
|
+
# Trigger an asynchronous task to create an RPM package,optionally create new repository version.
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
25
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
26
26
|
# @option opts [String] :artifact Artifact file representing the physical content
|
27
27
|
# @option opts [String] :relative_path Path where the artifact is located relative to distributions base_path
|
28
28
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
29
29
|
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
30
|
-
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
31
30
|
# @return [AsyncOperationResponse]
|
32
31
|
def create(opts = {})
|
33
32
|
data, _status_code, _headers = create_with_http_info(opts)
|
@@ -35,14 +34,13 @@ module PulpRpmClient
|
|
35
34
|
end
|
36
35
|
|
37
36
|
# Create a package
|
38
|
-
# Trigger an asynchronous task to create
|
37
|
+
# Trigger an asynchronous task to create an RPM package,optionally create new repository version.
|
39
38
|
# @param [Hash] opts the optional parameters
|
40
39
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
41
40
|
# @option opts [String] :artifact Artifact file representing the physical content
|
42
41
|
# @option opts [String] :relative_path Path where the artifact is located relative to distributions base_path
|
43
42
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
44
43
|
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
45
|
-
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
46
44
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
47
45
|
def create_with_http_info(opts = {})
|
48
46
|
if @api_client.config.debugging
|
@@ -52,10 +50,6 @@ module PulpRpmClient
|
|
52
50
|
fail ArgumentError, 'invalid value for "opts[:"relative_path"]" when calling ContentPackagesApi.create, the character length must be great than or equal to 1.'
|
53
51
|
end
|
54
52
|
|
55
|
-
if @api_client.config.client_side_validation && !opts[:'file_url'].nil? && opts[:'file_url'].to_s.length < 1
|
56
|
-
fail ArgumentError, 'invalid value for "opts[:"file_url"]" when calling ContentPackagesApi.create, the character length must be great than or equal to 1.'
|
57
|
-
end
|
58
|
-
|
59
53
|
# resource path
|
60
54
|
local_var_path = '/pulp/api/v3/content/rpm/packages/'
|
61
55
|
|
@@ -76,7 +70,6 @@ module PulpRpmClient
|
|
76
70
|
form_params['relative_path'] = opts[:'relative_path'] if !opts[:'relative_path'].nil?
|
77
71
|
form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
|
78
72
|
form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
|
79
|
-
form_params['file_url'] = opts[:'file_url'] if !opts[:'file_url'].nil?
|
80
73
|
|
81
74
|
# http body (model)
|
82
75
|
post_body = opts[:body]
|
@@ -129,18 +122,17 @@ module PulpRpmClient
|
|
129
122
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
130
123
|
# @option opts [String] :pkg_id Filter results where pkgId matches value
|
131
124
|
# @option opts [Array<String>] :pkg_id__in Filter results where pkgId is in a comma-separated list of values
|
132
|
-
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
133
125
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
134
126
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
135
|
-
# @option opts [String] :q
|
127
|
+
# @option opts [String] :q
|
136
128
|
# @option opts [String] :release Filter results where release matches value
|
137
129
|
# @option opts [String] :release__contains Filter results where release contains value
|
138
130
|
# @option opts [Array<String>] :release__in Filter results where release is in a comma-separated list of values
|
139
131
|
# @option opts [String] :release__ne Filter results where release not equal to value
|
140
132
|
# @option opts [String] :release__startswith Filter results where release starts with value
|
141
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
142
|
-
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
143
|
-
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
133
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF
|
134
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
135
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
144
136
|
# @option opts [String] :sha256
|
145
137
|
# @option opts [String] :version Filter results where version matches value
|
146
138
|
# @option opts [Array<String>] :version__in Filter results where version is in a comma-separated list of values
|
@@ -179,18 +171,17 @@ module PulpRpmClient
|
|
179
171
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
180
172
|
# @option opts [String] :pkg_id Filter results where pkgId matches value
|
181
173
|
# @option opts [Array<String>] :pkg_id__in Filter results where pkgId is in a comma-separated list of values
|
182
|
-
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
183
174
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
184
175
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
185
|
-
# @option opts [String] :q
|
176
|
+
# @option opts [String] :q
|
186
177
|
# @option opts [String] :release Filter results where release matches value
|
187
178
|
# @option opts [String] :release__contains Filter results where release contains value
|
188
179
|
# @option opts [Array<String>] :release__in Filter results where release is in a comma-separated list of values
|
189
180
|
# @option opts [String] :release__ne Filter results where release not equal to value
|
190
181
|
# @option opts [String] :release__startswith Filter results where release starts with value
|
191
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
192
|
-
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
193
|
-
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
182
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF
|
183
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
184
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
194
185
|
# @option opts [String] :sha256
|
195
186
|
# @option opts [String] :version Filter results where version matches value
|
196
187
|
# @option opts [Array<String>] :version__in Filter results where version is in a comma-separated list of values
|
@@ -238,7 +229,6 @@ module PulpRpmClient
|
|
238
229
|
query_params[:'orphaned_for'] = opts[:'orphaned_for'] if !opts[:'orphaned_for'].nil?
|
239
230
|
query_params[:'pkgId'] = opts[:'pkg_id'] if !opts[:'pkg_id'].nil?
|
240
231
|
query_params[:'pkgId__in'] = @api_client.build_collection_param(opts[:'pkg_id__in'], :csv) if !opts[:'pkg_id__in'].nil?
|
241
|
-
query_params[:'prn__in'] = @api_client.build_collection_param(opts[:'prn__in'], :csv) if !opts[:'prn__in'].nil?
|
242
232
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
243
233
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
244
234
|
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
@@ -26,13 +26,12 @@ module PulpRpmClient
|
|
26
26
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
27
27
|
# @option opts [Array<String>] :ordering Ordering * `pk` - Pk * `-pk` - Pk (descending)
|
28
28
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
29
|
-
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
30
29
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
31
30
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
32
|
-
# @option opts [String] :q
|
33
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
34
|
-
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
35
|
-
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
31
|
+
# @option opts [String] :q
|
32
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF
|
33
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
34
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
36
35
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
37
36
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
38
37
|
# @return [PaginatedrpmRepoMetadataFileResponseList]
|
@@ -48,13 +47,12 @@ module PulpRpmClient
|
|
48
47
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
49
48
|
# @option opts [Array<String>] :ordering Ordering * `pk` - Pk * `-pk` - Pk (descending)
|
50
49
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
51
|
-
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
52
50
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
53
51
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
54
|
-
# @option opts [String] :q
|
55
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
56
|
-
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
57
|
-
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
52
|
+
# @option opts [String] :q
|
53
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF
|
54
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
55
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
58
56
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
59
57
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
60
58
|
# @return [Array<(PaginatedrpmRepoMetadataFileResponseList, Integer, Hash)>] PaginatedrpmRepoMetadataFileResponseList data, response status code and response headers
|
@@ -75,7 +73,6 @@ module PulpRpmClient
|
|
75
73
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
76
74
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
77
75
|
query_params[:'orphaned_for'] = opts[:'orphaned_for'] if !opts[:'orphaned_for'].nil?
|
78
|
-
query_params[:'prn__in'] = @api_client.build_collection_param(opts[:'prn__in'], :csv) if !opts[:'prn__in'].nil?
|
79
76
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
80
77
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
81
78
|
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
@@ -234,11 +234,10 @@ module PulpRpmClient
|
|
234
234
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
235
235
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
236
236
|
# @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) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
237
|
-
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
238
237
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
239
238
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
240
239
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
241
|
-
# @option opts [String] :q
|
240
|
+
# @option opts [String] :q
|
242
241
|
# @option opts [String] :repository Filter results where repository matches value
|
243
242
|
# @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
|
244
243
|
# @option opts [String] :with_content Filter distributions based on the content served by them
|
@@ -269,11 +268,10 @@ module PulpRpmClient
|
|
269
268
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
270
269
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
271
270
|
# @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) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
272
|
-
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
273
271
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
274
272
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
275
273
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
276
|
-
# @option opts [String] :q
|
274
|
+
# @option opts [String] :q
|
277
275
|
# @option opts [String] :repository Filter results where repository matches value
|
278
276
|
# @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
|
279
277
|
# @option opts [String] :with_content Filter distributions based on the content served by them
|
@@ -309,7 +307,6 @@ module PulpRpmClient
|
|
309
307
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
310
308
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
311
309
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
312
|
-
query_params[:'prn__in'] = @api_client.build_collection_param(opts[:'prn__in'], :csv) if !opts[:'prn__in'].nil?
|
313
310
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
314
311
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
315
312
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
@@ -216,12 +216,11 @@ module PulpRpmClient
|
|
216
216
|
# List rpm publications
|
217
217
|
# ViewSet for Rpm Publications.
|
218
218
|
# @param [Hash] opts the optional parameters
|
219
|
-
# @option opts [String] :content Content Unit referenced by HREF
|
220
|
-
# @option opts [
|
219
|
+
# @option opts [String] :content Content Unit referenced by HREF
|
220
|
+
# @option opts [String] :content__in Content Unit referenced by HREF
|
221
221
|
# @option opts [Integer] :limit Number of results to return per page.
|
222
222
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
223
223
|
# @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) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `complete` - Complete * `-complete` - Complete (descending) * `pass_through` - Pass through * `-pass_through` - Pass through (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
224
|
-
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
225
224
|
# @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
|
226
225
|
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
227
226
|
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
@@ -230,9 +229,9 @@ module PulpRpmClient
|
|
230
229
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
231
230
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
232
231
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
233
|
-
# @option opts [String] :q
|
234
|
-
# @option opts [String] :repository Repository referenced by HREF
|
235
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
232
|
+
# @option opts [String] :q
|
233
|
+
# @option opts [String] :repository Repository referenced by HREF
|
234
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF
|
236
235
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
237
236
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
238
237
|
# @return [PaginatedrpmRpmPublicationResponseList]
|
@@ -244,12 +243,11 @@ module PulpRpmClient
|
|
244
243
|
# List rpm publications
|
245
244
|
# ViewSet for Rpm Publications.
|
246
245
|
# @param [Hash] opts the optional parameters
|
247
|
-
# @option opts [String] :content Content Unit referenced by HREF
|
248
|
-
# @option opts [
|
246
|
+
# @option opts [String] :content Content Unit referenced by HREF
|
247
|
+
# @option opts [String] :content__in Content Unit referenced by HREF
|
249
248
|
# @option opts [Integer] :limit Number of results to return per page.
|
250
249
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
251
250
|
# @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) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `complete` - Complete * `-complete` - Complete (descending) * `pass_through` - Pass through * `-pass_through` - Pass through (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
252
|
-
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
253
251
|
# @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
|
254
252
|
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
255
253
|
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
@@ -258,9 +256,9 @@ module PulpRpmClient
|
|
258
256
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
259
257
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
260
258
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
261
|
-
# @option opts [String] :q
|
262
|
-
# @option opts [String] :repository Repository referenced by HREF
|
263
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
259
|
+
# @option opts [String] :q
|
260
|
+
# @option opts [String] :repository Repository referenced by HREF
|
261
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF
|
264
262
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
265
263
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
266
264
|
# @return [Array<(PaginatedrpmRpmPublicationResponseList, Integer, Hash)>] PaginatedrpmRpmPublicationResponseList data, response status code and response headers
|
@@ -278,11 +276,10 @@ module PulpRpmClient
|
|
278
276
|
# query parameters
|
279
277
|
query_params = opts[:query_params] || {}
|
280
278
|
query_params[:'content'] = opts[:'content'] if !opts[:'content'].nil?
|
281
|
-
query_params[:'content__in'] =
|
279
|
+
query_params[:'content__in'] = opts[:'content__in'] if !opts[:'content__in'].nil?
|
282
280
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
283
281
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
284
282
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
285
|
-
query_params[:'prn__in'] = @api_client.build_collection_param(opts[:'prn__in'], :csv) if !opts[:'prn__in'].nil?
|
286
283
|
query_params[:'pulp_created'] = opts[:'pulp_created'] if !opts[:'pulp_created'].nil?
|
287
284
|
query_params[:'pulp_created__gt'] = opts[:'pulp_created__gt'] if !opts[:'pulp_created__gt'].nil?
|
288
285
|
query_params[:'pulp_created__gte'] = opts[:'pulp_created__gte'] if !opts[:'pulp_created__gte'].nil?
|
@@ -230,7 +230,6 @@ module PulpRpmClient
|
|
230
230
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
231
231
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
232
232
|
# @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) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
233
|
-
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
234
233
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
235
234
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
236
235
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
@@ -240,7 +239,7 @@ module PulpRpmClient
|
|
240
239
|
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
241
240
|
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
242
241
|
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
243
|
-
# @option opts [String] :q
|
242
|
+
# @option opts [String] :q
|
244
243
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
245
244
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
246
245
|
# @return [PaginatedrpmRpmRemoteResponseList]
|
@@ -264,7 +263,6 @@ module PulpRpmClient
|
|
264
263
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
265
264
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
266
265
|
# @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) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
267
|
-
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
268
266
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
269
267
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
270
268
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
@@ -274,7 +272,7 @@ module PulpRpmClient
|
|
274
272
|
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
275
273
|
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
276
274
|
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
277
|
-
# @option opts [String] :q
|
275
|
+
# @option opts [String] :q
|
278
276
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
279
277
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
280
278
|
# @return [Array<(PaginatedrpmRpmRemoteResponseList, Integer, Hash)>] PaginatedrpmRpmRemoteResponseList data, response status code and response headers
|
@@ -303,7 +301,6 @@ module PulpRpmClient
|
|
303
301
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
304
302
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
305
303
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
306
|
-
query_params[:'prn__in'] = @api_client.build_collection_param(opts[:'prn__in'], :csv) if !opts[:'prn__in'].nil?
|
307
304
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
308
305
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
309
306
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|