pulp_file_client 0.1.0b2.dev01562955399 → 0.1.0b2.dev01563041664

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of pulp_file_client might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 751e6dd4ecf4d891626b41d1c002723951542ecce1e6c9b1ac03765fb3ce02b3
4
- data.tar.gz: d2d586f55ac164f72ec684216fa1337ee8d78a92f8f7eb33708e97d8377067d4
3
+ metadata.gz: 64e7c2a0c2bdfc17cbc17d23c7af0e06a1f71fde863326f1405b682fd9d53d1d
4
+ data.tar.gz: c32d3155bd1098eec26dcf4f6c2be6747da53ea17daa5553ae4c25222c217ac8
5
5
  SHA512:
6
- metadata.gz: d68973f37231afcb8bc79a053bd408eac239597872df85b05cdac61c0b14e3f5c8ea7fc78e915a9a29dcd9e44b7438003d45e4dd31926c3f46ecefd0293804a3
7
- data.tar.gz: c43c9c57f23205d45f9b42a0d5f546561d48e0d1c4953b2705ae45f2fadafb5f2646dc58407a6b88812ddfa5f3a5d129e35cee6a892b16f2afd05a7a42af5ac2
6
+ metadata.gz: 67e62b03b7722a044aea2f80a60e59b2e53d76569777dfb5744deec0e2038b61c4662cb81f70f8258975927e30f520a7ffbc1009dbd85c191a033bd1a77c28b0
7
+ data.tar.gz: 51a4252aa19d3024b3cc9b493c97de24fdb45fc45661b7f6b8b2215748eb6d0e98d695b0c08fd6c1c0fd93b462b04f8c7b63228ba2a422df88b3a8aaf509db1a
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- pulp_file_client (0.1.0b2.dev01562955399)
4
+ pulp_file_client (0.1.0b2.dev01563041664)
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: 0.1.0b2.dev01562955399
10
+ - Package version: 0.1.0b2.dev01563041664
11
11
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
12
 
13
13
  ## Installation
@@ -23,16 +23,16 @@ gem build pulp_file_client.gemspec
23
23
  Then either install the gem locally:
24
24
 
25
25
  ```shell
26
- gem install ./pulp_file_client-0.1.0b2.dev01562955399.gem
26
+ gem install ./pulp_file_client-0.1.0b2.dev01563041664.gem
27
27
  ```
28
28
 
