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.
Files changed (104) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +17 -12
  3. data/docs/AnsibleDistribution.md +3 -3
  4. data/docs/CollectionRemote.md +1 -3
  5. data/docs/CollectionVersion.md +63 -0
  6. data/docs/ContentCollectionsApi.md +16 -14
  7. data/docs/{GalaxyCollection.md → GalaxyCollectionVersion.md} +2 -2
  8. data/docs/InlineResponse200.md +4 -4
  9. data/docs/InlineResponse2001.md +3 -3
  10. data/docs/InlineResponse2002.md +3 -3
  11. data/docs/InlineResponse2003.md +4 -4
  12. data/docs/InlineResponse2004.md +4 -4
  13. data/docs/InlineResponse2005.md +4 -4
  14. data/docs/InlineResponse2006.md +4 -4
  15. data/docs/InlineResponse2007.md +4 -4
  16. data/docs/InlineResponse2008.md +23 -0
  17. data/docs/PulpAnsibleGalaxyApiCollectionsApi.md +64 -6
  18. data/docs/PulpAnsibleGalaxyApiRolesApi.md +2 -2
  19. data/docs/PulpAnsibleGalaxyApiV1VersionsApi.md +2 -2
  20. data/docs/PulpAnsibleGalaxyApiV2VersionsApi.md +6 -6
  21. data/docs/PulpAnsibleTagsApi.md +66 -0
  22. data/docs/RemotesAnsibleApi.md +2 -2
  23. data/docs/RemotesCollectionApi.md +2 -2
  24. data/docs/Role.md +4 -4
  25. data/docs/Tag.md +17 -0
  26. data/docs/TagNested.md +17 -0
  27. data/lib/pulp_ansible_client/api/ansible_collections_api.rb +2 -2
  28. data/lib/pulp_ansible_client/api/content_collections_api.rb +19 -16
  29. data/lib/pulp_ansible_client/api/content_roles_api.rb +3 -3
  30. data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +6 -6
  31. data/lib/pulp_ansible_client/api/pulp_ansible_api_api.rb +3 -3
  32. data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_collections_api.rb +79 -15
  33. data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_roles_api.rb +6 -6
  34. data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v1_versions_api.rb +6 -6
  35. data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v2_versions_api.rb +14 -14
  36. data/lib/pulp_ansible_client/api/pulp_ansible_tags_api.rb +84 -0
  37. data/lib/pulp_ansible_client/api/remotes_ansible_api.rb +10 -10
  38. data/lib/pulp_ansible_client/api/remotes_collection_api.rb +10 -10
  39. data/lib/pulp_ansible_client/api_client.rb +77 -62
  40. data/lib/pulp_ansible_client/api_error.rb +1 -1
  41. data/lib/pulp_ansible_client/configuration.rb +13 -21
  42. data/lib/pulp_ansible_client/models/ansible_distribution.rb +15 -30
  43. data/lib/pulp_ansible_client/models/ansible_remote.rb +1 -1
  44. data/lib/pulp_ansible_client/models/async_operation_response.rb +1 -1
  45. data/lib/pulp_ansible_client/models/collection_remote.rb +5 -38
  46. data/lib/pulp_ansible_client/models/{collection.rb → collection_version.rb} +314 -43
  47. data/lib/pulp_ansible_client/models/{galaxy_collection.rb → galaxy_collection_version.rb} +4 -4
  48. data/lib/pulp_ansible_client/models/galaxy_role.rb +1 -1
  49. data/lib/pulp_ansible_client/models/galaxy_role_version.rb +1 -1
  50. data/lib/pulp_ansible_client/models/inline_response200.rb +12 -12
  51. data/lib/pulp_ansible_client/models/inline_response2001.rb +11 -11
  52. data/lib/pulp_ansible_client/models/inline_response2002.rb +11 -11
  53. data/lib/pulp_ansible_client/models/inline_response2003.rb +12 -12
  54. data/lib/pulp_ansible_client/models/inline_response2004.rb +12 -12
  55. data/lib/pulp_ansible_client/models/inline_response2005.rb +12 -12
  56. data/lib/pulp_ansible_client/models/inline_response2006.rb +12 -12
  57. data/lib/pulp_ansible_client/models/inline_response2007.rb +12 -12
  58. data/lib/pulp_ansible_client/models/inline_response2008.rb +235 -0
  59. data/lib/pulp_ansible_client/models/repository_sync_url.rb +1 -1
  60. data/lib/pulp_ansible_client/models/role.rb +18 -18
  61. data/lib/pulp_ansible_client/models/tag.rb +211 -0
  62. data/lib/pulp_ansible_client/models/tag_nested.rb +212 -0
  63. data/lib/pulp_ansible_client/version.rb +2 -2
  64. data/lib/pulp_ansible_client.rb +7 -3
  65. data/pulp_ansible_client.gemspec +3 -9
  66. data/spec/api/ansible_collections_api_spec.rb +1 -1
  67. data/spec/api/content_collections_api_spec.rb +7 -6
  68. data/spec/api/content_roles_api_spec.rb +1 -1
  69. data/spec/api/distributions_ansible_api_spec.rb +1 -1
  70. data/spec/api/pulp_ansible_api_api_spec.rb +1 -1
  71. data/spec/api/pulp_ansible_galaxy_api_collections_api_spec.rb +16 -3
  72. data/spec/api/pulp_ansible_galaxy_api_roles_api_spec.rb +2 -2
  73. data/spec/api/pulp_ansible_galaxy_api_v1_versions_api_spec.rb +2 -2
  74. data/spec/api/pulp_ansible_galaxy_api_v2_versions_api_spec.rb +3 -3
  75. data/spec/api/pulp_ansible_tags_api_spec.rb +48 -0
  76. data/spec/api/remotes_ansible_api_spec.rb +2 -2
  77. data/spec/api/remotes_collection_api_spec.rb +2 -2
  78. data/spec/api_client_spec.rb +1 -39
  79. data/spec/configuration_spec.rb +1 -1
  80. data/spec/models/ansible_distribution_spec.rb +6 -6
  81. data/spec/models/ansible_remote_spec.rb +1 -1
  82. data/spec/models/async_operation_response_spec.rb +1 -1
  83. data/spec/models/collection_remote_spec.rb +1 -7
  84. data/spec/models/{collection_spec.rb → collection_version_spec.rb} +77 -11
  85. data/spec/models/{galaxy_collection_spec.rb → galaxy_collection_version_spec.rb} +7 -7
  86. data/spec/models/galaxy_role_spec.rb +1 -1
  87. data/spec/models/galaxy_role_version_spec.rb +1 -1
  88. data/spec/models/inline_response2001_spec.rb +4 -4
  89. data/spec/models/inline_response2002_spec.rb +4 -4
  90. data/spec/models/inline_response2003_spec.rb +4 -4
  91. data/spec/models/inline_response2004_spec.rb +4 -4
  92. data/spec/models/inline_response2005_spec.rb +4 -4
  93. data/spec/models/inline_response2006_spec.rb +4 -4
  94. data/spec/models/inline_response2007_spec.rb +4 -4
  95. data/spec/models/inline_response2008_spec.rb +59 -0
  96. data/spec/models/inline_response200_spec.rb +4 -4
  97. data/spec/models/repository_sync_url_spec.rb +1 -1
  98. data/spec/models/role_spec.rb +4 -4
  99. data/spec/models/tag_nested_spec.rb +41 -0
  100. data/spec/models/tag_spec.rb +41 -0
  101. data/spec/spec_helper.rb +1 -1
  102. metadata +30 -141
  103. data/Gemfile.lock +0 -79
  104. 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.0.0
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, count, results].hash
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.0.0
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, count, results].hash
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.0.0
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
- :'count' => :'Integer',
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, count, results].hash
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.0.0
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
- :'count' => :'Integer',
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, count, results].hash
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.0.0
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
- :'count' => :'Integer',
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, count, results].hash
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.0.0
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
- :'count' => :'Integer',
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, count, results].hash
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.0.0
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
- :'count' => :'Integer',
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, count, results].hash
122
+ [count, _next, previous, results].hash
123
123
  end
124
124
 
125
125
  # Builds the object from hash