pulp_rpm_client 3.18.20 → 3.19.0.dev1662960501
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 +4 -5
- data/docs/AcsRpmApi.md +12 -16
- data/docs/ContentAdvisoriesApi.md +10 -14
- data/docs/ContentDistributionTreesApi.md +10 -14
- data/docs/ContentModulemdDefaultsApi.md +10 -14
- data/docs/ContentModulemdObsoletesApi.md +10 -14
- data/docs/ContentModulemdsApi.md +10 -14
- data/docs/ContentPackagecategoriesApi.md +10 -14
- data/docs/ContentPackageenvironmentsApi.md +10 -14
- data/docs/ContentPackagegroupsApi.md +10 -14
- data/docs/ContentPackagelangpacksApi.md +10 -14
- data/docs/ContentPackagesApi.md +12 -16
- data/docs/ContentRepoMetadataFilesApi.md +10 -14
- data/docs/DistributionsRpmApi.md +14 -22
- data/docs/PatchedrpmRpmDistribution.md +1 -1
- data/docs/PatchedrpmRpmRemote.md +2 -2
- data/docs/PatchedrpmRpmRepository.md +4 -4
- data/docs/PatchedrpmUlnRemote.md +2 -2
- data/docs/PublicationsRpmApi.md +12 -16
- data/docs/RemotesRpmApi.md +14 -18
- data/docs/RemotesUlnApi.md +14 -18
- data/docs/RepositoriesRpmApi.md +13 -33
- data/docs/RepositoriesRpmVersionsApi.md +14 -16
- data/docs/RepositoryAddRemoveContent.md +2 -2
- data/docs/RpmRepositorySyncURL.md +1 -1
- data/docs/RpmRpmDistribution.md +1 -1
- data/docs/RpmRpmDistributionResponse.md +1 -1
- data/docs/RpmRpmPublication.md +2 -2
- data/docs/RpmRpmPublicationResponse.md +2 -2
- data/docs/RpmRpmRemote.md +2 -2
- data/docs/RpmRpmRemoteResponse.md +2 -4
- data/docs/RpmRpmRepository.md +4 -4
- data/docs/RpmRpmRepositoryResponse.md +4 -4
- data/docs/RpmUlnRemote.md +2 -2
- data/docs/RpmUlnRemoteResponse.md +2 -4
- data/lib/pulp_rpm_client/api/acs_rpm_api.rb +17 -23
- data/lib/pulp_rpm_client/api/content_advisories_api.rb +15 -21
- data/lib/pulp_rpm_client/api/content_distribution_trees_api.rb +14 -20
- data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +15 -21
- data/lib/pulp_rpm_client/api/content_modulemd_obsoletes_api.rb +14 -20
- data/lib/pulp_rpm_client/api/content_modulemds_api.rb +15 -21
- data/lib/pulp_rpm_client/api/content_packagecategories_api.rb +14 -20
- data/lib/pulp_rpm_client/api/content_packageenvironments_api.rb +14 -20
- data/lib/pulp_rpm_client/api/content_packagegroups_api.rb +14 -20
- data/lib/pulp_rpm_client/api/content_packagelangpacks_api.rb +14 -20
- data/lib/pulp_rpm_client/api/content_packages_api.rb +17 -23
- data/lib/pulp_rpm_client/api/content_repo_metadata_files_api.rb +14 -20
- data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +19 -31
- data/lib/pulp_rpm_client/api/publications_rpm_api.rb +17 -23
- data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +19 -25
- data/lib/pulp_rpm_client/api/remotes_uln_api.rb +19 -25
- data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +17 -47
- data/lib/pulp_rpm_client/api/repositories_rpm_versions_api.rb +19 -22
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_distribution.rb +2 -4
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_remote.rb +3 -5
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_repository.rb +5 -7
- data/lib/pulp_rpm_client/models/patchedrpm_uln_remote.rb +3 -5
- data/lib/pulp_rpm_client/models/repository_add_remove_content.rb +2 -2
- data/lib/pulp_rpm_client/models/rpm_repository_sync_url.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_distribution.rb +2 -4
- data/lib/pulp_rpm_client/models/rpm_rpm_distribution_response.rb +2 -4
- 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 +3 -5
- data/lib/pulp_rpm_client/models/rpm_rpm_remote_response.rb +4 -18
- data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +5 -7
- data/lib/pulp_rpm_client/models/rpm_rpm_repository_response.rb +5 -7
- data/lib/pulp_rpm_client/models/rpm_uln_remote.rb +3 -5
- data/lib/pulp_rpm_client/models/rpm_uln_remote_response.rb +4 -18
- data/lib/pulp_rpm_client/models/skip_types_enum.rb +0 -1
- data/lib/pulp_rpm_client/version.rb +1 -1
- data/lib/pulp_rpm_client.rb +0 -1
- data/spec/api/acs_rpm_api_spec.rb +6 -8
- data/spec/api/content_advisories_api_spec.rb +5 -7
- data/spec/api/content_distribution_trees_api_spec.rb +5 -7
- data/spec/api/content_modulemd_defaults_api_spec.rb +5 -7
- data/spec/api/content_modulemd_obsoletes_api_spec.rb +5 -7
- data/spec/api/content_modulemds_api_spec.rb +5 -7
- data/spec/api/content_packagecategories_api_spec.rb +5 -7
- data/spec/api/content_packageenvironments_api_spec.rb +5 -7
- data/spec/api/content_packagegroups_api_spec.rb +5 -7
- data/spec/api/content_packagelangpacks_api_spec.rb +5 -7
- data/spec/api/content_packages_api_spec.rb +6 -8
- data/spec/api/content_repo_metadata_files_api_spec.rb +5 -7
- data/spec/api/distributions_rpm_api_spec.rb +7 -11
- data/spec/api/publications_rpm_api_spec.rb +6 -8
- data/spec/api/remotes_rpm_api_spec.rb +7 -9
- data/spec/api/remotes_uln_api_spec.rb +7 -9
- data/spec/api/repositories_rpm_api_spec.rb +6 -16
- data/spec/api/repositories_rpm_versions_api_spec.rb +7 -8
- data/spec/models/rpm_rpm_remote_response_spec.rb +0 -6
- data/spec/models/rpm_uln_remote_response_spec.rb +0 -6
- metadata +75 -79
- data/docs/RpmRpmRemoteResponseHiddenFields.md +0 -19
- data/lib/pulp_rpm_client/models/rpm_rpm_remote_response_hidden_fields.rb +0 -215
- data/spec/models/rpm_rpm_remote_response_hidden_fields_spec.rb +0 -47
@@ -24,14 +24,12 @@ 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
|
33
|
-
# @option opts [
|
34
|
-
# @option opts [
|
31
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
32
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
35
33
|
# @return [PaginatedrpmPackageEnvironmentResponseList]
|
36
34
|
def list(opts = {})
|
37
35
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -43,14 +41,12 @@ 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
|
52
|
-
# @option opts [
|
53
|
-
# @option opts [
|
48
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
49
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
54
50
|
# @return [Array<(PaginatedrpmPackageEnvironmentResponseList, Integer, Hash)>] PaginatedrpmPackageEnvironmentResponseList data, response status code and response headers
|
55
51
|
def list_with_http_info(opts = {})
|
56
52
|
if @api_client.config.debugging
|
@@ -68,13 +64,11 @@ 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?
|
76
|
-
query_params[:'fields'] =
|
77
|
-
query_params[:'exclude_fields'] =
|
70
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
71
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
78
72
|
|
79
73
|
# header parameters
|
80
74
|
header_params = opts[:header_params] || {}
|
@@ -113,8 +107,8 @@ module PulpRpmClient
|
|
113
107
|
# PackageEnvironment ViewSet.
|
114
108
|
# @param rpm_package_environment_href [String]
|
115
109
|
# @param [Hash] opts the optional parameters
|
116
|
-
# @option opts [
|
117
|
-
# @option opts [
|
110
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
111
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
118
112
|
# @return [RpmPackageEnvironmentResponse]
|
119
113
|
def read(rpm_package_environment_href, opts = {})
|
120
114
|
data, _status_code, _headers = read_with_http_info(rpm_package_environment_href, opts)
|
@@ -125,8 +119,8 @@ module PulpRpmClient
|
|
125
119
|
# PackageEnvironment ViewSet.
|
126
120
|
# @param rpm_package_environment_href [String]
|
127
121
|
# @param [Hash] opts the optional parameters
|
128
|
-
# @option opts [
|
129
|
-
# @option opts [
|
122
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
123
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
130
124
|
# @return [Array<(RpmPackageEnvironmentResponse, Integer, Hash)>] RpmPackageEnvironmentResponse data, response status code and response headers
|
131
125
|
def read_with_http_info(rpm_package_environment_href, opts = {})
|
132
126
|
if @api_client.config.debugging
|
@@ -141,8 +135,8 @@ module PulpRpmClient
|
|
141
135
|
|
142
136
|
# query parameters
|
143
137
|
query_params = opts[:query_params] || {}
|
144
|
-
query_params[:'fields'] =
|
145
|
-
query_params[:'exclude_fields'] =
|
138
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
139
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
146
140
|
|
147
141
|
# header parameters
|
148
142
|
header_params = opts[:header_params] || {}
|
@@ -24,14 +24,12 @@ 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
|
33
|
-
# @option opts [
|
34
|
-
# @option opts [
|
31
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
32
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
35
33
|
# @return [PaginatedrpmPackageGroupResponseList]
|
36
34
|
def list(opts = {})
|
37
35
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -43,14 +41,12 @@ 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
|
52
|
-
# @option opts [
|
53
|
-
# @option opts [
|
48
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
49
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
54
50
|
# @return [Array<(PaginatedrpmPackageGroupResponseList, Integer, Hash)>] PaginatedrpmPackageGroupResponseList data, response status code and response headers
|
55
51
|
def list_with_http_info(opts = {})
|
56
52
|
if @api_client.config.debugging
|
@@ -68,13 +64,11 @@ 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?
|
76
|
-
query_params[:'fields'] =
|
77
|
-
query_params[:'exclude_fields'] =
|
70
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
71
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
78
72
|
|
79
73
|
# header parameters
|
80
74
|
header_params = opts[:header_params] || {}
|
@@ -113,8 +107,8 @@ module PulpRpmClient
|
|
113
107
|
# PackageGroup ViewSet.
|
114
108
|
# @param rpm_package_group_href [String]
|
115
109
|
# @param [Hash] opts the optional parameters
|
116
|
-
# @option opts [
|
117
|
-
# @option opts [
|
110
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
111
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
118
112
|
# @return [RpmPackageGroupResponse]
|
119
113
|
def read(rpm_package_group_href, opts = {})
|
120
114
|
data, _status_code, _headers = read_with_http_info(rpm_package_group_href, opts)
|
@@ -125,8 +119,8 @@ module PulpRpmClient
|
|
125
119
|
# PackageGroup ViewSet.
|
126
120
|
# @param rpm_package_group_href [String]
|
127
121
|
# @param [Hash] opts the optional parameters
|
128
|
-
# @option opts [
|
129
|
-
# @option opts [
|
122
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
123
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
130
124
|
# @return [Array<(RpmPackageGroupResponse, Integer, Hash)>] RpmPackageGroupResponse data, response status code and response headers
|
131
125
|
def read_with_http_info(rpm_package_group_href, opts = {})
|
132
126
|
if @api_client.config.debugging
|
@@ -141,8 +135,8 @@ module PulpRpmClient
|
|
141
135
|
|
142
136
|
# query parameters
|
143
137
|
query_params = opts[:query_params] || {}
|
144
|
-
query_params[:'fields'] =
|
145
|
-
query_params[:'exclude_fields'] =
|
138
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
139
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
146
140
|
|
147
141
|
# header parameters
|
148
142
|
header_params = opts[:header_params] || {}
|
@@ -24,14 +24,12 @@ 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
|
33
|
-
# @option opts [
|
34
|
-
# @option opts [
|
31
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
32
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
35
33
|
# @return [PaginatedrpmPackageLangpacksResponseList]
|
36
34
|
def list(opts = {})
|
37
35
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -43,14 +41,12 @@ 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
|
52
|
-
# @option opts [
|
53
|
-
# @option opts [
|
48
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
49
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
54
50
|
# @return [Array<(PaginatedrpmPackageLangpacksResponseList, Integer, Hash)>] PaginatedrpmPackageLangpacksResponseList data, response status code and response headers
|
55
51
|
def list_with_http_info(opts = {})
|
56
52
|
if @api_client.config.debugging
|
@@ -68,13 +64,11 @@ 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?
|
76
|
-
query_params[:'fields'] =
|
77
|
-
query_params[:'exclude_fields'] =
|
70
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
71
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
78
72
|
|
79
73
|
# header parameters
|
80
74
|
header_params = opts[:header_params] || {}
|
@@ -113,8 +107,8 @@ module PulpRpmClient
|
|
113
107
|
# PackageLangpacks ViewSet.
|
114
108
|
# @param rpm_package_langpacks_href [String]
|
115
109
|
# @param [Hash] opts the optional parameters
|
116
|
-
# @option opts [
|
117
|
-
# @option opts [
|
110
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
111
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
118
112
|
# @return [RpmPackageLangpacksResponse]
|
119
113
|
def read(rpm_package_langpacks_href, opts = {})
|
120
114
|
data, _status_code, _headers = read_with_http_info(rpm_package_langpacks_href, opts)
|
@@ -125,8 +119,8 @@ module PulpRpmClient
|
|
125
119
|
# PackageLangpacks ViewSet.
|
126
120
|
# @param rpm_package_langpacks_href [String]
|
127
121
|
# @param [Hash] opts the optional parameters
|
128
|
-
# @option opts [
|
129
|
-
# @option opts [
|
122
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
123
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
130
124
|
# @return [Array<(RpmPackageLangpacksResponse, Integer, Hash)>] RpmPackageLangpacksResponse data, response status code and response headers
|
131
125
|
def read_with_http_info(rpm_package_langpacks_href, opts = {})
|
132
126
|
if @api_client.config.debugging
|
@@ -141,8 +135,8 @@ module PulpRpmClient
|
|
141
135
|
|
142
136
|
# query parameters
|
143
137
|
query_params = opts[:query_params] || {}
|
144
|
-
query_params[:'fields'] =
|
145
|
-
query_params[:'exclude_fields'] =
|
138
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
139
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
146
140
|
|
147
141
|
# header parameters
|
148
142
|
header_params = opts[:header_params] || {}
|
@@ -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
|
@@ -128,8 +126,8 @@ module PulpRpmClient
|
|
128
126
|
# @option opts [String] :version Filter results where version matches value
|
129
127
|
# @option opts [Array<String>] :version__in Filter results where version is in a comma-separated list of values
|
130
128
|
# @option opts [String] :version__ne Filter results where version not equal to value
|
131
|
-
# @option opts [
|
132
|
-
# @option opts [
|
129
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
130
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
133
131
|
# @return [PaginatedrpmPackageResponseList]
|
134
132
|
def list(opts = {})
|
135
133
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -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
|
@@ -168,8 +164,8 @@ module PulpRpmClient
|
|
168
164
|
# @option opts [String] :version Filter results where version matches value
|
169
165
|
# @option opts [Array<String>] :version__in Filter results where version is in a comma-separated list of values
|
170
166
|
# @option opts [String] :version__ne Filter results where version not equal to value
|
171
|
-
# @option opts [
|
172
|
-
# @option opts [
|
167
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
168
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
173
169
|
# @return [Array<(PaginatedrpmPackageResponseList, Integer, Hash)>] PaginatedrpmPackageResponseList data, response status code and response headers
|
174
170
|
def list_with_http_info(opts = {})
|
175
171
|
if @api_client.config.debugging
|
@@ -179,7 +175,7 @@ module PulpRpmClient
|
|
179
175
|
if @api_client.config.client_side_validation && opts[:'checksum_type'] && !allowable_values.include?(opts[:'checksum_type'])
|
180
176
|
fail ArgumentError, "invalid value for \"checksum_type\", must be one of #{allowable_values}"
|
181
177
|
end
|
182
|
-
allowable_values = ["-arch", "-changelogs", "-checksum_type", "-conflicts", "-description", "-enhances", "-epoch", "-evr", "-files", "-is_modular", "-location_base", "-location_href", "-name", "-obsoletes", "-pk", "-pkgId", "-provides", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-recommends", "-release", "-requires", "-rpm_buildhost", "-rpm_group", "-rpm_header_end", "-rpm_header_start", "-rpm_license", "-rpm_packager", "-rpm_sourcerpm", "-rpm_vendor", "-size_archive", "-size_installed", "-size_package", "-suggests", "-summary", "-supplements", "-time_build", "-time_file", "-timestamp_of_interest", "-upstream_id", "-url", "-version", "arch", "changelogs", "checksum_type", "conflicts", "description", "enhances", "epoch", "evr", "files", "is_modular", "location_base", "location_href", "name", "obsoletes", "pk", "pkgId", "provides", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "recommends", "release", "requires", "rpm_buildhost", "rpm_group", "rpm_header_end", "rpm_header_start", "rpm_license", "rpm_packager", "rpm_sourcerpm", "rpm_vendor", "size_archive", "size_installed", "size_package", "suggests", "summary", "supplements", "time_build", "time_file", "timestamp_of_interest", "upstream_id", "url", "version"]
|
178
|
+
allowable_values = ["-_artifacts", "-arch", "-changelogs", "-checksum_type", "-conflicts", "-content_ptr", "-contentartifact", "-description", "-enhances", "-epoch", "-evr", "-files", "-group_roles", "-is_modular", "-location_base", "-location_href", "-name", "-obsoletes", "-pk", "-pkgId", "-provides", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-recommends", "-release", "-repositories", "-requires", "-rpm_buildhost", "-rpm_group", "-rpm_header_end", "-rpm_header_start", "-rpm_license", "-rpm_modulemd", "-rpm_packager", "-rpm_sourcerpm", "-rpm_vendor", "-size_archive", "-size_installed", "-size_package", "-suggests", "-summary", "-supplements", "-time_build", "-time_file", "-timestamp_of_interest", "-upstream_id", "-url", "-user_roles", "-version", "-version_memberships", "_artifacts", "arch", "changelogs", "checksum_type", "conflicts", "content_ptr", "contentartifact", "description", "enhances", "epoch", "evr", "files", "group_roles", "is_modular", "location_base", "location_href", "name", "obsoletes", "pk", "pkgId", "provides", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "recommends", "release", "repositories", "requires", "rpm_buildhost", "rpm_group", "rpm_header_end", "rpm_header_start", "rpm_license", "rpm_modulemd", "rpm_packager", "rpm_sourcerpm", "rpm_vendor", "size_archive", "size_installed", "size_package", "suggests", "summary", "supplements", "time_build", "time_file", "timestamp_of_interest", "upstream_id", "url", "user_roles", "version", "version_memberships"]
|
183
179
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
184
180
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
185
181
|
end
|
@@ -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?
|
@@ -217,8 +211,8 @@ module PulpRpmClient
|
|
217
211
|
query_params[:'version'] = opts[:'version'] if !opts[:'version'].nil?
|
218
212
|
query_params[:'version__in'] = @api_client.build_collection_param(opts[:'version__in'], :csv) if !opts[:'version__in'].nil?
|
219
213
|
query_params[:'version__ne'] = opts[:'version__ne'] if !opts[:'version__ne'].nil?
|
220
|
-
query_params[:'fields'] =
|
221
|
-
query_params[:'exclude_fields'] =
|
214
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
215
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
222
216
|
|
223
217
|
# header parameters
|
224
218
|
header_params = opts[:header_params] || {}
|
@@ -257,8 +251,8 @@ module PulpRpmClient
|
|
257
251
|
# A ViewSet for Package. Define endpoint name which will appear in the API endpoint for this content type. For example:: http://pulp.example.com/pulp/api/v3/content/rpm/packages/ Also specify queryset and serializer for Package.
|
258
252
|
# @param rpm_package_href [String]
|
259
253
|
# @param [Hash] opts the optional parameters
|
260
|
-
# @option opts [
|
261
|
-
# @option opts [
|
254
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
255
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
262
256
|
# @return [RpmPackageResponse]
|
263
257
|
def read(rpm_package_href, opts = {})
|
264
258
|
data, _status_code, _headers = read_with_http_info(rpm_package_href, opts)
|
@@ -269,8 +263,8 @@ module PulpRpmClient
|
|
269
263
|
# A ViewSet for Package. Define endpoint name which will appear in the API endpoint for this content type. For example:: http://pulp.example.com/pulp/api/v3/content/rpm/packages/ Also specify queryset and serializer for Package.
|
270
264
|
# @param rpm_package_href [String]
|
271
265
|
# @param [Hash] opts the optional parameters
|
272
|
-
# @option opts [
|
273
|
-
# @option opts [
|
266
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
267
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
274
268
|
# @return [Array<(RpmPackageResponse, Integer, Hash)>] RpmPackageResponse data, response status code and response headers
|
275
269
|
def read_with_http_info(rpm_package_href, opts = {})
|
276
270
|
if @api_client.config.debugging
|
@@ -285,8 +279,8 @@ module PulpRpmClient
|
|
285
279
|
|
286
280
|
# query parameters
|
287
281
|
query_params = opts[:query_params] || {}
|
288
|
-
query_params[:'fields'] =
|
289
|
-
query_params[:'exclude_fields'] =
|
282
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
283
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
290
284
|
|
291
285
|
# header parameters
|
292
286
|
header_params = opts[:header_params] || {}
|
@@ -24,14 +24,12 @@ 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
|
33
|
-
# @option opts [
|
34
|
-
# @option opts [
|
31
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
32
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
35
33
|
# @return [PaginatedrpmRepoMetadataFileResponseList]
|
36
34
|
def list(opts = {})
|
37
35
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -43,14 +41,12 @@ 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
|
52
|
-
# @option opts [
|
53
|
-
# @option opts [
|
48
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
49
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
54
50
|
# @return [Array<(PaginatedrpmRepoMetadataFileResponseList, Integer, Hash)>] PaginatedrpmRepoMetadataFileResponseList data, response status code and response headers
|
55
51
|
def list_with_http_info(opts = {})
|
56
52
|
if @api_client.config.debugging
|
@@ -68,13 +64,11 @@ 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?
|
76
|
-
query_params[:'fields'] =
|
77
|
-
query_params[:'exclude_fields'] =
|
70
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
71
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
78
72
|
|
79
73
|
# header parameters
|
80
74
|
header_params = opts[:header_params] || {}
|
@@ -113,8 +107,8 @@ module PulpRpmClient
|
|
113
107
|
# RepoMetadataFile Viewset.
|
114
108
|
# @param rpm_repo_metadata_file_href [String]
|
115
109
|
# @param [Hash] opts the optional parameters
|
116
|
-
# @option opts [
|
117
|
-
# @option opts [
|
110
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
111
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
118
112
|
# @return [RpmRepoMetadataFileResponse]
|
119
113
|
def read(rpm_repo_metadata_file_href, opts = {})
|
120
114
|
data, _status_code, _headers = read_with_http_info(rpm_repo_metadata_file_href, opts)
|
@@ -125,8 +119,8 @@ module PulpRpmClient
|
|
125
119
|
# RepoMetadataFile Viewset.
|
126
120
|
# @param rpm_repo_metadata_file_href [String]
|
127
121
|
# @param [Hash] opts the optional parameters
|
128
|
-
# @option opts [
|
129
|
-
# @option opts [
|
122
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
123
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
130
124
|
# @return [Array<(RpmRepoMetadataFileResponse, Integer, Hash)>] RpmRepoMetadataFileResponse data, response status code and response headers
|
131
125
|
def read_with_http_info(rpm_repo_metadata_file_href, opts = {})
|
132
126
|
if @api_client.config.debugging
|
@@ -141,8 +135,8 @@ module PulpRpmClient
|
|
141
135
|
|
142
136
|
# query parameters
|
143
137
|
query_params = opts[:query_params] || {}
|
144
|
-
query_params[:'fields'] =
|
145
|
-
query_params[:'exclude_fields'] =
|
138
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
139
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
146
140
|
|
147
141
|
# header parameters
|
148
142
|
header_params = opts[:header_params] || {}
|