pulp_container_client 2.14.0.dev1658809498 → 2.14.0.dev1659067589

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.

Potentially problematic release.


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

@@ -15,48 +15,48 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # Serializer for Container Push Repositories.
17
17
  class ContainerContainerPushRepository
18
- attr_accessor :pulp_labels
19
-
20
- # A reference to an associated signing service.
21
- attr_accessor :manifest_signing_service
18
+ # 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.
19
+ attr_accessor :retain_repo_versions
22
20
 
23
21
  # A unique name for this repository.
24
22
  attr_accessor :name
25
23
 
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
- attr_accessor :retain_repo_versions
28
-
29
24
  # An optional description.
30
25
  attr_accessor :description
31
26
 
27
+ attr_accessor :pulp_labels
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
- :'pulp_labels' => :'pulp_labels',
36
- :'manifest_signing_service' => :'manifest_signing_service',
37
- :'name' => :'name',
38
35
  :'retain_repo_versions' => :'retain_repo_versions',
39
- :'description' => :'description'
36
+ :'name' => :'name',
37
+ :'description' => :'description',
38
+ :'pulp_labels' => :'pulp_labels',
39
+ :'manifest_signing_service' => :'manifest_signing_service'
40
40
  }
41
41
  end
42
42
 
43
43
  # Attribute type mapping.
44
44
  def self.openapi_types
45
45
  {
46
- :'pulp_labels' => :'Object',
47
- :'manifest_signing_service' => :'String',
48
- :'name' => :'String',
49
46
  :'retain_repo_versions' => :'Integer',
50
- :'description' => :'String'
47
+ :'name' => :'String',
48
+ :'description' => :'String',
49
+ :'pulp_labels' => :'Object',
50
+ :'manifest_signing_service' => :'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
57
  :'retain_repo_versions',
59
- :'description'
58
+ :'description',
59
+ :'manifest_signing_service'
60
60
  ])
61
61
  end
62
62
 
@@ -75,31 +75,35 @@ module PulpContainerClient
75
75
  h[k.to_sym] = v
76
76
  }
77
77
 
78
- if attributes.key?(:'pulp_labels')
79
- self.pulp_labels = attributes[:'pulp_labels']
80
- end
81
-
82
- if attributes.key?(:'manifest_signing_service')
83
- self.manifest_signing_service = attributes[:'manifest_signing_service']
78
+ if attributes.key?(:'retain_repo_versions')
79
+ self.retain_repo_versions = attributes[:'retain_repo_versions']
84
80
  end
85
81
 
86
82
  if attributes.key?(:'name')
87
83
  self.name = attributes[:'name']
88
84
  end
89
85
 
90
- if attributes.key?(:'retain_repo_versions')
91
- self.retain_repo_versions = attributes[:'retain_repo_versions']
92
- end
93
-
94
86
  if attributes.key?(:'description')
95
87
  self.description = attributes[:'description']
96
88
  end
89
+
90
+ if attributes.key?(:'pulp_labels')
91
+ self.pulp_labels = attributes[:'pulp_labels']
92
+ end
93
+
94
+ if attributes.key?(:'manifest_signing_service')
95
+ self.manifest_signing_service = attributes[:'manifest_signing_service']
96
+ end
97
97
  end
98
98
 
99
99
  # Show invalid properties with the reasons. Usually used together with valid?
100
100
  # @return Array for valid properties with the reasons
101
101
  def list_invalid_properties
102
102
  invalid_properties = Array.new
103
+ if !@retain_repo_versions.nil? && @retain_repo_versions < 1
104
+ invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
105
+ end
106
+
103
107
  if @name.nil?
104
108
  invalid_properties.push('invalid value for "name", name cannot be nil.')
105
109
  end
@@ -108,10 +112,6 @@ module PulpContainerClient
108
112
  invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
109
113
  end
110
114
 
111
- if !@retain_repo_versions.nil? && @retain_repo_versions < 1
112
- invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
113
- end
114
-
115
115
  if !@description.nil? && @description.to_s.length < 1
116
116
  invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
117
117
  end
@@ -122,13 +122,23 @@ module PulpContainerClient
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 !@retain_repo_versions.nil? && @retain_repo_versions < 1
125
126
  return false if @name.nil?
126
127
  return false if @name.to_s.length < 1
127
- return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
128
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] retain_repo_versions Value to be assigned
134
+ def retain_repo_versions=(retain_repo_versions)
135
+ if !retain_repo_versions.nil? && retain_repo_versions < 1
136
+ fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
137
+ end
138
+
139
+ @retain_repo_versions = retain_repo_versions
140
+ end
141
+
132
142
  # Custom attribute writer method with validation
133
143
  # @param [Object] name Value to be assigned
134
144
  def name=(name)
@@ -143,16 +153,6 @@ module PulpContainerClient
143
153
  @name = name
144
154
  end
145
155
 
146
- # Custom attribute writer method with validation
147
- # @param [Object] retain_repo_versions Value to be assigned
148
- def retain_repo_versions=(retain_repo_versions)
149
- if !retain_repo_versions.nil? && retain_repo_versions < 1
150
- fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
151
- end
152
-
153
- @retain_repo_versions = retain_repo_versions
154
- end
155
-
156
156
  # Custom attribute writer method with validation
157
157
  # @param [Object] description Value to be assigned
158
158
  def description=(description)
@@ -168,11 +168,11 @@ module PulpContainerClient
168
168
  def ==(o)
169
169
  return true if self.equal?(o)
170
170
  self.class == o.class &&
171
- pulp_labels == o.pulp_labels &&
172
- manifest_signing_service == o.manifest_signing_service &&
173
- name == o.name &&
174
171
  retain_repo_versions == o.retain_repo_versions &&
175
- description == o.description
172
+ name == o.name &&
173
+ description == o.description &&
174
+ pulp_labels == o.pulp_labels &&
175
+ manifest_signing_service == o.manifest_signing_service
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, manifest_signing_service, name, retain_repo_versions, description].hash
187
+ [retain_repo_versions, name, description, pulp_labels, manifest_signing_service].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_href
19
19
 
20
- attr_accessor :pulp_labels
20
+ # 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.
21
+ attr_accessor :retain_repo_versions
21
22
 
22
- # A reference to an associated signing service.
23
- attr_accessor :manifest_signing_service
23
+ # A unique name for this repository.
24
+ attr_accessor :name
24
25
 
25
26
  # Timestamp of creation.
26
27
  attr_accessor :pulp_created
27
28
 
28
- attr_accessor :latest_version_href
29
+ # An optional description.
30
+ attr_accessor :description
29
31
 
30
- # A unique name for this repository.
31
- attr_accessor :name
32
+ attr_accessor :versions_href
32
33
 
33
- # 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.
34
- attr_accessor :retain_repo_versions
34
+ attr_accessor :latest_version_href
35
35
 
36
- attr_accessor :versions_href
36
+ attr_accessor :pulp_labels
37
37
 
38
- # An optional description.
39
- attr_accessor :description
38
+ # A reference to an associated signing service.
39
+ attr_accessor :manifest_signing_service
40
40
 
41
41
  # Attribute mapping from ruby-style variable name to JSON key.
42
42
  def self.attribute_map
43
43
  {
44
44
  :'pulp_href' => :'pulp_href',
45
- :'pulp_labels' => :'pulp_labels',
46
- :'manifest_signing_service' => :'manifest_signing_service',
47
- :'pulp_created' => :'pulp_created',
48
- :'latest_version_href' => :'latest_version_href',
49
- :'name' => :'name',
50
45
  :'retain_repo_versions' => :'retain_repo_versions',
46
+ :'name' => :'name',
47
+ :'pulp_created' => :'pulp_created',
48
+ :'description' => :'description',
51
49
  :'versions_href' => :'versions_href',
52
- :'description' => :'description'
50
+ :'latest_version_href' => :'latest_version_href',
51
+ :'pulp_labels' => :'pulp_labels',
52
+ :'manifest_signing_service' => :'manifest_signing_service'
53
53
  }
54
54
  end
55
55
 
@@ -57,23 +57,23 @@ module PulpContainerClient
57
57
  def self.openapi_types
58
58
  {
59
59
  :'pulp_href' => :'String',
60
- :'pulp_labels' => :'Object',
61
- :'manifest_signing_service' => :'String',
62
- :'pulp_created' => :'DateTime',
63
- :'latest_version_href' => :'String',
64
- :'name' => :'String',
65
60
  :'retain_repo_versions' => :'Integer',
61
+ :'name' => :'String',
62
+ :'pulp_created' => :'DateTime',
63
+ :'description' => :'String',
66
64
  :'versions_href' => :'String',
67
- :'description' => :'String'
65
+ :'latest_version_href' => :'String',
66
+ :'pulp_labels' => :'Object',
67
+ :'manifest_signing_service' => :'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
- :'manifest_signing_service',
75
74
  :'retain_repo_versions',
76
- :'description'
75
+ :'description',
76
+ :'manifest_signing_service'
77
77
  ])
78
78
  end
79
79
 
@@ -96,36 +96,36 @@ module PulpContainerClient
96
96
  self.pulp_href = attributes[:'pulp_href']
97
97
  end
98
98
 
99
- if attributes.key?(:'pulp_labels')
100
- self.pulp_labels = attributes[:'pulp_labels']
99
+ if attributes.key?(:'retain_repo_versions')
100
+ self.retain_repo_versions = attributes[:'retain_repo_versions']
101
101
  end
102
102
 
103
- if attributes.key?(:'manifest_signing_service')
104
- self.manifest_signing_service = attributes[:'manifest_signing_service']
103
+ if attributes.key?(:'name')
104
+ self.name = attributes[:'name']
105
105
  end
106
106
 
107
107
  if attributes.key?(:'pulp_created')
108
108
  self.pulp_created = attributes[:'pulp_created']
109
109
  end
110
110
 
111
- if attributes.key?(:'latest_version_href')
112
- self.latest_version_href = attributes[:'latest_version_href']
111
+ if attributes.key?(:'description')
112
+ self.description = attributes[:'description']
113
113
  end
114
114
 
115
- if attributes.key?(:'name')
116
- self.name = attributes[:'name']
115
+ if attributes.key?(:'versions_href')
116
+ self.versions_href = attributes[:'versions_href']
117
117
  end
118
118
 
119
- if attributes.key?(:'retain_repo_versions')
120
- self.retain_repo_versions = attributes[:'retain_repo_versions']
119
+ if attributes.key?(:'latest_version_href')
120
+ self.latest_version_href = attributes[:'latest_version_href']
121
121
  end
122
122
 
123
- if attributes.key?(:'versions_href')
124
- self.versions_href = attributes[:'versions_href']
123
+ if attributes.key?(:'pulp_labels')
124
+ self.pulp_labels = attributes[:'pulp_labels']
125
125
  end
126
126
 
127
- if attributes.key?(:'description')
128
- self.description = attributes[:'description']
127
+ if attributes.key?(:'manifest_signing_service')
128
+ self.manifest_signing_service = attributes[:'manifest_signing_service']
129
129
  end
130
130
  end
131
131
 
@@ -133,22 +133,22 @@ module PulpContainerClient
133
133
  # @return Array for valid properties with the reasons
134
134
  def list_invalid_properties
135
135
  invalid_properties = Array.new
136
- if @name.nil?
137
- invalid_properties.push('invalid value for "name", name cannot be nil.')
138
- end
139
-
140
136
  if !@retain_repo_versions.nil? && @retain_repo_versions < 1
141
137
  invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
142
138
  end
143
139
 
140
+ if @name.nil?
141
+ invalid_properties.push('invalid value for "name", name cannot be nil.')
142
+ end
143
+
144
144
  invalid_properties
145
145
  end
146
146
 
147
147
  # Check to see if the all the properties in the model are valid
148
148
  # @return true if the model is valid
149
149
  def valid?
150
- return false if @name.nil?
151
150
  return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
151
+ return false if @name.nil?
152
152
  true
153
153
  end
154
154
 
@@ -168,14 +168,14 @@ module PulpContainerClient
168
168
  return true if self.equal?(o)
169
169
  self.class == o.class &&
170
170
  pulp_href == o.pulp_href &&
171
- pulp_labels == o.pulp_labels &&
172
- manifest_signing_service == o.manifest_signing_service &&
173
- pulp_created == o.pulp_created &&
174
- latest_version_href == o.latest_version_href &&
175
- name == o.name &&
176
171
  retain_repo_versions == o.retain_repo_versions &&
172
+ name == o.name &&
173
+ pulp_created == o.pulp_created &&
174
+ description == o.description &&
177
175
  versions_href == o.versions_href &&
178
- description == o.description
176
+ latest_version_href == o.latest_version_href &&
177
+ pulp_labels == o.pulp_labels &&
178
+ manifest_signing_service == o.manifest_signing_service
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_href, pulp_labels, manifest_signing_service, pulp_created, latest_version_href, name, retain_repo_versions, versions_href, description].hash
190
+ [pulp_href, retain_repo_versions, name, pulp_created, description, versions_href, latest_version_href, pulp_labels, manifest_signing_service].hash
191
191
  end
192
192
 
193
193
  # Builds the object from hash
@@ -15,11 +15,6 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # A serializer for ContainerDistribution.
17
17
  class PatchedcontainerContainerDistribution
18
- # The latest RepositoryVersion for this Repository will be served.
19
- attr_accessor :repository
20
-
21
- attr_accessor :pulp_labels
22
-
23
18
  # 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
19
  attr_accessor :base_path
25
20
 
@@ -29,6 +24,11 @@ module PulpContainerClient
29
24
  # A unique name. Ex, `rawhide` and `stable`.
30
25
  attr_accessor :name
31
26
 
27
+ # The latest RepositoryVersion for this Repository will be served.
28
+ attr_accessor :repository
29
+
30
+ attr_accessor :pulp_labels
31
+
32
32
  # RepositoryVersion to be served
33
33
  attr_accessor :repository_version
34
34
 
@@ -41,11 +41,11 @@ module PulpContainerClient
41
41
  # Attribute mapping from ruby-style variable name to JSON key.
42
42
  def self.attribute_map
43
43
  {
44
- :'repository' => :'repository',
45
- :'pulp_labels' => :'pulp_labels',
46
44
  :'base_path' => :'base_path',
47
45
  :'content_guard' => :'content_guard',
48
46
  :'name' => :'name',
47
+ :'repository' => :'repository',
48
+ :'pulp_labels' => :'pulp_labels',
49
49
  :'repository_version' => :'repository_version',
50
50
  :'private' => :'private',
51
51
  :'description' => :'description'
@@ -55,11 +55,11 @@ module PulpContainerClient
55
55
  # Attribute type mapping.
56
56
  def self.openapi_types
57
57
  {
58
- :'repository' => :'String',
59
- :'pulp_labels' => :'Object',
60
58
  :'base_path' => :'String',
61
59
  :'content_guard' => :'String',
62
60
  :'name' => :'String',
61
+ :'repository' => :'String',
62
+ :'pulp_labels' => :'Object',
63
63
  :'repository_version' => :'String',
64
64
  :'private' => :'Boolean',
65
65
  :'description' => :'String'
@@ -90,14 +90,6 @@ module PulpContainerClient
90
90
  h[k.to_sym] = v
91
91
  }
92
92
 
93
- if attributes.key?(:'repository')
94
- self.repository = attributes[:'repository']
95
- end
96
-
97
- if attributes.key?(:'pulp_labels')
98
- self.pulp_labels = attributes[:'pulp_labels']
99
- end
100
-
101
93
  if attributes.key?(:'base_path')
102
94
  self.base_path = attributes[:'base_path']
103
95
  end
@@ -110,6 +102,14 @@ module PulpContainerClient
110
102
  self.name = attributes[:'name']
111
103
  end
112
104
 
105
+ if attributes.key?(:'repository')
106
+ self.repository = attributes[:'repository']
107
+ end
108
+
109
+ if attributes.key?(:'pulp_labels')
110
+ self.pulp_labels = attributes[:'pulp_labels']
111
+ end
112
+
113
113
  if attributes.key?(:'repository_version')
114
114
  self.repository_version = attributes[:'repository_version']
115
115
  end
@@ -186,11 +186,11 @@ module PulpContainerClient
186
186
  def ==(o)
187
187
  return true if self.equal?(o)
188
188
  self.class == o.class &&
189
- repository == o.repository &&
190
- pulp_labels == o.pulp_labels &&
191
189
  base_path == o.base_path &&
192
190
  content_guard == o.content_guard &&
193
191
  name == o.name &&
192
+ repository == o.repository &&
193
+ pulp_labels == o.pulp_labels &&
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
- [repository, pulp_labels, base_path, content_guard, name, repository_version, private, description].hash
208
+ [base_path, content_guard, name, repository, pulp_labels, repository_version, private, description].hash
209
209
  end
210
210
 
211
211
  # 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 PatchedcontainerContainerPushRepository
18
- attr_accessor :pulp_labels
19
-
20
- # A reference to an associated signing service.
21
- attr_accessor :manifest_signing_service
18
+ # 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.
19
+ attr_accessor :retain_repo_versions
22
20
 
23
21
  # A unique name for this repository.
24
22
  attr_accessor :name
25
23
 
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
- attr_accessor :retain_repo_versions
28
-
29
24
  # An optional description.
30
25
  attr_accessor :description
31
26
 
27
+ attr_accessor :pulp_labels
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
- :'pulp_labels' => :'pulp_labels',
36
- :'manifest_signing_service' => :'manifest_signing_service',
37
- :'name' => :'name',
38
35
  :'retain_repo_versions' => :'retain_repo_versions',
39
- :'description' => :'description'
36
+ :'name' => :'name',
37
+ :'description' => :'description',
38
+ :'pulp_labels' => :'pulp_labels',
39
+ :'manifest_signing_service' => :'manifest_signing_service'
40
40
  }
41
41
  end
42
42
 
43
43
  # Attribute type mapping.
44
44
  def self.openapi_types
45
45
  {
46
- :'pulp_labels' => :'Object',
47
- :'manifest_signing_service' => :'String',
48
- :'name' => :'String',
49
46
  :'retain_repo_versions' => :'Integer',
50
- :'description' => :'String'
47
+ :'name' => :'String',
48
+ :'description' => :'String',
49
+ :'pulp_labels' => :'Object',
50
+ :'manifest_signing_service' => :'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
57
  :'retain_repo_versions',
59
- :'description'
58
+ :'description',
59
+ :'manifest_signing_service'
60
60
  ])
61
61
  end
62
62
 
@@ -75,39 +75,39 @@ module PulpContainerClient
75
75
  h[k.to_sym] = v
76
76
  }
77
77
 
78
- if attributes.key?(:'pulp_labels')
79
- self.pulp_labels = attributes[:'pulp_labels']
80
- end
81
-
82
- if attributes.key?(:'manifest_signing_service')
83
- self.manifest_signing_service = attributes[:'manifest_signing_service']
78
+ if attributes.key?(:'retain_repo_versions')
79
+ self.retain_repo_versions = attributes[:'retain_repo_versions']
84
80
  end
85
81
 
86
82
  if attributes.key?(:'name')
87
83
  self.name = attributes[:'name']
88
84
  end
89
85
 
90
- if attributes.key?(:'retain_repo_versions')
91
- self.retain_repo_versions = attributes[:'retain_repo_versions']
92
- end
93
-
94
86
  if attributes.key?(:'description')
95
87
  self.description = attributes[:'description']
96
88
  end
89
+
90
+ if attributes.key?(:'pulp_labels')
91
+ self.pulp_labels = attributes[:'pulp_labels']
92
+ end
93
+
94
+ if attributes.key?(:'manifest_signing_service')
95
+ self.manifest_signing_service = attributes[:'manifest_signing_service']
96
+ end
97
97
  end
98
98
 
99
99
  # Show invalid properties with the reasons. Usually used together with valid?
100
100
  # @return Array for valid properties with the reasons
101
101
  def list_invalid_properties
102
102
  invalid_properties = Array.new
103
- if !@name.nil? && @name.to_s.length < 1
104
- invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
105
- end
106
-
107
103
  if !@retain_repo_versions.nil? && @retain_repo_versions < 1
108
104
  invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
109
105
  end
110
106
 
107
+ if !@name.nil? && @name.to_s.length < 1
108
+ invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
109
+ end
110
+
111
111
  if !@description.nil? && @description.to_s.length < 1
112
112
  invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
113
113
  end
@@ -118,22 +118,12 @@ module PulpContainerClient
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 !@name.nil? && @name.to_s.length < 1
122
121
  return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
122
+ return false if !@name.nil? && @name.to_s.length < 1
123
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] name Value to be assigned
129
- def name=(name)
130
- if !name.nil? && name.to_s.length < 1
131
- fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
132
- end
133
-
134
- @name = name
135
- end
136
-
137
127
  # Custom attribute writer method with validation
138
128
  # @param [Object] retain_repo_versions Value to be assigned
139
129
  def retain_repo_versions=(retain_repo_versions)
@@ -144,6 +134,16 @@ module PulpContainerClient
144
134
  @retain_repo_versions = retain_repo_versions
145
135
  end
146
136
 
137
+ # Custom attribute writer method with validation
138
+ # @param [Object] name Value to be assigned
139
+ def name=(name)
140
+ if !name.nil? && name.to_s.length < 1
141
+ fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
142
+ end
143
+
144
+ @name = name
145
+ end
146
+
147
147
  # Custom attribute writer method with validation
148
148
  # @param [Object] description Value to be assigned
149
149
  def description=(description)
@@ -159,11 +159,11 @@ module PulpContainerClient
159
159
  def ==(o)
160
160
  return true if self.equal?(o)
161
161
  self.class == o.class &&
162
- pulp_labels == o.pulp_labels &&
163
- manifest_signing_service == o.manifest_signing_service &&
164
- name == o.name &&
165
162
  retain_repo_versions == o.retain_repo_versions &&
166
- description == o.description
163
+ name == o.name &&
164
+ description == o.description &&
165
+ pulp_labels == o.pulp_labels &&
166
+ manifest_signing_service == o.manifest_signing_service
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, manifest_signing_service, name, retain_repo_versions, description].hash
178
+ [retain_repo_versions, name, description, pulp_labels, manifest_signing_service].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.14.0.dev1658809498'
14
+ VERSION = '2.14.0.dev1659067589'
15
15
  end