pulp_ansible_client 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/AnsibleCollectionVersionResponse.md +3 -3
- data/docs/AnsibleRoleResponse.md +3 -3
- data/docs/GalaxyCollection.md +7 -3
- data/docs/GalaxyCollectionResponse.md +11 -3
- data/docs/GalaxyCollectionVersionResponse.md +3 -3
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +11 -11
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +11 -11
- data/lib/pulp_ansible_client/models/galaxy_collection.rb +38 -10
- data/lib/pulp_ansible_client/models/galaxy_collection_response.rb +54 -8
- data/lib/pulp_ansible_client/models/galaxy_collection_version_response.rb +3 -3
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/spec/models/ansible_collection_version_response_spec.rb +3 -3
- data/spec/models/ansible_role_response_spec.rb +3 -3
- data/spec/models/galaxy_collection_response_spec.rb +24 -0
- data/spec/models/galaxy_collection_spec.rb +13 -1
- 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: e133638ae7c81f68f83f3805e8766cd5d42fae267009d5cf47ce2fba4bd07685
|
4
|
+
data.tar.gz: 1b05b3e1d2efacfcb8559215af43b1edfe28492bba9d8973f53e392f249e6556
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7cc4b3da4f3aae3eedd5893837a9f34ce69e42f69f97cc934a8e0750a235018d9283873929f782bde0b15a5aaef71a7afbf4427329c9c09d71f6318ba769613d
|
7
|
+
data.tar.gz: f51ea255b0cff649e00270c614c9c7f3a2c92ce2ab4ec4463b10e60fbf40833cf0830ae60466794114d33177f4e93a18dd50545218eb1f115ee40f59a1820e1d
|
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.4.
|
10
|
+
- Package version: 0.4.2
|
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.4.
|
27
|
+
gem install ./pulp_ansible_client-0.4.2.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_ansible_client-0.4.
|
30
|
+
(for development, run `gem install --dev ./pulp_ansible_client-0.4.2.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.4.
|
36
|
+
gem 'pulp_ansible_client', '~> 0.4.2'
|
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
7
|
**pulp_href** | **String** | | [optional] [readonly]
|
9
8
|
**artifact** | **String** | Artifact file representing the physical content |
|
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]
|
@@ -36,9 +36,9 @@ Name | Type | Description | Notes
|
|
36
36
|
```ruby
|
37
37
|
require 'PulpAnsibleClient'
|
38
38
|
|
39
|
-
instance = PulpAnsibleClient::AnsibleCollectionVersionResponse.new(
|
40
|
-
pulp_href: null,
|
39
|
+
instance = PulpAnsibleClient::AnsibleCollectionVersionResponse.new(pulp_href: null,
|
41
40
|
artifact: null,
|
41
|
+
pulp_created: null,
|
42
42
|
md5: null,
|
43
43
|
sha1: null,
|
44
44
|
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
7
|
**pulp_href** | **String** | | [optional] [readonly]
|
9
8
|
**artifact** | **String** | Artifact file representing the physical content |
|
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(
|
20
|
-
pulp_href: null,
|
19
|
+
instance = PulpAnsibleClient::AnsibleRoleResponse.new(pulp_href: null,
|
21
20
|
artifact: null,
|
21
|
+
pulp_created: null,
|
22
22
|
version: null,
|
23
23
|
name: null,
|
24
24
|
namespace: null)
|
data/docs/GalaxyCollection.md
CHANGED
@@ -4,16 +4,20 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
+
**id** | **String** | |
|
7
8
|
**name** | **String** | |
|
8
|
-
**
|
9
|
+
**created** | **DateTime** | |
|
10
|
+
**modified** | **DateTime** | |
|
9
11
|
|
10
12
|
## Code Sample
|
11
13
|
|
12
14
|
```ruby
|
13
15
|
require 'PulpAnsibleClient'
|
14
16
|
|
15
|
-
instance = PulpAnsibleClient::GalaxyCollection.new(
|
16
|
-
|
17
|
+
instance = PulpAnsibleClient::GalaxyCollection.new(id: null,
|
18
|
+
name: null,
|
19
|
+
created: null,
|
20
|
+
modified: null)
|
17
21
|
```
|
18
22
|
|
19
23
|
|
@@ -4,20 +4,28 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
+
**id** | **String** | |
|
7
8
|
**name** | **String** | |
|
8
|
-
**namespace** | **
|
9
|
+
**namespace** | [**Object**](.md) | | [optional] [readonly]
|
9
10
|
**href** | **String** | | [optional] [readonly]
|
10
11
|
**versions_url** | **String** | | [optional] [readonly]
|
12
|
+
**created** | **DateTime** | |
|
13
|
+
**modified** | **DateTime** | |
|
14
|
+
**latest_version** | [**Object**](.md) | | [optional] [readonly]
|
11
15
|
|
12
16
|
## Code Sample
|
13
17
|
|
14
18
|
```ruby
|
15
19
|
require 'PulpAnsibleClient'
|
16
20
|
|
17
|
-
instance = PulpAnsibleClient::GalaxyCollectionResponse.new(
|
21
|
+
instance = PulpAnsibleClient::GalaxyCollectionResponse.new(id: null,
|
22
|
+
name: null,
|
18
23
|
namespace: null,
|
19
24
|
href: null,
|
20
|
-
versions_url: null
|
25
|
+
versions_url: null,
|
26
|
+
created: null,
|
27
|
+
modified: null,
|
28
|
+
latest_version: null)
|
21
29
|
```
|
22
30
|
|
23
31
|
|
@@ -6,9 +6,9 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**version** | **String** | |
|
8
8
|
**href** | **String** | | [optional] [readonly]
|
9
|
-
**namespace** | **
|
10
|
-
**collection** | **
|
11
|
-
**artifact** | **
|
9
|
+
**namespace** | [**Object**](.md) | | [optional] [readonly]
|
10
|
+
**collection** | [**Object**](.md) | | [optional] [readonly]
|
11
|
+
**artifact** | [**Object**](.md) | | [optional] [readonly]
|
12
12
|
**metadata** | [**CollectionMetadataResponse**](CollectionMetadataResponse.md) | |
|
13
13
|
|
14
14
|
## Code Sample
|
@@ -15,14 +15,14 @@ require 'date'
|
|
15
15
|
module PulpAnsibleClient
|
16
16
|
# A serializer for CollectionVersion Content.
|
17
17
|
class AnsibleCollectionVersionResponse
|
18
|
-
# Timestamp of creation.
|
19
|
-
attr_accessor :pulp_created
|
20
|
-
|
21
18
|
attr_accessor :pulp_href
|
22
19
|
|
23
20
|
# Artifact file representing the physical content
|
24
21
|
attr_accessor :artifact
|
25
22
|
|
23
|
+
# Timestamp of creation.
|
24
|
+
attr_accessor :pulp_created
|
25
|
+
|
26
26
|
# The MD5 checksum if available.
|
27
27
|
attr_accessor :md5
|
28
28
|
|
@@ -94,9 +94,9 @@ module PulpAnsibleClient
|
|
94
94
|
# Attribute mapping from ruby-style variable name to JSON key.
|
95
95
|
def self.attribute_map
|
96
96
|
{
|
97
|
-
:'pulp_created' => :'pulp_created',
|
98
97
|
:'pulp_href' => :'pulp_href',
|
99
98
|
:'artifact' => :'artifact',
|
99
|
+
:'pulp_created' => :'pulp_created',
|
100
100
|
:'md5' => :'md5',
|
101
101
|
:'sha1' => :'sha1',
|
102
102
|
:'sha224' => :'sha224',
|
@@ -126,9 +126,9 @@ module PulpAnsibleClient
|
|
126
126
|
# Attribute type mapping.
|
127
127
|
def self.openapi_types
|
128
128
|
{
|
129
|
-
:'pulp_created' => :'DateTime',
|
130
129
|
:'pulp_href' => :'String',
|
131
130
|
:'artifact' => :'String',
|
131
|
+
:'pulp_created' => :'DateTime',
|
132
132
|
:'md5' => :'String',
|
133
133
|
:'sha1' => :'String',
|
134
134
|
:'sha224' => :'String',
|
@@ -176,10 +176,6 @@ module PulpAnsibleClient
|
|
176
176
|
h[k.to_sym] = v
|
177
177
|
}
|
178
178
|
|
179
|
-
if attributes.key?(:'pulp_created')
|
180
|
-
self.pulp_created = attributes[:'pulp_created']
|
181
|
-
end
|
182
|
-
|
183
179
|
if attributes.key?(:'pulp_href')
|
184
180
|
self.pulp_href = attributes[:'pulp_href']
|
185
181
|
end
|
@@ -188,6 +184,10 @@ module PulpAnsibleClient
|
|
188
184
|
self.artifact = attributes[:'artifact']
|
189
185
|
end
|
190
186
|
|
187
|
+
if attributes.key?(:'pulp_created')
|
188
|
+
self.pulp_created = attributes[:'pulp_created']
|
189
|
+
end
|
190
|
+
|
191
191
|
if attributes.key?(:'md5')
|
192
192
|
self.md5 = attributes[:'md5']
|
193
193
|
end
|
@@ -520,9 +520,9 @@ module PulpAnsibleClient
|
|
520
520
|
def ==(o)
|
521
521
|
return true if self.equal?(o)
|
522
522
|
self.class == o.class &&
|
523
|
-
pulp_created == o.pulp_created &&
|
524
523
|
pulp_href == o.pulp_href &&
|
525
524
|
artifact == o.artifact &&
|
525
|
+
pulp_created == o.pulp_created &&
|
526
526
|
md5 == o.md5 &&
|
527
527
|
sha1 == o.sha1 &&
|
528
528
|
sha224 == o.sha224 &&
|
@@ -557,7 +557,7 @@ module PulpAnsibleClient
|
|
557
557
|
# Calculates hash code according to all attributes.
|
558
558
|
# @return [Integer] Hash code
|
559
559
|
def hash
|
560
|
-
[
|
560
|
+
[pulp_href, artifact, pulp_created, md5, sha1, sha224, sha256, sha384, sha512, id, authors, contents, dependencies, description, docs_blob, documentation, homepage, issues, certification, license, name, namespace, repository, tags, version, deprecated].hash
|
561
561
|
end
|
562
562
|
|
563
563
|
# Builds the object from hash
|
@@ -15,14 +15,14 @@ require 'date'
|
|
15
15
|
module PulpAnsibleClient
|
16
16
|
# A serializer for Role versions.
|
17
17
|
class AnsibleRoleResponse
|
18
|
-
# Timestamp of creation.
|
19
|
-
attr_accessor :pulp_created
|
20
|
-
|
21
18
|
attr_accessor :pulp_href
|
22
19
|
|
23
20
|
# Artifact file representing the physical content
|
24
21
|
attr_accessor :artifact
|
25
22
|
|
23
|
+
# Timestamp of creation.
|
24
|
+
attr_accessor :pulp_created
|
25
|
+
|
26
26
|
attr_accessor :version
|
27
27
|
|
28
28
|
attr_accessor :name
|
@@ -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
35
|
:'pulp_href' => :'pulp_href',
|
37
36
|
:'artifact' => :'artifact',
|
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
47
|
:'pulp_href' => :'String',
|
49
48
|
:'artifact' => :'String',
|
49
|
+
:'pulp_created' => :'DateTime',
|
50
50
|
:'version' => :'String',
|
51
51
|
:'name' => :'String',
|
52
52
|
:'namespace' => :'String'
|
@@ -74,10 +74,6 @@ module PulpAnsibleClient
|
|
74
74
|
h[k.to_sym] = v
|
75
75
|
}
|
76
76
|
|
77
|
-
if attributes.key?(:'pulp_created')
|
78
|
-
self.pulp_created = attributes[:'pulp_created']
|
79
|
-
end
|
80
|
-
|
81
77
|
if attributes.key?(:'pulp_href')
|
82
78
|
self.pulp_href = attributes[:'pulp_href']
|
83
79
|
end
|
@@ -86,6 +82,10 @@ module PulpAnsibleClient
|
|
86
82
|
self.artifact = attributes[:'artifact']
|
87
83
|
end
|
88
84
|
|
85
|
+
if attributes.key?(:'pulp_created')
|
86
|
+
self.pulp_created = attributes[:'pulp_created']
|
87
|
+
end
|
88
|
+
|
89
89
|
if attributes.key?(:'version')
|
90
90
|
self.version = attributes[:'version']
|
91
91
|
end
|
@@ -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
140
|
pulp_href == o.pulp_href &&
|
142
141
|
artifact == o.artifact &&
|
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
|
+
[pulp_href, artifact, pulp_created, version, name, namespace].hash
|
158
158
|
end
|
159
159
|
|
160
160
|
# Builds the object from hash
|
@@ -15,23 +15,31 @@ require 'date'
|
|
15
15
|
module PulpAnsibleClient
|
16
16
|
# A serializer for a Collection.
|
17
17
|
class GalaxyCollection
|
18
|
+
attr_accessor :id
|
19
|
+
|
18
20
|
attr_accessor :name
|
19
21
|
|
20
|
-
attr_accessor :
|
22
|
+
attr_accessor :created
|
23
|
+
|
24
|
+
attr_accessor :modified
|
21
25
|
|
22
26
|
# Attribute mapping from ruby-style variable name to JSON key.
|
23
27
|
def self.attribute_map
|
24
28
|
{
|
29
|
+
:'id' => :'id',
|
25
30
|
:'name' => :'name',
|
26
|
-
:'
|
31
|
+
:'created' => :'created',
|
32
|
+
:'modified' => :'modified'
|
27
33
|
}
|
28
34
|
end
|
29
35
|
|
30
36
|
# Attribute type mapping.
|
31
37
|
def self.openapi_types
|
32
38
|
{
|
39
|
+
:'id' => :'String',
|
33
40
|
:'name' => :'String',
|
34
|
-
:'
|
41
|
+
:'created' => :'DateTime',
|
42
|
+
:'modified' => :'DateTime'
|
35
43
|
}
|
36
44
|
end
|
37
45
|
|
@@ -56,12 +64,20 @@ module PulpAnsibleClient
|
|
56
64
|
h[k.to_sym] = v
|
57
65
|
}
|
58
66
|
|
67
|
+
if attributes.key?(:'id')
|
68
|
+
self.id = attributes[:'id']
|
69
|
+
end
|
70
|
+
|
59
71
|
if attributes.key?(:'name')
|
60
72
|
self.name = attributes[:'name']
|
61
73
|
end
|
62
74
|
|
63
|
-
if attributes.key?(:'
|
64
|
-
self.
|
75
|
+
if attributes.key?(:'created')
|
76
|
+
self.created = attributes[:'created']
|
77
|
+
end
|
78
|
+
|
79
|
+
if attributes.key?(:'modified')
|
80
|
+
self.modified = attributes[:'modified']
|
65
81
|
end
|
66
82
|
end
|
67
83
|
|
@@ -69,12 +85,20 @@ module PulpAnsibleClient
|
|
69
85
|
# @return Array for valid properties with the reasons
|
70
86
|
def list_invalid_properties
|
71
87
|
invalid_properties = Array.new
|
88
|
+
if @id.nil?
|
89
|
+
invalid_properties.push('invalid value for "id", id cannot be nil.')
|
90
|
+
end
|
91
|
+
|
72
92
|
if @name.nil?
|
73
93
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
74
94
|
end
|
75
95
|
|
76
|
-
if @
|
77
|
-
invalid_properties.push('invalid value for "
|
96
|
+
if @created.nil?
|
97
|
+
invalid_properties.push('invalid value for "created", created cannot be nil.')
|
98
|
+
end
|
99
|
+
|
100
|
+
if @modified.nil?
|
101
|
+
invalid_properties.push('invalid value for "modified", modified cannot be nil.')
|
78
102
|
end
|
79
103
|
|
80
104
|
invalid_properties
|
@@ -83,8 +107,10 @@ module PulpAnsibleClient
|
|
83
107
|
# Check to see if the all the properties in the model are valid
|
84
108
|
# @return true if the model is valid
|
85
109
|
def valid?
|
110
|
+
return false if @id.nil?
|
86
111
|
return false if @name.nil?
|
87
|
-
return false if @
|
112
|
+
return false if @created.nil?
|
113
|
+
return false if @modified.nil?
|
88
114
|
true
|
89
115
|
end
|
90
116
|
|
@@ -93,8 +119,10 @@ module PulpAnsibleClient
|
|
93
119
|
def ==(o)
|
94
120
|
return true if self.equal?(o)
|
95
121
|
self.class == o.class &&
|
122
|
+
id == o.id &&
|
96
123
|
name == o.name &&
|
97
|
-
|
124
|
+
created == o.created &&
|
125
|
+
modified == o.modified
|
98
126
|
end
|
99
127
|
|
100
128
|
# @see the `==` method
|
@@ -106,7 +134,7 @@ module PulpAnsibleClient
|
|
106
134
|
# Calculates hash code according to all attributes.
|
107
135
|
# @return [Integer] Hash code
|
108
136
|
def hash
|
109
|
-
[name,
|
137
|
+
[id, name, created, modified].hash
|
110
138
|
end
|
111
139
|
|
112
140
|
# Builds the object from hash
|
@@ -15,6 +15,8 @@ require 'date'
|
|
15
15
|
module PulpAnsibleClient
|
16
16
|
# A serializer for a Collection.
|
17
17
|
class GalaxyCollectionResponse
|
18
|
+
attr_accessor :id
|
19
|
+
|
18
20
|
attr_accessor :name
|
19
21
|
|
20
22
|
attr_accessor :namespace
|
@@ -23,23 +25,37 @@ module PulpAnsibleClient
|
|
23
25
|
|
24
26
|
attr_accessor :versions_url
|
25
27
|
|
28
|
+
attr_accessor :created
|
29
|
+
|
30
|
+
attr_accessor :modified
|
31
|
+
|
32
|
+
attr_accessor :latest_version
|
33
|
+
|
26
34
|
# Attribute mapping from ruby-style variable name to JSON key.
|
27
35
|
def self.attribute_map
|
28
36
|
{
|
37
|
+
:'id' => :'id',
|
29
38
|
:'name' => :'name',
|
30
39
|
:'namespace' => :'namespace',
|
31
40
|
:'href' => :'href',
|
32
|
-
:'versions_url' => :'versions_url'
|
41
|
+
:'versions_url' => :'versions_url',
|
42
|
+
:'created' => :'created',
|
43
|
+
:'modified' => :'modified',
|
44
|
+
:'latest_version' => :'latest_version'
|
33
45
|
}
|
34
46
|
end
|
35
47
|
|
36
48
|
# Attribute type mapping.
|
37
49
|
def self.openapi_types
|
38
50
|
{
|
51
|
+
:'id' => :'String',
|
39
52
|
:'name' => :'String',
|
40
|
-
:'namespace' => :'
|
53
|
+
:'namespace' => :'Object',
|
41
54
|
:'href' => :'String',
|
42
|
-
:'versions_url' => :'String'
|
55
|
+
:'versions_url' => :'String',
|
56
|
+
:'created' => :'DateTime',
|
57
|
+
:'modified' => :'DateTime',
|
58
|
+
:'latest_version' => :'Object'
|
43
59
|
}
|
44
60
|
end
|
45
61
|
|
@@ -64,6 +80,10 @@ module PulpAnsibleClient
|
|
64
80
|
h[k.to_sym] = v
|
65
81
|
}
|
66
82
|
|
83
|
+
if attributes.key?(:'id')
|
84
|
+
self.id = attributes[:'id']
|
85
|
+
end
|
86
|
+
|
67
87
|
if attributes.key?(:'name')
|
68
88
|
self.name = attributes[:'name']
|
69
89
|
end
|
@@ -79,18 +99,38 @@ module PulpAnsibleClient
|
|
79
99
|
if attributes.key?(:'versions_url')
|
80
100
|
self.versions_url = attributes[:'versions_url']
|
81
101
|
end
|
102
|
+
|
103
|
+
if attributes.key?(:'created')
|
104
|
+
self.created = attributes[:'created']
|
105
|
+
end
|
106
|
+
|
107
|
+
if attributes.key?(:'modified')
|
108
|
+
self.modified = attributes[:'modified']
|
109
|
+
end
|
110
|
+
|
111
|
+
if attributes.key?(:'latest_version')
|
112
|
+
self.latest_version = attributes[:'latest_version']
|
113
|
+
end
|
82
114
|
end
|
83
115
|
|
84
116
|
# Show invalid properties with the reasons. Usually used together with valid?
|
85
117
|
# @return Array for valid properties with the reasons
|
86
118
|
def list_invalid_properties
|
87
119
|
invalid_properties = Array.new
|
120
|
+
if @id.nil?
|
121
|
+
invalid_properties.push('invalid value for "id", id cannot be nil.')
|
122
|
+
end
|
123
|
+
|
88
124
|
if @name.nil?
|
89
125
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
90
126
|
end
|
91
127
|
|
92
|
-
if @
|
93
|
-
invalid_properties.push('invalid value for "
|
128
|
+
if @created.nil?
|
129
|
+
invalid_properties.push('invalid value for "created", created cannot be nil.')
|
130
|
+
end
|
131
|
+
|
132
|
+
if @modified.nil?
|
133
|
+
invalid_properties.push('invalid value for "modified", modified cannot be nil.')
|
94
134
|
end
|
95
135
|
|
96
136
|
invalid_properties
|
@@ -99,8 +139,10 @@ module PulpAnsibleClient
|
|
99
139
|
# Check to see if the all the properties in the model are valid
|
100
140
|
# @return true if the model is valid
|
101
141
|
def valid?
|
142
|
+
return false if @id.nil?
|
102
143
|
return false if @name.nil?
|
103
|
-
return false if @
|
144
|
+
return false if @created.nil?
|
145
|
+
return false if @modified.nil?
|
104
146
|
true
|
105
147
|
end
|
106
148
|
|
@@ -109,10 +151,14 @@ module PulpAnsibleClient
|
|
109
151
|
def ==(o)
|
110
152
|
return true if self.equal?(o)
|
111
153
|
self.class == o.class &&
|
154
|
+
id == o.id &&
|
112
155
|
name == o.name &&
|
113
156
|
namespace == o.namespace &&
|
114
157
|
href == o.href &&
|
115
|
-
versions_url == o.versions_url
|
158
|
+
versions_url == o.versions_url &&
|
159
|
+
created == o.created &&
|
160
|
+
modified == o.modified &&
|
161
|
+
latest_version == o.latest_version
|
116
162
|
end
|
117
163
|
|
118
164
|
# @see the `==` method
|
@@ -124,7 +170,7 @@ module PulpAnsibleClient
|
|
124
170
|
# Calculates hash code according to all attributes.
|
125
171
|
# @return [Integer] Hash code
|
126
172
|
def hash
|
127
|
-
[name, namespace, href, versions_url].hash
|
173
|
+
[id, name, namespace, href, versions_url, created, modified, latest_version].hash
|
128
174
|
end
|
129
175
|
|
130
176
|
# Builds the object from hash
|
@@ -44,9 +44,9 @@ module PulpAnsibleClient
|
|
44
44
|
{
|
45
45
|
:'version' => :'String',
|
46
46
|
:'href' => :'String',
|
47
|
-
:'namespace' => :'
|
48
|
-
:'collection' => :'
|
49
|
-
:'artifact' => :'
|
47
|
+
:'namespace' => :'Object',
|
48
|
+
:'collection' => :'Object',
|
49
|
+
:'artifact' => :'Object',
|
50
50
|
:'metadata' => :'CollectionMetadataResponse'
|
51
51
|
}
|
52
52
|
end
|
@@ -32,19 +32,19 @@ 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 "pulp_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
|
39
39
|
end
|
40
40
|
|
41
|
-
describe 'test attribute "
|
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 "
|
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,19 +32,19 @@ 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 "pulp_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
|
39
39
|
end
|
40
40
|
|
41
|
-
describe 'test attribute "
|
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 "
|
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,6 +32,12 @@ describe 'GalaxyCollectionResponse' do
|
|
32
32
|
expect(@instance).to be_instance_of(PulpAnsibleClient::GalaxyCollectionResponse)
|
33
33
|
end
|
34
34
|
end
|
35
|
+
describe 'test attribute "id"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
35
41
|
describe 'test attribute "name"' do
|
36
42
|
it 'should work' do
|
37
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -56,4 +62,22 @@ describe 'GalaxyCollectionResponse' do
|
|
56
62
|
end
|
57
63
|
end
|
58
64
|
|
65
|
+
describe 'test attribute "created"' do
|
66
|
+
it 'should work' do
|
67
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
describe 'test attribute "modified"' do
|
72
|
+
it 'should work' do
|
73
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
77
|
+
describe 'test attribute "latest_version"' do
|
78
|
+
it 'should work' do
|
79
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
59
83
|
end
|
@@ -32,13 +32,25 @@ describe 'GalaxyCollection' do
|
|
32
32
|
expect(@instance).to be_instance_of(PulpAnsibleClient::GalaxyCollection)
|
33
33
|
end
|
34
34
|
end
|
35
|
+
describe 'test attribute "id"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
35
41
|
describe 'test attribute "name"' do
|
36
42
|
it 'should work' do
|
37
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
44
|
end
|
39
45
|
end
|
40
46
|
|
41
|
-
describe 'test attribute "
|
47
|
+
describe 'test attribute "created"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
describe 'test attribute "modified"' do
|
42
54
|
it 'should work' do
|
43
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
56
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pulp_ansible_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-09
|
11
|
+
date: 2020-10-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|