pulp_container_client 2.19.2 → 2.20.0

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.
Files changed (37) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/docs/ContainerContainerDistribution.md +3 -3
  4. data/docs/ContainerContainerDistributionResponse.md +7 -7
  5. data/docs/ContainerContainerPullThroughDistribution.md +3 -3
  6. data/docs/ContainerContainerPullThroughDistributionResponse.md +7 -7
  7. data/docs/ContainerContainerPushRepository.md +6 -6
  8. data/docs/ContainerContainerPushRepositoryResponse.md +12 -12
  9. data/docs/ContainerManifestResponse.md +0 -2
  10. data/docs/ContentManifestsApi.md +2 -2
  11. data/docs/PatchedcontainerContainerDistribution.md +3 -3
  12. data/docs/PatchedcontainerContainerPullThroughDistribution.md +3 -3
  13. data/docs/PatchedcontainerContainerPushRepository.md +6 -6
  14. data/lib/pulp_container_client/api/content_manifests_api.rb +3 -3
  15. data/lib/pulp_container_client/models/container_container_distribution.rb +11 -11
  16. data/lib/pulp_container_client/models/container_container_distribution_response.rb +30 -30
  17. data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +11 -11
  18. data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +30 -30
  19. data/lib/pulp_container_client/models/container_container_push_repository.rb +41 -41
  20. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +50 -50
  21. data/lib/pulp_container_client/models/container_manifest_response.rb +1 -16
  22. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +11 -11
  23. data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +11 -11
  24. data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +41 -41
  25. data/lib/pulp_container_client/version.rb +1 -1
  26. data/spec/api/content_manifests_api_spec.rb +1 -1
  27. data/spec/models/container_container_distribution_response_spec.rb +7 -7
  28. data/spec/models/container_container_distribution_spec.rb +6 -6
  29. data/spec/models/container_container_pull_through_distribution_response_spec.rb +7 -7
  30. data/spec/models/container_container_pull_through_distribution_spec.rb +6 -6
  31. data/spec/models/container_container_push_repository_response_spec.rb +9 -9
  32. data/spec/models/container_container_push_repository_spec.rb +5 -5
  33. data/spec/models/container_manifest_response_spec.rb +0 -6
  34. data/spec/models/patchedcontainer_container_distribution_spec.rb +6 -6
  35. data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +6 -6
  36. data/spec/models/patchedcontainer_container_push_repository_spec.rb +5 -5
  37. metadata +64 -64
@@ -15,28 +15,28 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # A serializer for ContainerDistribution.
17
17
  class ContainerContainerDistributionResponse
18
+ # An optional content-guard. If none is specified, a default one will be used.
19
+ attr_accessor :content_guard
20
+
18
21
  # Whether this distribution should be shown in the content app.
19
22
  attr_accessor :hidden
20
23
 
24
+ attr_accessor :pulp_href
25
+
26
+ # Timestamp of creation.
27
+ attr_accessor :pulp_created
28
+
21
29
  attr_accessor :pulp_labels
22
30
 
23
31
  # The latest RepositoryVersion for this Repository will be served.
24
32
  attr_accessor :repository
25
33
 
26
- # Timestamp of creation.
27
- attr_accessor :pulp_created
28
-
29
34
  # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
30
35
  attr_accessor :base_path
31
36
 
32
- attr_accessor :pulp_href
33
-
34
37
  # A unique name. Ex, `rawhide` and `stable`.
35
38
  attr_accessor :name
36
39
 
37
- # An optional content-guard. If none is specified, a default one will be used.
38
- attr_accessor :content_guard
39
-
40
40
  # RepositoryVersion to be served
41
41
  attr_accessor :repository_version
42
42
 
@@ -58,14 +58,14 @@ module PulpContainerClient
58
58
  # Attribute mapping from ruby-style variable name to JSON key.
59
59
  def self.attribute_map
60
60
  {
61
+ :'content_guard' => :'content_guard',
61
62
  :'hidden' => :'hidden',
63
+ :'pulp_href' => :'pulp_href',
64
+ :'pulp_created' => :'pulp_created',
62
65
  :'pulp_labels' => :'pulp_labels',
63
66
  :'repository' => :'repository',
64
- :'pulp_created' => :'pulp_created',
65
67
  :'base_path' => :'base_path',
66
- :'pulp_href' => :'pulp_href',
67
68
  :'name' => :'name',
68
- :'content_guard' => :'content_guard',
69
69
  :'repository_version' => :'repository_version',
70
70
  :'registry_path' => :'registry_path',
71
71
  :'remote' => :'remote',
@@ -78,14 +78,14 @@ module PulpContainerClient
78
78
  # Attribute type mapping.
79
79
  def self.openapi_types
80
80
  {
81
+ :'content_guard' => :'String',
81
82
  :'hidden' => :'Boolean',
83
+ :'pulp_href' => :'String',
84
+ :'pulp_created' => :'DateTime',
82
85
  :'pulp_labels' => :'Hash<String, String>',
83
86
  :'repository' => :'String',
84
- :'pulp_created' => :'DateTime',
85
87
  :'base_path' => :'String',
86
- :'pulp_href' => :'String',
87
88
  :'name' => :'String',
88
- :'content_guard' => :'String',
89
89
  :'repository_version' => :'String',
90
90
  :'registry_path' => :'String',
91
91
  :'remote' => :'String',
@@ -119,12 +119,24 @@ module PulpContainerClient
119
119
  h[k.to_sym] = v
120
120
  }
121
121
 
122
+ if attributes.key?(:'content_guard')
123
+ self.content_guard = attributes[:'content_guard']
124
+ end
125
+
122
126
  if attributes.key?(:'hidden')
123
127
  self.hidden = attributes[:'hidden']
124
128
  else
125
129
  self.hidden = false
126
130
  end
127
131
 
132
+ if attributes.key?(:'pulp_href')
133
+ self.pulp_href = attributes[:'pulp_href']
134
+ end
135
+
136
+ if attributes.key?(:'pulp_created')
137
+ self.pulp_created = attributes[:'pulp_created']
138
+ end
139
+
128
140
  if attributes.key?(:'pulp_labels')
129
141
  if (value = attributes[:'pulp_labels']).is_a?(Hash)
130
142
  self.pulp_labels = value
@@ -135,26 +147,14 @@ module PulpContainerClient
135
147
  self.repository = attributes[:'repository']
136
148
  end
137
149
 
138
- if attributes.key?(:'pulp_created')
139
- self.pulp_created = attributes[:'pulp_created']
140
- end
141
-
142
150
  if attributes.key?(:'base_path')
143
151
  self.base_path = attributes[:'base_path']
144
152
  end
145
153
 
146
- if attributes.key?(:'pulp_href')
147
- self.pulp_href = attributes[:'pulp_href']
148
- end
149
-
150
154
  if attributes.key?(:'name')
151
155
  self.name = attributes[:'name']
152
156
  end
153
157
 
154
- if attributes.key?(:'content_guard')
155
- self.content_guard = attributes[:'content_guard']
156
- end
157
-
158
158
  if attributes.key?(:'repository_version')
159
159
  self.repository_version = attributes[:'repository_version']
160
160
  end
@@ -208,14 +208,14 @@ module PulpContainerClient
208
208
  def ==(o)
209
209
  return true if self.equal?(o)
210
210
  self.class == o.class &&
211
+ content_guard == o.content_guard &&
211
212
  hidden == o.hidden &&
213
+ pulp_href == o.pulp_href &&
214
+ pulp_created == o.pulp_created &&
212
215
  pulp_labels == o.pulp_labels &&
213
216
  repository == o.repository &&
214
- pulp_created == o.pulp_created &&
215
217
  base_path == o.base_path &&
216
- pulp_href == o.pulp_href &&
217
218
  name == o.name &&
218
- content_guard == o.content_guard &&
219
219
  repository_version == o.repository_version &&
220
220
  registry_path == o.registry_path &&
221
221
  remote == o.remote &&
@@ -233,7 +233,7 @@ module PulpContainerClient
233
233
  # Calculates hash code according to all attributes.
234
234
  # @return [Integer] Hash code
235
235
  def hash
236
- [hidden, pulp_labels, repository, pulp_created, base_path, pulp_href, name, content_guard, repository_version, registry_path, remote, namespace, private, description].hash
236
+ [content_guard, hidden, pulp_href, pulp_created, pulp_labels, repository, base_path, name, repository_version, registry_path, remote, namespace, private, description].hash
237
237
  end
238
238
 
239
239
  # Builds the object from hash
@@ -15,6 +15,9 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # A serializer for a specialized pull-through distribution referencing sub-distributions.
17
17
  class ContainerContainerPullThroughDistribution
18
+ # An optional content-guard. If none is specified, a default one will be used.
19
+ attr_accessor :content_guard
20
+
18
21
  # Whether this distribution should be shown in the content app.
19
22
  attr_accessor :hidden
20
23
 
@@ -29,9 +32,6 @@ module PulpContainerClient
29
32
  # A unique name. Ex, `rawhide` and `stable`.
30
33
  attr_accessor :name
31
34
 
32
- # An optional content-guard. If none is specified, a default one will be used.
33
- attr_accessor :content_guard
34
-
35
35
  # Remote that can be used to fetch content when using pull-through caching.
36
36
  attr_accessor :remote
37
37
 
@@ -47,12 +47,12 @@ module PulpContainerClient
47
47
  # Attribute mapping from ruby-style variable name to JSON key.
48
48
  def self.attribute_map
49
49
  {
50
+ :'content_guard' => :'content_guard',
50
51
  :'hidden' => :'hidden',
51
52
  :'pulp_labels' => :'pulp_labels',
52
53
  :'repository' => :'repository',
53
54
  :'base_path' => :'base_path',
54
55
  :'name' => :'name',
55
- :'content_guard' => :'content_guard',
56
56
  :'remote' => :'remote',
57
57
  :'distributions' => :'distributions',
58
58
  :'private' => :'private',
@@ -63,12 +63,12 @@ module PulpContainerClient
63
63
  # Attribute type mapping.
64
64
  def self.openapi_types
65
65
  {
66
+ :'content_guard' => :'String',
66
67
  :'hidden' => :'Boolean',
67
68
  :'pulp_labels' => :'Hash<String, String>',
68
69
  :'repository' => :'String',
69
70
  :'base_path' => :'String',
70
71
  :'name' => :'String',
71
- :'content_guard' => :'String',
72
72
  :'remote' => :'String',
73
73
  :'distributions' => :'Array<String>',
74
74
  :'private' => :'Boolean',
@@ -99,6 +99,10 @@ module PulpContainerClient
99
99
  h[k.to_sym] = v
100
100
  }
101
101
 
102
+ if attributes.key?(:'content_guard')
103
+ self.content_guard = attributes[:'content_guard']
104
+ end
105
+
102
106
  if attributes.key?(:'hidden')
103
107
  self.hidden = attributes[:'hidden']
104
108
  else
@@ -123,10 +127,6 @@ module PulpContainerClient
123
127
  self.name = attributes[:'name']
124
128
  end
125
129
 
126
- if attributes.key?(:'content_guard')
127
- self.content_guard = attributes[:'content_guard']
128
- end
129
-
130
130
  if attributes.key?(:'remote')
131
131
  self.remote = attributes[:'remote']
132
132
  end
@@ -232,12 +232,12 @@ module PulpContainerClient
232
232
  def ==(o)
233
233
  return true if self.equal?(o)
234
234
  self.class == o.class &&
235
+ content_guard == o.content_guard &&
235
236
  hidden == o.hidden &&
236
237
  pulp_labels == o.pulp_labels &&
237
238
  repository == o.repository &&
238
239
  base_path == o.base_path &&
239
240
  name == o.name &&
240
- content_guard == o.content_guard &&
241
241
  remote == o.remote &&
242
242
  distributions == o.distributions &&
243
243
  private == o.private &&
@@ -253,7 +253,7 @@ module PulpContainerClient
253
253
  # Calculates hash code according to all attributes.
254
254
  # @return [Integer] Hash code
255
255
  def hash
256
- [hidden, pulp_labels, repository, base_path, name, content_guard, remote, distributions, private, description].hash
256
+ [content_guard, hidden, pulp_labels, repository, base_path, name, remote, distributions, private, description].hash
257
257
  end
258
258
 
259
259
  # Builds the object from hash
@@ -15,28 +15,28 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # A serializer for a specialized pull-through distribution referencing sub-distributions.
17
17
  class ContainerContainerPullThroughDistributionResponse
18
+ # An optional content-guard. If none is specified, a default one will be used.
19
+ attr_accessor :content_guard
20
+
18
21
  # Whether this distribution should be shown in the content app.
19
22
  attr_accessor :hidden
20
23
 
24
+ attr_accessor :pulp_href
25
+
26
+ # Timestamp of creation.
27
+ attr_accessor :pulp_created
28
+
21
29
  attr_accessor :pulp_labels
22
30
 
23
31
  # The latest RepositoryVersion for this Repository will be served.
24
32
  attr_accessor :repository
25
33
 
26
- # Timestamp of creation.
27
- attr_accessor :pulp_created
28
-
29
34
  # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
30
35
  attr_accessor :base_path
31
36
 
32
- attr_accessor :pulp_href
33
-
34
37
  # A unique name. Ex, `rawhide` and `stable`.
35
38
  attr_accessor :name
36
39
 
37
- # An optional content-guard. If none is specified, a default one will be used.
38
- attr_accessor :content_guard
39
-
40
40
  # Remote that can be used to fetch content when using pull-through caching.
41
41
  attr_accessor :remote
42
42
 
@@ -55,14 +55,14 @@ module PulpContainerClient
55
55
  # Attribute mapping from ruby-style variable name to JSON key.
56
56
  def self.attribute_map
57
57
  {
58
+ :'content_guard' => :'content_guard',
58
59
  :'hidden' => :'hidden',
60
+ :'pulp_href' => :'pulp_href',
61
+ :'pulp_created' => :'pulp_created',
59
62
  :'pulp_labels' => :'pulp_labels',
60
63
  :'repository' => :'repository',
61
- :'pulp_created' => :'pulp_created',
62
64
  :'base_path' => :'base_path',
63
- :'pulp_href' => :'pulp_href',
64
65
  :'name' => :'name',
65
- :'content_guard' => :'content_guard',
66
66
  :'remote' => :'remote',
67
67
  :'distributions' => :'distributions',
68
68
  :'namespace' => :'namespace',
@@ -74,14 +74,14 @@ module PulpContainerClient
74
74
  # Attribute type mapping.
75
75
  def self.openapi_types
76
76
  {
77
+ :'content_guard' => :'String',
77
78
  :'hidden' => :'Boolean',
79
+ :'pulp_href' => :'String',
80
+ :'pulp_created' => :'DateTime',
78
81
  :'pulp_labels' => :'Hash<String, String>',
79
82
  :'repository' => :'String',
80
- :'pulp_created' => :'DateTime',
81
83
  :'base_path' => :'String',
82
- :'pulp_href' => :'String',
83
84
  :'name' => :'String',
84
- :'content_guard' => :'String',
85
85
  :'remote' => :'String',
86
86
  :'distributions' => :'Array<String>',
87
87
  :'namespace' => :'String',
@@ -113,12 +113,24 @@ module PulpContainerClient
113
113
  h[k.to_sym] = v
114
114
  }
115
115
 
116
+ if attributes.key?(:'content_guard')
117
+ self.content_guard = attributes[:'content_guard']
118
+ end
119
+
116
120
  if attributes.key?(:'hidden')
117
121
  self.hidden = attributes[:'hidden']
118
122
  else
119
123
  self.hidden = false
120
124
  end
121
125
 
126
+ if attributes.key?(:'pulp_href')
127
+ self.pulp_href = attributes[:'pulp_href']
128
+ end
129
+
130
+ if attributes.key?(:'pulp_created')
131
+ self.pulp_created = attributes[:'pulp_created']
132
+ end
133
+
122
134
  if attributes.key?(:'pulp_labels')
123
135
  if (value = attributes[:'pulp_labels']).is_a?(Hash)
124
136
  self.pulp_labels = value
@@ -129,26 +141,14 @@ module PulpContainerClient
129
141
  self.repository = attributes[:'repository']
130
142
  end
131
143
 
132
- if attributes.key?(:'pulp_created')
133
- self.pulp_created = attributes[:'pulp_created']
134
- end
135
-
136
144
  if attributes.key?(:'base_path')
137
145
  self.base_path = attributes[:'base_path']
138
146
  end
139
147
 
140
- if attributes.key?(:'pulp_href')
141
- self.pulp_href = attributes[:'pulp_href']
142
- end
143
-
144
148
  if attributes.key?(:'name')
145
149
  self.name = attributes[:'name']
146
150
  end
147
151
 
148
- if attributes.key?(:'content_guard')
149
- self.content_guard = attributes[:'content_guard']
150
- end
151
-
152
152
  if attributes.key?(:'remote')
153
153
  self.remote = attributes[:'remote']
154
154
  end
@@ -205,14 +205,14 @@ module PulpContainerClient
205
205
  def ==(o)
206
206
  return true if self.equal?(o)
207
207
  self.class == o.class &&
208
+ content_guard == o.content_guard &&
208
209
  hidden == o.hidden &&
210
+ pulp_href == o.pulp_href &&
211
+ pulp_created == o.pulp_created &&
209
212
  pulp_labels == o.pulp_labels &&
210
213
  repository == o.repository &&
211
- pulp_created == o.pulp_created &&
212
214
  base_path == o.base_path &&
213
- pulp_href == o.pulp_href &&
214
215
  name == o.name &&
215
- content_guard == o.content_guard &&
216
216
  remote == o.remote &&
217
217
  distributions == o.distributions &&
218
218
  namespace == o.namespace &&
@@ -229,7 +229,7 @@ module PulpContainerClient
229
229
  # Calculates hash code according to all attributes.
230
230
  # @return [Integer] Hash code
231
231
  def hash
232
- [hidden, pulp_labels, repository, pulp_created, base_path, pulp_href, name, content_guard, remote, distributions, namespace, private, description].hash
232
+ [content_guard, hidden, pulp_href, pulp_created, pulp_labels, repository, base_path, name, remote, distributions, namespace, private, description].hash
233
233
  end
234
234
 
235
235
  # Builds the object from hash
@@ -15,48 +15,48 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # Serializer for Container Push Repositories.
17
17
  class ContainerContainerPushRepository
18
+ # Retain X versions of the repository. Default is null which retains all versions.
19
+ attr_accessor :retain_repo_versions
20
+
18
21
  # A reference to an associated signing service.
19
22
  attr_accessor :manifest_signing_service
20
23
 
21
24
  attr_accessor :pulp_labels
22
25
 
23
- # An optional description.
24
- attr_accessor :description
25
-
26
- # Retain X versions of the repository. Default is null which retains all versions.
27
- attr_accessor :retain_repo_versions
28
-
29
26
  # A unique name for this repository.
30
27
  attr_accessor :name
31
28
 
29
+ # An optional description.
30
+ attr_accessor :description
31
+
32
32
  # Attribute mapping from ruby-style variable name to JSON key.
33
33
  def self.attribute_map
34
34
  {
35
+ :'retain_repo_versions' => :'retain_repo_versions',
35
36
  :'manifest_signing_service' => :'manifest_signing_service',
36
37
  :'pulp_labels' => :'pulp_labels',
37
- :'description' => :'description',
38
- :'retain_repo_versions' => :'retain_repo_versions',
39
- :'name' => :'name'
38
+ :'name' => :'name',
39
+ :'description' => :'description'
40
40
  }
41
41
  end
42
42
 
43
43
  # Attribute type mapping.
44
44
  def self.openapi_types
45
45
  {
46
+ :'retain_repo_versions' => :'Integer',
46
47
  :'manifest_signing_service' => :'String',
47
48
  :'pulp_labels' => :'Hash<String, String>',
48
- :'description' => :'String',
49
- :'retain_repo_versions' => :'Integer',
50
- :'name' => :'String'
49
+ :'name' => :'String',
50
+ :'description' => :'String'
51
51
  }
52
52
  end
53
53
 
54
54
  # List of attributes with nullable: true
55
55
  def self.openapi_nullable
56
56
  Set.new([
57
- :'manifest_signing_service',
58
- :'description',
59
57
  :'retain_repo_versions',
58
+ :'manifest_signing_service',
59
+ :'description'
60
60
  ])
61
61
  end
62
62
 
@@ -75,6 +75,10 @@ module PulpContainerClient
75
75
  h[k.to_sym] = v
76
76
  }
77
77
 
78
+ if attributes.key?(:'retain_repo_versions')
79
+ self.retain_repo_versions = attributes[:'retain_repo_versions']
80
+ end
81
+
78
82
  if attributes.key?(:'manifest_signing_service')
79
83
  self.manifest_signing_service = attributes[:'manifest_signing_service']
80
84
  end
@@ -85,27 +89,19 @@ module PulpContainerClient
85
89
  end
86
90
  end
87
91
 
88
- if attributes.key?(:'description')
89
- self.description = attributes[:'description']
90
- end
91
-
92
- if attributes.key?(:'retain_repo_versions')
93
- self.retain_repo_versions = attributes[:'retain_repo_versions']
94
- end
95
-
96
92
  if attributes.key?(:'name')
97
93
  self.name = attributes[:'name']
98
94
  end
95
+
96
+ if attributes.key?(:'description')
97
+ self.description = attributes[:'description']
98
+ end
99
99
  end
100
100
 
101
101
  # Show invalid properties with the reasons. Usually used together with valid?
102
102
  # @return Array for valid properties with the reasons
103
103
  def list_invalid_properties
104
104
  invalid_properties = Array.new
105
- if !@description.nil? && @description.to_s.length < 1
106
- invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
107
- end
108
-
109
105
  if !@retain_repo_versions.nil? && @retain_repo_versions < 1
110
106
  invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
111
107
  end
@@ -118,29 +114,23 @@ module PulpContainerClient
118
114
  invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
119
115
  end
120
116
 
117
+ if !@description.nil? && @description.to_s.length < 1
118
+ invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
119
+ end
120
+
121
121
  invalid_properties
122
122
  end
123
123
 
124
124
  # Check to see if the all the properties in the model are valid
125
125
  # @return true if the model is valid
126
126
  def valid?
127
- return false if !@description.nil? && @description.to_s.length < 1
128
127
  return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
129
128
  return false if @name.nil?
130
129
  return false if @name.to_s.length < 1
130
+ return false if !@description.nil? && @description.to_s.length < 1
131
131
  true
132
132
  end
133
133
 
134
- # Custom attribute writer method with validation
135
- # @param [Object] description Value to be assigned
136
- def description=(description)
137
- if !description.nil? && description.to_s.length < 1
138
- fail ArgumentError, 'invalid value for "description", the character length must be great than or equal to 1.'
139
- end
140
-
141
- @description = description
142
- end
143
-
144
134
  # Custom attribute writer method with validation
145
135
  # @param [Object] retain_repo_versions Value to be assigned
146
136
  def retain_repo_versions=(retain_repo_versions)
@@ -165,16 +155,26 @@ module PulpContainerClient
165
155
  @name = name
166
156
  end
167
157
 
158
+ # Custom attribute writer method with validation
159
+ # @param [Object] description Value to be assigned
160
+ def description=(description)
161
+ if !description.nil? && description.to_s.length < 1
162
+ fail ArgumentError, 'invalid value for "description", the character length must be great than or equal to 1.'
163
+ end
164
+
165
+ @description = description
166
+ end
167
+
168
168
  # Checks equality by comparing each attribute.
169
169
  # @param [Object] Object to be compared
170
170
  def ==(o)
171
171
  return true if self.equal?(o)
172
172
  self.class == o.class &&
173
+ retain_repo_versions == o.retain_repo_versions &&
173
174
  manifest_signing_service == o.manifest_signing_service &&
174
175
  pulp_labels == o.pulp_labels &&
175
- description == o.description &&
176
- retain_repo_versions == o.retain_repo_versions &&
177
- name == o.name
176
+ name == o.name &&
177
+ description == o.description
178
178
  end
179
179
 
180
180
  # @see the `==` method
@@ -186,7 +186,7 @@ module PulpContainerClient
186
186
  # Calculates hash code according to all attributes.
187
187
  # @return [Integer] Hash code
188
188
  def hash
189
- [manifest_signing_service, pulp_labels, description, retain_repo_versions, name].hash
189
+ [retain_repo_versions, manifest_signing_service, pulp_labels, name, description].hash
190
190
  end
191
191
 
192
192
  # Builds the object from hash