pulp_container_client 2.15.1 → 2.15.2

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