pulp_rpm_client 3.0.0b3.dev.1559922387 → 3.0.0b3.dev.1560008862

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.

Files changed (48) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/README.md +6 -6
  4. data/docs/Package.md +4 -4
  5. data/lib/pulp_rpm_client/api/content_api.rb +4 -4
  6. data/lib/pulp_rpm_client/api/distributions_api.rb +6 -6
  7. data/lib/pulp_rpm_client/api/publications_api.rb +4 -4
  8. data/lib/pulp_rpm_client/api/remotes_api.rb +7 -7
  9. data/lib/pulp_rpm_client/api/rpm_api.rb +2 -2
  10. data/lib/pulp_rpm_client/api_client.rb +3 -2
  11. data/lib/pulp_rpm_client/api_error.rb +1 -1
  12. data/lib/pulp_rpm_client/configuration.rb +5 -2
  13. data/lib/pulp_rpm_client/models/async_operation_response.rb +1 -1
  14. data/lib/pulp_rpm_client/models/inline_response200.rb +1 -1
  15. data/lib/pulp_rpm_client/models/inline_response2001.rb +1 -1
  16. data/lib/pulp_rpm_client/models/inline_response2002.rb +1 -1
  17. data/lib/pulp_rpm_client/models/inline_response2003.rb +1 -1
  18. data/lib/pulp_rpm_client/models/inline_response2004.rb +1 -1
  19. data/lib/pulp_rpm_client/models/package.rb +23 -23
  20. data/lib/pulp_rpm_client/models/repository_sync_url.rb +1 -1
  21. data/lib/pulp_rpm_client/models/rpm_distribution.rb +1 -1
  22. data/lib/pulp_rpm_client/models/rpm_publication.rb +1 -1
  23. data/lib/pulp_rpm_client/models/rpm_remote.rb +1 -1
  24. data/lib/pulp_rpm_client/models/update_record.rb +1 -1
  25. data/lib/pulp_rpm_client/version.rb +2 -2
  26. data/lib/pulp_rpm_client.rb +1 -1
  27. data/pulp_rpm_client.gemspec +1 -1
  28. data/spec/api/content_api_spec.rb +1 -1
  29. data/spec/api/distributions_api_spec.rb +1 -1
  30. data/spec/api/publications_api_spec.rb +1 -1
  31. data/spec/api/remotes_api_spec.rb +1 -1
  32. data/spec/api/rpm_api_spec.rb +1 -1
  33. data/spec/api_client_spec.rb +1 -1
  34. data/spec/configuration_spec.rb +1 -1
  35. data/spec/models/async_operation_response_spec.rb +1 -1
  36. data/spec/models/inline_response2001_spec.rb +1 -1
  37. data/spec/models/inline_response2002_spec.rb +1 -1
  38. data/spec/models/inline_response2003_spec.rb +1 -1
  39. data/spec/models/inline_response2004_spec.rb +1 -1
  40. data/spec/models/inline_response200_spec.rb +1 -1
  41. data/spec/models/package_spec.rb +4 -4
  42. data/spec/models/repository_sync_url_spec.rb +1 -1
  43. data/spec/models/rpm_distribution_spec.rb +1 -1
  44. data/spec/models/rpm_publication_spec.rb +1 -1
  45. data/spec/models/rpm_remote_spec.rb +1 -1
  46. data/spec/models/update_record_spec.rb +1 -1
  47. data/spec/spec_helper.rb +1 -1
  48. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b5d63db982d83538e2c12dfd5daa3cce0c468644549844625d25d1165235a5c6
4
- data.tar.gz: f634a4e957f440c0fc29c468f458168412dc7b7e0b157b22e786d54885d771f0
3
+ metadata.gz: f4d3af2eb45ecb75f97b4dc1d908d4f909d64603b983eb7242309bb0eb9e24e8
4
+ data.tar.gz: f8470a178fa2c592250a68095a04166155d2f271d1a565e065db7a2585f2ceb4
5
5
  SHA512:
