pulp_rpm_client 3.17.22 → 3.18.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 +10 -4
- data/docs/AcsRpmApi.md +11 -13
- data/docs/ContentAdvisoriesApi.md +8 -8
- data/docs/ContentDistributionTreesApi.md +8 -8
- data/docs/ContentModulemdDefaultsApi.md +13 -29
- data/docs/ContentModulemdObsoletesApi.md +192 -0
- data/docs/ContentModulemdsApi.md +13 -41
- data/docs/ContentPackagecategoriesApi.md +8 -8
- data/docs/ContentPackageenvironmentsApi.md +8 -8
- data/docs/ContentPackagegroupsApi.md +8 -8
- data/docs/ContentPackagelangpacksApi.md +8 -8
- data/docs/ContentPackagesApi.md +12 -12
- data/docs/ContentRepoMetadataFilesApi.md +8 -8
- data/docs/DistributionsRpmApi.md +8 -8
- data/docs/PaginatedrpmModulemdObsoleteResponseList.md +23 -0
- data/docs/PatchedrpmRpmRepository.md +1 -1
- data/docs/PublicationsRpmApi.md +8 -8
- data/docs/RemotesRpmApi.md +8 -8
- data/docs/RemotesUlnApi.md +8 -8
- data/docs/RepositoriesRpmApi.md +8 -8
- data/docs/RepositoriesRpmVersionsApi.md +8 -8
- data/docs/RpmModulemd.md +8 -12
- data/docs/RpmModulemdDefaults.md +4 -12
- data/docs/RpmModulemdDefaultsResponse.md +0 -14
- data/docs/RpmModulemdObsolete.md +35 -0
- data/docs/RpmModulemdObsoleteResponse.md +37 -0
- data/docs/RpmModulemdResponse.md +5 -15
- data/docs/RpmPackage.md +1 -1
- data/docs/RpmRpmPublication.md +1 -1
- data/docs/RpmRpmPublicationResponse.md +1 -1
- data/docs/RpmRpmRepository.md +1 -1
- data/docs/RpmRpmRepositoryResponse.md +1 -1
- data/lib/pulp_rpm_client/api/acs_rpm_api.rb +16 -24
- data/lib/pulp_rpm_client/api/content_advisories_api.rb +12 -12
- data/lib/pulp_rpm_client/api/content_distribution_trees_api.rb +12 -12
- data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +23 -69
- data/lib/pulp_rpm_client/api/content_modulemd_obsoletes_api.rb +238 -0
- data/lib/pulp_rpm_client/api/content_modulemds_api.rb +23 -107
- data/lib/pulp_rpm_client/api/content_packagecategories_api.rb +12 -12
- data/lib/pulp_rpm_client/api/content_packageenvironments_api.rb +12 -12
- data/lib/pulp_rpm_client/api/content_packagegroups_api.rb +12 -12
- data/lib/pulp_rpm_client/api/content_packagelangpacks_api.rb +12 -12
- data/lib/pulp_rpm_client/api/content_packages_api.rb +20 -24
- data/lib/pulp_rpm_client/api/content_repo_metadata_files_api.rb +12 -12
- data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +12 -12
- data/lib/pulp_rpm_client/api/publications_rpm_api.rb +12 -12
- data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +12 -12
- data/lib/pulp_rpm_client/api/remotes_uln_api.rb +12 -12
- data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +12 -12
- data/lib/pulp_rpm_client/api/repositories_rpm_versions_api.rb +12 -12
- data/lib/pulp_rpm_client/models/paginatedrpm_modulemd_obsolete_response_list.rb +237 -0
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_repository.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_modulemd.rb +83 -78
- data/lib/pulp_rpm_client/models/rpm_modulemd_defaults.rb +38 -78
- data/lib/pulp_rpm_client/models/rpm_modulemd_defaults_response.rb +1 -71
- data/lib/pulp_rpm_client/models/rpm_modulemd_obsolete.rb +464 -0
- data/lib/pulp_rpm_client/models/rpm_modulemd_obsolete_response.rb +332 -0
- data/lib/pulp_rpm_client/models/rpm_modulemd_response.rb +30 -74
- data/lib/pulp_rpm_client/models/rpm_package.rb +3 -12
- data/lib/pulp_rpm_client/models/rpm_rpm_publication.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_publication_response.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_repository_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 +4 -5
- data/spec/api/content_advisories_api_spec.rb +4 -4
- data/spec/api/content_distribution_trees_api_spec.rb +4 -4
- data/spec/api/content_modulemd_defaults_api_spec.rb +5 -12
- data/spec/api/content_modulemd_obsoletes_api_spec.rb +80 -0
- data/spec/api/content_modulemds_api_spec.rb +5 -18
- data/spec/api/content_packagecategories_api_spec.rb +4 -4
- data/spec/api/content_packageenvironments_api_spec.rb +4 -4
- data/spec/api/content_packagegroups_api_spec.rb +4 -4
- data/spec/api/content_packagelangpacks_api_spec.rb +4 -4
- data/spec/api/content_packages_api_spec.rb +5 -5
- data/spec/api/content_repo_metadata_files_api_spec.rb +4 -4
- data/spec/api/distributions_rpm_api_spec.rb +4 -4
- data/spec/api/publications_rpm_api_spec.rb +4 -4
- data/spec/api/remotes_rpm_api_spec.rb +4 -4
- data/spec/api/remotes_uln_api_spec.rb +4 -4
- data/spec/api/repositories_rpm_api_spec.rb +4 -4
- data/spec/api/repositories_rpm_versions_api_spec.rb +4 -4
- data/spec/models/paginatedrpm_modulemd_obsolete_response_list_spec.rb +59 -0
- data/spec/models/rpm_modulemd_defaults_response_spec.rb +0 -42
- data/spec/models/rpm_modulemd_defaults_spec.rb +4 -28
- data/spec/models/rpm_modulemd_obsolete_response_spec.rb +101 -0
- data/spec/models/rpm_modulemd_obsolete_spec.rb +95 -0
- data/spec/models/rpm_modulemd_response_spec.rb +11 -41
- data/spec/models/rpm_modulemd_spec.rb +12 -24
- metadata +85 -69
@@ -28,8 +28,8 @@ module PulpRpmClient
|
|
28
28
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
29
29
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
30
30
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
31
|
-
# @option opts [
|
32
|
-
# @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.
|
33
33
|
# @return [PaginatedrpmPackageCategoryResponseList]
|
34
34
|
def list(opts = {})
|
35
35
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -45,8 +45,8 @@ module PulpRpmClient
|
|
45
45
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
46
46
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
47
47
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
48
|
-
# @option opts [
|
49
|
-
# @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.
|
50
50
|
# @return [Array<(PaginatedrpmPackageCategoryResponseList, Integer, Hash)>] PaginatedrpmPackageCategoryResponseList data, response status code and response headers
|
51
51
|
def list_with_http_info(opts = {})
|
52
52
|
if @api_client.config.debugging
|
@@ -67,8 +67,8 @@ module PulpRpmClient
|
|
67
67
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
68
68
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
69
69
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
70
|
-
query_params[:'fields'] =
|
71
|
-
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?
|
72
72
|
|
73
73
|
# header parameters
|
74
74
|
header_params = opts[:header_params] || {}
|
@@ -107,8 +107,8 @@ module PulpRpmClient
|
|
107
107
|
# PackageCategory ViewSet.
|
108
108
|
# @param rpm_package_category_href [String]
|
109
109
|
# @param [Hash] opts the optional parameters
|
110
|
-
# @option opts [
|
111
|
-
# @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.
|
112
112
|
# @return [RpmPackageCategoryResponse]
|
113
113
|
def read(rpm_package_category_href, opts = {})
|
114
114
|
data, _status_code, _headers = read_with_http_info(rpm_package_category_href, opts)
|
@@ -119,8 +119,8 @@ module PulpRpmClient
|
|
119
119
|
# PackageCategory ViewSet.
|
120
120
|
# @param rpm_package_category_href [String]
|
121
121
|
# @param [Hash] opts the optional parameters
|
122
|
-
# @option opts [
|
123
|
-
# @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.
|
124
124
|
# @return [Array<(RpmPackageCategoryResponse, Integer, Hash)>] RpmPackageCategoryResponse data, response status code and response headers
|
125
125
|
def read_with_http_info(rpm_package_category_href, opts = {})
|
126
126
|
if @api_client.config.debugging
|
@@ -135,8 +135,8 @@ module PulpRpmClient
|
|
135
135
|
|
136
136
|
# query parameters
|
137
137
|
query_params = opts[:query_params] || {}
|
138
|
-
query_params[:'fields'] =
|
139
|
-
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?
|
140
140
|
|
141
141
|
# header parameters
|
142
142
|
header_params = opts[:header_params] || {}
|
@@ -28,8 +28,8 @@ module PulpRpmClient
|
|
28
28
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
29
29
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
30
30
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
31
|
-
# @option opts [
|
32
|
-
# @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.
|
33
33
|
# @return [PaginatedrpmPackageEnvironmentResponseList]
|
34
34
|
def list(opts = {})
|
35
35
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -45,8 +45,8 @@ module PulpRpmClient
|
|
45
45
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
46
46
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
47
47
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
48
|
-
# @option opts [
|
49
|
-
# @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.
|
50
50
|
# @return [Array<(PaginatedrpmPackageEnvironmentResponseList, Integer, Hash)>] PaginatedrpmPackageEnvironmentResponseList data, response status code and response headers
|
51
51
|
def list_with_http_info(opts = {})
|
52
52
|
if @api_client.config.debugging
|
@@ -67,8 +67,8 @@ module PulpRpmClient
|
|
67
67
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
68
68
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
69
69
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
70
|
-
query_params[:'fields'] =
|
71
|
-
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?
|
72
72
|
|
73
73
|
# header parameters
|
74
74
|
header_params = opts[:header_params] || {}
|
@@ -107,8 +107,8 @@ module PulpRpmClient
|
|
107
107
|
# PackageEnvironment ViewSet.
|
108
108
|
# @param rpm_package_environment_href [String]
|
109
109
|
# @param [Hash] opts the optional parameters
|
110
|
-
# @option opts [
|
111
|
-
# @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.
|
112
112
|
# @return [RpmPackageEnvironmentResponse]
|
113
113
|
def read(rpm_package_environment_href, opts = {})
|
114
114
|
data, _status_code, _headers = read_with_http_info(rpm_package_environment_href, opts)
|
@@ -119,8 +119,8 @@ module PulpRpmClient
|
|
119
119
|
# PackageEnvironment ViewSet.
|
120
120
|
# @param rpm_package_environment_href [String]
|
121
121
|
# @param [Hash] opts the optional parameters
|
122
|
-
# @option opts [
|
123
|
-
# @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.
|
124
124
|
# @return [Array<(RpmPackageEnvironmentResponse, Integer, Hash)>] RpmPackageEnvironmentResponse data, response status code and response headers
|
125
125
|
def read_with_http_info(rpm_package_environment_href, opts = {})
|
126
126
|
if @api_client.config.debugging
|
@@ -135,8 +135,8 @@ module PulpRpmClient
|
|
135
135
|
|
136
136
|
# query parameters
|
137
137
|
query_params = opts[:query_params] || {}
|
138
|
-
query_params[:'fields'] =
|
139
|
-
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?
|
140
140
|
|
141
141
|
# header parameters
|
142
142
|
header_params = opts[:header_params] || {}
|
@@ -28,8 +28,8 @@ module PulpRpmClient
|
|
28
28
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
29
29
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
30
30
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
31
|
-
# @option opts [
|
32
|
-
# @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.
|
33
33
|
# @return [PaginatedrpmPackageGroupResponseList]
|
34
34
|
def list(opts = {})
|
35
35
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -45,8 +45,8 @@ module PulpRpmClient
|
|
45
45
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
46
46
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
47
47
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
48
|
-
# @option opts [
|
49
|
-
# @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.
|
50
50
|
# @return [Array<(PaginatedrpmPackageGroupResponseList, Integer, Hash)>] PaginatedrpmPackageGroupResponseList data, response status code and response headers
|
51
51
|
def list_with_http_info(opts = {})
|
52
52
|
if @api_client.config.debugging
|
@@ -67,8 +67,8 @@ module PulpRpmClient
|
|
67
67
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
68
68
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
69
69
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
70
|
-
query_params[:'fields'] =
|
71
|
-
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?
|
72
72
|
|
73
73
|
# header parameters
|
74
74
|
header_params = opts[:header_params] || {}
|
@@ -107,8 +107,8 @@ module PulpRpmClient
|
|
107
107
|
# PackageGroup ViewSet.
|
108
108
|
# @param rpm_package_group_href [String]
|
109
109
|
# @param [Hash] opts the optional parameters
|
110
|
-
# @option opts [
|
111
|
-
# @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.
|
112
112
|
# @return [RpmPackageGroupResponse]
|
113
113
|
def read(rpm_package_group_href, opts = {})
|
114
114
|
data, _status_code, _headers = read_with_http_info(rpm_package_group_href, opts)
|
@@ -119,8 +119,8 @@ module PulpRpmClient
|
|
119
119
|
# PackageGroup ViewSet.
|
120
120
|
# @param rpm_package_group_href [String]
|
121
121
|
# @param [Hash] opts the optional parameters
|
122
|
-
# @option opts [
|
123
|
-
# @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.
|
124
124
|
# @return [Array<(RpmPackageGroupResponse, Integer, Hash)>] RpmPackageGroupResponse data, response status code and response headers
|
125
125
|
def read_with_http_info(rpm_package_group_href, opts = {})
|
126
126
|
if @api_client.config.debugging
|
@@ -135,8 +135,8 @@ module PulpRpmClient
|
|
135
135
|
|
136
136
|
# query parameters
|
137
137
|
query_params = opts[:query_params] || {}
|
138
|
-
query_params[:'fields'] =
|
139
|
-
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?
|
140
140
|
|
141
141
|
# header parameters
|
142
142
|
header_params = opts[:header_params] || {}
|
@@ -28,8 +28,8 @@ module PulpRpmClient
|
|
28
28
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
29
29
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
30
30
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
31
|
-
# @option opts [
|
32
|
-
# @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.
|
33
33
|
# @return [PaginatedrpmPackageLangpacksResponseList]
|
34
34
|
def list(opts = {})
|
35
35
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -45,8 +45,8 @@ module PulpRpmClient
|
|
45
45
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
46
46
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
47
47
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
48
|
-
# @option opts [
|
49
|
-
# @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.
|
50
50
|
# @return [Array<(PaginatedrpmPackageLangpacksResponseList, Integer, Hash)>] PaginatedrpmPackageLangpacksResponseList data, response status code and response headers
|
51
51
|
def list_with_http_info(opts = {})
|
52
52
|
if @api_client.config.debugging
|
@@ -67,8 +67,8 @@ module PulpRpmClient
|
|
67
67
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
68
68
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
69
69
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
70
|
-
query_params[:'fields'] =
|
71
|
-
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?
|
72
72
|
|
73
73
|
# header parameters
|
74
74
|
header_params = opts[:header_params] || {}
|
@@ -107,8 +107,8 @@ module PulpRpmClient
|
|
107
107
|
# PackageLangpacks ViewSet.
|
108
108
|
# @param rpm_package_langpacks_href [String]
|
109
109
|
# @param [Hash] opts the optional parameters
|
110
|
-
# @option opts [
|
111
|
-
# @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.
|
112
112
|
# @return [RpmPackageLangpacksResponse]
|
113
113
|
def read(rpm_package_langpacks_href, opts = {})
|
114
114
|
data, _status_code, _headers = read_with_http_info(rpm_package_langpacks_href, opts)
|
@@ -119,8 +119,8 @@ module PulpRpmClient
|
|
119
119
|
# PackageLangpacks ViewSet.
|
120
120
|
# @param rpm_package_langpacks_href [String]
|
121
121
|
# @param [Hash] opts the optional parameters
|
122
|
-
# @option opts [
|
123
|
-
# @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.
|
124
124
|
# @return [Array<(RpmPackageLangpacksResponse, Integer, Hash)>] RpmPackageLangpacksResponse data, response status code and response headers
|
125
125
|
def read_with_http_info(rpm_package_langpacks_href, opts = {})
|
126
126
|
if @api_client.config.debugging
|
@@ -135,8 +135,8 @@ module PulpRpmClient
|
|
135
135
|
|
136
136
|
# query parameters
|
137
137
|
query_params = opts[:query_params] || {}
|
138
|
-
query_params[:'fields'] =
|
139
|
-
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?
|
140
140
|
|
141
141
|
# header parameters
|
142
142
|
header_params = opts[:header_params] || {}
|
@@ -21,37 +21,33 @@ module PulpRpmClient
|
|
21
21
|
end
|
22
22
|
# Create a package
|
23
23
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
24
|
-
# @param relative_path [String] Path where the artifact is located relative to distributions base_path
|
25
24
|
# @param [Hash] opts the optional parameters
|
26
25
|
# @option opts [String] :artifact Artifact file representing the physical content
|
26
|
+
# @option opts [String] :relative_path Path where the artifact is located relative to distributions base_path
|
27
27
|
# @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
|
28
28
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
29
29
|
# @option opts [String] :upload An uncommitted upload that may be turned into the artifact of the content unit.
|
30
30
|
# @return [AsyncOperationResponse]
|
31
|
-
def create(
|
32
|
-
data, _status_code, _headers = create_with_http_info(
|
31
|
+
def create(opts = {})
|
32
|
+
data, _status_code, _headers = create_with_http_info(opts)
|
33
33
|
data
|
34
34
|
end
|
35
35
|
|
36
36
|
# Create a package
|
37
37
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
38
|
-
# @param relative_path [String] Path where the artifact is located relative to distributions base_path
|
39
38
|
# @param [Hash] opts the optional parameters
|
40
39
|
# @option opts [String] :artifact Artifact file representing the physical content
|
40
|
+
# @option opts [String] :relative_path Path where the artifact is located relative to distributions base_path
|
41
41
|
# @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
|
42
42
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
43
43
|
# @option opts [String] :upload An uncommitted upload that may be turned into the artifact of the content unit.
|
44
44
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
45
|
-
def create_with_http_info(
|
45
|
+
def create_with_http_info(opts = {})
|
46
46
|
if @api_client.config.debugging
|
47
47
|
@api_client.config.logger.debug 'Calling API: ContentPackagesApi.create ...'
|
48
48
|
end
|
49
|
-
|
50
|
-
|
51
|
-
fail ArgumentError, "Missing the required parameter 'relative_path' when calling ContentPackagesApi.create"
|
52
|
-
end
|
53
|
-
if @api_client.config.client_side_validation && relative_path.to_s.length < 1
|
54
|
-
fail ArgumentError, 'invalid value for "relative_path" when calling ContentPackagesApi.create, the character length must be great than or equal to 1.'
|
49
|
+
if @api_client.config.client_side_validation && !opts[:'relative_path'].nil? && opts[:'relative_path'].to_s.length < 1
|
50
|
+
fail ArgumentError, 'invalid value for "opts[:"relative_path"]" when calling ContentPackagesApi.create, the character length must be great than or equal to 1.'
|
55
51
|
end
|
56
52
|
|
57
53
|
# resource path
|
@@ -69,8 +65,8 @@ module PulpRpmClient
|
|
69
65
|
|
70
66
|
# form parameters
|
71
67
|
form_params = opts[:form_params] || {}
|
72
|
-
form_params['relative_path'] = relative_path
|
73
68
|
form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
|
69
|
+
form_params['relative_path'] = opts[:'relative_path'] if !opts[:'relative_path'].nil?
|
74
70
|
form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
|
75
71
|
form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
76
72
|
form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
|
@@ -130,8 +126,8 @@ module PulpRpmClient
|
|
130
126
|
# @option opts [String] :version Filter results where version matches value
|
131
127
|
# @option opts [Array<String>] :version__in Filter results where version is in a comma-separated list of values
|
132
128
|
# @option opts [String] :version__ne Filter results where version not equal to value
|
133
|
-
# @option opts [
|
134
|
-
# @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.
|
135
131
|
# @return [PaginatedrpmPackageResponseList]
|
136
132
|
def list(opts = {})
|
137
133
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -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
|
@@ -215,8 +211,8 @@ module PulpRpmClient
|
|
215
211
|
query_params[:'version'] = opts[:'version'] if !opts[:'version'].nil?
|
216
212
|
query_params[:'version__in'] = @api_client.build_collection_param(opts[:'version__in'], :csv) if !opts[:'version__in'].nil?
|
217
213
|
query_params[:'version__ne'] = opts[:'version__ne'] if !opts[:'version__ne'].nil?
|
218
|
-
query_params[:'fields'] =
|
219
|
-
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?
|
220
216
|
|
221
217
|
# header parameters
|
222
218
|
header_params = opts[:header_params] || {}
|
@@ -255,8 +251,8 @@ module PulpRpmClient
|
|
255
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.
|
256
252
|
# @param rpm_package_href [String]
|
257
253
|
# @param [Hash] opts the optional parameters
|
258
|
-
# @option opts [
|
259
|
-
# @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.
|
260
256
|
# @return [RpmPackageResponse]
|
261
257
|
def read(rpm_package_href, opts = {})
|
262
258
|
data, _status_code, _headers = read_with_http_info(rpm_package_href, opts)
|
@@ -267,8 +263,8 @@ module PulpRpmClient
|
|
267
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.
|
268
264
|
# @param rpm_package_href [String]
|
269
265
|
# @param [Hash] opts the optional parameters
|
270
|
-
# @option opts [
|
271
|
-
# @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.
|
272
268
|
# @return [Array<(RpmPackageResponse, Integer, Hash)>] RpmPackageResponse data, response status code and response headers
|
273
269
|
def read_with_http_info(rpm_package_href, opts = {})
|
274
270
|
if @api_client.config.debugging
|
@@ -283,8 +279,8 @@ module PulpRpmClient
|
|
283
279
|
|
284
280
|
# query parameters
|
285
281
|
query_params = opts[:query_params] || {}
|
286
|
-
query_params[:'fields'] =
|
287
|
-
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?
|
288
284
|
|
289
285
|
# header parameters
|
290
286
|
header_params = opts[:header_params] || {}
|
@@ -28,8 +28,8 @@ module PulpRpmClient
|
|
28
28
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
29
29
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
30
30
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
31
|
-
# @option opts [
|
32
|
-
# @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.
|
33
33
|
# @return [PaginatedrpmRepoMetadataFileResponseList]
|
34
34
|
def list(opts = {})
|
35
35
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -45,8 +45,8 @@ module PulpRpmClient
|
|
45
45
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
46
46
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
47
47
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
48
|
-
# @option opts [
|
49
|
-
# @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.
|
50
50
|
# @return [Array<(PaginatedrpmRepoMetadataFileResponseList, Integer, Hash)>] PaginatedrpmRepoMetadataFileResponseList data, response status code and response headers
|
51
51
|
def list_with_http_info(opts = {})
|
52
52
|
if @api_client.config.debugging
|
@@ -67,8 +67,8 @@ module PulpRpmClient
|
|
67
67
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
68
68
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
69
69
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
70
|
-
query_params[:'fields'] =
|
71
|
-
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?
|
72
72
|
|
73
73
|
# header parameters
|
74
74
|
header_params = opts[:header_params] || {}
|
@@ -107,8 +107,8 @@ module PulpRpmClient
|
|
107
107
|
# RepoMetadataFile Viewset.
|
108
108
|
# @param rpm_repo_metadata_file_href [String]
|
109
109
|
# @param [Hash] opts the optional parameters
|
110
|
-
# @option opts [
|
111
|
-
# @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.
|
112
112
|
# @return [RpmRepoMetadataFileResponse]
|
113
113
|
def read(rpm_repo_metadata_file_href, opts = {})
|
114
114
|
data, _status_code, _headers = read_with_http_info(rpm_repo_metadata_file_href, opts)
|
@@ -119,8 +119,8 @@ module PulpRpmClient
|
|
119
119
|
# RepoMetadataFile Viewset.
|
120
120
|
# @param rpm_repo_metadata_file_href [String]
|
121
121
|
# @param [Hash] opts the optional parameters
|
122
|
-
# @option opts [
|
123
|
-
# @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.
|
124
124
|
# @return [Array<(RpmRepoMetadataFileResponse, Integer, Hash)>] RpmRepoMetadataFileResponse data, response status code and response headers
|
125
125
|
def read_with_http_info(rpm_repo_metadata_file_href, opts = {})
|
126
126
|
if @api_client.config.debugging
|
@@ -135,8 +135,8 @@ module PulpRpmClient
|
|
135
135
|
|
136
136
|
# query parameters
|
137
137
|
query_params = opts[:query_params] || {}
|
138
|
-
query_params[:'fields'] =
|
139
|
-
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?
|
140
140
|
|
141
141
|
# header parameters
|
142
142
|
header_params = opts[:header_params] || {}
|
@@ -162,8 +162,8 @@ module PulpRpmClient
|
|
162
162
|
# @option opts [Array<String>] :ordering Ordering
|
163
163
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
164
164
|
# @option opts [String] :with_content Filter distributions based on the content served by them
|
165
|
-
# @option opts [
|
166
|
-
# @option opts [
|
165
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
166
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
167
167
|
# @return [PaginatedrpmRpmDistributionResponseList]
|
168
168
|
def list(opts = {})
|
169
169
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -187,8 +187,8 @@ module PulpRpmClient
|
|
187
187
|
# @option opts [Array<String>] :ordering Ordering
|
188
188
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
189
189
|
# @option opts [String] :with_content Filter distributions based on the content served by them
|
190
|
-
# @option opts [
|
191
|
-
# @option opts [
|
190
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
191
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
192
192
|
# @return [Array<(PaginatedrpmRpmDistributionResponseList, Integer, Hash)>] PaginatedrpmRpmDistributionResponseList data, response status code and response headers
|
193
193
|
def list_with_http_info(opts = {})
|
194
194
|
if @api_client.config.debugging
|
@@ -217,8 +217,8 @@ module PulpRpmClient
|
|
217
217
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
218
218
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
219
219
|
query_params[:'with_content'] = opts[:'with_content'] if !opts[:'with_content'].nil?
|
220
|
-
query_params[:'fields'] =
|
221
|
-
query_params[:'exclude_fields'] =
|
220
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
221
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
222
222
|
|
223
223
|
# header parameters
|
224
224
|
header_params = opts[:header_params] || {}
|
@@ -327,8 +327,8 @@ module PulpRpmClient
|
|
327
327
|
# ViewSet for RPM Distributions.
|
328
328
|
# @param rpm_rpm_distribution_href [String]
|
329
329
|
# @param [Hash] opts the optional parameters
|
330
|
-
# @option opts [
|
331
|
-
# @option opts [
|
330
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
331
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
332
332
|
# @return [RpmRpmDistributionResponse]
|
333
333
|
def read(rpm_rpm_distribution_href, opts = {})
|
334
334
|
data, _status_code, _headers = read_with_http_info(rpm_rpm_distribution_href, opts)
|
@@ -339,8 +339,8 @@ module PulpRpmClient
|
|
339
339
|
# ViewSet for RPM Distributions.
|
340
340
|
# @param rpm_rpm_distribution_href [String]
|
341
341
|
# @param [Hash] opts the optional parameters
|
342
|
-
# @option opts [
|
343
|
-
# @option opts [
|
342
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
343
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
344
344
|
# @return [Array<(RpmRpmDistributionResponse, Integer, Hash)>] RpmRpmDistributionResponse data, response status code and response headers
|
345
345
|
def read_with_http_info(rpm_rpm_distribution_href, opts = {})
|
346
346
|
if @api_client.config.debugging
|
@@ -355,8 +355,8 @@ module PulpRpmClient
|
|
355
355
|
|
356
356
|
# query parameters
|
357
357
|
query_params = opts[:query_params] || {}
|
358
|
-
query_params[:'fields'] =
|
359
|
-
query_params[:'exclude_fields'] =
|
358
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
359
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
360
360
|
|
361
361
|
# header parameters
|
362
362
|
header_params = opts[:header_params] || {}
|
@@ -159,8 +159,8 @@ module PulpRpmClient
|
|
159
159
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
160
160
|
# @option opts [String] :repository Repository referenced by HREF
|
161
161
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
162
|
-
# @option opts [
|
163
|
-
# @option opts [
|
162
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
163
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
164
164
|
# @return [PaginatedrpmRpmPublicationResponseList]
|
165
165
|
def list(opts = {})
|
166
166
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -183,8 +183,8 @@ module PulpRpmClient
|
|
183
183
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
184
184
|
# @option opts [String] :repository Repository referenced by HREF
|
185
185
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
186
|
-
# @option opts [
|
187
|
-
# @option opts [
|
186
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
187
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
188
188
|
# @return [Array<(PaginatedrpmRpmPublicationResponseList, Integer, Hash)>] PaginatedrpmRpmPublicationResponseList data, response status code and response headers
|
189
189
|
def list_with_http_info(opts = {})
|
190
190
|
if @api_client.config.debugging
|
@@ -212,8 +212,8 @@ module PulpRpmClient
|
|
212
212
|
query_params[:'pulp_created__range'] = @api_client.build_collection_param(opts[:'pulp_created__range'], :csv) if !opts[:'pulp_created__range'].nil?
|
213
213
|
query_params[:'repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
214
214
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
215
|
-
query_params[:'fields'] =
|
216
|
-
query_params[:'exclude_fields'] =
|
215
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
216
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
217
217
|
|
218
218
|
# header parameters
|
219
219
|
header_params = opts[:header_params] || {}
|
@@ -252,8 +252,8 @@ module PulpRpmClient
|
|
252
252
|
# ViewSet for Rpm Publications.
|
253
253
|
# @param rpm_rpm_publication_href [String]
|
254
254
|
# @param [Hash] opts the optional parameters
|
255
|
-
# @option opts [
|
256
|
-
# @option opts [
|
255
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
256
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
257
257
|
# @return [RpmRpmPublicationResponse]
|
258
258
|
def read(rpm_rpm_publication_href, opts = {})
|
259
259
|
data, _status_code, _headers = read_with_http_info(rpm_rpm_publication_href, opts)
|
@@ -264,8 +264,8 @@ module PulpRpmClient
|
|
264
264
|
# ViewSet for Rpm Publications.
|
265
265
|
# @param rpm_rpm_publication_href [String]
|
266
266
|
# @param [Hash] opts the optional parameters
|
267
|
-
# @option opts [
|
268
|
-
# @option opts [
|
267
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
268
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
269
269
|
# @return [Array<(RpmRpmPublicationResponse, Integer, Hash)>] RpmRpmPublicationResponse data, response status code and response headers
|
270
270
|
def read_with_http_info(rpm_rpm_publication_href, opts = {})
|
271
271
|
if @api_client.config.debugging
|
@@ -280,8 +280,8 @@ module PulpRpmClient
|
|
280
280
|
|
281
281
|
# query parameters
|
282
282
|
query_params = opts[:query_params] || {}
|
283
|
-
query_params[:'fields'] =
|
284
|
-
query_params[:'exclude_fields'] =
|
283
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
284
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
285
285
|
|
286
286
|
# header parameters
|
287
287
|
header_params = opts[:header_params] || {}
|