pulp_rpm_client 3.6.1 → 3.6.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f711fcd51844dfc408ed193b554a79df6b3ba0c35d946e8f4ff0703876e804e0
4
- data.tar.gz: 9b887bb7f6dedb1a0eba7c9295a6e63291de59b0551f36553e4e50011d23b957
3
+ metadata.gz: 6b42bc8aad39a55d2bdf4167e26521216a72807c8d1b59797b95f8b84e0ef43e
4
+ data.tar.gz: 1f1b11e039666210e57266e12b81e195acfa88afc0fedc2c6d8a552854dd1f3a
5
5
  SHA512:
6
- metadata.gz: 12936a5f1d075741a0287a1c8a830ac159764edff1ae89bcf55e79e4c408c8bee60ba8b56c35c0a5ad0bf109a1a7956f42be26b0ee686895429159f1118e5c2c
7
- data.tar.gz: eaaafca3e44eca0b5f03a5b779be4cc53df4e5e7af39b0e52a1c733cac7e60cc00ca2a5edcb5e599ffdd6e3b5bfedc155500a1b2f250ea3459ca2cc9f3f80fba
6
+ metadata.gz: 50e0369bad5845b1d819c8bfd0d53756361ee24df5385ee3f758afffee532b6010763a4074bec8cc54fa7fba4f3a65df5fa2fbff3a1c8b08e2173c3f091507c3
7
+ data.tar.gz: f1e8ea4737d06206a148a746e0b47ba5dfd925b006767339321ced6494c9c69f74a3a09a4241e6e0bd040a0c16563ea4f1dad67eeabd84d416d9ab613f90ec21
data/README.md CHANGED
@@ -7,7 +7,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
7
7
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
8
 
9
9
  - API version: v3
10
- - Package version: 3.6.1
10
+ - Package version: 3.6.2
11
11
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
12
  For more information, please visit [https://pulpproject.org](https://pulpproject.org)
13
13
 
@@ -24,16 +24,16 @@ gem build pulp_rpm_client.gemspec
24
24
  Then either install the gem locally:
25
25
 
26
26
  ```shell
27
- gem install ./pulp_rpm_client-3.6.1.gem
27
+ gem install ./pulp_rpm_client-3.6.2.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulp_rpm_client-3.6.1.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulp_rpm_client-3.6.2.gem` to install the development dependencies)
31
31
 
32
32
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
33
33
 
34
34
  Finally add this to the Gemfile:
35
35
 