6
- metadata.gz: 25c69d3ba25c6156e8608996ad09c4375176f6e7e396a8d2d80bf9f49dd9d7c5b89be96a68b332f437ce61423ff4b12088b6d3e5fe1d631dc2433ccfe02c1f4d
7
- data.tar.gz: bbe5fe7f5ac5f87eb1893bfac167584287dd32be427e5fd23aaccb05460ac42153bb41495cdfee5ae217a411a2940c9d0c8bd03d30a89f40bfb51f23a7c79127
6
+ metadata.gz: 79878a723d5f7f9ae91d7f7f3d14d6c9478ef6357a07a0defe85ec9e4324cc93e4ddbae21c8a902941d3f8ae394e235a1033c3105b77ba3696b31c78b739bb2c
7
+ data.tar.gz: e275b394dd4faf18f0b94aeecad108ae54ef8c22edab25631d15e37f0a5f5d359e4c536a08a7a6c4b7032165658bd799241ca5499656d949e963c93e3cbcd5d7
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- pulp_rpm_client (3.0.0b3.dev.1559922387)
4
+ pulp_rpm_client (3.0.0b3.dev.1560008862)
5
5
  json (~> 2.1, >= 2.1.0)
6
6
  typhoeus (~> 1.0, >= 1.0.1)
7
7
 
