pulp_ansible_client 0.2.0b1 → 0.2.0b2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +17 -12
- data/docs/AnsibleDistribution.md +3 -3
- data/docs/CollectionRemote.md +1 -3
- data/docs/CollectionVersion.md +63 -0
- data/docs/ContentCollectionsApi.md +16 -14
- data/docs/{GalaxyCollection.md → GalaxyCollectionVersion.md} +2 -2
- data/docs/InlineResponse200.md +4 -4
- data/docs/InlineResponse2001.md +3 -3
- data/docs/InlineResponse2002.md +3 -3
- data/docs/InlineResponse2003.md +4 -4
- data/docs/InlineResponse2004.md +4 -4
- data/docs/InlineResponse2005.md +4 -4
- data/docs/InlineResponse2006.md +4 -4
- data/docs/InlineResponse2007.md +4 -4
- data/docs/InlineResponse2008.md +23 -0
- data/docs/PulpAnsibleGalaxyApiCollectionsApi.md +64 -6
- data/docs/PulpAnsibleGalaxyApiRolesApi.md +2 -2
- data/docs/PulpAnsibleGalaxyApiV1VersionsApi.md +2 -2
- data/docs/PulpAnsibleGalaxyApiV2VersionsApi.md +6 -6
- data/docs/PulpAnsibleTagsApi.md +66 -0
- data/docs/RemotesAnsibleApi.md +2 -2
- data/docs/RemotesCollectionApi.md +2 -2
- data/docs/Role.md +4 -4
- data/docs/Tag.md +17 -0
- data/docs/TagNested.md +17 -0
- data/lib/pulp_ansible_client/api/ansible_collections_api.rb +2 -2
- data/lib/pulp_ansible_client/api/content_collections_api.rb +19 -16
- data/lib/pulp_ansible_client/api/content_roles_api.rb +3 -3
- data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_api.rb +3 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_collections_api.rb +79 -15
- data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_roles_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v1_versions_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v2_versions_api.rb +14 -14
- data/lib/pulp_ansible_client/api/pulp_ansible_tags_api.rb +84 -0
- data/lib/pulp_ansible_client/api/remotes_ansible_api.rb +10 -10
- data/lib/pulp_ansible_client/api/remotes_collection_api.rb +10 -10
- data/lib/pulp_ansible_client/api_client.rb +77 -62
- data/lib/pulp_ansible_client/api_error.rb +1 -1
- data/lib/pulp_ansible_client/configuration.rb +13 -21
- data/lib/pulp_ansible_client/models/ansible_distribution.rb +15 -30
- data/lib/pulp_ansible_client/models/ansible_remote.rb +1 -1
- data/lib/pulp_ansible_client/models/async_operation_response.rb +1 -1
- data/lib/pulp_ansible_client/models/collection_remote.rb +5 -38
- data/lib/pulp_ansible_client/models/{collection.rb → collection_version.rb} +314 -43
- data/lib/pulp_ansible_client/models/{galaxy_collection.rb → galaxy_collection_version.rb} +4 -4
- data/lib/pulp_ansible_client/models/galaxy_role.rb +1 -1
- data/lib/pulp_ansible_client/models/galaxy_role_version.rb +1 -1
- data/lib/pulp_ansible_client/models/inline_response200.rb +12 -12
- data/lib/pulp_ansible_client/models/inline_response2001.rb +11 -11
- data/lib/pulp_ansible_client/models/inline_response2002.rb +11 -11
- data/lib/pulp_ansible_client/models/inline_response2003.rb +12 -12
- data/lib/pulp_ansible_client/models/inline_response2004.rb +12 -12
- data/lib/pulp_ansible_client/models/inline_response2005.rb +12 -12
- data/lib/pulp_ansible_client/models/inline_response2006.rb +12 -12
- data/lib/pulp_ansible_client/models/inline_response2007.rb +12 -12
- data/lib/pulp_ansible_client/models/inline_response2008.rb +235 -0
- data/lib/pulp_ansible_client/models/repository_sync_url.rb +1 -1
- data/lib/pulp_ansible_client/models/role.rb +18 -18
- data/lib/pulp_ansible_client/models/tag.rb +211 -0
- data/lib/pulp_ansible_client/models/tag_nested.rb +212 -0
- data/lib/pulp_ansible_client/version.rb +2 -2
- data/lib/pulp_ansible_client.rb +7 -3
- data/pulp_ansible_client.gemspec +3 -9
- data/spec/api/ansible_collections_api_spec.rb +1 -1
- data/spec/api/content_collections_api_spec.rb +7 -6
- data/spec/api/content_roles_api_spec.rb +1 -1
- data/spec/api/distributions_ansible_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_api_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_galaxy_api_collections_api_spec.rb +16 -3
- data/spec/api/pulp_ansible_galaxy_api_roles_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_galaxy_api_v1_versions_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_galaxy_api_v2_versions_api_spec.rb +3 -3
- data/spec/api/pulp_ansible_tags_api_spec.rb +48 -0
- data/spec/api/remotes_ansible_api_spec.rb +2 -2
- data/spec/api/remotes_collection_api_spec.rb +2 -2
- data/spec/api_client_spec.rb +1 -39
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/ansible_distribution_spec.rb +6 -6
- data/spec/models/ansible_remote_spec.rb +1 -1
- data/spec/models/async_operation_response_spec.rb +1 -1
- data/spec/models/collection_remote_spec.rb +1 -7
- data/spec/models/{collection_spec.rb → collection_version_spec.rb} +77 -11
- data/spec/models/{galaxy_collection_spec.rb → galaxy_collection_version_spec.rb} +7 -7
- data/spec/models/galaxy_role_spec.rb +1 -1
- data/spec/models/galaxy_role_version_spec.rb +1 -1
- data/spec/models/inline_response2001_spec.rb +4 -4
- data/spec/models/inline_response2002_spec.rb +4 -4
- data/spec/models/inline_response2003_spec.rb +4 -4
- data/spec/models/inline_response2004_spec.rb +4 -4
- data/spec/models/inline_response2005_spec.rb +4 -4
- data/spec/models/inline_response2006_spec.rb +4 -4
- data/spec/models/inline_response2007_spec.rb +4 -4
- data/spec/models/inline_response2008_spec.rb +59 -0
- data/spec/models/inline_response200_spec.rb +4 -4
- data/spec/models/repository_sync_url_spec.rb +1 -1
- data/spec/models/role_spec.rb +4 -4
- data/spec/models/tag_nested_spec.rb +41 -0
- data/spec/models/tag_spec.rb +41 -0
- data/spec/spec_helper.rb +1 -1
- metadata +30 -141
- data/Gemfile.lock +0 -79
- data/docs/Collection.md +0 -41
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.1.1-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -14,20 +14,20 @@ require 'date'
|
|
14
14
|
|
15
15
|
module PulpAnsibleClient
|
16
16
|
class InlineResponse2001
|
17
|
+
attr_accessor :count
|
18
|
+
|
17
19
|
attr_accessor :_next
|
18
20
|
|
19
21
|
attr_accessor :previous
|
20
22
|
|
21
|
-
attr_accessor :count
|
22
|
-
|
23
23
|
attr_accessor :results
|
24
24
|
|
25
25
|
# Attribute mapping from ruby-style variable name to JSON key.
|
26
26
|
def self.attribute_map
|
27
27
|
{
|
28
|
+
:'count' => :'count',
|
28
29
|
:'_next' => :'next',
|
29
30
|
:'previous' => :'previous',
|
30
|
-
:'count' => :'count',
|
31
31
|
:'results' => :'results'
|
32
32
|
}
|
33
33
|
end
|
@@ -35,9 +35,9 @@ module PulpAnsibleClient
|
|
35
35
|
# Attribute type mapping.
|
36
36
|
def self.openapi_types
|
37
37
|
{
|
38
|
+
:'count' => :'Integer',
|
38
39
|
:'_next' => :'String',
|
39
40
|
:'previous' => :'String',
|
40
|
-
:'count' => :'Integer',
|
41
41
|
:'results' => :'Array<Role>'
|
42
42
|
}
|
43
43
|
end
|
@@ -57,6 +57,10 @@ module PulpAnsibleClient
|
|
57
57
|
h[k.to_sym] = v
|
58
58
|
}
|
59
59
|
|
60
|
+
if attributes.key?(:'count')
|
61
|
+
self.count = attributes[:'count']
|
62
|
+
end
|
63
|
+
|
60
64
|
if attributes.key?(:'_next')
|
61
65
|
self._next = attributes[:'_next']
|
62
66
|
end
|
@@ -65,10 +69,6 @@ module PulpAnsibleClient
|
|
65
69
|
self.previous = attributes[:'previous']
|
66
70
|
end
|
67
71
|
|
68
|
-
if attributes.key?(:'count')
|
69
|
-
self.count = attributes[:'count']
|
70
|
-
end
|
71
|
-
|
72
72
|
if attributes.key?(:'results')
|
73
73
|
if (value = attributes[:'results']).is_a?(Array)
|
74
74
|
self.results = value
|
@@ -104,9 +104,9 @@ module PulpAnsibleClient
|
|
104
104
|
def ==(o)
|
105
105
|
return true if self.equal?(o)
|
106
106
|
self.class == o.class &&
|
107
|
+
count == o.count &&
|
107
108
|
_next == o._next &&
|
108
109
|
previous == o.previous &&
|
109
|
-
count == o.count &&
|
110
110
|
results == o.results
|
111
111
|
end
|
112
112
|
|
@@ -119,7 +119,7 @@ module PulpAnsibleClient
|
|
119
119
|
# Calculates hash code according to all attributes.
|
120
120
|
# @return [Integer] Hash code
|
121
121
|
def hash
|
122
|
-
[_next, previous,
|
122
|
+
[count, _next, previous, results].hash
|
123
123
|
end
|
124
124
|
|
125
125
|
# Builds the object from hash
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.1.1-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -14,20 +14,20 @@ require 'date'
|
|
14
14
|
|
15
15
|
module PulpAnsibleClient
|
16
16
|
class InlineResponse2002
|
17
|
+
attr_accessor :count
|
18
|
+
|
17
19
|
attr_accessor :_next
|
18
20
|
|
19
21
|
attr_accessor :previous
|
20
22
|
|
21
|
-
attr_accessor :count
|
22
|
-
|
23
23
|
attr_accessor :results
|
24
24
|
|
25
25
|
# Attribute mapping from ruby-style variable name to JSON key.
|
26
26
|
def self.attribute_map
|
27
27
|
{
|
28
|
+
:'count' => :'count',
|
28
29
|
:'_next' => :'next',
|
29
30
|
:'previous' => :'previous',
|
30
|
-
:'count' => :'count',
|
31
31
|
:'results' => :'results'
|
32
32
|
}
|
33
33
|
end
|
@@ -35,9 +35,9 @@ module PulpAnsibleClient
|
|
35
35
|
# Attribute type mapping.
|
36
36
|
def self.openapi_types
|
37
37
|
{
|
38
|
+
:'count' => :'Integer',
|
38
39
|
:'_next' => :'String',
|
39
40
|
:'previous' => :'String',
|
40
|
-
:'count' => :'Integer',
|
41
41
|
:'results' => :'Array<AnsibleDistribution>'
|
42
42
|
}
|
43
43
|
end
|
@@ -57,6 +57,10 @@ module PulpAnsibleClient
|
|
57
57
|
h[k.to_sym] = v
|
58
58
|
}
|
59
59
|
|
60
|
+
if attributes.key?(:'count')
|
61
|
+
self.count = attributes[:'count']
|
62
|
+
end
|
63
|
+
|
60
64
|
if attributes.key?(:'_next')
|
61
65
|
self._next = attributes[:'_next']
|
62
66
|
end
|
@@ -65,10 +69,6 @@ module PulpAnsibleClient
|
|
65
69
|
self.previous = attributes[:'previous']
|
66
70
|
end
|
67
71
|
|
68
|
-
if attributes.key?(:'count')
|
69
|
-
self.count = attributes[:'count']
|
70
|
-
end
|
71
|
-
|
72
72
|
if attributes.key?(:'results')
|
73
73
|
if (value = attributes[:'results']).is_a?(Array)
|
74
74
|
self.results = value
|
@@ -104,9 +104,9 @@ module PulpAnsibleClient
|
|
104
104
|
def ==(o)
|
105
105
|
return true if self.equal?(o)
|
106
106
|
self.class == o.class &&
|
107
|
+
count == o.count &&
|
107
108
|
_next == o._next &&
|
108
109
|
previous == o.previous &&
|
109
|
-
count == o.count &&
|
110
110
|
results == o.results
|
111
111
|
end
|
112
112
|
|
@@ -119,7 +119,7 @@ module PulpAnsibleClient
|
|
119
119
|
# Calculates hash code according to all attributes.
|
120
120
|
# @return [Integer] Hash code
|
121
121
|
def hash
|
122
|
-
[_next, previous,
|
122
|
+
[count, _next, previous, results].hash
|
123
123
|
end
|
124
124
|
|
125
125
|
# Builds the object from hash
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.1.1-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -14,20 +14,20 @@ require 'date'
|
|
14
14
|
|
15
15
|
module PulpAnsibleClient
|
16
16
|
class InlineResponse2003
|
17
|
+
attr_accessor :count
|
18
|
+
|
17
19
|
attr_accessor :_next
|
18
20
|
|
19
21
|
attr_accessor :previous
|
20
22
|
|
21
|
-
attr_accessor :count
|
22
|
-
|
23
23
|
attr_accessor :results
|
24
24
|
|
25
25
|
# Attribute mapping from ruby-style variable name to JSON key.
|
26
26
|
def self.attribute_map
|
27
27
|
{
|
28
|
+
:'count' => :'count',
|
28
29
|
:'_next' => :'next',
|
29
30
|
:'previous' => :'previous',
|
30
|
-
:'count' => :'count',
|
31
31
|
:'results' => :'results'
|
32
32
|
}
|
33
33
|
end
|
@@ -35,10 +35,10 @@ module PulpAnsibleClient
|
|
35
35
|
# Attribute type mapping.
|
36
36
|
def self.openapi_types
|
37
37
|
{
|
38
|
+
:'count' => :'Integer',
|
38
39
|
:'_next' => :'String',
|
39
40
|
:'previous' => :'String',
|
40
|
-
:'
|
41
|
-
:'results' => :'Array<AnsibleRemote>'
|
41
|
+
:'results' => :'Array<Tag>'
|
42
42
|
}
|
43
43
|
end
|
44
44
|
|
@@ -57,6 +57,10 @@ module PulpAnsibleClient
|
|
57
57
|
h[k.to_sym] = v
|
58
58
|
}
|
59
59
|
|
60
|
+
if attributes.key?(:'count')
|
61
|
+
self.count = attributes[:'count']
|
62
|
+
end
|
63
|
+
|
60
64
|
if attributes.key?(:'_next')
|
61
65
|
self._next = attributes[:'_next']
|
62
66
|
end
|
@@ -65,10 +69,6 @@ module PulpAnsibleClient
|
|
65
69
|
self.previous = attributes[:'previous']
|
66
70
|
end
|
67
71
|
|
68
|
-
if attributes.key?(:'count')
|
69
|
-
self.count = attributes[:'count']
|
70
|
-
end
|
71
|
-
|
72
72
|
if attributes.key?(:'results')
|
73
73
|
if (value = attributes[:'results']).is_a?(Array)
|
74
74
|
self.results = value
|
@@ -104,9 +104,9 @@ module PulpAnsibleClient
|
|
104
104
|
def ==(o)
|
105
105
|
return true if self.equal?(o)
|
106
106
|
self.class == o.class &&
|
107
|
+
count == o.count &&
|
107
108
|
_next == o._next &&
|
108
109
|
previous == o.previous &&
|
109
|
-
count == o.count &&
|
110
110
|
results == o.results
|
111
111
|
end
|
112
112
|
|
@@ -119,7 +119,7 @@ module PulpAnsibleClient
|
|
119
119
|
# Calculates hash code according to all attributes.
|
120
120
|
# @return [Integer] Hash code
|
121
121
|
def hash
|
122
|
-
[_next, previous,
|
122
|
+
[count, _next, previous, results].hash
|
123
123
|
end
|
124
124
|
|
125
125
|
# Builds the object from hash
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.1.1-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -14,20 +14,20 @@ require 'date'
|
|
14
14
|
|
15
15
|
module PulpAnsibleClient
|
16
16
|
class InlineResponse2004
|
17
|
+
attr_accessor :count
|
18
|
+
|
17
19
|
attr_accessor :_next
|
18
20
|
|
19
21
|
attr_accessor :previous
|
20
22
|
|
21
|
-
attr_accessor :count
|
22
|
-
|
23
23
|
attr_accessor :results
|
24
24
|
|
25
25
|
# Attribute mapping from ruby-style variable name to JSON key.
|
26
26
|
def self.attribute_map
|
27
27
|
{
|
28
|
+
:'count' => :'count',
|
28
29
|
:'_next' => :'next',
|
29
30
|
:'previous' => :'previous',
|
30
|
-
:'count' => :'count',
|
31
31
|
:'results' => :'results'
|
32
32
|
}
|
33
33
|
end
|
@@ -35,10 +35,10 @@ module PulpAnsibleClient
|
|
35
35
|
# Attribute type mapping.
|
36
36
|
def self.openapi_types
|
37
37
|
{
|
38
|
+
:'count' => :'Integer',
|
38
39
|
:'_next' => :'String',
|
39
40
|
:'previous' => :'String',
|
40
|
-
:'
|
41
|
-
:'results' => :'Array<CollectionRemote>'
|
41
|
+
:'results' => :'Array<AnsibleRemote>'
|
42
42
|
}
|
43
43
|
end
|
44
44
|
|
@@ -57,6 +57,10 @@ module PulpAnsibleClient
|
|
57
57
|
h[k.to_sym] = v
|
58
58
|
}
|
59
59
|
|
60
|
+
if attributes.key?(:'count')
|
61
|
+
self.count = attributes[:'count']
|
62
|
+
end
|
63
|
+
|
60
64
|
if attributes.key?(:'_next')
|
61
65
|
self._next = attributes[:'_next']
|
62
66
|
end
|
@@ -65,10 +69,6 @@ module PulpAnsibleClient
|
|
65
69
|
self.previous = attributes[:'previous']
|
66
70
|
end
|
67
71
|
|
68
|
-
if attributes.key?(:'count')
|
69
|
-
self.count = attributes[:'count']
|
70
|
-
end
|
71
|
-
|
72
72
|
if attributes.key?(:'results')
|
73
73
|
if (value = attributes[:'results']).is_a?(Array)
|
74
74
|
self.results = value
|
@@ -104,9 +104,9 @@ module PulpAnsibleClient
|
|
104
104
|
def ==(o)
|
105
105
|
return true if self.equal?(o)
|
106
106
|
self.class == o.class &&
|
107
|
+
count == o.count &&
|
107
108
|
_next == o._next &&
|
108
109
|
previous == o.previous &&
|
109
|
-
count == o.count &&
|
110
110
|
results == o.results
|
111
111
|
end
|
112
112
|
|
@@ -119,7 +119,7 @@ module PulpAnsibleClient
|
|
119
119
|
# Calculates hash code according to all attributes.
|
120
120
|
# @return [Integer] Hash code
|
121
121
|
def hash
|
122
|
-
[_next, previous,
|
122
|
+
[count, _next, previous, results].hash
|
123
123
|
end
|
124
124
|
|
125
125
|
# Builds the object from hash
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.1.1-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -14,20 +14,20 @@ require 'date'
|
|
14
14
|
|
15
15
|
module PulpAnsibleClient
|
16
16
|
class InlineResponse2005
|
17
|
+
attr_accessor :count
|
18
|
+
|
17
19
|
attr_accessor :_next
|
18
20
|
|
19
21
|
attr_accessor :previous
|
20
22
|
|
21
|
-
attr_accessor :count
|
22
|
-
|
23
23
|
attr_accessor :results
|
24
24
|
|
25
25
|
# Attribute mapping from ruby-style variable name to JSON key.
|
26
26
|
def self.attribute_map
|
27
27
|
{
|
28
|
+
:'count' => :'count',
|
28
29
|
:'_next' => :'next',
|
29
30
|
:'previous' => :'previous',
|
30
|
-
:'count' => :'count',
|
31
31
|
:'results' => :'results'
|
32
32
|
}
|
33
33
|
end
|
@@ -35,10 +35,10 @@ module PulpAnsibleClient
|
|
35
35
|
# Attribute type mapping.
|
36
36
|
def self.openapi_types
|
37
37
|
{
|
38
|
+
:'count' => :'Integer',
|
38
39
|
:'_next' => :'String',
|
39
40
|
:'previous' => :'String',
|
40
|
-
:'
|
41
|
-
:'results' => :'Array<GalaxyRole>'
|
41
|
+
:'results' => :'Array<CollectionRemote>'
|
42
42
|
}
|
43
43
|
end
|
44
44
|
|
@@ -57,6 +57,10 @@ module PulpAnsibleClient
|
|
57
57
|
h[k.to_sym] = v
|
58
58
|
}
|
59
59
|
|
60
|
+
if attributes.key?(:'count')
|
61
|
+
self.count = attributes[:'count']
|
62
|
+
end
|
63
|
+
|
60
64
|
if attributes.key?(:'_next')
|
61
65
|
self._next = attributes[:'_next']
|
62
66
|
end
|
@@ -65,10 +69,6 @@ module PulpAnsibleClient
|
|
65
69
|
self.previous = attributes[:'previous']
|
66
70
|
end
|
67
71
|
|
68
|
-
if attributes.key?(:'count')
|
69
|
-
self.count = attributes[:'count']
|
70
|
-
end
|
71
|
-
|
72
72
|
if attributes.key?(:'results')
|
73
73
|
if (value = attributes[:'results']).is_a?(Array)
|
74
74
|
self.results = value
|
@@ -104,9 +104,9 @@ module PulpAnsibleClient
|
|
104
104
|
def ==(o)
|
105
105
|
return true if self.equal?(o)
|
106
106
|
self.class == o.class &&
|
107
|
+
count == o.count &&
|
107
108
|
_next == o._next &&
|
108
109
|
previous == o.previous &&
|
109
|
-
count == o.count &&
|
110
110
|
results == o.results
|
111
111
|
end
|
112
112
|
|
@@ -119,7 +119,7 @@ module PulpAnsibleClient
|
|
119
119
|
# Calculates hash code according to all attributes.
|
120
120
|
# @return [Integer] Hash code
|
121
121
|
def hash
|
122
|
-
[_next, previous,
|
122
|
+
[count, _next, previous, results].hash
|
123
123
|
end
|
124
124
|
|
125
125
|
# Builds the object from hash
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.1.1-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -14,20 +14,20 @@ require 'date'
|
|
14
14
|
|
15
15
|
module PulpAnsibleClient
|
16
16
|
class InlineResponse2006
|
17
|
+
attr_accessor :count
|
18
|
+
|
17
19
|
attr_accessor :_next
|
18
20
|
|
19
21
|
attr_accessor :previous
|
20
22
|
|
21
|
-
attr_accessor :count
|
22
|
-
|
23
23
|
attr_accessor :results
|
24
24
|
|
25
25
|
# Attribute mapping from ruby-style variable name to JSON key.
|
26
26
|
def self.attribute_map
|
27
27
|
{
|
28
|
+
:'count' => :'count',
|
28
29
|
:'_next' => :'next',
|
29
30
|
:'previous' => :'previous',
|
30
|
-
:'count' => :'count',
|
31
31
|
:'results' => :'results'
|
32
32
|
}
|
33
33
|
end
|
@@ -35,10 +35,10 @@ module PulpAnsibleClient
|
|
35
35
|
# Attribute type mapping.
|
36
36
|
def self.openapi_types
|
37
37
|
{
|
38
|
+
:'count' => :'Integer',
|
38
39
|
:'_next' => :'String',
|
39
40
|
:'previous' => :'String',
|
40
|
-
:'
|
41
|
-
:'results' => :'Array<GalaxyRoleVersion>'
|
41
|
+
:'results' => :'Array<GalaxyRole>'
|
42
42
|
}
|
43
43
|
end
|
44
44
|
|
@@ -57,6 +57,10 @@ module PulpAnsibleClient
|
|
57
57
|
h[k.to_sym] = v
|
58
58
|
}
|
59
59
|
|
60
|
+
if attributes.key?(:'count')
|
61
|
+
self.count = attributes[:'count']
|
62
|
+
end
|
63
|
+
|
60
64
|
if attributes.key?(:'_next')
|
61
65
|
self._next = attributes[:'_next']
|
62
66
|
end
|
@@ -65,10 +69,6 @@ module PulpAnsibleClient
|
|
65
69
|
self.previous = attributes[:'previous']
|
66
70
|
end
|
67
71
|
|
68
|
-
if attributes.key?(:'count')
|
69
|
-
self.count = attributes[:'count']
|
70
|
-
end
|
71
|
-
|
72
72
|
if attributes.key?(:'results')
|
73
73
|
if (value = attributes[:'results']).is_a?(Array)
|
74
74
|
self.results = value
|
@@ -104,9 +104,9 @@ module PulpAnsibleClient
|
|
104
104
|
def ==(o)
|
105
105
|
return true if self.equal?(o)
|
106
106
|
self.class == o.class &&
|
107
|
+
count == o.count &&
|
107
108
|
_next == o._next &&
|
108
109
|
previous == o.previous &&
|
109
|
-
count == o.count &&
|
110
110
|
results == o.results
|
111
111
|
end
|
112
112
|
|
@@ -119,7 +119,7 @@ module PulpAnsibleClient
|
|
119
119
|
# Calculates hash code according to all attributes.
|
120
120
|
# @return [Integer] Hash code
|
121
121
|
def hash
|
122
|
-
[_next, previous,
|
122
|
+
[count, _next, previous, results].hash
|
123
123
|
end
|
124
124
|
|
125
125
|
# Builds the object from hash
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.1.1-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -14,20 +14,20 @@ require 'date'
|
|
14
14
|
|
15
15
|
module PulpAnsibleClient
|
16
16
|
class InlineResponse2007
|
17
|
+
attr_accessor :count
|
18
|
+
|
17
19
|
attr_accessor :_next
|
18
20
|
|
19
21
|
attr_accessor :previous
|
20
22
|
|
21
|
-
attr_accessor :count
|
22
|
-
|
23
23
|
attr_accessor :results
|
24
24
|
|
25
25
|
# Attribute mapping from ruby-style variable name to JSON key.
|
26
26
|
def self.attribute_map
|
27
27
|
{
|
28
|
+
:'count' => :'count',
|
28
29
|
:'_next' => :'next',
|
29
30
|
:'previous' => :'previous',
|
30
|
-
:'count' => :'count',
|
31
31
|
:'results' => :'results'
|
32
32
|
}
|
33
33
|
end
|
@@ -35,10 +35,10 @@ module PulpAnsibleClient
|
|
35
35
|
# Attribute type mapping.
|
36
36
|
def self.openapi_types
|
37
37
|
{
|
38
|
+
:'count' => :'Integer',
|
38
39
|
:'_next' => :'String',
|
39
40
|
:'previous' => :'String',
|
40
|
-
:'
|
41
|
-
:'results' => :'Array<GalaxyCollection>'
|
41
|
+
:'results' => :'Array<GalaxyRoleVersion>'
|
42
42
|
}
|
43
43
|
end
|
44
44
|
|
@@ -57,6 +57,10 @@ module PulpAnsibleClient
|
|
57
57
|
h[k.to_sym] = v
|
58
58
|
}
|
59
59
|
|
60
|
+
if attributes.key?(:'count')
|
61
|
+
self.count = attributes[:'count']
|
62
|
+
end
|
63
|
+
|
60
64
|
if attributes.key?(:'_next')
|
61
65
|
self._next = attributes[:'_next']
|
62
66
|
end
|
@@ -65,10 +69,6 @@ module PulpAnsibleClient
|
|
65
69
|
self.previous = attributes[:'previous']
|
66
70
|
end
|
67
71
|
|
68
|
-
if attributes.key?(:'count')
|
69
|
-
self.count = attributes[:'count']
|
70
|
-
end
|
71
|
-
|
72
72
|
if attributes.key?(:'results')
|
73
73
|
if (value = attributes[:'results']).is_a?(Array)
|
74
74
|
self.results = value
|
@@ -104,9 +104,9 @@ module PulpAnsibleClient
|
|
104
104
|
def ==(o)
|
105
105
|
return true if self.equal?(o)
|
106
106
|
self.class == o.class &&
|
107
|
+
count == o.count &&
|
107
108
|
_next == o._next &&
|
108
109
|
previous == o.previous &&
|
109
|
-
count == o.count &&
|
110
110
|
results == o.results
|
111
111
|
end
|
112
112
|
|
@@ -119,7 +119,7 @@ module PulpAnsibleClient
|
|
119
119
|
# Calculates hash code according to all attributes.
|
120
120
|
# @return [Integer] Hash code
|
121
121
|
def hash
|
122
|
-
[_next, previous,
|
122
|
+
[count, _next, previous, results].hash
|
123
123
|
end
|
124
124
|
|
125
125
|
# Builds the object from hash
|