29
- (for development, run `gem install --dev ./pulp_file_client-0.1.0b2.dev01562955399.gem` to install the development dependencies)
29
+ (for development, run `gem install --dev ./pulp_file_client-0.1.0b2.dev01563041664.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_file_client', '~> 0.1.0b2.dev01562955399'
35
+ gem 'pulp_file_client', '~> 0.1.0b2.dev01563041664'
36
36
 
37
37
  ### Install from Git
38
38
 
@@ -4,10 +4,10 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **_type** | **String** | | [optional]
8
- **_href** | **String** | | [optional]
9
7
  **_created** | **DateTime** | Timestamp of creation. | [optional]
10
8
  **_artifact** | **String** | Artifact file representing the physical content |
9
+ **_href** | **String** | | [optional]
10
+ **_type** | **String** | | [optional]
11
11
  **md5** | **String** | The MD5 checksum if available. | [optional]
12
12
  **sha1** | **String** | The SHA-1 checksum if available. | [optional]
13
13
  **sha224** | **String** | The SHA-224 checksum if available. | [optional]
@@ -21,10 +21,10 @@ Name | Type | Description | Notes
21
21
  ```ruby
22
22
  require 'PulpFileClient'
23
23
 
24
- instance = PulpFileClient::FileContent.new(_type: null,
25
- _href: null,
26
- _created: null,
24
+ instance = PulpFileClient::FileContent.new(_created: null,
27
25
  _artifact: null,
26
+ _href: null,
27
+ _type: null,
28
28
  md5: null,
29
29
  sha1: null,
30
30
  sha224: null,
@@ -14,16 +14,16 @@ require 'date'
14
14
 
15
15
  module PulpFileClient
16
16
  class FileContent
17
- attr_accessor :_type
18
-
19
- attr_accessor :_href
20
-
21
17
  # Timestamp of creation.
22
18
  attr_accessor :_created
23
19
 
24
20
  # Artifact file representing the physical content
25
21
  attr_accessor :_artifact
26
22
 
23
+ attr_accessor :_href
24
+
25
+ attr_accessor :_type
26
+
27
27
  # The MD5 checksum if available.
28
28
  attr_accessor :md5
29
29
 
@@ -48,10 +48,10 @@ module PulpFileClient
48
48
  # Attribute mapping from ruby-style variable name to JSON key.
49
49
  def self.attribute_map
50
50
  {
51
- :'_type' => :'_type',
52
- :'_href' => :'_href',
53
51
  :'_created' => :'_created',
54
52
  :'_artifact' => :'_artifact',
53
+ :'_href' => :'_href',
54
+ :'_type' => :'_type',
55
55
  :'md5' => :'md5',
56
56
  :'sha1' => :'sha1',
57
57
  :'sha224' => :'sha224',
@@ -65,10 +65,10 @@ module PulpFileClient
65
65
  # Attribute type mapping.
66
66
  def self.openapi_types
67
67
  {
68
- :'_type' => :'String',
69
- :'_href' => :'String',
70
68
  :'_created' => :'DateTime',
71
69
  :'_artifact' => :'String',
70
+ :'_href' => :'String',
71
+ :'_type' => :'String',
72
72
  :'md5' => :'String',
73
73
  :'sha1' => :'String',
74
74
  :'sha224' => :'String',
@@ -94,14 +94,6 @@ module PulpFileClient
94
94
  h[k.to_sym] = v
95
95
  }
96
96
 
97
- if attributes.key?(:'_type')
98
- self._type = attributes[:'_type']
99
- end
100
-
101
- if attributes.key?(:'_href')
102
- self._href = attributes[:'_href']
103
- end
104
-
105
97
  if attributes.key?(:'_created')
106
98
  self._created = attributes[:'_created']
107
99
  end
@@ -110,6 +102,14 @@ module PulpFileClient
110
102
  self._artifact = attributes[:'_artifact']
111
103
  end
112
104
 
105
+ if attributes.key?(:'_href')
106
+ self._href = attributes[:'_href']
107
+ end
108
+
109
+ if attributes.key?(:'_type')
110
+ self._type = attributes[:'_type']
111
+ end
112
+
113
113
  if attributes.key?(:'md5')
114
114
  self.md5 = attributes[:'md5']
115
115
  end
@@ -143,14 +143,14 @@ module PulpFileClient
143
143
  # @return Array for valid properties with the reasons
144
144
  def list_invalid_properties
145
145
  invalid_properties = Array.new
146
- if !@_type.nil? && @_type.to_s.length < 1
147
- invalid_properties.push('invalid value for "_type", the character length must be great than or equal to 1.')
148
- end
149
-
150
146
  if @_artifact.nil?
151
147
  invalid_properties.push('invalid value for "_artifact", _artifact cannot be nil.')
152
148
  end
153
149
 
150
+ if !@_type.nil? && @_type.to_s.length < 1
151
+ invalid_properties.push('invalid value for "_type", the character length must be great than or equal to 1.')
152
+ end
153
+
154
154
  if !@md5.nil? && @md5.to_s.length < 1
155
155
  invalid_properties.push('invalid value for "md5", the character length must be great than or equal to 1.')
156
156
  end
@@ -189,8 +189,8 @@ module PulpFileClient
189
189
  # Check to see if the all the properties in the model are valid
190
190
  # @return true if the model is valid
191
191
  def valid?
192
- return false if !@_type.nil? && @_type.to_s.length < 1
193
192
  return false if @_artifact.nil?
193
+ return false if !@_type.nil? && @_type.to_s.length < 1
194
194
  return false if !@md5.nil? && @md5.to_s.length < 1
195
195
  return false if !@sha1.nil? && @sha1.to_s.length < 1
196
196
  return false if !@sha224.nil? && @sha224.to_s.length < 1
@@ -291,10 +291,10 @@ module PulpFileClient
291
291
  def ==(o)
292
292
  return true if self.equal?(o)
293
293
  self.class == o.class &&
294
- _type == o._type &&
295
- _href == o._href &&
296
294
  _created == o._created &&
297
295
  _artifact == o._artifact &&
296
+ _href == o._href &&
297
+ _type == o._type &&
298
298
  md5 == o.md5 &&
299
299
  sha1 == o.sha1 &&
300
300
  sha224 == o.sha224 &&
@@ -313,7 +313,7 @@ module PulpFileClient
313
313
  # Calculates hash code according to all attributes.
314
314
  # @return [Integer] Hash code
315
315
  def hash
316
- [_type, _href, _created, _artifact, md5, sha1, sha224, sha256, sha384, sha512, relative_path].hash
316
+ [_created, _artifact, _href, _type, md5, sha1, sha224, sha256, sha384, sha512, relative_path].hash
317
317
  end
318
318
 
319
319
  # Builds the object from hash
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.0.0
11
11
  =end
12
12
 
13
13
  module PulpFileClient
14
- VERSION = '0.1.0b2.dev01562955399'
14
+ VERSION = '0.1.0b2.dev01563041664'
15
15
  end
@@ -32,25 +32,25 @@ describe 'FileContent' do
32
32
  expect(@instance).to be_instance_of(PulpFileClient::FileContent)
33
33
  end
34
34
  end
35
- describe 'test attribute "_type"' do
35
+ describe 'test attribute "_created"' 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
39
39
  end
40
40
 
41
- describe 'test attribute "_href"' do
41
+ describe 'test attribute "_artifact"' 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
45
45
  end
46
46
 
47
- describe 'test attribute "_created"' do
47
+ describe 'test attribute "_href"' 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 "_type"' 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
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pulp_file_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0b2.dev01562955399
4
+ version: 0.1.0b2.dev01563041664
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-07-12 00:00:00.000000000 Z
11
+ date: 2019-07-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus