pulp_container_client 2.16.6 → 2.16.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -17,26 +17,26 @@ module PulpContainerClient
17
17
  class ContainerContainerPushRepository
18
18
  attr_accessor :pulp_labels
19
19
 
20
+ # A reference to an associated signing service.
21
+ attr_accessor :manifest_signing_service
22
+
23
+ # Retain X versions of the repository. Default is null which retains all versions.
24
+ attr_accessor :retain_repo_versions
25
+
20
26
  # A unique name for this repository.
21
27
  attr_accessor :name
22
28
 
23
29
  # An optional description.
24
30
  attr_accessor :description
25
31
 
26
- # Retain X versions of the repository. Default is null which retains all versions.
27
- attr_accessor :retain_repo_versions
28
-
29
- # A reference to an associated signing service.
30
- attr_accessor :manifest_signing_service
31
-
32
32
  # Attribute mapping from ruby-style variable name to JSON key.
33
33
  def self.attribute_map
34
34
  {
35
35
  :'pulp_labels' => :'pulp_labels',
36
- :'name' => :'name',
37
- :'description' => :'description',
36
+ :'manifest_signing_service' => :'manifest_signing_service',
38
37
  :'retain_repo_versions' => :'retain_repo_versions',
39
- :'manifest_signing_service' => :'manifest_signing_service'
38
+ :'name' => :'name',
39
+ :'description' => :'description'
40
40
  }
41
41
  end
42
42
 
@@ -44,19 +44,19 @@ module PulpContainerClient
44
44
  def self.openapi_types
45
45
  {
46
46
  :'pulp_labels' => :'Hash<String, String>',
47
- :'name' => :'String',
48
- :'description' => :'String',
47
+ :'manifest_signing_service' => :'String',
49
48
  :'retain_repo_versions' => :'Integer',
50
- :'manifest_signing_service' => :'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
- :'description',
57
+ :'manifest_signing_service',
58
58
  :'retain_repo_versions',
59
- :'manifest_signing_service'
59
+ :'description'
60
60
  ])
61
61
  end
62
62
 
@@ -81,20 +81,20 @@ module PulpContainerClient
81
81
  end
82
82
  end
83
83
 
84
- if attributes.key?(:'name')
85
- self.name = attributes[:'name']
86
- end
87
-
88
- if attributes.key?(:'description')
89
- self.description = attributes[:'description']
84
+ if attributes.key?(:'manifest_signing_service')
85
+ self.manifest_signing_service = attributes[:'manifest_signing_service']
90
86
  end
91
87
 
92
88
  if attributes.key?(:'retain_repo_versions')
93
89
  self.retain_repo_versions = attributes[:'retain_repo_versions']
94
90
  end
95
91
 
96
- if attributes.key?(:'manifest_signing_service')
97
- self.manifest_signing_service = attributes[:'manifest_signing_service']
92
+ if attributes.key?(:'name')
93
+ self.name = attributes[:'name']
94
+ end
95
+
96
+ if attributes.key?(:'description')
97
+ self.description = attributes[:'description']
98
98
  end
99
99
  end
100
100
 
@@ -102,6 +102,10 @@ 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 !@retain_repo_versions.nil? && @retain_repo_versions < 1
106
+ invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
107
+ end
108
+
105
109
  if @name.nil?
106
110
  invalid_properties.push('invalid value for "name", name cannot be nil.')
107
111
  end
@@ -114,23 +118,29 @@ module PulpContainerClient
114
118
  invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
115
119
  end
116
120
 
117
- if !@retain_repo_versions.nil? && @retain_repo_versions < 1
118
- invalid_properties.push('invalid value for "retain_repo_versions", must be greater 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 !@retain_repo_versions.nil? && @retain_repo_versions < 1
127
128
  return false if @name.nil?
128
129
  return false if @name.to_s.length < 1
129
130
  return false if !@description.nil? && @description.to_s.length < 1
130
- return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
131
131
  true
132
132
  end
133
133
 
134
+ # Custom attribute writer method with validation
135
+ # @param [Object] retain_repo_versions Value to be assigned
136
+ def retain_repo_versions=(retain_repo_versions)
137
+ if !retain_repo_versions.nil? && retain_repo_versions < 1
138
+ fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
139
+ end
140
+
141
+ @retain_repo_versions = retain_repo_versions
142
+ end
143
+
134
144
  # Custom attribute writer method with validation
135
145
  # @param [Object] name Value to be assigned
136
146
  def name=(name)
@@ -155,26 +165,16 @@ module PulpContainerClient
155
165
  @description = description
156
166
  end
157
167
 
158
- # Custom attribute writer method with validation
159
- # @param [Object] retain_repo_versions Value to be assigned
160
- def retain_repo_versions=(retain_repo_versions)
161
- if !retain_repo_versions.nil? && retain_repo_versions < 1
162
- fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
163
- end
164
-
165
- @retain_repo_versions = retain_repo_versions
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
173
  pulp_labels == o.pulp_labels &&
174
- name == o.name &&
175
- description == o.description &&
174
+ manifest_signing_service == o.manifest_signing_service &&
176
175
  retain_repo_versions == o.retain_repo_versions &&
177
- manifest_signing_service == o.manifest_signing_service
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
- [pulp_labels, name, description, retain_repo_versions, 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,65 +15,65 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # Serializer for Container Push Repositories.
17
17
  class ContainerContainerPushRepositoryResponse
18
- attr_accessor :versions_href
19
-
20
18
  attr_accessor :pulp_labels
21
19
 
22
- # A unique name for this repository.
23
- attr_accessor :name
24
-
25
- # An optional description.
26
- attr_accessor :description
20
+ # A reference to an associated signing service.
21
+ attr_accessor :manifest_signing_service
27
22
 
28
23
  attr_accessor :pulp_href
29
24
 
30
25
  attr_accessor :latest_version_href
31
26
 
27
+ # Timestamp of creation.
28
+ attr_accessor :pulp_created
29
+
32
30
  # Retain X versions of the repository. Default is null which retains all versions.
33
31
  attr_accessor :retain_repo_versions
34
32
 
35
- # A reference to an associated signing service.
36
- attr_accessor :manifest_signing_service
33
+ # A unique name for this repository.
34
+ attr_accessor :name
37
35
 
38
- # Timestamp of creation.
39
- attr_accessor :pulp_created
36
+ # An optional description.
37
+ attr_accessor :description
38
+
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
- :'versions_href' => :'versions_href',
45
44
  :'pulp_labels' => :'pulp_labels',
46
- :'name' => :'name',
47
- :'description' => :'description',
45
+ :'manifest_signing_service' => :'manifest_signing_service',
48
46
  :'pulp_href' => :'pulp_href',
49
47
  :'latest_version_href' => :'latest_version_href',
48
+ :'pulp_created' => :'pulp_created',
50
49
  :'retain_repo_versions' => :'retain_repo_versions',
51
- :'manifest_signing_service' => :'manifest_signing_service',
52
- :'pulp_created' => :'pulp_created'
50
+ :'name' => :'name',
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
- :'versions_href' => :'String',
60
59
  :'pulp_labels' => :'Hash<String, String>',
61
- :'name' => :'String',
62
- :'description' => :'String',
60
+ :'manifest_signing_service' => :'String',
63
61
  :'pulp_href' => :'String',
64
62
  :'latest_version_href' => :'String',
63
+ :'pulp_created' => :'DateTime',
65
64
  :'retain_repo_versions' => :'Integer',
66
- :'manifest_signing_service' => :'String',
67
- :'pulp_created' => :'DateTime'
65
+ :'name' => :'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,22 +92,14 @@ module PulpContainerClient
92
92
  h[k.to_sym] = v
93
93
  }
94
94
 
95
- if attributes.key?(:'versions_href')
96
- self.versions_href = attributes[:'versions_href']
97
- end
98
-
99
95
  if attributes.key?(:'pulp_labels')
100
96
  if (value = attributes[:'pulp_labels']).is_a?(Hash)
101
97
  self.pulp_labels = value
102
98
  end
103
99
  end
104
100
 
105
- if attributes.key?(:'name')
106
- self.name = attributes[:'name']
107
- end
108
-
109
- if attributes.key?(:'description')
110
- self.description = attributes[:'description']
101
+ if attributes.key?(:'manifest_signing_service')
102
+ self.manifest_signing_service = attributes[:'manifest_signing_service']
111
103
  end
112
104
 
113
105
  if attributes.key?(:'pulp_href')
@@ -118,16 +110,24 @@ module PulpContainerClient
118
110
  self.latest_version_href = attributes[:'latest_version_href']
119
111
  end
120
112
 
113
+ if attributes.key?(:'pulp_created')
114
+ self.pulp_created = attributes[:'pulp_created']
115
+ end
116
+
121
117
  if attributes.key?(:'retain_repo_versions')
122
118
  self.retain_repo_versions = attributes[:'retain_repo_versions']
123
119
  end
124
120
 
125
- if attributes.key?(:'manifest_signing_service')
126
- self.manifest_signing_service = attributes[:'manifest_signing_service']
121
+ if attributes.key?(:'name')
122
+ self.name = attributes[:'name']
127
123
  end
128
124
 
129
- if attributes.key?(:'pulp_created')
130
- self.pulp_created = attributes[:'pulp_created']
125
+ if attributes.key?(:'description')
126
+ self.description = attributes[:'description']
127
+ end
128
+
129
+ if attributes.key?(:'versions_href')
130
+ self.versions_href = attributes[:'versions_href']
131
131
  end
132
132
  end
133
133
 
@@ -135,22 +135,22 @@ module PulpContainerClient
135
135
  # @return Array for valid properties with the reasons
136
136
  def list_invalid_properties
137
137
  invalid_properties = Array.new
138
- if @name.nil?
139
- invalid_properties.push('invalid value for "name", name cannot be nil.')
140
- end
141
-
142
138
  if !@retain_repo_versions.nil? && @retain_repo_versions < 1
143
139
  invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
144
140
  end
145
141
 
142
+ if @name.nil?
143
+ invalid_properties.push('invalid value for "name", name cannot be nil.')
144
+ end
145
+
146
146
  invalid_properties
147
147
  end
148
148
 
149
149
  # Check to see if the all the properties in the model are valid
150
150
  # @return true if the model is valid
151
151
  def valid?
152
- return false if @name.nil?
153
152
  return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
153
+ return false if @name.nil?
154
154
  true
155
155
  end
156
156
 
@@ -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
- versions_href == o.versions_href &&
173
172
  pulp_labels == o.pulp_labels &&
174
- name == o.name &&
175
- description == o.description &&
173
+ manifest_signing_service == o.manifest_signing_service &&
176
174
  pulp_href == o.pulp_href &&
177
175
  latest_version_href == o.latest_version_href &&
176
+ pulp_created == o.pulp_created &&
178
177
  retain_repo_versions == o.retain_repo_versions &&
179
- manifest_signing_service == o.manifest_signing_service &&
180
- pulp_created == o.pulp_created
178
+ name == o.name &&
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
- [versions_href, pulp_labels, name, description, pulp_href, latest_version_href, retain_repo_versions, manifest_signing_service, pulp_created].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
@@ -17,21 +17,21 @@ module PulpContainerClient
17
17
  class PatchedcontainerContainerDistribution
18
18
  attr_accessor :pulp_labels
19
19
 
20
+ # Whether this distribution should be shown in the content app.
21
+ attr_accessor :hidden
22
+
20
23
  # A unique name. Ex, `rawhide` and `stable`.
21
24
  attr_accessor :name
22
25
 
26
+ # An optional content-guard. If none is specified, a default one will be used.
27
+ attr_accessor :content_guard
28
+
23
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\")
24
30
  attr_accessor :base_path
25
31
 
26
- # Whether this distribution should be shown in the content app.
27
- attr_accessor :hidden
28
-
29
32
  # The latest RepositoryVersion for this Repository will be served.
30
33
  attr_accessor :repository
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
  # RepositoryVersion to be served
36
36
  attr_accessor :repository_version
37
37
 
@@ -45,11 +45,11 @@ module PulpContainerClient
45
45
  def self.attribute_map
46
46
  {
47
47
  :'pulp_labels' => :'pulp_labels',
48
+ :'hidden' => :'hidden',
48
49
  :'name' => :'name',
50
+ :'content_guard' => :'content_guard',
49
51
  :'base_path' => :'base_path',
50
- :'hidden' => :'hidden',
51
52
  :'repository' => :'repository',
52
- :'content_guard' => :'content_guard',
53
53
  :'repository_version' => :'repository_version',
54
54
  :'private' => :'private',
55
55
  :'description' => :'description'
@@ -60,11 +60,11 @@ module PulpContainerClient
60
60
  def self.openapi_types
61
61
  {
62
62
  :'pulp_labels' => :'Hash<String, String>',
63
+ :'hidden' => :'Boolean',
63
64
  :'name' => :'String',
65
+ :'content_guard' => :'String',
64
66
  :'base_path' => :'String',
65
- :'hidden' => :'Boolean',
66
67
  :'repository' => :'String',
67
- :'content_guard' => :'String',
68
68
  :'repository_version' => :'String',
69
69
  :'private' => :'Boolean',
70
70
  :'description' => :'String'
@@ -101,28 +101,28 @@ module PulpContainerClient
101
101
  end
102
102
  end
103
103
 
104
- if attributes.key?(:'name')
105
- self.name = attributes[:'name']
106
- end
107
-
108
- if attributes.key?(:'base_path')
109
- self.base_path = attributes[:'base_path']
110
- end
111
-
112
104
  if attributes.key?(:'hidden')
113
105
  self.hidden = attributes[:'hidden']
114
106
  else
115
107
  self.hidden = false
116
108
  end
117
109
 
118
- if attributes.key?(:'repository')
119
- self.repository = attributes[:'repository']
110
+ if attributes.key?(:'name')
111
+ self.name = attributes[:'name']
120
112
  end
121
113
 
122
114
  if attributes.key?(:'content_guard')
123
115
  self.content_guard = attributes[:'content_guard']
124
116
  end
125
117
 
118
+ if attributes.key?(:'base_path')
119
+ self.base_path = attributes[:'base_path']
120
+ end
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
@@ -200,11 +200,11 @@ module PulpContainerClient
200
200
  return true if self.equal?(o)
201
201
  self.class == o.class &&
202
202
  pulp_labels == o.pulp_labels &&
203
+ hidden == o.hidden &&
203
204
  name == o.name &&
205
+ content_guard == o.content_guard &&
204
206
  base_path == o.base_path &&
205
- hidden == o.hidden &&
206
207
  repository == o.repository &&
207
- content_guard == o.content_guard &&
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
- [pulp_labels, name, base_path, hidden, repository, content_guard, 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
@@ -17,26 +17,26 @@ module PulpContainerClient
17
17
  class PatchedcontainerContainerPushRepository
18
18
  attr_accessor :pulp_labels
19
19
 
20
+ # A reference to an associated signing service.
21
+ attr_accessor :manifest_signing_service
22
+
23
+ # Retain X versions of the repository. Default is null which retains all versions.
24
+ attr_accessor :retain_repo_versions
25
+
20
26
  # A unique name for this repository.
21
27
  attr_accessor :name
22
28
 
23
29
  # An optional description.
24
30
  attr_accessor :description
25
31
 
26
- # Retain X versions of the repository. Default is null which retains all versions.
27
- attr_accessor :retain_repo_versions
28
-
29
- # A reference to an associated signing service.
30
- attr_accessor :manifest_signing_service
31
-
32
32
  # Attribute mapping from ruby-style variable name to JSON key.
33
33
  def self.attribute_map
34
34
  {
35
35
  :'pulp_labels' => :'pulp_labels',
36
- :'name' => :'name',
37
- :'description' => :'description',
36
+ :'manifest_signing_service' => :'manifest_signing_service',
38
37
  :'retain_repo_versions' => :'retain_repo_versions',
39
- :'manifest_signing_service' => :'manifest_signing_service'
38
+ :'name' => :'name',
39
+ :'description' => :'description'
40
40
  }
41
41
  end
42
42
 
@@ -44,19 +44,19 @@ module PulpContainerClient
44
44
  def self.openapi_types
45
45
  {
46
46
  :'pulp_labels' => :'Hash<String, String>',
47
- :'name' => :'String',
48
- :'description' => :'String',
47
+ :'manifest_signing_service' => :'String',
49
48
  :'retain_repo_versions' => :'Integer',
50
- :'manifest_signing_service' => :'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
- :'description',
57
+ :'manifest_signing_service',
58
58
  :'retain_repo_versions',
59
- :'manifest_signing_service'
59
+ :'description'
60
60
  ])
61
61
  end
62
62
 
@@ -81,20 +81,20 @@ module PulpContainerClient
81
81
  end
82
82
  end
83
83
 
84
- if attributes.key?(:'name')
85
- self.name = attributes[:'name']
86
- end
87
-
88
- if attributes.key?(:'description')
89
- self.description = attributes[:'description']
84
+ if attributes.key?(:'manifest_signing_service')
85
+ self.manifest_signing_service = attributes[:'manifest_signing_service']
90
86
  end
91
87
 
92
88
  if attributes.key?(:'retain_repo_versions')
93
89
  self.retain_repo_versions = attributes[:'retain_repo_versions']
94
90
  end
95
91
 
96
- if attributes.key?(:'manifest_signing_service')
97
- self.manifest_signing_service = attributes[:'manifest_signing_service']
92
+ if attributes.key?(:'name')
93
+ self.name = attributes[:'name']
94
+ end
95
+
96
+ if attributes.key?(:'description')
97
+ self.description = attributes[:'description']
98
98
  end
99
99
  end
100
100
 
@@ -102,6 +102,10 @@ 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 !@retain_repo_versions.nil? && @retain_repo_versions < 1
106
+ invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
107
+ end
108
+
105
109
  if !@name.nil? && @name.to_s.length < 1
106
110
  invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
107
111
  end
@@ -110,22 +114,28 @@ module PulpContainerClient
110
114
  invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
111
115
  end
112
116
 
113
- if !@retain_repo_versions.nil? && @retain_repo_versions < 1
114
- invalid_properties.push('invalid value for "retain_repo_versions", must be greater 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 !@retain_repo_versions.nil? && @retain_repo_versions < 1
123
124
  return false if !@name.nil? && @name.to_s.length < 1
124
125
  return false if !@description.nil? && @description.to_s.length < 1
125
- return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
126
126
  true
127
127
  end
128
128
 
129
+ # Custom attribute writer method with validation
130
+ # @param [Object] retain_repo_versions Value to be assigned
131
+ def retain_repo_versions=(retain_repo_versions)
132
+ if !retain_repo_versions.nil? && retain_repo_versions < 1
133
+ fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
134
+ end
135
+
136
+ @retain_repo_versions = retain_repo_versions
137
+ end
138
+
129
139
  # Custom attribute writer method with validation
130
140
  # @param [Object] name Value to be assigned
131
141
  def name=(name)
@@ -146,26 +156,16 @@ module PulpContainerClient
146
156
  @description = description
147
157
  end
148
158
 
149
- # Custom attribute writer method with validation
150
- # @param [Object] retain_repo_versions Value to be assigned
151
- def retain_repo_versions=(retain_repo_versions)
152
- if !retain_repo_versions.nil? && retain_repo_versions < 1
153
- fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
154
- end
155
-
156
- @retain_repo_versions = retain_repo_versions
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
164
  pulp_labels == o.pulp_labels &&
165
- name == o.name &&
166
- description == o.description &&
165
+ manifest_signing_service == o.manifest_signing_service &&
167
166
  retain_repo_versions == o.retain_repo_versions &&
168
- manifest_signing_service == o.manifest_signing_service
167
+ name == o.name &&
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
- [pulp_labels, name, description, retain_repo_versions, 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.6'
14
+ VERSION = '2.16.8'
15
15
  end