pulp_container_client 2.15.0.dev1670123194 → 2.15.0.dev1670295966

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of pulp_container_client might be problematic. Click here for more details.

@@ -17,26 +17,26 @@ module PulpContainerClient
17
17
  class ContainerContainerPushRepository
18
18
  attr_accessor :pulp_labels
19
19
 
20
- # An optional description.
21
- attr_accessor :description
22
-
23
20
  # A unique name for this repository.
24
21
  attr_accessor :name
25
22
 
23
+ # A reference to an associated signing service.
24
+ attr_accessor :manifest_signing_service
25
+
26
26
  # Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future.
27
27
  attr_accessor :retain_repo_versions
28
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
35
  :'pulp_labels' => :'pulp_labels',
36
- :'description' => :'description',
37
36
  :'name' => :'name',
37
+ :'manifest_signing_service' => :'manifest_signing_service',
38
38
  :'retain_repo_versions' => :'retain_repo_versions',
39
- :'manifest_signing_service' => :'manifest_signing_service'
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' => :'Object',
47
- :'description' => :'String',
48
47
  :'name' => :'String',
48
+ :'manifest_signing_service' => :'String',
49
49
  :'retain_repo_versions' => :'Integer',
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
 
@@ -79,20 +79,20 @@ module PulpContainerClient
79
79
  self.pulp_labels = attributes[:'pulp_labels']
80
80
  end
81
81
 
82
- if attributes.key?(:'description')
83
- self.description = attributes[:'description']
84
- end
85
-
86
82
  if attributes.key?(:'name')
87
83
  self.name = attributes[:'name']
88
84
  end
89
85
 
86
+ if attributes.key?(:'manifest_signing_service')
87
+ self.manifest_signing_service = attributes[:'manifest_signing_service']
88
+ end
89
+
90
90
  if attributes.key?(:'retain_repo_versions')
91
91
  self.retain_repo_versions = attributes[:'retain_repo_versions']
92
92
  end
93
93
 
94
- if attributes.key?(:'manifest_signing_service')
95
- self.manifest_signing_service = attributes[:'manifest_signing_service']
94
+ if attributes.key?(:'description')
95
+ self.description = attributes[:'description']
96
96
  end
97
97
  end
98
98
 
@@ -100,10 +100,6 @@ module PulpContainerClient
100
100
  # @return Array for valid properties with the reasons
101
101
  def list_invalid_properties
102
102
  invalid_properties = Array.new
103
- if !@description.nil? && @description.to_s.length < 1
104
- invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
105
- end
106
-
107
103
  if @name.nil?
108
104
  invalid_properties.push('invalid value for "name", name cannot be nil.')
109
105
  end
@@ -116,29 +112,23 @@ module PulpContainerClient
116
112
  invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
117
113
  end
118
114
 
115
+ if !@description.nil? && @description.to_s.length < 1
116
+ invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
117
+ end
118
+
119
119
  invalid_properties
120
120
  end
121
121
 
122
122
  # Check to see if the all the properties in the model are valid
123
123
  # @return true if the model is valid
124
124
  def valid?
125
- return false if !@description.nil? && @description.to_s.length < 1
126
125
  return false if @name.nil?
127
126
  return false if @name.to_s.length < 1
128
127
  return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
128
+ return false if !@description.nil? && @description.to_s.length < 1
129
129
  true
130
130
  end
131
131
 
132
- # Custom attribute writer method with validation
133
- # @param [Object] description Value to be assigned
134
- def description=(description)
135
- if !description.nil? && description.to_s.length < 1
136
- fail ArgumentError, 'invalid value for "description", the character length must be great than or equal to 1.'
137
- end
138
-
139
- @description = description
140
- end
141
-
142
132
  # Custom attribute writer method with validation
143
133
  # @param [Object] name Value to be assigned
144
134
  def name=(name)
@@ -163,16 +153,26 @@ module PulpContainerClient
163
153
  @retain_repo_versions = retain_repo_versions
164
154
  end
165
155
 
156
+ # Custom attribute writer method with validation
157
+ # @param [Object] description Value to be assigned
158
+ def description=(description)
159
+ if !description.nil? && description.to_s.length < 1
160
+ fail ArgumentError, 'invalid value for "description", the character length must be great than or equal to 1.'
161
+ end
162
+
163
+ @description = description
164
+ end
165
+
166
166
  # Checks equality by comparing each attribute.
167
167
  # @param [Object] Object to be compared
168
168
  def ==(o)
169
169
  return true if self.equal?(o)
170
170
  self.class == o.class &&
171
171
  pulp_labels == o.pulp_labels &&
172
- description == o.description &&
173
172
  name == o.name &&
173
+ manifest_signing_service == o.manifest_signing_service &&
174
174
  retain_repo_versions == o.retain_repo_versions &&
175
- manifest_signing_service == o.manifest_signing_service
175
+ description == o.description
176
176
  end
177
177
 
178
178
  # @see the `==` method
@@ -184,7 +184,7 @@ module PulpContainerClient
184
184
  # Calculates hash code according to all attributes.
185
185
  # @return [Integer] Hash code
186
186
  def hash
187
- [pulp_labels, description, name, retain_repo_versions, manifest_signing_service].hash
187
+ [pulp_labels, name, manifest_signing_service, retain_repo_versions, description].hash
188
188
  end
189
189
 
190
190
  # Builds the object from hash
@@ -17,39 +17,39 @@ module PulpContainerClient
17
17
  class ContainerContainerPushRepositoryResponse
18
18
  attr_accessor :pulp_labels
19
19
 
20
- # An optional description.
21
- attr_accessor :description
22
-
23
- attr_accessor :latest_version_href
24
-
25
- attr_accessor :versions_href
26
-
27
- attr_accessor :pulp_href
28
-
29
20
  # A unique name for this repository.
30
21
  attr_accessor :name
31
22
 
23
+ # A reference to an associated signing service.
24
+ attr_accessor :manifest_signing_service
25
+
26
+ attr_accessor :latest_version_href
27
+
32
28
  # Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future.
33
29
  attr_accessor :retain_repo_versions
34
30
 
35
- # A reference to an associated signing service.
36
- attr_accessor :manifest_signing_service
31
+ attr_accessor :pulp_href
37
32
 
38
33
  # Timestamp of creation.
39
34
  attr_accessor :pulp_created
40
35
 
36
+ # An optional description.
37
+ attr_accessor :description
38
+
39
+ attr_accessor :versions_href
40
+
41
41
  # Attribute mapping from ruby-style variable name to JSON key.
42
42
  def self.attribute_map
43
43
  {
44
44
  :'pulp_labels' => :'pulp_labels',
45
- :'description' => :'description',
46
- :'latest_version_href' => :'latest_version_href',
47
- :'versions_href' => :'versions_href',
48
- :'pulp_href' => :'pulp_href',
49
45
  :'name' => :'name',
50
- :'retain_repo_versions' => :'retain_repo_versions',
51
46
  :'manifest_signing_service' => :'manifest_signing_service',
52
- :'pulp_created' => :'pulp_created'
47
+ :'latest_version_href' => :'latest_version_href',
48
+ :'retain_repo_versions' => :'retain_repo_versions',
49
+ :'pulp_href' => :'pulp_href',
50
+ :'pulp_created' => :'pulp_created',
51
+ :'description' => :'description',
52
+ :'versions_href' => :'versions_href'
53
53
  }
54
54
  end
55
55
 
@@ -57,23 +57,23 @@ module PulpContainerClient
57
57
  def self.openapi_types
58
58
  {
59
59
  :'pulp_labels' => :'Object',
60
- :'description' => :'String',
61
- :'latest_version_href' => :'String',
62
- :'versions_href' => :'String',
63
- :'pulp_href' => :'String',
64
60
  :'name' => :'String',
65
- :'retain_repo_versions' => :'Integer',
66
61
  :'manifest_signing_service' => :'String',
67
- :'pulp_created' => :'DateTime'
62
+ :'latest_version_href' => :'String',
63
+ :'retain_repo_versions' => :'Integer',
64
+ :'pulp_href' => :'String',
65
+ :'pulp_created' => :'DateTime',
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
 
@@ -96,36 +96,36 @@ module PulpContainerClient
96
96
  self.pulp_labels = attributes[:'pulp_labels']
97
97
  end
98
98
 
99
- if attributes.key?(:'description')
100
- self.description = attributes[:'description']
99
+ if attributes.key?(:'name')
100
+ self.name = attributes[:'name']
101
+ end
102
+
103
+ if attributes.key?(:'manifest_signing_service')
104
+ self.manifest_signing_service = attributes[:'manifest_signing_service']
101
105
  end
102
106
 
103
107
  if attributes.key?(:'latest_version_href')
104
108
  self.latest_version_href = attributes[:'latest_version_href']
105
109
  end
106
110
 
107
- if attributes.key?(:'versions_href')
108
- self.versions_href = attributes[:'versions_href']
111
+ if attributes.key?(:'retain_repo_versions')
112
+ self.retain_repo_versions = attributes[:'retain_repo_versions']
109
113
  end
110
114
 
111
115
  if attributes.key?(:'pulp_href')
112
116
  self.pulp_href = attributes[:'pulp_href']
113
117
  end
114
118
 
115
- if attributes.key?(:'name')
116
- self.name = attributes[:'name']
117
- end
118
-
119
- if attributes.key?(:'retain_repo_versions')
120
- self.retain_repo_versions = attributes[:'retain_repo_versions']
119
+ if attributes.key?(:'pulp_created')
120
+ self.pulp_created = attributes[:'pulp_created']
121
121
  end
122
122
 
123
- if attributes.key?(:'manifest_signing_service')
124
- self.manifest_signing_service = attributes[:'manifest_signing_service']
123
+ if attributes.key?(:'description')
124
+ self.description = attributes[:'description']
125
125
  end
126
126
 
127
- if attributes.key?(:'pulp_created')
128
- self.pulp_created = attributes[:'pulp_created']
127
+ if attributes.key?(:'versions_href')
128
+ self.versions_href = attributes[:'versions_href']
129
129
  end
130
130
  end
131
131
 
@@ -168,14 +168,14 @@ module PulpContainerClient
168
168
  return true if self.equal?(o)
169
169
  self.class == o.class &&
170
170
  pulp_labels == o.pulp_labels &&
171
- description == o.description &&
172
- latest_version_href == o.latest_version_href &&
173
- versions_href == o.versions_href &&
174
- pulp_href == o.pulp_href &&
175
171
  name == o.name &&
176
- retain_repo_versions == o.retain_repo_versions &&
177
172
  manifest_signing_service == o.manifest_signing_service &&
178
- pulp_created == o.pulp_created
173
+ latest_version_href == o.latest_version_href &&
174
+ retain_repo_versions == o.retain_repo_versions &&
175
+ pulp_href == o.pulp_href &&
176
+ pulp_created == o.pulp_created &&
177
+ description == o.description &&
178
+ versions_href == o.versions_href
179
179
  end
180
180
 
181
181
  # @see the `==` method
@@ -187,7 +187,7 @@ module PulpContainerClient
187
187
  # Calculates hash code according to all attributes.
188
188
  # @return [Integer] Hash code
189
189
  def hash
190
- [pulp_labels, description, latest_version_href, versions_href, pulp_href, name, retain_repo_versions, manifest_signing_service, pulp_created].hash
190
+ [pulp_labels, name, manifest_signing_service, latest_version_href, retain_repo_versions, pulp_href, pulp_created, description, versions_href].hash
191
191
  end
192
192
 
193
193
  # Builds the object from hash
@@ -17,18 +17,18 @@ module PulpContainerClient
17
17
  class PatchedcontainerContainerDistribution
18
18
  attr_accessor :pulp_labels
19
19
 
20
- # An optional content-guard. If none is specified, a default one will be used.
21
- attr_accessor :content_guard
20
+ # A unique name. Ex, `rawhide` and `stable`.
21
+ attr_accessor :name
22
22
 
23
23
  # 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
24
  attr_accessor :base_path
25
25
 
26
- # A unique name. Ex, `rawhide` and `stable`.
27
- attr_accessor :name
28
-
29
26
  # The latest RepositoryVersion for this Repository will be served.
30
27
  attr_accessor :repository
31
28
 
29
+ # An optional content-guard. If none is specified, a default one will be used.
30
+ attr_accessor :content_guard
31
+
32
32
  # RepositoryVersion to be served
33
33
  attr_accessor :repository_version
34
34
 
@@ -42,10 +42,10 @@ module PulpContainerClient
42
42
  def self.attribute_map
43
43
  {
44
44
  :'pulp_labels' => :'pulp_labels',
45
- :'content_guard' => :'content_guard',
46
- :'base_path' => :'base_path',
47
45
  :'name' => :'name',
46
+ :'base_path' => :'base_path',
48
47
  :'repository' => :'repository',
48
+ :'content_guard' => :'content_guard',
49
49
  :'repository_version' => :'repository_version',
50
50
  :'private' => :'private',
51
51
  :'description' => :'description'
@@ -56,10 +56,10 @@ module PulpContainerClient
56
56
  def self.openapi_types
57
57
  {
58
58
  :'pulp_labels' => :'Object',
59
- :'content_guard' => :'String',
60
- :'base_path' => :'String',
61
59
  :'name' => :'String',
60
+ :'base_path' => :'String',
62
61
  :'repository' => :'String',
62
+ :'content_guard' => :'String',
63
63
  :'repository_version' => :'String',
64
64
  :'private' => :'Boolean',
65
65
  :'description' => :'String'
@@ -94,22 +94,22 @@ module PulpContainerClient
94
94
  self.pulp_labels = attributes[:'pulp_labels']
95
95
  end
96
96
 
97
- if attributes.key?(:'content_guard')
98
- self.content_guard = attributes[:'content_guard']
97
+ if attributes.key?(:'name')
98
+ self.name = attributes[:'name']
99
99
  end
100
100
 
101
101
  if attributes.key?(:'base_path')
102
102
  self.base_path = attributes[:'base_path']
103
103
  end
104
104
 
105
- if attributes.key?(:'name')
106
- self.name = attributes[:'name']
107
- end
108
-
109
105
  if attributes.key?(:'repository')
110
106
  self.repository = attributes[:'repository']
111
107
  end
112
108
 
109
+ if attributes.key?(:'content_guard')
110
+ self.content_guard = attributes[:'content_guard']
111
+ end
112
+
113
113
  if attributes.key?(:'repository_version')
114
114
  self.repository_version = attributes[:'repository_version']
115
115
  end
@@ -127,14 +127,14 @@ module PulpContainerClient
127
127
  # @return Array for valid properties with the reasons
128
128
  def list_invalid_properties
129
129
  invalid_properties = Array.new
130
- if !@base_path.nil? && @base_path.to_s.length < 1
131
- invalid_properties.push('invalid value for "base_path", the character length must be great than or equal to 1.')
132
- end
133
-
134
130
  if !@name.nil? && @name.to_s.length < 1
135
131
  invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
136
132
  end
137
133
 
134
+ if !@base_path.nil? && @base_path.to_s.length < 1
135
+ invalid_properties.push('invalid value for "base_path", the character length must be great than or equal to 1.')
136
+ end
137
+
138
138
  if !@description.nil? && @description.to_s.length < 1
139
139
  invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
140
140
  end
@@ -145,22 +145,12 @@ module PulpContainerClient
145
145
  # Check to see if the all the properties in the model are valid
146
146
  # @return true if the model is valid
147
147
  def valid?
148
- return false if !@base_path.nil? && @base_path.to_s.length < 1
149
148
  return false if !@name.nil? && @name.to_s.length < 1
149
+ return false if !@base_path.nil? && @base_path.to_s.length < 1
150
150
  return false if !@description.nil? && @description.to_s.length < 1
151
151
  true
152
152
  end
153
153
 
154
- # Custom attribute writer method with validation
155
- # @param [Object] base_path Value to be assigned
156
- def base_path=(base_path)
157
- if !base_path.nil? && base_path.to_s.length < 1
158
- fail ArgumentError, 'invalid value for "base_path", the character length must be great than or equal to 1.'
159
- end
160
-
161
- @base_path = base_path
162
- end
163
-
164
154
  # Custom attribute writer method with validation
165
155
  # @param [Object] name Value to be assigned
166
156
  def name=(name)
@@ -171,6 +161,16 @@ module PulpContainerClient
171
161
  @name = name
172
162
  end
173
163
 
164
+ # Custom attribute writer method with validation
165
+ # @param [Object] base_path Value to be assigned
166
+ def base_path=(base_path)
167
+ if !base_path.nil? && base_path.to_s.length < 1
168
+ fail ArgumentError, 'invalid value for "base_path", the character length must be great than or equal to 1.'
169
+ end
170
+
171
+ @base_path = base_path
172
+ end
173
+
174
174
  # Custom attribute writer method with validation
175
175
  # @param [Object] description Value to be assigned
176
176
  def description=(description)
@@ -187,10 +187,10 @@ module PulpContainerClient
187
187
  return true if self.equal?(o)
188
188
  self.class == o.class &&
189
189
  pulp_labels == o.pulp_labels &&
190
- content_guard == o.content_guard &&
191
- base_path == o.base_path &&
192
190
  name == o.name &&
191
+ base_path == o.base_path &&
193
192
  repository == o.repository &&
193
+ content_guard == o.content_guard &&
194
194
  repository_version == o.repository_version &&
195
195
  private == o.private &&
196
196
  description == o.description
@@ -205,7 +205,7 @@ module PulpContainerClient
205
205
  # Calculates hash code according to all attributes.
206
206
  # @return [Integer] Hash code
207
207
  def hash
208
- [pulp_labels, content_guard, base_path, name, repository, repository_version, private, description].hash
208
+ [pulp_labels, name, base_path, repository, content_guard, repository_version, private, description].hash
209
209
  end
210
210
 
211
211
  # Builds the object from hash
@@ -17,26 +17,26 @@ module PulpContainerClient
17
17
  class PatchedcontainerContainerPushRepository
18
18
  attr_accessor :pulp_labels
19
19
 
20
- # An optional description.
21
- attr_accessor :description
22
-
23
20
  # A unique name for this repository.
24
21
  attr_accessor :name
25
22
 
23
+ # A reference to an associated signing service.
24
+ attr_accessor :manifest_signing_service
25
+
26
26
  # Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future.
27
27
  attr_accessor :retain_repo_versions
28
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
35
  :'pulp_labels' => :'pulp_labels',
36
- :'description' => :'description',
37
36
  :'name' => :'name',
37
+ :'manifest_signing_service' => :'manifest_signing_service',
38
38
  :'retain_repo_versions' => :'retain_repo_versions',
39
- :'manifest_signing_service' => :'manifest_signing_service'
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' => :'Object',
47
- :'description' => :'String',
48
47
  :'name' => :'String',
48
+ :'manifest_signing_service' => :'String',
49
49
  :'retain_repo_versions' => :'Integer',
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
 
@@ -79,20 +79,20 @@ module PulpContainerClient
79
79
  self.pulp_labels = attributes[:'pulp_labels']
80
80
  end
81
81
 
82
- if attributes.key?(:'description')
83
- self.description = attributes[:'description']
84
- end
85
-
86
82
  if attributes.key?(:'name')
87
83
  self.name = attributes[:'name']
88
84
  end
89
85
 
86
+ if attributes.key?(:'manifest_signing_service')
87
+ self.manifest_signing_service = attributes[:'manifest_signing_service']
88
+ end
89
+
90
90
  if attributes.key?(:'retain_repo_versions')
91
91
  self.retain_repo_versions = attributes[:'retain_repo_versions']
92
92
  end
93
93
 
94
- if attributes.key?(:'manifest_signing_service')
95
- self.manifest_signing_service = attributes[:'manifest_signing_service']
94
+ if attributes.key?(:'description')
95
+ self.description = attributes[:'description']
96
96
  end
97
97
  end
98
98
 
@@ -100,10 +100,6 @@ module PulpContainerClient
100
100
  # @return Array for valid properties with the reasons
101
101
  def list_invalid_properties
102
102
  invalid_properties = Array.new
103
- if !@description.nil? && @description.to_s.length < 1
104
- invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
105
- end
106
-
107
103
  if !@name.nil? && @name.to_s.length < 1
108
104
  invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
109
105
  end
@@ -112,28 +108,22 @@ module PulpContainerClient
112
108
  invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
113
109
  end
114
110
 
111
+ if !@description.nil? && @description.to_s.length < 1
112
+ invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
113
+ end
114
+
115
115
  invalid_properties
116
116
  end
117
117
 
118
118
  # Check to see if the all the properties in the model are valid
119
119
  # @return true if the model is valid
120
120
  def valid?
121
- return false if !@description.nil? && @description.to_s.length < 1
122
121
  return false if !@name.nil? && @name.to_s.length < 1
123
122
  return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
123
+ return false if !@description.nil? && @description.to_s.length < 1
124
124
  true
125
125
  end
126
126
 
127
- # Custom attribute writer method with validation
128
- # @param [Object] description Value to be assigned
129
- def description=(description)
130
- if !description.nil? && description.to_s.length < 1
131
- fail ArgumentError, 'invalid value for "description", the character length must be great than or equal to 1.'
132
- end
133
-
134
- @description = description
135
- end
136
-
137
127
  # Custom attribute writer method with validation
138
128
  # @param [Object] name Value to be assigned
139
129
  def name=(name)
@@ -154,16 +144,26 @@ module PulpContainerClient
154
144
  @retain_repo_versions = retain_repo_versions
155
145
  end
156
146
 
147
+ # Custom attribute writer method with validation
148
+ # @param [Object] description Value to be assigned
149
+ def description=(description)
150
+ if !description.nil? && description.to_s.length < 1
151
+ fail ArgumentError, 'invalid value for "description", the character length must be great than or equal to 1.'
152
+ end
153
+
154
+ @description = description
155
+ end
156
+
157
157
  # Checks equality by comparing each attribute.
158
158
  # @param [Object] Object to be compared
159
159
  def ==(o)
160
160
  return true if self.equal?(o)
161
161
  self.class == o.class &&
162
162
  pulp_labels == o.pulp_labels &&
163
- description == o.description &&
164
163
  name == o.name &&
164
+ manifest_signing_service == o.manifest_signing_service &&
165
165
  retain_repo_versions == o.retain_repo_versions &&
166
- manifest_signing_service == o.manifest_signing_service
166
+ description == o.description
167
167
  end
168
168
 
169
169
  # @see the `==` method
@@ -175,7 +175,7 @@ module PulpContainerClient
175
175
  # Calculates hash code according to all attributes.
176
176
  # @return [Integer] Hash code
177
177
  def hash
178
- [pulp_labels, description, name, retain_repo_versions, manifest_signing_service].hash
178
+ [pulp_labels, name, manifest_signing_service, retain_repo_versions, description].hash
179
179
  end
180
180
 
181
181
  # 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.15.0.dev1670123194'
14
+ VERSION = '2.15.0.dev1670295966'
15
15
  end