pulp_rpm_client 3.18.20 → 3.19.0.dev1675221420
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of pulp_rpm_client might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +36 -8
- data/docs/AcsRpmApi.md +230 -6
- data/docs/ContentAdvisoriesApi.md +2 -6
- data/docs/ContentDistributionTreesApi.md +2 -6
- data/docs/ContentModulemdDefaultsApi.md +2 -6
- data/docs/ContentModulemdObsoletesApi.md +2 -6
- data/docs/ContentModulemdsApi.md +2 -6
- data/docs/ContentPackagecategoriesApi.md +2 -6
- data/docs/ContentPackageenvironmentsApi.md +2 -6
- data/docs/ContentPackagegroupsApi.md +2 -6
- data/docs/ContentPackagelangpacksApi.md +2 -6
- data/docs/ContentPackagesApi.md +4 -8
- data/docs/ContentRepoMetadataFilesApi.md +2 -6
- data/docs/DistributionsRpmApi.md +230 -6
- data/docs/MyPermissionsResponse.md +17 -0
- data/docs/NestedRole.md +21 -0
- data/docs/NestedRoleResponse.md +21 -0
- data/docs/ObjectRolesResponse.md +17 -0
- data/docs/PatchedrpmRpmRemote.md +1 -1
- data/docs/PatchedrpmRpmRepository.md +3 -3
- data/docs/PatchedrpmUlnRemote.md +1 -1
- data/docs/PublicationsRpmApi.md +230 -6
- data/docs/RemotesRpmApi.md +230 -6
- data/docs/RemotesUlnApi.md +230 -6
- data/docs/RepositoriesRpmApi.md +230 -6
- data/docs/RepositoriesRpmVersionsApi.md +2 -4
- data/docs/RepositoryAddRemoveContent.md +2 -2
- data/docs/RpmModulemdObsolete.md +2 -2
- data/docs/RpmModulemdObsoleteResponse.md +2 -2
- data/docs/RpmRepositorySyncURL.md +1 -1
- data/docs/RpmRpmPublication.md +2 -2
- data/docs/RpmRpmPublicationResponse.md +2 -2
- data/docs/RpmRpmRemote.md +1 -1
- data/docs/RpmRpmRemoteResponse.md +1 -1
- data/docs/RpmRpmRepository.md +3 -3
- data/docs/RpmRpmRepositoryResponse.md +3 -3
- data/docs/RpmUlnRemote.md +1 -1
- data/docs/RpmUlnRemoteResponse.md +1 -1
- data/lib/pulp_rpm_client/api/acs_rpm_api.rb +270 -8
- data/lib/pulp_rpm_client/api/content_advisories_api.rb +2 -8
- data/lib/pulp_rpm_client/api/content_distribution_trees_api.rb +2 -8
- data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +2 -8
- data/lib/pulp_rpm_client/api/content_modulemd_obsoletes_api.rb +2 -8
- data/lib/pulp_rpm_client/api/content_modulemds_api.rb +2 -8
- data/lib/pulp_rpm_client/api/content_packagecategories_api.rb +2 -8
- data/lib/pulp_rpm_client/api/content_packageenvironments_api.rb +2 -8
- data/lib/pulp_rpm_client/api/content_packagegroups_api.rb +2 -8
- data/lib/pulp_rpm_client/api/content_packagelangpacks_api.rb +2 -8
- data/lib/pulp_rpm_client/api/content_packages_api.rb +4 -10
- data/lib/pulp_rpm_client/api/content_repo_metadata_files_api.rb +2 -8
- data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +270 -8
- data/lib/pulp_rpm_client/api/publications_rpm_api.rb +270 -8
- data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +270 -8
- data/lib/pulp_rpm_client/api/remotes_uln_api.rb +270 -8
- data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +270 -8
- data/lib/pulp_rpm_client/api/repositories_rpm_versions_api.rb +2 -5
- data/lib/pulp_rpm_client/models/my_permissions_response.rb +213 -0
- data/lib/pulp_rpm_client/models/nested_role.rb +253 -0
- data/lib/pulp_rpm_client/models/nested_role_response.rb +234 -0
- data/lib/pulp_rpm_client/models/object_roles_response.rb +213 -0
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_remote.rb +1 -1
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_repository.rb +3 -3
- data/lib/pulp_rpm_client/models/patchedrpm_uln_remote.rb +1 -1
- data/lib/pulp_rpm_client/models/repository_add_remove_content.rb +2 -2
- data/lib/pulp_rpm_client/models/rpm_modulemd_obsolete.rb +36 -2
- data/lib/pulp_rpm_client/models/rpm_modulemd_obsolete_response.rb +2 -2
- data/lib/pulp_rpm_client/models/rpm_repository_sync_url.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_publication.rb +2 -2
- data/lib/pulp_rpm_client/models/rpm_rpm_publication_response.rb +2 -2
- data/lib/pulp_rpm_client/models/rpm_rpm_remote.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_remote_response.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +3 -3
- data/lib/pulp_rpm_client/models/rpm_rpm_repository_response.rb +3 -3
- data/lib/pulp_rpm_client/models/rpm_uln_remote.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_uln_remote_response.rb +1 -1
- data/lib/pulp_rpm_client/version.rb +1 -1
- data/lib/pulp_rpm_client.rb +4 -0
- data/spec/api/acs_rpm_api_spec.rb +51 -3
- data/spec/api/content_advisories_api_spec.rb +1 -3
- data/spec/api/content_distribution_trees_api_spec.rb +1 -3
- data/spec/api/content_modulemd_defaults_api_spec.rb +1 -3
- data/spec/api/content_modulemd_obsoletes_api_spec.rb +1 -3
- data/spec/api/content_modulemds_api_spec.rb +1 -3
- data/spec/api/content_packagecategories_api_spec.rb +1 -3
- data/spec/api/content_packageenvironments_api_spec.rb +1 -3
- data/spec/api/content_packagegroups_api_spec.rb +1 -3
- data/spec/api/content_packagelangpacks_api_spec.rb +1 -3
- data/spec/api/content_packages_api_spec.rb +2 -4
- data/spec/api/content_repo_metadata_files_api_spec.rb +1 -3
- data/spec/api/distributions_rpm_api_spec.rb +51 -3
- data/spec/api/publications_rpm_api_spec.rb +51 -3
- data/spec/api/remotes_rpm_api_spec.rb +51 -3
- data/spec/api/remotes_uln_api_spec.rb +51 -3
- data/spec/api/repositories_rpm_api_spec.rb +51 -3
- data/spec/api/repositories_rpm_versions_api_spec.rb +1 -2
- data/spec/models/my_permissions_response_spec.rb +41 -0
- data/spec/models/nested_role_response_spec.rb +53 -0
- data/spec/models/nested_role_spec.rb +53 -0
- data/spec/models/object_roles_response_spec.rb +41 -0
- metadata +94 -78
@@ -24,9 +24,7 @@ module PulpRpmClient
|
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
25
|
# @option opts [Integer] :limit Number of results to return per page.
|
26
26
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
27
|
-
# @option opts [Array<String>] :ordering Ordering
|
28
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
29
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
27
|
+
# @option opts [Array<String>] :ordering Ordering
|
30
28
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
31
29
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
32
30
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -43,9 +41,7 @@ module PulpRpmClient
|
|
43
41
|
# @param [Hash] opts the optional parameters
|
44
42
|
# @option opts [Integer] :limit Number of results to return per page.
|
45
43
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
46
|
-
# @option opts [Array<String>] :ordering Ordering
|
47
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
48
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
44
|
+
# @option opts [Array<String>] :ordering Ordering
|
49
45
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
50
46
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
51
47
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -68,8 +64,6 @@ module PulpRpmClient
|
|
68
64
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
69
65
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
70
66
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
71
|
-
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
72
|
-
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
73
67
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
74
68
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
75
69
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
@@ -24,9 +24,7 @@ module PulpRpmClient
|
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
25
|
# @option opts [Integer] :limit Number of results to return per page.
|
26
26
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
27
|
-
# @option opts [Array<String>] :ordering Ordering
|
28
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
29
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
27
|
+
# @option opts [Array<String>] :ordering Ordering
|
30
28
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
31
29
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
32
30
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -43,9 +41,7 @@ module PulpRpmClient
|
|
43
41
|
# @param [Hash] opts the optional parameters
|
44
42
|
# @option opts [Integer] :limit Number of results to return per page.
|
45
43
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
46
|
-
# @option opts [Array<String>] :ordering Ordering
|
47
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
48
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
44
|
+
# @option opts [Array<String>] :ordering Ordering
|
49
45
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
50
46
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
51
47
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -68,8 +64,6 @@ module PulpRpmClient
|
|
68
64
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
69
65
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
70
66
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
71
|
-
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
72
|
-
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
73
67
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
74
68
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
75
69
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
@@ -24,9 +24,7 @@ module PulpRpmClient
|
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
25
|
# @option opts [Integer] :limit Number of results to return per page.
|
26
26
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
27
|
-
# @option opts [Array<String>] :ordering Ordering
|
28
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
29
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
27
|
+
# @option opts [Array<String>] :ordering Ordering
|
30
28
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
31
29
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
32
30
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -43,9 +41,7 @@ module PulpRpmClient
|
|
43
41
|
# @param [Hash] opts the optional parameters
|
44
42
|
# @option opts [Integer] :limit Number of results to return per page.
|
45
43
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
46
|
-
# @option opts [Array<String>] :ordering Ordering
|
47
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
48
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
44
|
+
# @option opts [Array<String>] :ordering Ordering
|
49
45
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
50
46
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
51
47
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -68,8 +64,6 @@ module PulpRpmClient
|
|
68
64
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
69
65
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
70
66
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
71
|
-
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
72
|
-
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
73
67
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
74
68
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
75
69
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
@@ -24,9 +24,7 @@ module PulpRpmClient
|
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
25
|
# @option opts [Integer] :limit Number of results to return per page.
|
26
26
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
27
|
-
# @option opts [Array<String>] :ordering Ordering
|
28
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
29
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
27
|
+
# @option opts [Array<String>] :ordering Ordering
|
30
28
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
31
29
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
32
30
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -43,9 +41,7 @@ module PulpRpmClient
|
|
43
41
|
# @param [Hash] opts the optional parameters
|
44
42
|
# @option opts [Integer] :limit Number of results to return per page.
|
45
43
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
46
|
-
# @option opts [Array<String>] :ordering Ordering
|
47
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
48
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
44
|
+
# @option opts [Array<String>] :ordering Ordering
|
49
45
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
50
46
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
51
47
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -68,8 +64,6 @@ module PulpRpmClient
|
|
68
64
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
69
65
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
70
66
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
71
|
-
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
72
|
-
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
73
67
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
74
68
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
75
69
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
@@ -102,7 +102,7 @@ module PulpRpmClient
|
|
102
102
|
# @option opts [String] :arch Filter results where arch matches value
|
103
103
|
# @option opts [Array<String>] :arch__in Filter results where arch is in a comma-separated list of values
|
104
104
|
# @option opts [String] :arch__ne Filter results where arch not equal to value
|
105
|
-
# @option opts [String] :checksum_type Filter results where checksum_type matches value
|
105
|
+
# @option opts [String] :checksum_type Filter results where checksum_type matches value
|
106
106
|
# @option opts [Array<String>] :checksum_type__in Filter results where checksum_type is in a comma-separated list of values
|
107
107
|
# @option opts [String] :checksum_type__ne Filter results where checksum_type not equal to value
|
108
108
|
# @option opts [String] :epoch Filter results where epoch matches value
|
@@ -113,11 +113,9 @@ module PulpRpmClient
|
|
113
113
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
114
114
|
# @option opts [String] :name__ne Filter results where name not equal to value
|
115
115
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
116
|
-
# @option opts [Array<String>] :ordering Ordering
|
116
|
+
# @option opts [Array<String>] :ordering Ordering
|
117
117
|
# @option opts [String] :pkg_id Filter results where pkgId matches value
|
118
118
|
# @option opts [Array<String>] :pkg_id__in Filter results where pkgId is in a comma-separated list of values
|
119
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
120
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
121
119
|
# @option opts [String] :release Filter results where release matches value
|
122
120
|
# @option opts [Array<String>] :release__in Filter results where release is in a comma-separated list of values
|
123
121
|
# @option opts [String] :release__ne Filter results where release not equal to value
|
@@ -142,7 +140,7 @@ module PulpRpmClient
|
|
142
140
|
# @option opts [String] :arch Filter results where arch matches value
|
143
141
|
# @option opts [Array<String>] :arch__in Filter results where arch is in a comma-separated list of values
|
144
142
|
# @option opts [String] :arch__ne Filter results where arch not equal to value
|
145
|
-
# @option opts [String] :checksum_type Filter results where checksum_type matches value
|
143
|
+
# @option opts [String] :checksum_type Filter results where checksum_type matches value
|
146
144
|
# @option opts [Array<String>] :checksum_type__in Filter results where checksum_type is in a comma-separated list of values
|
147
145
|
# @option opts [String] :checksum_type__ne Filter results where checksum_type not equal to value
|
148
146
|
# @option opts [String] :epoch Filter results where epoch matches value
|
@@ -153,11 +151,9 @@ module PulpRpmClient
|
|
153
151
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
154
152
|
# @option opts [String] :name__ne Filter results where name not equal to value
|
155
153
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
156
|
-
# @option opts [Array<String>] :ordering Ordering
|
154
|
+
# @option opts [Array<String>] :ordering Ordering
|
157
155
|
# @option opts [String] :pkg_id Filter results where pkgId matches value
|
158
156
|
# @option opts [Array<String>] :pkg_id__in Filter results where pkgId is in a comma-separated list of values
|
159
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
160
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
161
157
|
# @option opts [String] :release Filter results where release matches value
|
162
158
|
# @option opts [Array<String>] :release__in Filter results where release is in a comma-separated list of values
|
163
159
|
# @option opts [String] :release__ne Filter results where release not equal to value
|
@@ -205,8 +201,6 @@ module PulpRpmClient
|
|
205
201
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
206
202
|
query_params[:'pkgId'] = opts[:'pkg_id'] if !opts[:'pkg_id'].nil?
|
207
203
|
query_params[:'pkgId__in'] = @api_client.build_collection_param(opts[:'pkg_id__in'], :csv) if !opts[:'pkg_id__in'].nil?
|
208
|
-
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
209
|
-
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
210
204
|
query_params[:'release'] = opts[:'release'] if !opts[:'release'].nil?
|
211
205
|
query_params[:'release__in'] = @api_client.build_collection_param(opts[:'release__in'], :csv) if !opts[:'release__in'].nil?
|
212
206
|
query_params[:'release__ne'] = opts[:'release__ne'] if !opts[:'release__ne'].nil?
|
@@ -24,9 +24,7 @@ module PulpRpmClient
|
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
25
|
# @option opts [Integer] :limit Number of results to return per page.
|
26
26
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
27
|
-
# @option opts [Array<String>] :ordering Ordering
|
28
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
29
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
27
|
+
# @option opts [Array<String>] :ordering Ordering
|
30
28
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
31
29
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
32
30
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -43,9 +41,7 @@ module PulpRpmClient
|
|
43
41
|
# @param [Hash] opts the optional parameters
|
44
42
|
# @option opts [Integer] :limit Number of results to return per page.
|
45
43
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
46
|
-
# @option opts [Array<String>] :ordering Ordering
|
47
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
48
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
44
|
+
# @option opts [Array<String>] :ordering Ordering
|
49
45
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
50
46
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
51
47
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -68,8 +64,6 @@ module PulpRpmClient
|
|
68
64
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
69
65
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
70
66
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
71
|
-
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
72
|
-
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
73
67
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
74
68
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
75
69
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
@@ -19,6 +19,74 @@ module PulpRpmClient
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
20
20
|
@api_client = api_client
|
21
21
|
end
|
22
|
+
# Add a role for this object to users/groups.
|
23
|
+
# @param rpm_rpm_distribution_href [String]
|
24
|
+
# @param nested_role [NestedRole]
|
25
|
+
# @param [Hash] opts the optional parameters
|
26
|
+
# @return [NestedRoleResponse]
|
27
|
+
def add_role(rpm_rpm_distribution_href, nested_role, opts = {})
|
28
|
+
data, _status_code, _headers = add_role_with_http_info(rpm_rpm_distribution_href, nested_role, opts)
|
29
|
+
data
|
30
|
+
end
|
31
|
+
|
32
|
+
# Add a role for this object to users/groups.
|
33
|
+
# @param rpm_rpm_distribution_href [String]
|
34
|
+
# @param nested_role [NestedRole]
|
35
|
+
# @param [Hash] opts the optional parameters
|
36
|
+
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
37
|
+
def add_role_with_http_info(rpm_rpm_distribution_href, nested_role, opts = {})
|
38
|
+
if @api_client.config.debugging
|
39
|
+
@api_client.config.logger.debug 'Calling API: DistributionsRpmApi.add_role ...'
|
40
|
+
end
|
41
|
+
# verify the required parameter 'rpm_rpm_distribution_href' is set
|
42
|
+
if @api_client.config.client_side_validation && rpm_rpm_distribution_href.nil?
|
43
|
+
fail ArgumentError, "Missing the required parameter 'rpm_rpm_distribution_href' when calling DistributionsRpmApi.add_role"
|
44
|
+
end
|
45
|
+
# verify the required parameter 'nested_role' is set
|
46
|
+
if @api_client.config.client_side_validation && nested_role.nil?
|
47
|
+
fail ArgumentError, "Missing the required parameter 'nested_role' when calling DistributionsRpmApi.add_role"
|
48
|
+
end
|
49
|
+
# resource path
|
50
|
+
local_var_path = '{rpm_rpm_distribution_href}add_role/'.sub('{' + 'rpm_rpm_distribution_href' + '}', CGI.escape(rpm_rpm_distribution_href.to_s).gsub('%2F', '/'))
|
51
|
+
|
52
|
+
# query parameters
|
53
|
+
query_params = opts[:query_params] || {}
|
54
|
+
|
55
|
+
# header parameters
|
56
|
+
header_params = opts[:header_params] || {}
|
57
|
+
# HTTP header 'Accept' (if needed)
|
58
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
59
|
+
# HTTP header 'Content-Type'
|
60
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
61
|
+
|
62
|
+
# form parameters
|
63
|
+
form_params = opts[:form_params] || {}
|
64
|
+
|
65
|
+
# http body (model)
|
66
|
+
post_body = opts[:body] || @api_client.object_to_http_body(nested_role)
|
67
|
+
|
68
|
+
# return_type
|
69
|
+
return_type = opts[:return_type] || 'NestedRoleResponse'
|
70
|
+
|
71
|
+
# auth_names
|
72
|
+
auth_names = opts[:auth_names] || ['basicAuth']
|
73
|
+
|
74
|
+
new_options = opts.merge(
|
75
|
+
:header_params => header_params,
|
76
|
+
:query_params => query_params,
|
77
|
+
:form_params => form_params,
|
78
|
+
:body => post_body,
|
79
|
+
:auth_names => auth_names,
|
80
|
+
:return_type => return_type
|
81
|
+
)
|
82
|
+
|
83
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
84
|
+
if @api_client.config.debugging
|
85
|
+
@api_client.config.logger.debug "API called: DistributionsRpmApi#add_role\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
86
|
+
end
|
87
|
+
return data, status_code, headers
|
88
|
+
end
|
89
|
+
|
22
90
|
# Create a rpm distribution
|
23
91
|
# Trigger an asynchronous create task
|
24
92
|
# @param rpm_rpm_distribution [RpmRpmDistribution]
|
@@ -159,9 +227,7 @@ module PulpRpmClient
|
|
159
227
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
160
228
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
161
229
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
162
|
-
# @option opts [Array<String>] :ordering Ordering
|
163
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
164
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
230
|
+
# @option opts [Array<String>] :ordering Ordering
|
165
231
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
166
232
|
# @option opts [String] :repository Filter results where repository matches value
|
167
233
|
# @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
|
@@ -188,9 +254,7 @@ module PulpRpmClient
|
|
188
254
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
189
255
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
190
256
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
191
|
-
# @option opts [Array<String>] :ordering Ordering
|
192
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
193
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
257
|
+
# @option opts [Array<String>] :ordering Ordering
|
194
258
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
195
259
|
# @option opts [String] :repository Filter results where repository matches value
|
196
260
|
# @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
|
@@ -223,8 +287,6 @@ module PulpRpmClient
|
|
223
287
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
224
288
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
225
289
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
226
|
-
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
227
|
-
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
228
290
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
229
291
|
query_params[:'repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
230
292
|
query_params[:'repository__in'] = @api_client.build_collection_param(opts[:'repository__in'], :csv) if !opts[:'repository__in'].nil?
|
@@ -265,6 +327,138 @@ module PulpRpmClient
|
|
265
327
|
return data, status_code, headers
|
266
328
|
end
|
267
329
|
|
330
|
+
# List roles assigned to this object.
|
331
|
+
# @param rpm_rpm_distribution_href [String]
|
332
|
+
# @param [Hash] opts the optional parameters
|
333
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
334
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
335
|
+
# @return [ObjectRolesResponse]
|
336
|
+
def list_roles(rpm_rpm_distribution_href, opts = {})
|
337
|
+
data, _status_code, _headers = list_roles_with_http_info(rpm_rpm_distribution_href, opts)
|
338
|
+
data
|
339
|
+
end
|
340
|
+
|
341
|
+
# List roles assigned to this object.
|
342
|
+
# @param rpm_rpm_distribution_href [String]
|
343
|
+
# @param [Hash] opts the optional parameters
|
344
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
345
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
346
|
+
# @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
|
347
|
+
def list_roles_with_http_info(rpm_rpm_distribution_href, opts = {})
|
348
|
+
if @api_client.config.debugging
|
349
|
+
@api_client.config.logger.debug 'Calling API: DistributionsRpmApi.list_roles ...'
|
350
|
+
end
|
351
|
+
# verify the required parameter 'rpm_rpm_distribution_href' is set
|
352
|
+
if @api_client.config.client_side_validation && rpm_rpm_distribution_href.nil?
|
353
|
+
fail ArgumentError, "Missing the required parameter 'rpm_rpm_distribution_href' when calling DistributionsRpmApi.list_roles"
|
354
|
+
end
|
355
|
+
# resource path
|
356
|
+
local_var_path = '{rpm_rpm_distribution_href}list_roles/'.sub('{' + 'rpm_rpm_distribution_href' + '}', CGI.escape(rpm_rpm_distribution_href.to_s).gsub('%2F', '/'))
|
357
|
+
|
358
|
+
# query parameters
|
359
|
+
query_params = opts[:query_params] || {}
|
360
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
361
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
362
|
+
|
363
|
+
# header parameters
|
364
|
+
header_params = opts[:header_params] || {}
|
365
|
+
# HTTP header 'Accept' (if needed)
|
366
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
367
|
+
|
368
|
+
# form parameters
|
369
|
+
form_params = opts[:form_params] || {}
|
370
|
+
|
371
|
+
# http body (model)
|
372
|
+
post_body = opts[:body]
|
373
|
+
|
374
|
+
# return_type
|
375
|
+
return_type = opts[:return_type] || 'ObjectRolesResponse'
|
376
|
+
|
377
|
+
# auth_names
|
378
|
+
auth_names = opts[:auth_names] || ['basicAuth']
|
379
|
+
|
380
|
+
new_options = opts.merge(
|
381
|
+
:header_params => header_params,
|
382
|
+
:query_params => query_params,
|
383
|
+
:form_params => form_params,
|
384
|
+
:body => post_body,
|
385
|
+
:auth_names => auth_names,
|
386
|
+
:return_type => return_type
|
387
|
+
)
|
388
|
+
|
389
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
390
|
+
if @api_client.config.debugging
|
391
|
+
@api_client.config.logger.debug "API called: DistributionsRpmApi#list_roles\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
392
|
+
end
|
393
|
+
return data, status_code, headers
|
394
|
+
end
|
395
|
+
|
396
|
+
# List permissions available to the current user on this object.
|
397
|
+
# @param rpm_rpm_distribution_href [String]
|
398
|
+
# @param [Hash] opts the optional parameters
|
399
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
400
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
401
|
+
# @return [MyPermissionsResponse]
|
402
|
+
def my_permissions(rpm_rpm_distribution_href, opts = {})
|
403
|
+
data, _status_code, _headers = my_permissions_with_http_info(rpm_rpm_distribution_href, opts)
|
404
|
+
data
|
405
|
+
end
|
406
|
+
|
407
|
+
# List permissions available to the current user on this object.
|
408
|
+
# @param rpm_rpm_distribution_href [String]
|
409
|
+
# @param [Hash] opts the optional parameters
|
410
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
411
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
412
|
+
# @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
|
413
|
+
def my_permissions_with_http_info(rpm_rpm_distribution_href, opts = {})
|
414
|
+
if @api_client.config.debugging
|
415
|
+
@api_client.config.logger.debug 'Calling API: DistributionsRpmApi.my_permissions ...'
|
416
|
+
end
|
417
|
+
# verify the required parameter 'rpm_rpm_distribution_href' is set
|
418
|
+
if @api_client.config.client_side_validation && rpm_rpm_distribution_href.nil?
|
419
|
+
fail ArgumentError, "Missing the required parameter 'rpm_rpm_distribution_href' when calling DistributionsRpmApi.my_permissions"
|
420
|
+
end
|
421
|
+
# resource path
|
422
|
+
local_var_path = '{rpm_rpm_distribution_href}my_permissions/'.sub('{' + 'rpm_rpm_distribution_href' + '}', CGI.escape(rpm_rpm_distribution_href.to_s).gsub('%2F', '/'))
|
423
|
+
|
424
|
+
# query parameters
|
425
|
+
query_params = opts[:query_params] || {}
|
426
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
427
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
428
|
+
|
429
|
+
# header parameters
|
430
|
+
header_params = opts[:header_params] || {}
|
431
|
+
# HTTP header 'Accept' (if needed)
|
432
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
433
|
+
|
434
|
+
# form parameters
|
435
|
+
form_params = opts[:form_params] || {}
|
436
|
+
|
437
|
+
# http body (model)
|
438
|
+
post_body = opts[:body]
|
439
|
+
|
440
|
+
# return_type
|
441
|
+
return_type = opts[:return_type] || 'MyPermissionsResponse'
|
442
|
+
|
443
|
+
# auth_names
|
444
|
+
auth_names = opts[:auth_names] || ['basicAuth']
|
445
|
+
|
446
|
+
new_options = opts.merge(
|
447
|
+
:header_params => header_params,
|
448
|
+
:query_params => query_params,
|
449
|
+
:form_params => form_params,
|
450
|
+
:body => post_body,
|
451
|
+
:auth_names => auth_names,
|
452
|
+
:return_type => return_type
|
453
|
+
)
|
454
|
+
|
455
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
456
|
+
if @api_client.config.debugging
|
457
|
+
@api_client.config.logger.debug "API called: DistributionsRpmApi#my_permissions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
458
|
+
end
|
459
|
+
return data, status_code, headers
|
460
|
+
end
|
461
|
+
|
268
462
|
# Update a rpm distribution
|
269
463
|
# Trigger an asynchronous partial update task
|
270
464
|
# @param rpm_rpm_distribution_href [String]
|
@@ -403,6 +597,74 @@ module PulpRpmClient
|
|
403
597
|
return data, status_code, headers
|
404
598
|
end
|
405
599
|
|
600
|
+
# Remove a role for this object from users/groups.
|
601
|
+
# @param rpm_rpm_distribution_href [String]
|
602
|
+
# @param nested_role [NestedRole]
|
603
|
+
# @param [Hash] opts the optional parameters
|
604
|
+
# @return [NestedRoleResponse]
|
605
|
+
def remove_role(rpm_rpm_distribution_href, nested_role, opts = {})
|
606
|
+
data, _status_code, _headers = remove_role_with_http_info(rpm_rpm_distribution_href, nested_role, opts)
|
607
|
+
data
|
608
|
+
end
|
609
|
+
|
610
|
+
# Remove a role for this object from users/groups.
|
611
|
+
# @param rpm_rpm_distribution_href [String]
|
612
|
+
# @param nested_role [NestedRole]
|
613
|
+
# @param [Hash] opts the optional parameters
|
614
|
+
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
615
|
+
def remove_role_with_http_info(rpm_rpm_distribution_href, nested_role, opts = {})
|
616
|
+
if @api_client.config.debugging
|
617
|
+
@api_client.config.logger.debug 'Calling API: DistributionsRpmApi.remove_role ...'
|
618
|
+
end
|
619
|
+
# verify the required parameter 'rpm_rpm_distribution_href' is set
|
620
|
+
if @api_client.config.client_side_validation && rpm_rpm_distribution_href.nil?
|
621
|
+
fail ArgumentError, "Missing the required parameter 'rpm_rpm_distribution_href' when calling DistributionsRpmApi.remove_role"
|
622
|
+
end
|
623
|
+
# verify the required parameter 'nested_role' is set
|
624
|
+
if @api_client.config.client_side_validation && nested_role.nil?
|
625
|
+
fail ArgumentError, "Missing the required parameter 'nested_role' when calling DistributionsRpmApi.remove_role"
|
626
|
+
end
|
627
|
+
# resource path
|
628
|
+
local_var_path = '{rpm_rpm_distribution_href}remove_role/'.sub('{' + 'rpm_rpm_distribution_href' + '}', CGI.escape(rpm_rpm_distribution_href.to_s).gsub('%2F', '/'))
|
629
|
+
|
630
|
+
# query parameters
|
631
|
+
query_params = opts[:query_params] || {}
|
632
|
+
|
633
|
+
# header parameters
|
634
|
+
header_params = opts[:header_params] || {}
|
635
|
+
# HTTP header 'Accept' (if needed)
|
636
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
637
|
+
# HTTP header 'Content-Type'
|
638
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
639
|
+
|
640
|
+
# form parameters
|
641
|
+
form_params = opts[:form_params] || {}
|
642
|
+
|
643
|
+
# http body (model)
|
644
|
+
post_body = opts[:body] || @api_client.object_to_http_body(nested_role)
|
645
|
+
|
646
|
+
# return_type
|
647
|
+
return_type = opts[:return_type] || 'NestedRoleResponse'
|
648
|
+
|
649
|
+
# auth_names
|
650
|
+
auth_names = opts[:auth_names] || ['basicAuth']
|
651
|
+
|
652
|
+
new_options = opts.merge(
|
653
|
+
:header_params => header_params,
|
654
|
+
:query_params => query_params,
|
655
|
+
:form_params => form_params,
|
656
|
+
:body => post_body,
|
657
|
+
:auth_names => auth_names,
|
658
|
+
:return_type => return_type
|
659
|
+
)
|
660
|
+
|
661
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
662
|
+
if @api_client.config.debugging
|
663
|
+
@api_client.config.logger.debug "API called: DistributionsRpmApi#remove_role\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
664
|
+
end
|
665
|
+
return data, status_code, headers
|
666
|
+
end
|
667
|
+
|
406
668
|
# Update a rpm distribution
|
407
669
|
# Trigger an asynchronous update task
|
408
670
|
# @param rpm_rpm_distribution_href [String]
|