data/README.md CHANGED
@@ -7,7 +7,7 @@ No description provided (generated by Openapi Generator https://github.com/opena
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.0.0b3.dev.1559922387
10
+ - Package version: 3.0.0b3.dev.1560008862
11
11
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
12
 
13
13
  ## Installation
@@ -23,16 +23,16 @@ gem build pulp_rpm_client.gemspec
23
23
  Then either install the gem locally:
24
24
 
25
25
  ```shell
26
- gem install ./pulp_rpm_client-3.0.0b3.dev.1559922387.gem
26
+ gem install ./pulp_rpm_client-3.0.0b3.dev.1560008862.gem
27
27
  ```
28
28
 
29
- (for development, run `gem install --dev ./pulp_rpm_client-3.0.0b3.dev.1559922387.gem` to install the development dependencies)
29
+ (for development, run `gem install --dev ./pulp_rpm_client-3.0.0b3.dev.1560008862.gem` to install the development dependencies)
30
30
 
31
31
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
32
32
 
33
33
  Finally add this to the Gemfile:
34
34
 
35
- gem 'pulp_rpm_client', '~> 3.0.0b3.dev.1559922387'
35
+ gem 'pulp_rpm_client', '~> 3.0.0b3.dev.1560008862'
36
36
 
37
37
  ### Install from Git
38
38
 
@@ -59,8 +59,8 @@ require 'pulp_rpm_client'
59
59
  # Setup authorization
60
60
  PulpRpmClient.configure do |config|
61
61
  # Configure HTTP basic authorization: Basic
62
- config.username = 'YOUR_USERNAME'
63
- config.password = 'YOUR_PASSWORD'
62
+ config.username = 'YOUR USERNAME'
63
+ config.password = 'YOUR PASSWORD'
64
64
  end
65
65
 
66
66
  api_instance = PulpRpmClient::ContentApi.new
data/docs/Package.md CHANGED
@@ -4,10 +4,10 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **_type** | **String** | | [optional]
7
+ **_artifact** | **String** | Artifact file representing the physical content |
8
8
  **_href** | **String** | | [optional]
9
+ **_type** | **String** | | [optional]
9
10
  **_created** | **DateTime** | Timestamp of creation. | [optional]
10
- **_artifact** | **String** | Artifact file representing the physical content |
11
11
  **name** | **String** | Name of the package |
12
12
  **epoch** | **String** | The package's epoch | [optional]
13
13
  **version** | **String** | The version of the package. For example, '2.8.0' |
@@ -50,10 +50,10 @@ Name | Type | Description | Notes
50
50
  ```ruby
51
51
  require 'PulpRpmClient'
52
52
 
53
- instance = PulpRpmClient::Package.new(_type: null,
53
+ instance = PulpRpmClient::Package.new(_artifact: null,
54
54
  _href: null,
55
+ _type: null,
55
56
  _created: null,
56
- _artifact: null,
57
57
  name: null,
58
58
  epoch: null,
59
59
  version: null,
@@ -6,11 +6,11 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.0.0
10
10
 
11
11
  =end
12
12
 
13
- require 'cgi'
13
+ require 'uri'
14
14
 
15
15
  module PulpRpmClient
16
16
  class ContentApi
@@ -202,7 +202,7 @@ module PulpRpmClient
202
202
  fail ArgumentError, "Missing the required parameter 'update_record_href' when calling ContentApi.content_rpm_advisories_read"
203
203
  end
204
204
  # resource path
205
- local_var_path = '{update_record_href}'.sub('{' + 'update_record_href' + '}', CGI.escape(update_record_href.to_s))
205
+ local_var_path = '{update_record_href}'.sub('{' + 'update_record_href' + '}', update_record_href.to_s)
206
206
 
207
207
  # query parameters
208
208
  query_params = opts[:query_params] || {}
@@ -441,7 +441,7 @@ module PulpRpmClient
441
441
  fail ArgumentError, "Missing the required parameter 'package_href' when calling ContentApi.content_rpm_packages_read"
442
442
  end
443
443
  # resource path
444
- local_var_path = '{package_href}'.sub('{' + 'package_href' + '}', CGI.escape(package_href.to_s))
444
+ local_var_path = '{package_href}'.sub('{' + 'package_href' + '}', package_href.to_s)
445
445
 
446
446
  # query parameters
447
447
  query_params = opts[:query_params] || {}
@@ -6,11 +6,11 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.0.0
10
10
 
11
11
  =end
12
12
 
13
- require 'cgi'
13
+ require 'uri'
14
14
 
15
15
  module PulpRpmClient
16
16
  class DistributionsApi
@@ -107,7 +107,7 @@ module PulpRpmClient
107
107
  fail ArgumentError, "Missing the required parameter 'rpm_distribution_href' when calling DistributionsApi.distributions_rpm_rpm_delete"
108
108
  end
109
109
  # resource path
110
- local_var_path = '{rpm_distribution_href}'.sub('{' + 'rpm_distribution_href' + '}', CGI.escape(rpm_distribution_href.to_s))
110
+ local_var_path = '{rpm_distribution_href}'.sub('{' + 'rpm_distribution_href' + '}', rpm_distribution_href.to_s)
111
111
 
112
112
  # query parameters
113
113
  query_params = opts[:query_params] || {}
@@ -255,7 +255,7 @@ module PulpRpmClient
255
255
  fail ArgumentError, "Missing the required parameter 'data' when calling DistributionsApi.distributions_rpm_rpm_partial_update"
256
256
  end
257
257
  # resource path
258
- local_var_path = '{rpm_distribution_href}'.sub('{' + 'rpm_distribution_href' + '}', CGI.escape(rpm_distribution_href.to_s))
258
+ local_var_path = '{rpm_distribution_href}'.sub('{' + 'rpm_distribution_href' + '}', rpm_distribution_href.to_s)
259
259
 
260
260
  # query parameters
261
261
  query_params = opts[:query_params] || {}
@@ -319,7 +319,7 @@ module PulpRpmClient
319
319
  fail ArgumentError, "Missing the required parameter 'rpm_distribution_href' when calling DistributionsApi.distributions_rpm_rpm_read"
320
320
  end
321
321
  # resource path
322
- local_var_path = '{rpm_distribution_href}'.sub('{' + 'rpm_distribution_href' + '}', CGI.escape(rpm_distribution_href.to_s))
322
+ local_var_path = '{rpm_distribution_href}'.sub('{' + 'rpm_distribution_href' + '}', rpm_distribution_href.to_s)
323
323
 
324
324
  # query parameters
325
325
  query_params = opts[:query_params] || {}
@@ -387,7 +387,7 @@ module PulpRpmClient
387
387
  fail ArgumentError, "Missing the required parameter 'data' when calling DistributionsApi.distributions_rpm_rpm_update"
388
388
  end
389
389
  # resource path
390
- local_var_path = '{rpm_distribution_href}'.sub('{' + 'rpm_distribution_href' + '}', CGI.escape(rpm_distribution_href.to_s))
390
+ local_var_path = '{rpm_distribution_href}'.sub('{' + 'rpm_distribution_href' + '}', rpm_distribution_href.to_s)
391
391
 
392
392
  # query parameters
393
393
  query_params = opts[:query_params] || {}
@@ -6,11 +6,11 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.0.0
10
10
 
11
11
  =end
12
12
 
13
- require 'cgi'
13
+ require 'uri'
14
14
 
15
15
  module PulpRpmClient
16
16
  class PublicationsApi
@@ -107,7 +107,7 @@ module PulpRpmClient
107
107
  fail ArgumentError, "Missing the required parameter 'rpm_publication_href' when calling PublicationsApi.publications_rpm_rpm_delete"
108
108
  end
109
109
  # resource path
110
- local_var_path = '{rpm_publication_href}'.sub('{' + 'rpm_publication_href' + '}', CGI.escape(rpm_publication_href.to_s))
110
+ local_var_path = '{rpm_publication_href}'.sub('{' + 'rpm_publication_href' + '}', rpm_publication_href.to_s)
111
111
 
112
112
  # query parameters
113
113
  query_params = opts[:query_params] || {}
@@ -232,7 +232,7 @@ module PulpRpmClient
232
232
  fail ArgumentError, "Missing the required parameter 'rpm_publication_href' when calling PublicationsApi.publications_rpm_rpm_read"
233
233
  end
234
234
  # resource path
235
- local_var_path = '{rpm_publication_href}'.sub('{' + 'rpm_publication_href' + '}', CGI.escape(rpm_publication_href.to_s))
235
+ local_var_path = '{rpm_publication_href}'.sub('{' + 'rpm_publication_href' + '}', rpm_publication_href.to_s)
236
236
 
237
237
  # query parameters
238
238
  query_params = opts[:query_params] || {}
@@ -6,11 +6,11 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.0.0
10
10
 
11
11
  =end
12
12
 
13
- require 'cgi'
13
+ require 'uri'
14
14
 
15
15
  module PulpRpmClient
16
16
  class RemotesApi
@@ -107,7 +107,7 @@ module PulpRpmClient
107
107
  fail ArgumentError, "Missing the required parameter 'rpm_remote_href' when calling RemotesApi.remotes_rpm_rpm_delete"
108
108
  end
109
109
  # resource path
110
- local_var_path = '{rpm_remote_href}'.sub('{' + 'rpm_remote_href' + '}', CGI.escape(rpm_remote_href.to_s))
110
+ local_var_path = '{rpm_remote_href}'.sub('{' + 'rpm_remote_href' + '}', rpm_remote_href.to_s)
111
111
 
112
112
  # query parameters
113
113
  query_params = opts[:query_params] || {}
@@ -261,7 +261,7 @@ module PulpRpmClient
261
261
  fail ArgumentError, "Missing the required parameter 'data' when calling RemotesApi.remotes_rpm_rpm_partial_update"
262
262
  end
263
263
  # resource path
264
- local_var_path = '{rpm_remote_href}'.sub('{' + 'rpm_remote_href' + '}', CGI.escape(rpm_remote_href.to_s))
264
+ local_var_path = '{rpm_remote_href}'.sub('{' + 'rpm_remote_href' + '}', rpm_remote_href.to_s)
265
265
 
266
266
  # query parameters
267
267
  query_params = opts[:query_params] || {}
@@ -325,7 +325,7 @@ module PulpRpmClient
325
325
  fail ArgumentError, "Missing the required parameter 'rpm_remote_href' when calling RemotesApi.remotes_rpm_rpm_read"
326
326
  end
327
327
  # resource path
328
- local_var_path = '{rpm_remote_href}'.sub('{' + 'rpm_remote_href' + '}', CGI.escape(rpm_remote_href.to_s))
328
+ local_var_path = '{rpm_remote_href}'.sub('{' + 'rpm_remote_href' + '}', rpm_remote_href.to_s)
329
329
 
330
330
  # query parameters
331
331
  query_params = opts[:query_params] || {}
@@ -393,7 +393,7 @@ module PulpRpmClient
393
393
  fail ArgumentError, "Missing the required parameter 'data' when calling RemotesApi.remotes_rpm_rpm_sync"
394
394
  end
395
395
  # resource path
396
- local_var_path = '{rpm_remote_href}sync/'.sub('{' + 'rpm_remote_href' + '}', CGI.escape(rpm_remote_href.to_s))
396
+ local_var_path = '{rpm_remote_href}sync/'.sub('{' + 'rpm_remote_href' + '}', rpm_remote_href.to_s)
397
397
 
398
398
  # query parameters
399
399
  query_params = opts[:query_params] || {}
@@ -463,7 +463,7 @@ module PulpRpmClient
463
463
  fail ArgumentError, "Missing the required parameter 'data' when calling RemotesApi.remotes_rpm_rpm_update"
464
464
  end
465
465
  # resource path
466
- local_var_path = '{rpm_remote_href}'.sub('{' + 'rpm_remote_href' + '}', CGI.escape(rpm_remote_href.to_s))
466
+ local_var_path = '{rpm_remote_href}'.sub('{' + 'rpm_remote_href' + '}', rpm_remote_href.to_s)
467
467
 
468
468
  # query parameters
469
469
  query_params = opts[:query_params] || {}
@@ -6,11 +6,11 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.0.0
10
10
 
11
11
  =end
12
12
 
13
- require 'cgi'
13
+ require 'uri'
14
14
 
15
15
  module PulpRpmClient
16
16
  class RpmApi
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.0.0
10
10
 
11
11
  =end
12
12
 
@@ -15,6 +15,7 @@ require 'json'
15
15
  require 'logger'
16
16
  require 'tempfile'
17
17
  require 'typhoeus'
18
+ require 'uri'
18
19
 
19
20
  module PulpRpmClient
20
21
  class ApiClient
@@ -261,7 +262,7 @@ module PulpRpmClient
261
262
  def build_request_url(path)
262
263
  # Add leading and trailing slashes to path
263
264
  path = "/#{path}".gsub(/\/+/, '/')
264
- @config.base_url + path
265
+ URI.encode(@config.base_url + path)
265
266
  end
266
267
 
267
268
  # Builds the HTTP request body
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.0.0
10
10
 
11
11
  =end
12
12
 
@@ -6,10 +6,12 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.0.0
10
10
 
11
11
  =end
12
12
 
13
+ require 'uri'
14
+
13
15
  module PulpRpmClient
14
16
  class Configuration
15
17
  # Defines url scheme
@@ -172,7 +174,8 @@ module PulpRpmClient
172
174
  end
173
175
 
174
176
  def base_url
175
- "#{scheme}://#{[host, base_path].join('/').gsub(/\/+/, '/')}".sub(/\/+\z/, '')
177
+ url = "#{scheme}://#{[host, base_path].join('/').gsub(/\/+/, '/')}".sub(/\/+\z/, '')
178
+ URI.encode(url)
176
179
  end
177
180
 
178
181
  # Gets API key (with prefix if set).
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.0.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.0.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.0.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.0.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.0.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.0.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.0.0
10
10
 
11
11
  =end
12
12
 
@@ -14,16 +14,16 @@ require 'date'
14
14
 
15
15
  module PulpRpmClient
16
16
  class Package
17
- attr_accessor :_type
17
+ # Artifact file representing the physical content
18
+ attr_accessor :_artifact
18
19
 
19
20
  attr_accessor :_href
20
21
 
22
+ attr_accessor :_type
23
+
21
24
  # Timestamp of creation.
22
25
  attr_accessor :_created
23
26
 
24
- # Artifact file representing the physical content
25
- attr_accessor :_artifact
26
-
27
27
  # Name of the package
28
28
  attr_accessor :name
29
29
 
@@ -135,10 +135,10 @@ module PulpRpmClient
135
135
  # Attribute mapping from ruby-style variable name to JSON key.
136
136
  def self.attribute_map
137
137
  {
138
- :'_type' => :'_type',
138
+ :'_artifact' => :'_artifact',
139
139
  :'_href' => :'_href',
140
+ :'_type' => :'_type',
140
141
  :'_created' => :'_created',
141
- :'_artifact' => :'_artifact',
142
142
  :'name' => :'name',
143
143
  :'epoch' => :'epoch',
144
144
  :'version' => :'version',
@@ -181,10 +181,10 @@ module PulpRpmClient
181
181
  # Attribute type mapping.
182
182
  def self.openapi_types
183
183
  {
184
- :'_type' => :'String',
184
+ :'_artifact' => :'String',
185
185
  :'_href' => :'String',
186
+ :'_type' => :'String',
186
187
  :'_created' => :'DateTime',
187
- :'_artifact' => :'String',
188
188
  :'name' => :'String',
189
189
  :'epoch' => :'String',
190
190
  :'version' => :'String',
@@ -239,20 +239,20 @@ module PulpRpmClient
239
239
  h[k.to_sym] = v
240
240
  }
241
241
 
242
- if attributes.key?(:'_type')
243
- self._type = attributes[:'_type']
242
+ if attributes.key?(:'_artifact')
243
+ self._artifact = attributes[:'_artifact']
244
244
  end
245
245
 
246
246
  if attributes.key?(:'_href')
247
247
  self._href = attributes[:'_href']
248
248
  end
249
249
 
250
- if attributes.key?(:'_created')
251
- self._created = attributes[:'_created']
250
+ if attributes.key?(:'_type')
251
+ self._type = attributes[:'_type']
252
252
  end
253
253
 
254
- if attributes.key?(:'_artifact')
255
- self._artifact = attributes[:'_artifact']
254
+ if attributes.key?(:'_created')
255
+ self._created = attributes[:'_created']
256
256
  end
257
257
 
258
258
  if attributes.key?(:'name')
@@ -424,14 +424,14 @@ module PulpRpmClient
424
424
  # @return Array for valid properties with the reasons
425
425
  def list_invalid_properties
426
426
  invalid_properties = Array.new
427
- if !@_type.nil? && @_type.to_s.length < 1
428
- invalid_properties.push('invalid value for "_type", the character length must be great than or equal to 1.')
429
- end
430
-
431
427
  if @_artifact.nil?
432
428
  invalid_properties.push('invalid value for "_artifact", _artifact cannot be nil.')
433
429
  end
434
430
 
431
+ if !@_type.nil? && @_type.to_s.length < 1
432
+ invalid_properties.push('invalid value for "_type", the character length must be great than or equal to 1.')
433
+ end
434
+
435
435
  if @name.nil?
436
436
  invalid_properties.push('invalid value for "name", name cannot be nil.')
437
437
  end
@@ -566,8 +566,8 @@ module PulpRpmClient
566
566
  # Check to see if the all the properties in the model are valid
567
567
  # @return true if the model is valid
568
568
  def valid?
569
- return false if !@_type.nil? && @_type.to_s.length < 1
570
569
  return false if @_artifact.nil?
570
+ return false if !@_type.nil? && @_type.to_s.length < 1
571
571
  return false if @name.nil?
572
572
  return false if @name.to_s.length < 1
573
573
  return false if @version.nil?
@@ -816,10 +816,10 @@ module PulpRpmClient
816
816
  def ==(o)
817
817
  return true if self.equal?(o)
818
818
  self.class == o.class &&
819
- _type == o._type &&
819
+ _artifact == o._artifact &&
820
820
  _href == o._href &&
821
+ _type == o._type &&
821
822
  _created == o._created &&
822
- _artifact == o._artifact &&
823
823
  name == o.name &&
824
824
  epoch == o.epoch &&
825
825
  version == o.version &&
@@ -867,7 +867,7 @@ module PulpRpmClient
867
867
  # Calculates hash code according to all attributes.
868
868
  # @return [Integer] Hash code
869
869
  def hash
870
- [_type, _href, _created, _artifact, name, epoch, version, release, arch, pkg_id, checksum_type, summary, description, url, changelogs, files, requires, provides, conflicts, obsoletes, suggests, enhances, recommends, supplements, location_base, location_href, rpm_buildhost, rpm_group, rpm_license, rpm_packager, rpm_sourcerpm, rpm_vendor, rpm_header_start, rpm_header_end, size_archive, size_installed, size_package, time_build, time_file, relative_path].hash
870
+ [_artifact, _href, _type, _created, name, epoch, version, release, arch, pkg_id, checksum_type, summary, description, url, changelogs, files, requires, provides, conflicts, obsoletes, suggests, enhances, recommends, supplements, location_base, location_href, rpm_buildhost, rpm_group, rpm_license, rpm_packager, rpm_sourcerpm, rpm_vendor, rpm_header_start, rpm_header_end, size_archive, size_installed, size_package, time_build, time_file, relative_path].hash
871
871
  end
872
872
 
873
873
  # Builds the object from hash
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.0.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.0.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.0.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.0.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.0.0
10
10
 
11
11
  =end
12
12
 
@@ -6,10 +6,10 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.0.0
10
10
 
11
11
  =end
12
12
 
13
13
  module PulpRpmClient
14
- VERSION = '3.0.0b3.dev.1559922387'
14
+ VERSION = '3.0.0b3.dev.1560008862'
15
15
  end
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.0.0
10
10
 
11
11
  =end
12
12
 
@@ -8,7 +8,7 @@
8
8
  The version of the OpenAPI document: v3
9
9
 
10
10
  Generated by: https://openapi-generator.tech
11
- OpenAPI Generator version: 4.0.2-SNAPSHOT
11
+ OpenAPI Generator version: 4.0.0
12
12
 
13
13
  =end
14
14
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.0.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.0.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.0.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.0.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.0.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.0.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.0.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.0.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.0.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.0.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.0.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.0.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.0.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.0.0
10
10
 
11
11
  =end
12
12
 
@@ -32,7 +32,7 @@ describe 'Package' do
32
32
  expect(@instance).to be_instance_of(PulpRpmClient::Package)
33
33
  end
34
34
  end
35
- describe 'test attribute "_type"' do
35
+ describe 'test attribute "_artifact"' do
36
36
  it 'should work' do
37
37
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
38
  end
@@ -44,13 +44,13 @@ describe 'Package' do
44
44
  end
45
45
  end
46
46
 
47
- describe 'test attribute "_created"' do
47
+ describe 'test attribute "_type"' do
48
48
  it 'should work' do
49
49
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
50
  end
51
51
  end
52
52
 
53
- describe 'test attribute "_artifact"' do
53
+ describe 'test attribute "_created"' do
54
54
  it 'should work' do
55
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
56
  end
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.0.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.0.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.0.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.0.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.0.0
10
10
 
11
11
  =end
12
12
 
data/spec/spec_helper.rb CHANGED
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.0.0
10
10
 
11
11
  =end
12
12
 
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.0.0b3.dev.1559922387
4
+ version: 3.0.0b3.dev.1560008862
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-06-07 00:00:00.000000000 Z
11
+ date: 2019-06-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus