pulp_ansible_client 0.5.3 → 0.5.4
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.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/AnsibleCollectionVersionResponse.md +4 -4
- data/docs/AnsibleRoleResponse.md +4 -4
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +15 -15
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +15 -15
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/spec/models/ansible_collection_version_response_spec.rb +2 -2
- data/spec/models/ansible_role_response_spec.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f6e38137f87c49c538bb05fbab198ae9f94d95cde8c527b297f0b6af5a8db28e
|
4
|
+
data.tar.gz: a0a76008f7facb95634b794e65bcb92cbe200867140be8916f5953a76a9244c0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f03725b3881b8289a4cef55286863f0e29000672527ad3b2c04b5e29172f305d15975d3f6223e845fc2eb7d22650fff3a7ce6a30a3a75fdc5f70ffdb8fe01283
|
7
|
+
data.tar.gz: 4338b55a545ad26ed3d3d4ad95efeeb0514256ccabdd8d669b05dd5e64c692c2907710c0d70787568d484272deaf0a3ab8405162a813d5e758714b242ac152f3
|
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: 0.5.
|
10
|
+
- Package version: 0.5.4
|
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_ansible_client.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./pulp_ansible_client-0.5.
|
27
|
+
gem install ./pulp_ansible_client-0.5.4.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_ansible_client-0.5.
|
30
|
+
(for development, run `gem install --dev ./pulp_ansible_client-0.5.4.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_ansible_client', '~> 0.5.
|
36
|
+
gem 'pulp_ansible_client', '~> 0.5.4'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -4,9 +4,9 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
8
|
-
**pulp_href** | **String** | | [optional] [readonly]
|
9
7
|
**artifact** | **String** | Artifact file representing the physical content |
|
8
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
9
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
10
10
|
**md5** | **String** | The MD5 checksum if available. | [optional] [readonly]
|
11
11
|
**sha1** | **String** | The SHA-1 checksum if available. | [optional] [readonly]
|
12
12
|
**sha224** | **String** | The SHA-224 checksum if available. | [optional] [readonly]
|
@@ -34,9 +34,9 @@ Name | Type | Description | Notes
|
|
34
34
|
```ruby
|
35
35
|
require 'PulpAnsibleClient'
|
36
36
|
|
37
|
-
instance = PulpAnsibleClient::AnsibleCollectionVersionResponse.new(
|
37
|
+
instance = PulpAnsibleClient::AnsibleCollectionVersionResponse.new(artifact: null,
|
38
38
|
pulp_href: null,
|
39
|
-
|
39
|
+
pulp_created: null,
|
40
40
|
md5: null,
|
41
41
|
sha1: null,
|
42
42
|
sha224: null,
|
data/docs/AnsibleRoleResponse.md
CHANGED
@@ -4,9 +4,9 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
8
|
-
**pulp_href** | **String** | | [optional] [readonly]
|
9
7
|
**artifact** | **String** | Artifact file representing the physical content |
|
8
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
9
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
10
10
|
**version** | **String** | |
|
11
11
|
**name** | **String** | |
|
12
12
|
**namespace** | **String** | |
|
@@ -16,9 +16,9 @@ Name | Type | Description | Notes
|
|
16
16
|
```ruby
|
17
17
|
require 'PulpAnsibleClient'
|
18
18
|
|
19
|
-
instance = PulpAnsibleClient::AnsibleRoleResponse.new(
|
19
|
+
instance = PulpAnsibleClient::AnsibleRoleResponse.new(artifact: null,
|
20
20
|
pulp_href: null,
|
21
|
-
|
21
|
+
pulp_created: null,
|
22
22
|
version: null,
|
23
23
|
name: null,
|
24
24
|
namespace: null)
|
@@ -15,13 +15,13 @@ require 'date'
|
|
15
15
|
module PulpAnsibleClient
|
16
16
|
# A serializer for CollectionVersion Content.
|
17
17
|
class AnsibleCollectionVersionResponse
|
18
|
-
#
|
19
|
-
attr_accessor :
|
18
|
+
# Artifact file representing the physical content
|
19
|
+
attr_accessor :artifact
|
20
20
|
|
21
21
|
attr_accessor :pulp_href
|
22
22
|
|
23
|
-
#
|
24
|
-
attr_accessor :
|
23
|
+
# Timestamp of creation.
|
24
|
+
attr_accessor :pulp_created
|
25
25
|
|
26
26
|
# The MD5 checksum if available.
|
27
27
|
attr_accessor :md5
|
@@ -88,9 +88,9 @@ module PulpAnsibleClient
|
|
88
88
|
# Attribute mapping from ruby-style variable name to JSON key.
|
89
89
|
def self.attribute_map
|
90
90
|
{
|
91
|
-
:'pulp_created' => :'pulp_created',
|
92
|
-
:'pulp_href' => :'pulp_href',
|
93
91
|
:'artifact' => :'artifact',
|
92
|
+
:'pulp_href' => :'pulp_href',
|
93
|
+
:'pulp_created' => :'pulp_created',
|
94
94
|
:'md5' => :'md5',
|
95
95
|
:'sha1' => :'sha1',
|
96
96
|
:'sha224' => :'sha224',
|
@@ -118,9 +118,9 @@ module PulpAnsibleClient
|
|
118
118
|
# Attribute type mapping.
|
119
119
|
def self.openapi_types
|
120
120
|
{
|
121
|
-
:'pulp_created' => :'DateTime',
|
122
|
-
:'pulp_href' => :'String',
|
123
121
|
:'artifact' => :'String',
|
122
|
+
:'pulp_href' => :'String',
|
123
|
+
:'pulp_created' => :'DateTime',
|
124
124
|
:'md5' => :'String',
|
125
125
|
:'sha1' => :'String',
|
126
126
|
:'sha224' => :'String',
|
@@ -166,16 +166,16 @@ module PulpAnsibleClient
|
|
166
166
|
h[k.to_sym] = v
|
167
167
|
}
|
168
168
|
|
169
|
-
if attributes.key?(:'
|
170
|
-
self.
|
169
|
+
if attributes.key?(:'artifact')
|
170
|
+
self.artifact = attributes[:'artifact']
|
171
171
|
end
|
172
172
|
|
173
173
|
if attributes.key?(:'pulp_href')
|
174
174
|
self.pulp_href = attributes[:'pulp_href']
|
175
175
|
end
|
176
176
|
|
177
|
-
if attributes.key?(:'
|
178
|
-
self.
|
177
|
+
if attributes.key?(:'pulp_created')
|
178
|
+
self.pulp_created = attributes[:'pulp_created']
|
179
179
|
end
|
180
180
|
|
181
181
|
if attributes.key?(:'md5')
|
@@ -497,9 +497,9 @@ module PulpAnsibleClient
|
|
497
497
|
def ==(o)
|
498
498
|
return true if self.equal?(o)
|
499
499
|
self.class == o.class &&
|
500
|
-
pulp_created == o.pulp_created &&
|
501
|
-
pulp_href == o.pulp_href &&
|
502
500
|
artifact == o.artifact &&
|
501
|
+
pulp_href == o.pulp_href &&
|
502
|
+
pulp_created == o.pulp_created &&
|
503
503
|
md5 == o.md5 &&
|
504
504
|
sha1 == o.sha1 &&
|
505
505
|
sha224 == o.sha224 &&
|
@@ -532,7 +532,7 @@ module PulpAnsibleClient
|
|
532
532
|
# Calculates hash code according to all attributes.
|
533
533
|
# @return [Integer] Hash code
|
534
534
|
def hash
|
535
|
-
[
|
535
|
+
[artifact, pulp_href, pulp_created, md5, sha1, sha224, sha256, sha384, sha512, id, authors, contents, dependencies, description, docs_blob, documentation, homepage, issues, license, name, namespace, repository, tags, version].hash
|
536
536
|
end
|
537
537
|
|
538
538
|
# Builds the object from hash
|
@@ -15,13 +15,13 @@ require 'date'
|
|
15
15
|
module PulpAnsibleClient
|
16
16
|
# A serializer for Role versions.
|
17
17
|
class AnsibleRoleResponse
|
18
|
-
#
|
19
|
-
attr_accessor :
|
18
|
+
# Artifact file representing the physical content
|
19
|
+
attr_accessor :artifact
|
20
20
|
|
21
21
|
attr_accessor :pulp_href
|
22
22
|
|
23
|
-
#
|
24
|
-
attr_accessor :
|
23
|
+
# Timestamp of creation.
|
24
|
+
attr_accessor :pulp_created
|
25
25
|
|
26
26
|
attr_accessor :version
|
27
27
|
|
@@ -32,9 +32,9 @@ module PulpAnsibleClient
|
|
32
32
|
# Attribute mapping from ruby-style variable name to JSON key.
|
33
33
|
def self.attribute_map
|
34
34
|
{
|
35
|
-
:'pulp_created' => :'pulp_created',
|
36
|
-
:'pulp_href' => :'pulp_href',
|
37
35
|
:'artifact' => :'artifact',
|
36
|
+
:'pulp_href' => :'pulp_href',
|
37
|
+
:'pulp_created' => :'pulp_created',
|
38
38
|
:'version' => :'version',
|
39
39
|
:'name' => :'name',
|
40
40
|
:'namespace' => :'namespace'
|
@@ -44,9 +44,9 @@ module PulpAnsibleClient
|
|
44
44
|
# Attribute type mapping.
|
45
45
|
def self.openapi_types
|
46
46
|
{
|
47
|
-
:'pulp_created' => :'DateTime',
|
48
|
-
:'pulp_href' => :'String',
|
49
47
|
:'artifact' => :'String',
|
48
|
+
:'pulp_href' => :'String',
|
49
|
+
:'pulp_created' => :'DateTime',
|
50
50
|
:'version' => :'String',
|
51
51
|
:'name' => :'String',
|
52
52
|
:'namespace' => :'String'
|
@@ -74,16 +74,16 @@ module PulpAnsibleClient
|
|
74
74
|
h[k.to_sym] = v
|
75
75
|
}
|
76
76
|
|
77
|
-
if attributes.key?(:'
|
78
|
-
self.
|
77
|
+
if attributes.key?(:'artifact')
|
78
|
+
self.artifact = attributes[:'artifact']
|
79
79
|
end
|
80
80
|
|
81
81
|
if attributes.key?(:'pulp_href')
|
82
82
|
self.pulp_href = attributes[:'pulp_href']
|
83
83
|
end
|
84
84
|
|
85
|
-
if attributes.key?(:'
|
86
|
-
self.
|
85
|
+
if attributes.key?(:'pulp_created')
|
86
|
+
self.pulp_created = attributes[:'pulp_created']
|
87
87
|
end
|
88
88
|
|
89
89
|
if attributes.key?(:'version')
|
@@ -137,9 +137,9 @@ module PulpAnsibleClient
|
|
137
137
|
def ==(o)
|
138
138
|
return true if self.equal?(o)
|
139
139
|
self.class == o.class &&
|
140
|
-
pulp_created == o.pulp_created &&
|
141
|
-
pulp_href == o.pulp_href &&
|
142
140
|
artifact == o.artifact &&
|
141
|
+
pulp_href == o.pulp_href &&
|
142
|
+
pulp_created == o.pulp_created &&
|
143
143
|
version == o.version &&
|
144
144
|
name == o.name &&
|
145
145
|
namespace == o.namespace
|
@@ -154,7 +154,7 @@ module PulpAnsibleClient
|
|
154
154
|
# Calculates hash code according to all attributes.
|
155
155
|
# @return [Integer] Hash code
|
156
156
|
def hash
|
157
|
-
[
|
157
|
+
[artifact, pulp_href, pulp_created, version, name, namespace].hash
|
158
158
|
end
|
159
159
|
|
160
160
|
# Builds the object from hash
|
@@ -32,7 +32,7 @@ describe 'AnsibleCollectionVersionResponse' do
|
|
32
32
|
expect(@instance).to be_instance_of(PulpAnsibleClient::AnsibleCollectionVersionResponse)
|
33
33
|
end
|
34
34
|
end
|
35
|
-
describe 'test attribute "
|
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,7 +44,7 @@ describe 'AnsibleCollectionVersionResponse' do
|
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
-
describe 'test attribute "
|
47
|
+
describe 'test attribute "pulp_created"' 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
|
@@ -32,7 +32,7 @@ describe 'AnsibleRoleResponse' do
|
|
32
32
|
expect(@instance).to be_instance_of(PulpAnsibleClient::AnsibleRoleResponse)
|
33
33
|
end
|
34
34
|
end
|
35
|
-
describe 'test attribute "
|
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,7 +44,7 @@ describe 'AnsibleRoleResponse' do
|
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
-
describe 'test attribute "
|
47
|
+
describe 'test attribute "pulp_created"' 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
|