pulp_rpm_client 3.3.2 → 3.4.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 +21 -16
- data/docs/ContentAdvisoriesApi.md +5 -5
- data/docs/ContentDistributionTreesApi.md +3 -3
- data/docs/ContentModulemdDefaultsApi.md +5 -5
- data/docs/ContentModulemdsApi.md +5 -5
- data/docs/ContentPackagecategoriesApi.md +3 -3
- data/docs/ContentPackageenvironmentsApi.md +3 -3
- data/docs/ContentPackagegroupsApi.md +3 -3
- data/docs/ContentPackagelangpacksApi.md +3 -3
- data/docs/ContentPackagesApi.md +5 -5
- data/docs/ContentRepoMetadataFilesApi.md +3 -3
- data/docs/DistributionsRpmApi.md +3 -3
- data/docs/InlineResponse200.md +1 -1
- data/docs/InlineResponse2001.md +1 -1
- data/docs/InlineResponse20010.md +1 -1
- data/docs/InlineResponse20011.md +1 -1
- data/docs/InlineResponse20012.md +1 -1
- data/docs/InlineResponse20013.md +1 -1
- data/docs/InlineResponse20014.md +1 -1
- data/docs/InlineResponse2002.md +1 -1
- data/docs/InlineResponse2003.md +1 -1
- data/docs/InlineResponse2004.md +1 -1
- data/docs/InlineResponse2005.md +1 -1
- data/docs/InlineResponse2006.md +1 -1
- data/docs/InlineResponse2007.md +1 -1
- data/docs/InlineResponse2008.md +1 -1
- data/docs/InlineResponse2009.md +1 -1
- data/docs/PublicationsRpmApi.md +3 -3
- data/docs/RemotesRpmApi.md +5 -5
- data/docs/RepositoriesRpmApi.md +10 -10
- data/docs/RepositoriesRpmVersionsApi.md +3 -3
- data/docs/RepositoryVersionRead.md +25 -0
- data/docs/RpmCopyApi.md +1 -1
- data/docs/{RpmDistributionTree.md → RpmDistributionTreeRead.md} +2 -2
- data/docs/{RpmModulemdDefaults.md → RpmModulemdDefaultsRead.md} +2 -2
- data/docs/{RpmModulemd.md → RpmModulemdRead.md} +2 -2
- data/docs/{RpmPackageCategory.md → RpmPackageCategoryRead.md} +2 -2
- data/docs/{RpmPackageEnvironment.md → RpmPackageEnvironmentRead.md} +2 -2
- data/docs/{RpmPackageGroup.md → RpmPackageGroupRead.md} +2 -2
- data/docs/{RpmPackageLangpacks.md → RpmPackageLangpacksRead.md} +2 -2
- data/docs/{RpmPackage.md → RpmPackageRead.md} +2 -2
- data/docs/{RpmRepoMetadataFile.md → RpmRepoMetadataFileRead.md} +2 -2
- data/docs/RpmRpmDistributionRead.md +29 -0
- data/docs/RpmRpmPublicationRead.md +27 -0
- data/docs/RpmRpmRemote.md +7 -3
- data/docs/RpmRpmRemoteRead.md +43 -0
- data/docs/RpmRpmRepositoryRead.md +29 -0
- data/docs/{RpmUpdateRecord.md → RpmUpdateRecordRead.md} +2 -2
- data/lib/pulp_rpm_client/api/content_advisories_api.rb +5 -5
- data/lib/pulp_rpm_client/api/content_distribution_trees_api.rb +3 -3
- data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +5 -5
- data/lib/pulp_rpm_client/api/content_modulemds_api.rb +5 -5
- data/lib/pulp_rpm_client/api/content_packagecategories_api.rb +3 -3
- data/lib/pulp_rpm_client/api/content_packageenvironments_api.rb +3 -3
- data/lib/pulp_rpm_client/api/content_packagegroups_api.rb +3 -3
- data/lib/pulp_rpm_client/api/content_packagelangpacks_api.rb +3 -3
- data/lib/pulp_rpm_client/api/content_packages_api.rb +5 -5
- data/lib/pulp_rpm_client/api/content_repo_metadata_files_api.rb +3 -3
- data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +3 -3
- data/lib/pulp_rpm_client/api/publications_rpm_api.rb +3 -3
- data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +6 -6
- data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +15 -15
- data/lib/pulp_rpm_client/api/repositories_rpm_versions_api.rb +3 -3
- data/lib/pulp_rpm_client/configuration.rb +2 -2
- data/lib/pulp_rpm_client/models/inline_response200.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response2001.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response20010.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response20011.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response20012.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response20013.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response20014.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response2002.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response2003.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response2004.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response2005.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response2006.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response2007.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response2008.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response2009.rb +1 -1
- data/lib/pulp_rpm_client/models/repository_version_read.rb +244 -0
- data/lib/pulp_rpm_client/models/{rpm_distribution_tree.rb → rpm_distribution_tree_read.rb} +3 -3
- data/lib/pulp_rpm_client/models/{rpm_modulemd_defaults.rb → rpm_modulemd_defaults_read.rb} +3 -3
- data/lib/pulp_rpm_client/models/{rpm_modulemd.rb → rpm_modulemd_read.rb} +3 -3
- data/lib/pulp_rpm_client/models/{rpm_package_category.rb → rpm_package_category_read.rb} +3 -3
- data/lib/pulp_rpm_client/models/{rpm_package_environment.rb → rpm_package_environment_read.rb} +3 -3
- data/lib/pulp_rpm_client/models/{rpm_package_group.rb → rpm_package_group_read.rb} +3 -3
- data/lib/pulp_rpm_client/models/{rpm_package_langpacks.rb → rpm_package_langpacks_read.rb} +3 -3
- data/lib/pulp_rpm_client/models/{rpm_package.rb → rpm_package_read.rb} +3 -3
- data/lib/pulp_rpm_client/models/{rpm_repo_metadata_file.rb → rpm_repo_metadata_file_read.rb} +3 -3
- data/lib/pulp_rpm_client/models/rpm_rpm_distribution_read.rb +331 -0
- data/lib/pulp_rpm_client/models/rpm_rpm_publication_read.rb +305 -0
- data/lib/pulp_rpm_client/models/rpm_rpm_remote.rb +56 -4
- data/lib/pulp_rpm_client/models/rpm_rpm_remote_read.rb +531 -0
- data/lib/pulp_rpm_client/models/rpm_rpm_repository_read.rb +305 -0
- data/lib/pulp_rpm_client/models/{rpm_update_record.rb → rpm_update_record_read.rb} +3 -3
- data/lib/pulp_rpm_client/version.rb +1 -1
- data/lib/pulp_rpm_client.rb +15 -10
- data/spec/api/content_advisories_api_spec.rb +2 -2
- data/spec/api/content_distribution_trees_api_spec.rb +1 -1
- data/spec/api/content_modulemd_defaults_api_spec.rb +2 -2
- data/spec/api/content_modulemds_api_spec.rb +2 -2
- data/spec/api/content_packagecategories_api_spec.rb +1 -1
- data/spec/api/content_packageenvironments_api_spec.rb +1 -1
- data/spec/api/content_packagegroups_api_spec.rb +1 -1
- data/spec/api/content_packagelangpacks_api_spec.rb +1 -1
- data/spec/api/content_packages_api_spec.rb +2 -2
- data/spec/api/content_repo_metadata_files_api_spec.rb +1 -1
- data/spec/api/distributions_rpm_api_spec.rb +1 -1
- data/spec/api/publications_rpm_api_spec.rb +1 -1
- data/spec/api/remotes_rpm_api_spec.rb +2 -2
- data/spec/api/repositories_rpm_api_spec.rb +6 -6
- data/spec/api/repositories_rpm_versions_api_spec.rb +1 -1
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/repository_version_read_spec.rb +65 -0
- data/spec/models/{rpm_distribution_tree_spec.rb → rpm_distribution_tree_read_spec.rb} +6 -6
- data/spec/models/{rpm_modulemd_defaults_spec.rb → rpm_modulemd_defaults_read_spec.rb} +6 -6
- data/spec/models/{rpm_modulemd_spec.rb → rpm_modulemd_read_spec.rb} +6 -6
- data/spec/models/{rpm_package_category_spec.rb → rpm_package_category_read_spec.rb} +6 -6
- data/spec/models/{rpm_package_environment_spec.rb → rpm_package_environment_read_spec.rb} +6 -6
- data/spec/models/{rpm_package_group_spec.rb → rpm_package_group_read_spec.rb} +6 -6
- data/spec/models/{rpm_package_langpacks_spec.rb → rpm_package_langpacks_read_spec.rb} +6 -6
- data/spec/models/{rpm_package_spec.rb → rpm_package_read_spec.rb} +6 -6
- data/spec/models/{rpm_repo_metadata_file_spec.rb → rpm_repo_metadata_file_read_spec.rb} +6 -6
- data/spec/models/rpm_rpm_distribution_read_spec.rb +77 -0
- data/spec/models/rpm_rpm_publication_read_spec.rb +79 -0
- data/spec/models/rpm_rpm_remote_read_spec.rb +123 -0
- data/spec/models/rpm_rpm_remote_spec.rb +12 -0
- data/spec/models/rpm_rpm_repository_read_spec.rb +77 -0
- data/spec/models/{rpm_update_record_spec.rb → rpm_update_record_read_spec.rb} +6 -6
- metadata +62 -42
@@ -31,7 +31,7 @@ module PulpRpmClient
|
|
31
31
|
# @param dependencies [String] Modulemd dependencies.
|
32
32
|
# @param [Hash] opts the optional parameters
|
33
33
|
# @option opts [String] :artifact Artifact file representing the physical content
|
34
|
-
# @option opts [File] :file An uploaded file that
|
34
|
+
# @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
|
35
35
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
36
36
|
# @option opts [Array<String>] :packages Modulemd artifacts' packages.
|
37
37
|
# @return [AsyncOperationResponse]
|
@@ -52,7 +52,7 @@ module PulpRpmClient
|
|
52
52
|
# @param dependencies [String] Modulemd dependencies.
|
53
53
|
# @param [Hash] opts the optional parameters
|
54
54
|
# @option opts [String] :artifact Artifact file representing the physical content
|
55
|
-
# @option opts [File] :file An uploaded file that
|
55
|
+
# @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
|
56
56
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
57
57
|
# @option opts [Array<String>] :packages Modulemd artifacts' packages.
|
58
58
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
@@ -270,7 +270,7 @@ module PulpRpmClient
|
|
270
270
|
# @param [Hash] opts the optional parameters
|
271
271
|
# @option opts [String] :fields A list of fields to include in the response.
|
272
272
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
273
|
-
# @return [
|
273
|
+
# @return [RpmModulemdRead]
|
274
274
|
def read(modulemd_href, opts = {})
|
275
275
|
data, _status_code, _headers = read_with_http_info(modulemd_href, opts)
|
276
276
|
data
|
@@ -282,7 +282,7 @@ module PulpRpmClient
|
|
282
282
|
# @param [Hash] opts the optional parameters
|
283
283
|
# @option opts [String] :fields A list of fields to include in the response.
|
284
284
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
285
|
-
# @return [Array<(
|
285
|
+
# @return [Array<(RpmModulemdRead, Integer, Hash)>] RpmModulemdRead data, response status code and response headers
|
286
286
|
def read_with_http_info(modulemd_href, opts = {})
|
287
287
|
if @api_client.config.debugging
|
288
288
|
@api_client.config.logger.debug 'Calling API: ContentModulemdsApi.read ...'
|
@@ -311,7 +311,7 @@ module PulpRpmClient
|
|
311
311
|
post_body = opts[:body]
|
312
312
|
|
313
313
|
# return_type
|
314
|
-
return_type = opts[:return_type] || '
|
314
|
+
return_type = opts[:return_type] || 'RpmModulemdRead'
|
315
315
|
|
316
316
|
# auth_names
|
317
317
|
auth_names = opts[:auth_names] || ['Basic']
|
@@ -165,7 +165,7 @@ module PulpRpmClient
|
|
165
165
|
# @param [Hash] opts the optional parameters
|
166
166
|
# @option opts [String] :fields A list of fields to include in the response.
|
167
167
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
168
|
-
# @return [
|
168
|
+
# @return [RpmPackageCategoryRead]
|
169
169
|
def read(package_category_href, opts = {})
|
170
170
|
data, _status_code, _headers = read_with_http_info(package_category_href, opts)
|
171
171
|
data
|
@@ -177,7 +177,7 @@ module PulpRpmClient
|
|
177
177
|
# @param [Hash] opts the optional parameters
|
178
178
|
# @option opts [String] :fields A list of fields to include in the response.
|
179
179
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
180
|
-
# @return [Array<(
|
180
|
+
# @return [Array<(RpmPackageCategoryRead, Integer, Hash)>] RpmPackageCategoryRead data, response status code and response headers
|
181
181
|
def read_with_http_info(package_category_href, opts = {})
|
182
182
|
if @api_client.config.debugging
|
183
183
|
@api_client.config.logger.debug 'Calling API: ContentPackagecategoriesApi.read ...'
|
@@ -206,7 +206,7 @@ module PulpRpmClient
|
|
206
206
|
post_body = opts[:body]
|
207
207
|
|
208
208
|
# return_type
|
209
|
-
return_type = opts[:return_type] || '
|
209
|
+
return_type = opts[:return_type] || 'RpmPackageCategoryRead'
|
210
210
|
|
211
211
|
# auth_names
|
212
212
|
auth_names = opts[:auth_names] || ['Basic']
|
@@ -165,7 +165,7 @@ module PulpRpmClient
|
|
165
165
|
# @param [Hash] opts the optional parameters
|
166
166
|
# @option opts [String] :fields A list of fields to include in the response.
|
167
167
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
168
|
-
# @return [
|
168
|
+
# @return [RpmPackageEnvironmentRead]
|
169
169
|
def read(package_environment_href, opts = {})
|
170
170
|
data, _status_code, _headers = read_with_http_info(package_environment_href, opts)
|
171
171
|
data
|
@@ -177,7 +177,7 @@ module PulpRpmClient
|
|
177
177
|
# @param [Hash] opts the optional parameters
|
178
178
|
# @option opts [String] :fields A list of fields to include in the response.
|
179
179
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
180
|
-
# @return [Array<(
|
180
|
+
# @return [Array<(RpmPackageEnvironmentRead, Integer, Hash)>] RpmPackageEnvironmentRead data, response status code and response headers
|
181
181
|
def read_with_http_info(package_environment_href, opts = {})
|
182
182
|
if @api_client.config.debugging
|
183
183
|
@api_client.config.logger.debug 'Calling API: ContentPackageenvironmentsApi.read ...'
|
@@ -206,7 +206,7 @@ module PulpRpmClient
|
|
206
206
|
post_body = opts[:body]
|
207
207
|
|
208
208
|
# return_type
|
209
|
-
return_type = opts[:return_type] || '
|
209
|
+
return_type = opts[:return_type] || 'RpmPackageEnvironmentRead'
|
210
210
|
|
211
211
|
# auth_names
|
212
212
|
auth_names = opts[:auth_names] || ['Basic']
|
@@ -165,7 +165,7 @@ module PulpRpmClient
|
|
165
165
|
# @param [Hash] opts the optional parameters
|
166
166
|
# @option opts [String] :fields A list of fields to include in the response.
|
167
167
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
168
|
-
# @return [
|
168
|
+
# @return [RpmPackageGroupRead]
|
169
169
|
def read(package_group_href, opts = {})
|
170
170
|
data, _status_code, _headers = read_with_http_info(package_group_href, opts)
|
171
171
|
data
|
@@ -177,7 +177,7 @@ module PulpRpmClient
|
|
177
177
|
# @param [Hash] opts the optional parameters
|
178
178
|
# @option opts [String] :fields A list of fields to include in the response.
|
179
179
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
180
|
-
# @return [Array<(
|
180
|
+
# @return [Array<(RpmPackageGroupRead, Integer, Hash)>] RpmPackageGroupRead data, response status code and response headers
|
181
181
|
def read_with_http_info(package_group_href, opts = {})
|
182
182
|
if @api_client.config.debugging
|
183
183
|
@api_client.config.logger.debug 'Calling API: ContentPackagegroupsApi.read ...'
|
@@ -206,7 +206,7 @@ module PulpRpmClient
|
|
206
206
|
post_body = opts[:body]
|
207
207
|
|
208
208
|
# return_type
|
209
|
-
return_type = opts[:return_type] || '
|
209
|
+
return_type = opts[:return_type] || 'RpmPackageGroupRead'
|
210
210
|
|
211
211
|
# auth_names
|
212
212
|
auth_names = opts[:auth_names] || ['Basic']
|
@@ -165,7 +165,7 @@ module PulpRpmClient
|
|
165
165
|
# @param [Hash] opts the optional parameters
|
166
166
|
# @option opts [String] :fields A list of fields to include in the response.
|
167
167
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
168
|
-
# @return [
|
168
|
+
# @return [RpmPackageLangpacksRead]
|
169
169
|
def read(package_langpacks_href, opts = {})
|
170
170
|
data, _status_code, _headers = read_with_http_info(package_langpacks_href, opts)
|
171
171
|
data
|
@@ -177,7 +177,7 @@ module PulpRpmClient
|
|
177
177
|
# @param [Hash] opts the optional parameters
|
178
178
|
# @option opts [String] :fields A list of fields to include in the response.
|
179
179
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
180
|
-
# @return [Array<(
|
180
|
+
# @return [Array<(RpmPackageLangpacksRead, Integer, Hash)>] RpmPackageLangpacksRead data, response status code and response headers
|
181
181
|
def read_with_http_info(package_langpacks_href, opts = {})
|
182
182
|
if @api_client.config.debugging
|
183
183
|
@api_client.config.logger.debug 'Calling API: ContentPackagelangpacksApi.read ...'
|
@@ -206,7 +206,7 @@ module PulpRpmClient
|
|
206
206
|
post_body = opts[:body]
|
207
207
|
|
208
208
|
# return_type
|
209
|
-
return_type = opts[:return_type] || '
|
209
|
+
return_type = opts[:return_type] || 'RpmPackageLangpacksRead'
|
210
210
|
|
211
211
|
# auth_names
|
212
212
|
auth_names = opts[:auth_names] || ['Basic']
|
@@ -24,7 +24,7 @@ module PulpRpmClient
|
|
24
24
|
# @param relative_path [String] Path where the artifact is located relative to distributions base_path
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
26
|
# @option opts [String] :artifact Artifact file representing the physical content
|
27
|
-
# @option opts [File] :file An uploaded file that
|
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
|
# @return [AsyncOperationResponse]
|
30
30
|
def create(relative_path, opts = {})
|
@@ -37,7 +37,7 @@ module PulpRpmClient
|
|
37
37
|
# @param relative_path [String] Path where the artifact is located relative to distributions base_path
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
39
|
# @option opts [String] :artifact Artifact file representing the physical content
|
40
|
-
# @option opts [File] :file An uploaded file that
|
40
|
+
# @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
|
41
41
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
42
42
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
43
43
|
def create_with_http_info(relative_path, opts = {})
|
@@ -246,7 +246,7 @@ module PulpRpmClient
|
|
246
246
|
# @param [Hash] opts the optional parameters
|
247
247
|
# @option opts [String] :fields A list of fields to include in the response.
|
248
248
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
249
|
-
# @return [
|
249
|
+
# @return [RpmPackageRead]
|
250
250
|
def read(package_href, opts = {})
|
251
251
|
data, _status_code, _headers = read_with_http_info(package_href, opts)
|
252
252
|
data
|
@@ -258,7 +258,7 @@ module PulpRpmClient
|
|
258
258
|
# @param [Hash] opts the optional parameters
|
259
259
|
# @option opts [String] :fields A list of fields to include in the response.
|
260
260
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
261
|
-
# @return [Array<(
|
261
|
+
# @return [Array<(RpmPackageRead, Integer, Hash)>] RpmPackageRead data, response status code and response headers
|
262
262
|
def read_with_http_info(package_href, opts = {})
|
263
263
|
if @api_client.config.debugging
|
264
264
|
@api_client.config.logger.debug 'Calling API: ContentPackagesApi.read ...'
|
@@ -287,7 +287,7 @@ module PulpRpmClient
|
|
287
287
|
post_body = opts[:body]
|
288
288
|
|
289
289
|
# return_type
|
290
|
-
return_type = opts[:return_type] || '
|
290
|
+
return_type = opts[:return_type] || 'RpmPackageRead'
|
291
291
|
|
292
292
|
# auth_names
|
293
293
|
auth_names = opts[:auth_names] || ['Basic']
|
@@ -165,7 +165,7 @@ module PulpRpmClient
|
|
165
165
|
# @param [Hash] opts the optional parameters
|
166
166
|
# @option opts [String] :fields A list of fields to include in the response.
|
167
167
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
168
|
-
# @return [
|
168
|
+
# @return [RpmRepoMetadataFileRead]
|
169
169
|
def read(repo_metadata_file_href, opts = {})
|
170
170
|
data, _status_code, _headers = read_with_http_info(repo_metadata_file_href, opts)
|
171
171
|
data
|
@@ -177,7 +177,7 @@ module PulpRpmClient
|
|
177
177
|
# @param [Hash] opts the optional parameters
|
178
178
|
# @option opts [String] :fields A list of fields to include in the response.
|
179
179
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
180
|
-
# @return [Array<(
|
180
|
+
# @return [Array<(RpmRepoMetadataFileRead, Integer, Hash)>] RpmRepoMetadataFileRead data, response status code and response headers
|
181
181
|
def read_with_http_info(repo_metadata_file_href, opts = {})
|
182
182
|
if @api_client.config.debugging
|
183
183
|
@api_client.config.logger.debug 'Calling API: ContentRepoMetadataFilesApi.read ...'
|
@@ -206,7 +206,7 @@ module PulpRpmClient
|
|
206
206
|
post_body = opts[:body]
|
207
207
|
|
208
208
|
# return_type
|
209
|
-
return_type = opts[:return_type] || '
|
209
|
+
return_type = opts[:return_type] || 'RpmRepoMetadataFileRead'
|
210
210
|
|
211
211
|
# auth_names
|
212
212
|
auth_names = opts[:auth_names] || ['Basic']
|
@@ -310,7 +310,7 @@ module PulpRpmClient
|
|
310
310
|
# @param [Hash] opts the optional parameters
|
311
311
|
# @option opts [String] :fields A list of fields to include in the response.
|
312
312
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
313
|
-
# @return [
|
313
|
+
# @return [RpmRpmDistributionRead]
|
314
314
|
def read(rpm_distribution_href, opts = {})
|
315
315
|
data, _status_code, _headers = read_with_http_info(rpm_distribution_href, opts)
|
316
316
|
data
|
@@ -322,7 +322,7 @@ module PulpRpmClient
|
|
322
322
|
# @param [Hash] opts the optional parameters
|
323
323
|
# @option opts [String] :fields A list of fields to include in the response.
|
324
324
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
325
|
-
# @return [Array<(
|
325
|
+
# @return [Array<(RpmRpmDistributionRead, Integer, Hash)>] RpmRpmDistributionRead data, response status code and response headers
|
326
326
|
def read_with_http_info(rpm_distribution_href, opts = {})
|
327
327
|
if @api_client.config.debugging
|
328
328
|
@api_client.config.logger.debug 'Calling API: DistributionsRpmApi.read ...'
|
@@ -351,7 +351,7 @@ module PulpRpmClient
|
|
351
351
|
post_body = opts[:body]
|
352
352
|
|
353
353
|
# return_type
|
354
|
-
return_type = opts[:return_type] || '
|
354
|
+
return_type = opts[:return_type] || 'RpmRpmDistributionRead'
|
355
355
|
|
356
356
|
# auth_names
|
357
357
|
auth_names = opts[:auth_names] || ['Basic']
|
@@ -241,7 +241,7 @@ module PulpRpmClient
|
|
241
241
|
# @param [Hash] opts the optional parameters
|
242
242
|
# @option opts [String] :fields A list of fields to include in the response.
|
243
243
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
244
|
-
# @return [
|
244
|
+
# @return [RpmRpmPublicationRead]
|
245
245
|
def read(rpm_publication_href, opts = {})
|
246
246
|
data, _status_code, _headers = read_with_http_info(rpm_publication_href, opts)
|
247
247
|
data
|
@@ -253,7 +253,7 @@ module PulpRpmClient
|
|
253
253
|
# @param [Hash] opts the optional parameters
|
254
254
|
# @option opts [String] :fields A list of fields to include in the response.
|
255
255
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
256
|
-
# @return [Array<(
|
256
|
+
# @return [Array<(RpmRpmPublicationRead, Integer, Hash)>] RpmRpmPublicationRead data, response status code and response headers
|
257
257
|
def read_with_http_info(rpm_publication_href, opts = {})
|
258
258
|
if @api_client.config.debugging
|
259
259
|
@api_client.config.logger.debug 'Calling API: PublicationsRpmApi.read ...'
|
@@ -282,7 +282,7 @@ module PulpRpmClient
|
|
282
282
|
post_body = opts[:body]
|
283
283
|
|
284
284
|
# return_type
|
285
|
-
return_type = opts[:return_type] || '
|
285
|
+
return_type = opts[:return_type] || 'RpmRpmPublicationRead'
|
286
286
|
|
287
287
|
# auth_names
|
288
288
|
auth_names = opts[:auth_names] || ['Basic']
|
@@ -23,7 +23,7 @@ module PulpRpmClient
|
|
23
23
|
# A ViewSet for RpmRemote.
|
24
24
|
# @param data [RpmRpmRemote]
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
|
-
# @return [
|
26
|
+
# @return [RpmRpmRemoteRead]
|
27
27
|
def create(data, opts = {})
|
28
28
|
data, _status_code, _headers = create_with_http_info(data, opts)
|
29
29
|
data
|
@@ -33,7 +33,7 @@ module PulpRpmClient
|
|
33
33
|
# A ViewSet for RpmRemote.
|
34
34
|
# @param data [RpmRpmRemote]
|
35
35
|
# @param [Hash] opts the optional parameters
|
36
|
-
# @return [Array<(
|
36
|
+
# @return [Array<(RpmRpmRemoteRead, Integer, Hash)>] RpmRpmRemoteRead data, response status code and response headers
|
37
37
|
def create_with_http_info(data, opts = {})
|
38
38
|
if @api_client.config.debugging
|
39
39
|
@api_client.config.logger.debug 'Calling API: RemotesRpmApi.create ...'
|
@@ -62,7 +62,7 @@ module PulpRpmClient
|
|
62
62
|
post_body = opts[:body] || @api_client.object_to_http_body(data)
|
63
63
|
|
64
64
|
# return_type
|
65
|
-
return_type = opts[:return_type] || '
|
65
|
+
return_type = opts[:return_type] || 'RpmRpmRemoteRead'
|
66
66
|
|
67
67
|
# auth_names
|
68
68
|
auth_names = opts[:auth_names] || ['Basic']
|
@@ -316,7 +316,7 @@ module PulpRpmClient
|
|
316
316
|
# @param [Hash] opts the optional parameters
|
317
317
|
# @option opts [String] :fields A list of fields to include in the response.
|
318
318
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
319
|
-
# @return [
|
319
|
+
# @return [RpmRpmRemoteRead]
|
320
320
|
def read(rpm_remote_href, opts = {})
|
321
321
|
data, _status_code, _headers = read_with_http_info(rpm_remote_href, opts)
|
322
322
|
data
|
@@ -328,7 +328,7 @@ module PulpRpmClient
|
|
328
328
|
# @param [Hash] opts the optional parameters
|
329
329
|
# @option opts [String] :fields A list of fields to include in the response.
|
330
330
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
331
|
-
# @return [Array<(
|
331
|
+
# @return [Array<(RpmRpmRemoteRead, Integer, Hash)>] RpmRpmRemoteRead data, response status code and response headers
|
332
332
|
def read_with_http_info(rpm_remote_href, opts = {})
|
333
333
|
if @api_client.config.debugging
|
334
334
|
@api_client.config.logger.debug 'Calling API: RemotesRpmApi.read ...'
|
@@ -357,7 +357,7 @@ module PulpRpmClient
|
|
357
357
|
post_body = opts[:body]
|
358
358
|
|
359
359
|
# return_type
|
360
|
-
return_type = opts[:return_type] || '
|
360
|
+
return_type = opts[:return_type] || 'RpmRpmRemoteRead'
|
361
361
|
|
362
362
|
# auth_names
|
363
363
|
auth_names = opts[:auth_names] || ['Basic']
|
@@ -23,7 +23,7 @@ module PulpRpmClient
|
|
23
23
|
# A ViewSet for RpmRepository.
|
24
24
|
# @param data [RpmRpmRepository]
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
|
-
# @return [
|
26
|
+
# @return [RpmRpmRepositoryRead]
|
27
27
|
def create(data, opts = {})
|
28
28
|
data, _status_code, _headers = create_with_http_info(data, opts)
|
29
29
|
data
|
@@ -33,7 +33,7 @@ module PulpRpmClient
|
|
33
33
|
# A ViewSet for RpmRepository.
|
34
34
|
# @param data [RpmRpmRepository]
|
35
35
|
# @param [Hash] opts the optional parameters
|
36
|
-
# @return [Array<(
|
36
|
+
# @return [Array<(RpmRpmRepositoryRead, Integer, Hash)>] RpmRpmRepositoryRead data, response status code and response headers
|
37
37
|
def create_with_http_info(data, opts = {})
|
38
38
|
if @api_client.config.debugging
|
39
39
|
@api_client.config.logger.debug 'Calling API: RepositoriesRpmApi.create ...'
|
@@ -62,7 +62,7 @@ module PulpRpmClient
|
|
62
62
|
post_body = opts[:body] || @api_client.object_to_http_body(data)
|
63
63
|
|
64
64
|
# return_type
|
65
|
-
return_type = opts[:return_type] || '
|
65
|
+
return_type = opts[:return_type] || 'RpmRpmRepositoryRead'
|
66
66
|
|
67
67
|
# auth_names
|
68
68
|
auth_names = opts[:auth_names] || ['Basic']
|
@@ -84,7 +84,7 @@ module PulpRpmClient
|
|
84
84
|
end
|
85
85
|
|
86
86
|
# Delete a rpm repository
|
87
|
-
# Trigger an asynchronous
|
87
|
+
# Trigger an asynchronous delete task
|
88
88
|
# @param rpm_repository_href [String] URI of Rpm Repository. e.g.: /pulp/api/v3/repositories/rpm/rpm/1/
|
89
89
|
# @param [Hash] opts the optional parameters
|
90
90
|
# @return [AsyncOperationResponse]
|
@@ -94,7 +94,7 @@ module PulpRpmClient
|
|
94
94
|
end
|
95
95
|
|
96
96
|
# Delete a rpm repository
|
97
|
-
# Trigger an asynchronous
|
97
|
+
# Trigger an asynchronous delete task
|
98
98
|
# @param rpm_repository_href [String] URI of Rpm Repository. e.g.: /pulp/api/v3/repositories/rpm/rpm/1/
|
99
99
|
# @param [Hash] opts the optional parameters
|
100
100
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
@@ -293,22 +293,22 @@ module PulpRpmClient
|
|
293
293
|
end
|
294
294
|
|
295
295
|
# Partially update a rpm repository
|
296
|
-
#
|
296
|
+
# Trigger an asynchronous partial update task
|
297
297
|
# @param rpm_repository_href [String] URI of Rpm Repository. e.g.: /pulp/api/v3/repositories/rpm/rpm/1/
|
298
298
|
# @param data [RpmRpmRepository]
|
299
299
|
# @param [Hash] opts the optional parameters
|
300
|
-
# @return [
|
300
|
+
# @return [AsyncOperationResponse]
|
301
301
|
def partial_update(rpm_repository_href, data, opts = {})
|
302
302
|
data, _status_code, _headers = partial_update_with_http_info(rpm_repository_href, data, opts)
|
303
303
|
data
|
304
304
|
end
|
305
305
|
|
306
306
|
# Partially update a rpm repository
|
307
|
-
#
|
307
|
+
# Trigger an asynchronous partial update task
|
308
308
|
# @param rpm_repository_href [String] URI of Rpm Repository. e.g.: /pulp/api/v3/repositories/rpm/rpm/1/
|
309
309
|
# @param data [RpmRpmRepository]
|
310
310
|
# @param [Hash] opts the optional parameters
|
311
|
-
# @return [Array<(
|
311
|
+
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
312
312
|
def partial_update_with_http_info(rpm_repository_href, data, opts = {})
|
313
313
|
if @api_client.config.debugging
|
314
314
|
@api_client.config.logger.debug 'Calling API: RepositoriesRpmApi.partial_update ...'
|
@@ -341,7 +341,7 @@ module PulpRpmClient
|
|
341
341
|
post_body = opts[:body] || @api_client.object_to_http_body(data)
|
342
342
|
|
343
343
|
# return_type
|
344
|
-
return_type = opts[:return_type] || '
|
344
|
+
return_type = opts[:return_type] || 'AsyncOperationResponse'
|
345
345
|
|
346
346
|
# auth_names
|
347
347
|
auth_names = opts[:auth_names] || ['Basic']
|
@@ -368,7 +368,7 @@ module PulpRpmClient
|
|
368
368
|
# @param [Hash] opts the optional parameters
|
369
369
|
# @option opts [String] :fields A list of fields to include in the response.
|
370
370
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
371
|
-
# @return [
|
371
|
+
# @return [RpmRpmRepositoryRead]
|
372
372
|
def read(rpm_repository_href, opts = {})
|
373
373
|
data, _status_code, _headers = read_with_http_info(rpm_repository_href, opts)
|
374
374
|
data
|
@@ -380,7 +380,7 @@ module PulpRpmClient
|
|
380
380
|
# @param [Hash] opts the optional parameters
|
381
381
|
# @option opts [String] :fields A list of fields to include in the response.
|
382
382
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
383
|
-
# @return [Array<(
|
383
|
+
# @return [Array<(RpmRpmRepositoryRead, Integer, Hash)>] RpmRpmRepositoryRead data, response status code and response headers
|
384
384
|
def read_with_http_info(rpm_repository_href, opts = {})
|
385
385
|
if @api_client.config.debugging
|
386
386
|
@api_client.config.logger.debug 'Calling API: RepositoriesRpmApi.read ...'
|
@@ -409,7 +409,7 @@ module PulpRpmClient
|
|
409
409
|
post_body = opts[:body]
|
410
410
|
|
411
411
|
# return_type
|
412
|
-
return_type = opts[:return_type] || '
|
412
|
+
return_type = opts[:return_type] || 'RpmRpmRepositoryRead'
|
413
413
|
|
414
414
|
# auth_names
|
415
415
|
auth_names = opts[:auth_names] || ['Basic']
|
@@ -501,7 +501,7 @@ module PulpRpmClient
|
|
501
501
|
end
|
502
502
|
|
503
503
|
# Update a rpm repository
|
504
|
-
# Trigger an asynchronous
|
504
|
+
# Trigger an asynchronous update task
|
505
505
|
# @param rpm_repository_href [String] URI of Rpm Repository. e.g.: /pulp/api/v3/repositories/rpm/rpm/1/
|
506
506
|
# @param data [RpmRpmRepository]
|
507
507
|
# @param [Hash] opts the optional parameters
|
@@ -512,7 +512,7 @@ module PulpRpmClient
|
|
512
512
|
end
|
513
513
|
|
514
514
|
# Update a rpm repository
|
515
|
-
# Trigger an asynchronous
|
515
|
+
# Trigger an asynchronous update task
|
516
516
|
# @param rpm_repository_href [String] URI of Rpm Repository. e.g.: /pulp/api/v3/repositories/rpm/rpm/1/
|
517
517
|
# @param data [RpmRpmRepository]
|
518
518
|
# @param [Hash] opts the optional parameters
|
@@ -203,7 +203,7 @@ module PulpRpmClient
|
|
203
203
|
# @param [Hash] opts the optional parameters
|
204
204
|
# @option opts [String] :fields A list of fields to include in the response.
|
205
205
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
206
|
-
# @return [
|
206
|
+
# @return [RepositoryVersionRead]
|
207
207
|
def read(rpm_repository_version_href, opts = {})
|
208
208
|
data, _status_code, _headers = read_with_http_info(rpm_repository_version_href, opts)
|
209
209
|
data
|
@@ -215,7 +215,7 @@ module PulpRpmClient
|
|
215
215
|
# @param [Hash] opts the optional parameters
|
216
216
|
# @option opts [String] :fields A list of fields to include in the response.
|
217
217
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
218
|
-
# @return [Array<(
|
218
|
+
# @return [Array<(RepositoryVersionRead, Integer, Hash)>] RepositoryVersionRead data, response status code and response headers
|
219
219
|
def read_with_http_info(rpm_repository_version_href, opts = {})
|
220
220
|
if @api_client.config.debugging
|
221
221
|
@api_client.config.logger.debug 'Calling API: RepositoriesRpmVersionsApi.read ...'
|
@@ -244,7 +244,7 @@ module PulpRpmClient
|
|
244
244
|
post_body = opts[:body]
|
245
245
|
|
246
246
|
# return_type
|
247
|
-
return_type = opts[:return_type] || '
|
247
|
+
return_type = opts[:return_type] || 'RepositoryVersionRead'
|
248
248
|
|
249
249
|
# auth_names
|
250
250
|
auth_names = opts[:auth_names] || ['Basic']
|
@@ -122,7 +122,7 @@ module PulpRpmClient
|
|
122
122
|
|
123
123
|
def initialize
|
124
124
|
@scheme = 'http'
|
125
|
-
@host = '
|
125
|
+
@host = 'pulp'
|
126
126
|
@base_path = ''
|
127
127
|
@api_key = {}
|
128
128
|
@api_key_prefix = {}
|
@@ -202,7 +202,7 @@ module PulpRpmClient
|
|
202
202
|
def server_settings
|
203
203
|
[
|
204
204
|
{
|
205
|
-
url: "http://
|
205
|
+
url: "http://pulp/",
|
206
206
|
description: "No description provided",
|
207
207
|
}
|
208
208
|
]
|