pulp_file_client 0.1.0b2.dev01566153055 → 0.1.0b2.dev01566239652

Sign up to get free protection for your applications and to get access to all the features.

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: f27f6d6258ca9812e72329a4b6cb40723c6029a9cb54ee1c0f74ff22c19255c4
4
- data.tar.gz: 3e4255b7062ac3d7765ba9c1a864624e131693f1697cbbbc73652c84ea8a4a68
3
+ metadata.gz: abfa4bddd70e844589928b4b0a589af78c66a4660dddd73c479e2ea271d7d1ec
4
+ data.tar.gz: 31942684aa9c8947387900b04cf525d260216332dafb0a723488fb8c494791fd
5
5
  SHA512:
6
- metadata.gz: 70f6ce515dfb81e4740fb482afaf1ccf447a758b166b9b4f01d22e9927b38b3d024b789b36020c20d30e315e250092049806200d92d4ae56123a0d4f8e8521e0
7
- data.tar.gz: e0f0535dcf5f5e818d91983e2b8b86de7c193745bcc7865efdca89f0db256b47d770294566ead6d17d3bbadd41a0797f0ad71f60be7c42e616ada8f9891c4762
6
+ metadata.gz: 9dd9415efbe1c389587b15caccfb04e076f599a72c2cac4ad9a93b2f418f583888f0e0ed998007f002ec0fb39246fd8ee0d96f4f3e6fba9c4d77788f6a43248f
7
+ data.tar.gz: 7518a3281d1bf9db9cd504765c2ac47c42668f45791c0a969023e97d3346399392bc37b8b75eb5a32cb4a61782e0a53aa4f2c0ac13fd575a3750ad6e52942d92
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.dev01566153055
10
+ - Package version: 0.1.0b2.dev01566239652
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.dev01566153055.gem
26
+ gem install ./pulp_file_client-0.1.0b2.dev01566239652.gem
27
27
  ```
28
28
 
29
- (for development, run `gem install --dev ./pulp_file_client-0.1.0b2.dev01566153055.gem` to install the development dependencies)
29
+ (for development, run `gem install --dev ./pulp_file_client-0.1.0b2.dev01566239652.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.dev01566153055'
35
+ gem 'pulp_file_client', '~> 0.1.0b2.dev01566239652'
36
36
 
37
37
  ### Install from Git
38
38
 
@@ -4,10 +4,10 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **_artifact** | **String** | Artifact file representing the physical content |
7
+ **_href** | **String** | | [optional]
8
8
  **_type** | **String** | | [optional]
9
9
  **_created** | **DateTime** | Timestamp of creation. | [optional]
10
- **_href** | **String** | | [optional]
10
+ **_artifact** | **String** | Artifact file representing the physical content |
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(_artifact: null,
24
+ instance = PulpFileClient::FileContent.new(_href: null,
25
25
  _type: null,
26
26
  _created: null,
27
- _href: null,
27
+ _artifact: null,
28
28
  md5: null,
29
29
  sha1: null,
30
30
  sha224: null,
@@ -14,15 +14,15 @@ require 'date'
14
14
 
15
15
  module PulpFileClient
16
16
  class FileContent
17
- # Artifact file representing the physical content
18
- attr_accessor :_artifact
17
+ attr_accessor :_href
19
18
 
20
19
  attr_accessor :_type
21
20
 
22
21
  # Timestamp of creation.
23
22
  attr_accessor :_created
24
23
 
25
- attr_accessor :_href
24
+ # Artifact file representing the physical content
25
+ attr_accessor :_artifact
26
26
 
27
27
  # The MD5 checksum if available.
28
28
  attr_accessor :md5
@@ -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
- :'_artifact' => :'_artifact',
51
+ :'_href' => :'_href',
52
52
  :'_type' => :'_type',
53
53
  :'_created' => :'_created',
54
- :'_href' => :'_href',
54
+ :'_artifact' => :'_artifact',
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
- :'_artifact' => :'String',
68
+ :'_href' => :'String',
69
69
  :'_type' => :'String',
70
70
  :'_created' => :'DateTime',
71
- :'_href' => :'String',
71
+ :'_artifact' => :'String',
72
72
  :'md5' => :'String',
73
73
  :'sha1' => :'String',
74
74
  :'sha224' => :'String',
@@ -94,8 +94,8 @@ module PulpFileClient
94
94
  h[k.to_sym] = v
95
95
  }
96
96
 
97
- if attributes.key?(:'_artifact')
98
- self._artifact = attributes[:'_artifact']
97
+ if attributes.key?(:'_href')
98
+ self._href = attributes[:'_href']
99
99
  end
100
100
 
101
101
  if attributes.key?(:'_type')
@@ -106,8 +106,8 @@ module PulpFileClient
106
106
  self._created = attributes[:'_created']
107
107
  end
108
108
 
109
- if attributes.key?(:'_href')
110
- self._href = attributes[:'_href']
109
+ if attributes.key?(:'_artifact')
110
+ self._artifact = attributes[:'_artifact']
111
111
  end
112
112
 
113
113
  if attributes.key?(:'md5')
@@ -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 @_artifact.nil?
147
- invalid_properties.push('invalid value for "_artifact", _artifact cannot be nil.')
148
- end
149
-
150
146
  if !@_type.nil? && @_type.to_s.length < 1
151
147
  invalid_properties.push('invalid value for "_type", the character length must be great than or equal to 1.')
152
148
  end
153
149
 
150
+ if @_artifact.nil?
151
+ invalid_properties.push('invalid value for "_artifact", _artifact cannot be nil.')
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 @_artifact.nil?
193
192
  return false if !@_type.nil? && @_type.to_s.length < 1
193
+ return false if @_artifact.nil?
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
- _artifact == o._artifact &&
294
+ _href == o._href &&
295
295
  _type == o._type &&
296
296
  _created == o._created &&
297
- _href == o._href &&
297
+ _artifact == o._artifact &&
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
- [_artifact, _type, _created, _href, md5, sha1, sha224, sha256, sha384, sha512, relative_path].hash
316
+ [_href, _type, _created, _artifact, 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.1.1-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module PulpFileClient
14
- VERSION = '0.1.0b2.dev01566153055'
14
+ VERSION = '0.1.0b2.dev01566239652'
15
15
  end
@@ -32,7 +32,7 @@ describe 'FileContent' do
32
32
  expect(@instance).to be_instance_of(PulpFileClient::FileContent)
33
33
  end
34
34
  end
35
- describe 'test attribute "_artifact"' do
35
+ describe 'test attribute "_href"' 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
@@ -50,7 +50,7 @@ describe 'FileContent' do
50
50
  end
51
51
  end
52
52
 
53
- describe 'test attribute "_href"' do
53
+ describe 'test attribute "_artifact"' 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.dev01566153055
4
+ version: 0.1.0b2.dev01566239652
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-08-18 00:00:00.000000000 Z
11
+ date: 2019-08-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday