pulp_file_client 0.1.0b2.dev01565634484 → 0.1.0b2.dev01565720891
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 +4 -4
- data/README.md +4 -4
- data/docs/FileContent.md +2 -2
- data/lib/pulp_file_client/models/file_content.rb +10 -10
- data/lib/pulp_file_client/version.rb +1 -1
- data/spec/models/file_content_spec.rb +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 05724f4400ae81d086a059c77cbc1c9609d5f0fc20b12c2dbff15426d6b7015f
|
4
|
+
data.tar.gz: 2aea53eb154f7aca97f747df2f25dca7811b449bdaef240bfb6080e31c9b9c8e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e1f0f0014f7915f70633d2919531a2ceacc604dd07515fc947bfa26d3bc339c7fe22d715c3abf8148a5a7bef68183d34aea18023a7d1a1c851ae3c6a83d2d867
|
7
|
+
data.tar.gz: dd9a6afb387551f3f83135cd23d25a4ff6333495322c000c2caa71b2675a648868c24e43c4547b27a82786f11bfb02600f40c864a5d347c0e4d9d2933e3fdb64
|
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.
|
10
|
+
- Package version: 0.1.0b2.dev01565720891
|
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.
|
26
|
+
gem install ./pulp_file_client-0.1.0b2.dev01565720891.gem
|
27
27
|
```
|
28
28
|
|
29
|
-
(for development, run `gem install --dev ./pulp_file_client-0.1.0b2.
|
29
|
+
(for development, run `gem install --dev ./pulp_file_client-0.1.0b2.dev01565720891.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.
|
35
|
+
gem 'pulp_file_client', '~> 0.1.0b2.dev01565720891'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
data/docs/FileContent.md
CHANGED
@@ -5,9 +5,9 @@
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**_artifact** | **String** | Artifact file representing the physical content |
|
8
|
-
**_href** | **String** | | [optional]
|
9
8
|
**_created** | **DateTime** | Timestamp of creation. | [optional]
|
10
9
|
**_type** | **String** | | [optional]
|
10
|
+
**_href** | **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]
|
@@ -22,9 +22,9 @@ Name | Type | Description | Notes
|
|
22
22
|
require 'PulpFileClient'
|
23
23
|
|
24
24
|
instance = PulpFileClient::FileContent.new(_artifact: null,
|
25
|
-
_href: null,
|
26
25
|
_created: null,
|
27
26
|
_type: null,
|
27
|
+
_href: null,
|
28
28
|
md5: null,
|
29
29
|
sha1: null,
|
30
30
|
sha224: null,
|
@@ -17,13 +17,13 @@ module PulpFileClient
|
|
17
17
|
# Artifact file representing the physical content
|
18
18
|
attr_accessor :_artifact
|
19
19
|
|
20
|
-
attr_accessor :_href
|
21
|
-
|
22
20
|
# Timestamp of creation.
|
23
21
|
attr_accessor :_created
|
24
22
|
|
25
23
|
attr_accessor :_type
|
26
24
|
|
25
|
+
attr_accessor :_href
|
26
|
+
|
27
27
|
# The MD5 checksum if available.
|
28
28
|
attr_accessor :md5
|
29
29
|
|
@@ -49,9 +49,9 @@ module PulpFileClient
|
|
49
49
|
def self.attribute_map
|
50
50
|
{
|
51
51
|
:'_artifact' => :'_artifact',
|
52
|
-
:'_href' => :'_href',
|
53
52
|
:'_created' => :'_created',
|
54
53
|
:'_type' => :'_type',
|
54
|
+
:'_href' => :'_href',
|
55
55
|
:'md5' => :'md5',
|
56
56
|
:'sha1' => :'sha1',
|
57
57
|
:'sha224' => :'sha224',
|
@@ -66,9 +66,9 @@ module PulpFileClient
|
|
66
66
|
def self.openapi_types
|
67
67
|
{
|
68
68
|
:'_artifact' => :'String',
|
69
|
-
:'_href' => :'String',
|
70
69
|
:'_created' => :'DateTime',
|
71
70
|
:'_type' => :'String',
|
71
|
+
:'_href' => :'String',
|
72
72
|
:'md5' => :'String',
|
73
73
|
:'sha1' => :'String',
|
74
74
|
:'sha224' => :'String',
|
@@ -98,10 +98,6 @@ module PulpFileClient
|
|
98
98
|
self._artifact = attributes[:'_artifact']
|
99
99
|
end
|
100
100
|
|
101
|
-
if attributes.key?(:'_href')
|
102
|
-
self._href = attributes[:'_href']
|
103
|
-
end
|
104
|
-
|
105
101
|
if attributes.key?(:'_created')
|
106
102
|
self._created = attributes[:'_created']
|
107
103
|
end
|
@@ -110,6 +106,10 @@ module PulpFileClient
|
|
110
106
|
self._type = attributes[:'_type']
|
111
107
|
end
|
112
108
|
|
109
|
+
if attributes.key?(:'_href')
|
110
|
+
self._href = attributes[:'_href']
|
111
|
+
end
|
112
|
+
|
113
113
|
if attributes.key?(:'md5')
|
114
114
|
self.md5 = attributes[:'md5']
|
115
115
|
end
|
@@ -292,9 +292,9 @@ module PulpFileClient
|
|
292
292
|
return true if self.equal?(o)
|
293
293
|
self.class == o.class &&
|
294
294
|
_artifact == o._artifact &&
|
295
|
-
_href == o._href &&
|
296
295
|
_created == o._created &&
|
297
296
|
_type == o._type &&
|
297
|
+
_href == o._href &&
|
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,
|
316
|
+
[_artifact, _created, _type, _href, md5, sha1, sha224, sha256, sha384, sha512, relative_path].hash
|
317
317
|
end
|
318
318
|
|
319
319
|
# Builds the object from hash
|
@@ -38,19 +38,19 @@ describe 'FileContent' do
|
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
-
describe 'test attribute "
|
41
|
+
describe 'test attribute "_created"' 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 "
|
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 "
|
53
|
+
describe 'test attribute "_href"' 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.
|
4
|
+
version: 0.1.0b2.dev01565720891
|
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-
|
11
|
+
date: 2019-08-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|