36
- gem 'pulp_rpm_client', '~> 3.6.1'
36
+ gem 'pulp_rpm_client', '~> 3.6.2'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -144,7 +144,7 @@ Class | Method | HTTP request | Description
144
144
  *PulpRpmClient::RepositoriesRpmVersionsApi* | [**list**](docs/RepositoriesRpmVersionsApi.md#list) | **GET** {rpm_rpm_repository_href}versions/ | List repository versions
145
145
  *PulpRpmClient::RepositoriesRpmVersionsApi* | [**read**](docs/RepositoriesRpmVersionsApi.md#read) | **GET** {rpm_rpm_repository_version_href} | Inspect a repository version
146
146
  *PulpRpmClient::RepositoriesRpmVersionsApi* | [**repair**](docs/RepositoriesRpmVersionsApi.md#repair) | **POST** {rpm_rpm_repository_version_href}repair/ |
147
- *PulpRpmClient::RpmCopyApi* | [**create**](docs/RpmCopyApi.md#create) | **POST** /pulp/api/v3/rpm/copy/ | Copy content
147
+ *PulpRpmClient::RpmCopyApi* | [**copy_content**](docs/RpmCopyApi.md#copy_content) | **POST** /pulp/api/v3/rpm/copy/ | Copy content
148
148
 
149
149
 
150
150
  ## Documentation for Models
@@ -4,13 +4,13 @@ All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
- [**create**](RpmCopyApi.md#create) | **POST** /pulp/api/v3/rpm/copy/ | Copy content
7
+ [**copy_content**](RpmCopyApi.md#copy_content) | **POST** /pulp/api/v3/rpm/copy/ | Copy content
8
8
 
9
9
 
10
10
 
11
- ## create
11
+ ## copy_content
12
12
 
13
- > AsyncOperationResponse create(copy)
13
+ > AsyncOperationResponse copy_content(copy)
14
14
 
15
15
  Copy content
16
16
 
@@ -33,10 +33,10 @@ copy = PulpRpmClient::Copy.new # Copy |
33
33
 
34
34
  begin
35
35
  #Copy content
36
- result = api_instance.create(copy)
36
+ result = api_instance.copy_content(copy)
37
37
  p result
38
38
  rescue PulpRpmClient::ApiError => e
39
- puts "Exception when calling RpmCopyApi->create: #{e}"
39
+ puts "Exception when calling RpmCopyApi->copy_content: #{e}"
40
40
  end
41
41
  ```
42
42
 
@@ -24,8 +24,8 @@ module PulpRpmClient
24
24
  # @param copy [Copy]
25
25
  # @param [Hash] opts the optional parameters
26
26
  # @return [AsyncOperationResponse]
27
- def create(copy, opts = {})
28
- data, _status_code, _headers = create_with_http_info(copy, opts)
27
+ def copy_content(copy, opts = {})
28
+ data, _status_code, _headers = copy_content_with_http_info(copy, opts)
29
29
  data
30
30
  end
31
31
 
@@ -34,13 +34,13 @@ module PulpRpmClient
34
34
  # @param copy [Copy]
35
35
  # @param [Hash] opts the optional parameters
36
36
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
37
- def create_with_http_info(copy, opts = {})
37
+ def copy_content_with_http_info(copy, opts = {})
38
38
  if @api_client.config.debugging
39
- @api_client.config.logger.debug 'Calling API: RpmCopyApi.create ...'
39
+ @api_client.config.logger.debug 'Calling API: RpmCopyApi.copy_content ...'
40
40
  end
41
41
  # verify the required parameter 'copy' is set
42
42
  if @api_client.config.client_side_validation && copy.nil?
43
- fail ArgumentError, "Missing the required parameter 'copy' when calling RpmCopyApi.create"
43
+ fail ArgumentError, "Missing the required parameter 'copy' when calling RpmCopyApi.copy_content"
44
44
  end
45
45
  # resource path
46
46
  local_var_path = '/pulp/api/v3/rpm/copy/'
@@ -78,7 +78,7 @@ module PulpRpmClient
78
78
 
79
79
  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
80
80
  if @api_client.config.debugging
81
- @api_client.config.logger.debug "API called: RpmCopyApi#create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
81
+ @api_client.config.logger.debug "API called: RpmCopyApi#copy_content\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
82
82
  end
83
83
  return data, status_code, headers
84
84
  end
@@ -80,6 +80,11 @@ module PulpRpmClient
80
80
  # List of attributes with nullable: true
81
81
  def self.openapi_nullable
82
82
  Set.new([
83
+ :'source_packages',
84
+ :'source_repository',
85
+ :'debug_packages',
86
+ :'debug_repository',
87
+ :'identity'
83
88
  ])
84
89
  end
85
90
 
@@ -163,26 +168,6 @@ module PulpRpmClient
163
168
  invalid_properties.push('invalid value for "packages", packages cannot be nil.')
164
169
  end
165
170
 
166
- if @source_packages.nil?
167
- invalid_properties.push('invalid value for "source_packages", source_packages cannot be nil.')
168
- end
169
-
170
- if @source_repository.nil?
171
- invalid_properties.push('invalid value for "source_repository", source_repository cannot be nil.')
172
- end
173
-
174
- if @debug_packages.nil?
175
- invalid_properties.push('invalid value for "debug_packages", debug_packages cannot be nil.')
176
- end
177
-
178
- if @debug_repository.nil?
179
- invalid_properties.push('invalid value for "debug_repository", debug_repository cannot be nil.')
180
- end
181
-
182
- if @identity.nil?
183
- invalid_properties.push('invalid value for "identity", identity cannot be nil.')
184
- end
185
-
186
171
  invalid_properties
187
172
  end
188
173
 
@@ -194,11 +179,6 @@ module PulpRpmClient
194
179
  return false if @name.nil?
195
180
  return false if @type.nil?
196
181
  return false if @packages.nil?
197
- return false if @source_packages.nil?
198
- return false if @source_repository.nil?
199
- return false if @debug_packages.nil?
200
- return false if @debug_repository.nil?
201
- return false if @identity.nil?
202
182
  true
203
183
  end
204
184
 
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.2.3
11
11
  =end
12
12
 
13
13
  module PulpRpmClient
14
- VERSION = '3.6.1'
14
+ VERSION = '3.6.2'
15
15
  end
@@ -32,13 +32,13 @@ describe 'RpmCopyApi' do
32
32
  end
33
33
  end
34
34
 
35
- # unit tests for create
35
+ # unit tests for copy_content
36
36
  # Copy content
37
37
  # Trigger an asynchronous task to copy RPM contentfrom one repository into another, creating a newrepository version.
38
38
  # @param copy
39
39
  # @param [Hash] opts the optional parameters
40
40
  # @return [AsyncOperationResponse]
41
- describe 'create test' do
41
+ describe 'copy_content test' do
42
42
  it 'should work' do
43
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
44
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pulp_rpm_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.6.1
4
+ version: 3.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-08-20 00:00:00.000000000 Z
11
+ date: 2020-09-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday