pulp_container_client 2.16.7 → 2.16.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -15,8 +15,10 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # Serializer for Container Push Repositories.
17
17
  class ContainerContainerPushRepository
18
- # An optional description.
19
- attr_accessor :description
18
+ attr_accessor :pulp_labels
19
+
20
+ # A reference to an associated signing service.
21
+ attr_accessor :manifest_signing_service
20
22
 
21
23
  # Retain X versions of the repository. Default is null which retains all versions.
22
24
  attr_accessor :retain_repo_versions
@@ -24,39 +26,37 @@ module PulpContainerClient
24
26
  # A unique name for this repository.
25
27
  attr_accessor :name
26
28
 
27
- attr_accessor :pulp_labels
28
-
29
- # A reference to an associated signing service.
30
- attr_accessor :manifest_signing_service
29
+ # An optional description.
30
+ attr_accessor :description
31
31
 
32
32
  # Attribute mapping from ruby-style variable name to JSON key.
33
33
  def self.attribute_map
34
34
  {
35
- :'description' => :'description',
35
+ :'pulp_labels' => :'pulp_labels',
36
+ :'manifest_signing_service' => :'manifest_signing_service',
36
37
  :'retain_repo_versions' => :'retain_repo_versions',
37
38
  :'name' => :'name',
38
- :'pulp_labels' => :'pulp_labels',
39
- :'manifest_signing_service' => :'manifest_signing_service'
39
+ :'description' => :'description'
40
40
  }
41
41
  end
42
42
 
43
43
  # Attribute type mapping.
44
44
  def self.openapi_types
45
45
  {
46
- :'description' => :'String',
46
+ :'pulp_labels' => :'Hash<String, String>',
47
+ :'manifest_signing_service' => :'String',
47
48
  :'retain_repo_versions' => :'Integer',
48
49
  :'name' => :'String',
49
- :'pulp_labels' => :'Hash<String, String>',
50
- :'manifest_signing_service' => :'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
- :'description',
57
+ :'manifest_signing_service',
58
58
  :'retain_repo_versions',
59
- :'manifest_signing_service'
59
+ :'description'
60
60
  ])
61
61
  end
62
62
 
@@ -75,8 +75,14 @@ module PulpContainerClient
75
75
  h[k.to_sym] = v
76
76
  }
77
77
 
78
- if attributes.key?(:'description')
79
- self.description = attributes[:'description']
78
+ if attributes.key?(:'pulp_labels')
79
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
80
+ self.pulp_labels = value
81
+ end
82
+ end
83
+
84
+ if attributes.key?(:'manifest_signing_service')
85
+ self.manifest_signing_service = attributes[:'manifest_signing_service']
80
86
  end
81
87
 
82
88
  if attributes.key?(:'retain_repo_versions')
@@ -87,14 +93,8 @@ module PulpContainerClient
87
93
  self.name = attributes[:'name']
88
94
  end
89
95
 
90
- if attributes.key?(:'pulp_labels')
91
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
92
- self.pulp_labels = value
93
- end
94
- end
95
-
96
- if attributes.key?(:'manifest_signing_service')
97
- self.manifest_signing_service = attributes[:'manifest_signing_service']
96
+ if attributes.key?(:'description')
97
+ self.description = attributes[:'description']
98
98
  end
99
99
  end
100
100
 
@@ -102,10 +102,6 @@ module PulpContainerClient
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
- description == o.description &&
173
+ pulp_labels == o.pulp_labels &&
174
+ manifest_signing_service == o.manifest_signing_service &&
174
175
  retain_repo_versions == o.retain_repo_versions &&
175
176
  name == o.name &&
176
- pulp_labels == o.pulp_labels &&
177
- manifest_signing_service == o.manifest_signing_service
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
- [description, retain_repo_versions, name, pulp_labels, manifest_signing_service].hash
189
+ [pulp_labels, manifest_signing_service, retain_repo_versions, name, description].hash
190
190
  end
191
191
 
192
192
  # Builds the object from hash
@@ -15,10 +15,14 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # Serializer for Container Push Repositories.
17
17
  class ContainerContainerPushRepositoryResponse
18
- # An optional description.
19
- attr_accessor :description
18
+ attr_accessor :pulp_labels
20
19
 
21
- attr_accessor :versions_href
20
+ # A reference to an associated signing service.
21
+ attr_accessor :manifest_signing_service
22
+
23
+ attr_accessor :pulp_href
24
+
25
+ attr_accessor :latest_version_href
22
26
 
23
27
  # Timestamp of creation.
24
28
  attr_accessor :pulp_created
@@ -29,51 +33,47 @@ module PulpContainerClient
29
33
  # A unique name for this repository.
30
34
  attr_accessor :name
31
35
 
32
- attr_accessor :latest_version_href
33
-
34
- attr_accessor :pulp_labels
35
-
36
- # A reference to an associated signing service.
37
- attr_accessor :manifest_signing_service
36
+ # An optional description.
37
+ attr_accessor :description
38
38
 
39
- attr_accessor :pulp_href
39
+ attr_accessor :versions_href
40
40
 
41
41
  # Attribute mapping from ruby-style variable name to JSON key.
42
42
  def self.attribute_map
43
43
  {
44
- :'description' => :'description',
45
- :'versions_href' => :'versions_href',
44
+ :'pulp_labels' => :'pulp_labels',
45
+ :'manifest_signing_service' => :'manifest_signing_service',
46
+ :'pulp_href' => :'pulp_href',
47
+ :'latest_version_href' => :'latest_version_href',
46
48
  :'pulp_created' => :'pulp_created',
47
49
  :'retain_repo_versions' => :'retain_repo_versions',
48
50
  :'name' => :'name',
49
- :'latest_version_href' => :'latest_version_href',
50
- :'pulp_labels' => :'pulp_labels',
51
- :'manifest_signing_service' => :'manifest_signing_service',
52
- :'pulp_href' => :'pulp_href'
51
+ :'description' => :'description',
52
+ :'versions_href' => :'versions_href'
53
53
  }
54
54
  end
55
55
 
56
56
  # Attribute type mapping.
57
57
  def self.openapi_types
58
58
  {
59
- :'description' => :'String',
60
- :'versions_href' => :'String',
59
+ :'pulp_labels' => :'Hash<String, String>',
60
+ :'manifest_signing_service' => :'String',
61
+ :'pulp_href' => :'String',
62
+ :'latest_version_href' => :'String',
61
63
  :'pulp_created' => :'DateTime',
62
64
  :'retain_repo_versions' => :'Integer',
63
65
  :'name' => :'String',
64
- :'latest_version_href' => :'String',
65
- :'pulp_labels' => :'Hash<String, String>',
66
- :'manifest_signing_service' => :'String',
67
- :'pulp_href' => :'String'
66
+ :'description' => :'String',
67
+ :'versions_href' => :'String'
68
68
  }
69
69
  end
70
70
 
71
71
  # List of attributes with nullable: true
72
72
  def self.openapi_nullable
73
73
  Set.new([
74
- :'description',
75
- :'retain_repo_versions',
76
74
  :'manifest_signing_service',
75
+ :'retain_repo_versions',
76
+ :'description',
77
77
  ])
78
78
  end
79
79
 
@@ -92,12 +92,22 @@ module PulpContainerClient
92
92
  h[k.to_sym] = v
93
93
  }
94
94
 
95
- if attributes.key?(:'description')
96
- self.description = attributes[:'description']
95
+ if attributes.key?(:'pulp_labels')
96
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
97
+ self.pulp_labels = value
98
+ end
97
99
  end
98
100
 
99
- if attributes.key?(:'versions_href')
100
- self.versions_href = attributes[:'versions_href']
101
+ if attributes.key?(:'manifest_signing_service')
102
+ self.manifest_signing_service = attributes[:'manifest_signing_service']
103
+ end
104
+
105
+ if attributes.key?(:'pulp_href')
106
+ self.pulp_href = attributes[:'pulp_href']
107
+ end
108
+
109
+ if attributes.key?(:'latest_version_href')
110
+ self.latest_version_href = attributes[:'latest_version_href']
101
111
  end
102
112
 
103
113
  if attributes.key?(:'pulp_created')
@@ -112,22 +122,12 @@ module PulpContainerClient
112
122
  self.name = attributes[:'name']
113
123
  end
114
124
 
115
- if attributes.key?(:'latest_version_href')
116
- self.latest_version_href = attributes[:'latest_version_href']
117
- end
118
-
119
- if attributes.key?(:'pulp_labels')
120
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
121
- self.pulp_labels = value
122
- end
123
- end
124
-
125
- if attributes.key?(:'manifest_signing_service')
126
- self.manifest_signing_service = attributes[:'manifest_signing_service']
125
+ if attributes.key?(:'description')
126
+ self.description = attributes[:'description']
127
127
  end
128
128
 
129
- if attributes.key?(:'pulp_href')
130
- self.pulp_href = attributes[:'pulp_href']
129
+ if attributes.key?(:'versions_href')
130
+ self.versions_href = attributes[:'versions_href']
131
131
  end
132
132
  end
133
133
 
@@ -169,15 +169,15 @@ module PulpContainerClient
169
169
  def ==(o)
170
170
  return true if self.equal?(o)
171
171
  self.class == o.class &&
172
- description == o.description &&
173
- versions_href == o.versions_href &&
172
+ pulp_labels == o.pulp_labels &&
173
+ manifest_signing_service == o.manifest_signing_service &&
174
+ pulp_href == o.pulp_href &&
175
+ latest_version_href == o.latest_version_href &&
174
176
  pulp_created == o.pulp_created &&
175
177
  retain_repo_versions == o.retain_repo_versions &&
176
178
  name == o.name &&
177
- latest_version_href == o.latest_version_href &&
178
- pulp_labels == o.pulp_labels &&
179
- manifest_signing_service == o.manifest_signing_service &&
180
- pulp_href == o.pulp_href
179
+ description == o.description &&
180
+ versions_href == o.versions_href
181
181
  end
182
182
 
183
183
  # @see the `==` method
@@ -189,7 +189,7 @@ module PulpContainerClient
189
189
  # Calculates hash code according to all attributes.
190
190
  # @return [Integer] Hash code
191
191
  def hash
192
- [description, versions_href, pulp_created, retain_repo_versions, name, latest_version_href, pulp_labels, manifest_signing_service, pulp_href].hash
192
+ [pulp_labels, manifest_signing_service, pulp_href, latest_version_href, pulp_created, retain_repo_versions, name, description, versions_href].hash
193
193
  end
194
194
 
195
195
  # Builds the object from hash
@@ -15,8 +15,7 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # A serializer for ContainerDistribution.
17
17
  class PatchedcontainerContainerDistribution
18
- # An optional content-guard. If none is specified, a default one will be used.
19
- attr_accessor :content_guard
18
+ attr_accessor :pulp_labels
20
19
 
21
20
  # Whether this distribution should be shown in the content app.
22
21
  attr_accessor :hidden
@@ -24,14 +23,15 @@ module PulpContainerClient
24
23
  # A unique name. Ex, `rawhide` and `stable`.
25
24
  attr_accessor :name
26
25
 
27
- # The latest RepositoryVersion for this Repository will be served.
28
- attr_accessor :repository
29
-
30
- attr_accessor :pulp_labels
26
+ # An optional content-guard. If none is specified, a default one will be used.
27
+ attr_accessor :content_guard
31
28
 
32
29
  # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
33
30
  attr_accessor :base_path
34
31
 
32
+ # The latest RepositoryVersion for this Repository will be served.
33
+ attr_accessor :repository
34
+
35
35
  # RepositoryVersion to be served
36
36
  attr_accessor :repository_version
37
37
 
@@ -44,12 +44,12 @@ module PulpContainerClient
44
44
  # Attribute mapping from ruby-style variable name to JSON key.
45
45
  def self.attribute_map
46
46
  {
47
- :'content_guard' => :'content_guard',
47
+ :'pulp_labels' => :'pulp_labels',
48
48
  :'hidden' => :'hidden',
49
49
  :'name' => :'name',
50
- :'repository' => :'repository',
51
- :'pulp_labels' => :'pulp_labels',
50
+ :'content_guard' => :'content_guard',
52
51
  :'base_path' => :'base_path',
52
+ :'repository' => :'repository',
53
53
  :'repository_version' => :'repository_version',
54
54
  :'private' => :'private',
55
55
  :'description' => :'description'
@@ -59,12 +59,12 @@ module PulpContainerClient
59
59
  # Attribute type mapping.
60
60
  def self.openapi_types
61
61
  {
62
- :'content_guard' => :'String',
62
+ :'pulp_labels' => :'Hash<String, String>',
63
63
  :'hidden' => :'Boolean',
64
64
  :'name' => :'String',
65
- :'repository' => :'String',
66
- :'pulp_labels' => :'Hash<String, String>',
65
+ :'content_guard' => :'String',
67
66
  :'base_path' => :'String',
67
+ :'repository' => :'String',
68
68
  :'repository_version' => :'String',
69
69
  :'private' => :'Boolean',
70
70
  :'description' => :'String'
@@ -95,8 +95,10 @@ module PulpContainerClient
95
95
  h[k.to_sym] = v
96
96
  }
97
97
 
98
- if attributes.key?(:'content_guard')
99
- self.content_guard = attributes[:'content_guard']
98
+ if attributes.key?(:'pulp_labels')
99
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
100
+ self.pulp_labels = value
101
+ end
100
102
  end
101
103
 
102
104
  if attributes.key?(:'hidden')
@@ -109,20 +111,18 @@ module PulpContainerClient
109
111
  self.name = attributes[:'name']
110
112
  end
111
113
 
112
- if attributes.key?(:'repository')
113
- self.repository = attributes[:'repository']
114
- end
115
-
116
- if attributes.key?(:'pulp_labels')
117
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
118
- self.pulp_labels = value
119
- end
114
+ if attributes.key?(:'content_guard')
115
+ self.content_guard = attributes[:'content_guard']
120
116
  end
121
117
 
122
118
  if attributes.key?(:'base_path')
123
119
  self.base_path = attributes[:'base_path']
124
120
  end
125
121
 
122
+ if attributes.key?(:'repository')
123
+ self.repository = attributes[:'repository']
124
+ end
125
+
126
126
  if attributes.key?(:'repository_version')
127
127
  self.repository_version = attributes[:'repository_version']
128
128
  end
@@ -199,12 +199,12 @@ module PulpContainerClient
199
199
  def ==(o)
200
200
  return true if self.equal?(o)
201
201
  self.class == o.class &&
202
- content_guard == o.content_guard &&
202
+ pulp_labels == o.pulp_labels &&
203
203
  hidden == o.hidden &&
204
204
  name == o.name &&
205
- repository == o.repository &&
206
- pulp_labels == o.pulp_labels &&
205
+ content_guard == o.content_guard &&
207
206
  base_path == o.base_path &&
207
+ repository == o.repository &&
208
208
  repository_version == o.repository_version &&
209
209
  private == o.private &&
210
210
  description == o.description
@@ -219,7 +219,7 @@ module PulpContainerClient
219
219
  # Calculates hash code according to all attributes.
220
220
  # @return [Integer] Hash code
221
221
  def hash
222
- [content_guard, hidden, name, repository, pulp_labels, base_path, repository_version, private, description].hash
222
+ [pulp_labels, hidden, name, content_guard, base_path, repository, repository_version, private, description].hash
223
223
  end
224
224
 
225
225
  # Builds the object from hash
@@ -15,8 +15,10 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # Serializer for Container Push Repositories.
17
17
  class PatchedcontainerContainerPushRepository
18
- # An optional description.
19
- attr_accessor :description
18
+ attr_accessor :pulp_labels
19
+
20
+ # A reference to an associated signing service.
21
+ attr_accessor :manifest_signing_service
20
22
 
21
23
  # Retain X versions of the repository. Default is null which retains all versions.
22
24
  attr_accessor :retain_repo_versions
@@ -24,39 +26,37 @@ module PulpContainerClient
24
26
  # A unique name for this repository.
25
27
  attr_accessor :name
26
28
 
27
- attr_accessor :pulp_labels
28
-
29
- # A reference to an associated signing service.
30
- attr_accessor :manifest_signing_service
29
+ # An optional description.
30
+ attr_accessor :description
31
31
 
32
32
  # Attribute mapping from ruby-style variable name to JSON key.
33
33
  def self.attribute_map
34
34
  {
35
- :'description' => :'description',
35
+ :'pulp_labels' => :'pulp_labels',
36
+ :'manifest_signing_service' => :'manifest_signing_service',
36
37
  :'retain_repo_versions' => :'retain_repo_versions',
37
38
  :'name' => :'name',
38
- :'pulp_labels' => :'pulp_labels',
39
- :'manifest_signing_service' => :'manifest_signing_service'
39
+ :'description' => :'description'
40
40
  }
41
41
  end
42
42
 
43
43
  # Attribute type mapping.
44
44
  def self.openapi_types
45
45
  {
46
- :'description' => :'String',
46
+ :'pulp_labels' => :'Hash<String, String>',
47
+ :'manifest_signing_service' => :'String',
47
48
  :'retain_repo_versions' => :'Integer',
48
49
  :'name' => :'String',
49
- :'pulp_labels' => :'Hash<String, String>',
50
- :'manifest_signing_service' => :'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
- :'description',
57
+ :'manifest_signing_service',
58
58
  :'retain_repo_versions',
59
- :'manifest_signing_service'
59
+ :'description'
60
60
  ])
61
61
  end
62
62
 
@@ -75,8 +75,14 @@ module PulpContainerClient
75
75
  h[k.to_sym] = v
76
76
  }
77
77
 
78
- if attributes.key?(:'description')
79
- self.description = attributes[:'description']
78
+ if attributes.key?(:'pulp_labels')
79
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
80
+ self.pulp_labels = value
81
+ end
82
+ end
83
+
84
+ if attributes.key?(:'manifest_signing_service')
85
+ self.manifest_signing_service = attributes[:'manifest_signing_service']
80
86
  end
81
87
 
82
88
  if attributes.key?(:'retain_repo_versions')
@@ -87,14 +93,8 @@ module PulpContainerClient
87
93
  self.name = attributes[:'name']
88
94
  end
89
95
 
90
- if attributes.key?(:'pulp_labels')
91
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
92
- self.pulp_labels = value
93
- end
94
- end
95
-
96
- if attributes.key?(:'manifest_signing_service')
97
- self.manifest_signing_service = attributes[:'manifest_signing_service']
96
+ if attributes.key?(:'description')
97
+ self.description = attributes[:'description']
98
98
  end
99
99
  end
100
100
 
@@ -102,10 +102,6 @@ module PulpContainerClient
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
@@ -114,28 +110,22 @@ module PulpContainerClient
114
110
  invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
115
111
  end
116
112
 
113
+ if !@description.nil? && @description.to_s.length < 1
114
+ invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
115
+ end
116
+
117
117
  invalid_properties
118
118
  end
119
119
 
120
120
  # Check to see if the all the properties in the model are valid
121
121
  # @return true if the model is valid
122
122
  def valid?
123
- return false if !@description.nil? && @description.to_s.length < 1
124
123
  return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
125
124
  return false if !@name.nil? && @name.to_s.length < 1
125
+ return false if !@description.nil? && @description.to_s.length < 1
126
126
  true
127
127
  end
128
128
 
129
- # Custom attribute writer method with validation
130
- # @param [Object] description Value to be assigned
131
- def description=(description)
132
- if !description.nil? && description.to_s.length < 1
133
- fail ArgumentError, 'invalid value for "description", the character length must be great than or equal to 1.'
134
- end
135
-
136
- @description = description
137
- end
138
-
139
129
  # Custom attribute writer method with validation
140
130
  # @param [Object] retain_repo_versions Value to be assigned
141
131
  def retain_repo_versions=(retain_repo_versions)
@@ -156,16 +146,26 @@ module PulpContainerClient
156
146
  @name = name
157
147
  end
158
148
 
149
+ # Custom attribute writer method with validation
150
+ # @param [Object] description Value to be assigned
151
+ def description=(description)
152
+ if !description.nil? && description.to_s.length < 1
153
+ fail ArgumentError, 'invalid value for "description", the character length must be great than or equal to 1.'
154
+ end
155
+
156
+ @description = description
157
+ end
158
+
159
159
  # Checks equality by comparing each attribute.
160
160
  # @param [Object] Object to be compared
161
161
  def ==(o)
162
162
  return true if self.equal?(o)
163
163
  self.class == o.class &&
164
- description == o.description &&
164
+ pulp_labels == o.pulp_labels &&
165
+ manifest_signing_service == o.manifest_signing_service &&
165
166
  retain_repo_versions == o.retain_repo_versions &&
166
167
  name == o.name &&
167
- pulp_labels == o.pulp_labels &&
168
- manifest_signing_service == o.manifest_signing_service
168
+ description == o.description
169
169
  end
170
170
 
171
171
  # @see the `==` method
@@ -177,7 +177,7 @@ module PulpContainerClient
177
177
  # Calculates hash code according to all attributes.
178
178
  # @return [Integer] Hash code
179
179
  def hash
180
- [description, retain_repo_versions, name, pulp_labels, manifest_signing_service].hash
180
+ [pulp_labels, manifest_signing_service, retain_repo_versions, name, description].hash
181
181
  end
182
182
 
183
183
  # Builds the object from hash
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.3.1
11
11
  =end
12
12
 
13
13
  module PulpContainerClient
14
- VERSION = '2.16.7'
14
+ VERSION = '2.16.8'
15
15
  end