pulp_container_client 2.27.9 → 2.27.11
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.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/ContainerContainerDistribution.md +8 -8
- data/docs/ContainerContainerDistributionResponse.md +14 -14
- data/docs/ContainerContainerPullThroughDistribution.md +8 -8
- data/docs/ContainerContainerPullThroughDistributionResponse.md +14 -14
- data/docs/ContainerContainerPushRepository.md +8 -8
- data/docs/ContainerContainerPushRepositoryResponse.md +16 -16
- data/docs/DistributionsContainerApi.md +2 -2
- data/docs/DistributionsPullThroughApi.md +2 -2
- data/docs/PatchedcontainerContainerDistribution.md +8 -8
- data/docs/PatchedcontainerContainerPullThroughDistribution.md +8 -8
- data/docs/PatchedcontainerContainerPushRepository.md +8 -8
- data/lib/pulp_container_client/models/container_container_distribution.rb +62 -62
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +69 -69
- data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +62 -62
- data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +69 -69
- data/lib/pulp_container_client/models/container_container_push_repository.rb +73 -73
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +86 -86
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +55 -55
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +55 -55
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +71 -71
- data/lib/pulp_container_client/version.rb +1 -1
- data/spec/models/container_container_distribution_response_spec.rb +11 -11
- data/spec/models/container_container_distribution_spec.rb +6 -6
- data/spec/models/container_container_pull_through_distribution_response_spec.rb +11 -11
- data/spec/models/container_container_pull_through_distribution_spec.rb +6 -6
- data/spec/models/container_container_push_repository_response_spec.rb +11 -11
- data/spec/models/container_container_push_repository_spec.rb +6 -6
- data/spec/models/patchedcontainer_container_distribution_spec.rb +6 -6
- data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +6 -6
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +6 -6
- metadata +60 -60
|
@@ -16,26 +16,26 @@ require 'time'
|
|
|
16
16
|
module PulpContainerClient
|
|
17
17
|
# A serializer for ContainerDistribution.
|
|
18
18
|
class ContainerContainerDistribution
|
|
19
|
-
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
20
|
-
attr_accessor :base_path
|
|
21
|
-
|
|
22
19
|
# Whether this distribution should be shown in the content app.
|
|
23
20
|
attr_accessor :hidden
|
|
24
21
|
|
|
25
|
-
|
|
26
|
-
attr_accessor :content_guard
|
|
27
|
-
|
|
28
|
-
# A unique name. Ex, `rawhide` and `stable`.
|
|
29
|
-
attr_accessor :name
|
|
22
|
+
attr_accessor :pulp_labels
|
|
30
23
|
|
|
31
24
|
# The latest RepositoryVersion for this Repository will be served.
|
|
32
25
|
attr_accessor :repository
|
|
33
26
|
|
|
34
|
-
|
|
27
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
|
28
|
+
attr_accessor :name
|
|
35
29
|
|
|
36
30
|
# RepositoryVersion to be served
|
|
37
31
|
attr_accessor :repository_version
|
|
38
32
|
|
|
33
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
|
34
|
+
attr_accessor :content_guard
|
|
35
|
+
|
|
36
|
+
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
37
|
+
attr_accessor :base_path
|
|
38
|
+
|
|
39
39
|
# Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access.
|
|
40
40
|
attr_accessor :private
|
|
41
41
|
|
|
@@ -45,13 +45,13 @@ module PulpContainerClient
|
|
|
45
45
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
46
46
|
def self.attribute_map
|
|
47
47
|
{
|
|
48
|
-
:'base_path' => :'base_path',
|
|
49
48
|
:'hidden' => :'hidden',
|
|
50
|
-
:'content_guard' => :'content_guard',
|
|
51
|
-
:'name' => :'name',
|
|
52
|
-
:'repository' => :'repository',
|
|
53
49
|
:'pulp_labels' => :'pulp_labels',
|
|
50
|
+
:'repository' => :'repository',
|
|
51
|
+
:'name' => :'name',
|
|
54
52
|
:'repository_version' => :'repository_version',
|
|
53
|
+
:'content_guard' => :'content_guard',
|
|
54
|
+
:'base_path' => :'base_path',
|
|
55
55
|
:'private' => :'private',
|
|
56
56
|
:'description' => :'description'
|
|
57
57
|
}
|
|
@@ -65,13 +65,13 @@ module PulpContainerClient
|
|
|
65
65
|
# Attribute type mapping.
|
|
66
66
|
def self.openapi_types
|
|
67
67
|
{
|
|
68
|
-
:'base_path' => :'String',
|
|
69
68
|
:'hidden' => :'Boolean',
|
|
70
|
-
:'content_guard' => :'String',
|
|
71
|
-
:'name' => :'String',
|
|
72
|
-
:'repository' => :'String',
|
|
73
69
|
:'pulp_labels' => :'Hash<String, String>',
|
|
70
|
+
:'repository' => :'String',
|
|
71
|
+
:'name' => :'String',
|
|
74
72
|
:'repository_version' => :'String',
|
|
73
|
+
:'content_guard' => :'String',
|
|
74
|
+
:'base_path' => :'String',
|
|
75
75
|
:'private' => :'Boolean',
|
|
76
76
|
:'description' => :'String'
|
|
77
77
|
}
|
|
@@ -101,20 +101,20 @@ module PulpContainerClient
|
|
|
101
101
|
h[k.to_sym] = v
|
|
102
102
|
}
|
|
103
103
|
|
|
104
|
-
if attributes.key?(:'base_path')
|
|
105
|
-
self.base_path = attributes[:'base_path']
|
|
106
|
-
else
|
|
107
|
-
self.base_path = nil
|
|
108
|
-
end
|
|
109
|
-
|
|
110
104
|
if attributes.key?(:'hidden')
|
|
111
105
|
self.hidden = attributes[:'hidden']
|
|
112
106
|
else
|
|
113
107
|
self.hidden = false
|
|
114
108
|
end
|
|
115
109
|
|
|
116
|
-
if attributes.key?(:'
|
|
117
|
-
|
|
110
|
+
if attributes.key?(:'pulp_labels')
|
|
111
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
112
|
+
self.pulp_labels = value
|
|
113
|
+
end
|
|
114
|
+
end
|
|
115
|
+
|
|
116
|
+
if attributes.key?(:'repository')
|
|
117
|
+
self.repository = attributes[:'repository']
|
|
118
118
|
end
|
|
119
119
|
|
|
120
120
|
if attributes.key?(:'name')
|
|
@@ -123,18 +123,18 @@ module PulpContainerClient
|
|
|
123
123
|
self.name = nil
|
|
124
124
|
end
|
|
125
125
|
|
|
126
|
-
if attributes.key?(:'
|
|
127
|
-
self.
|
|
126
|
+
if attributes.key?(:'repository_version')
|
|
127
|
+
self.repository_version = attributes[:'repository_version']
|
|
128
128
|
end
|
|
129
129
|
|
|
130
|
-
if attributes.key?(:'
|
|
131
|
-
|
|
132
|
-
self.pulp_labels = value
|
|
133
|
-
end
|
|
130
|
+
if attributes.key?(:'content_guard')
|
|
131
|
+
self.content_guard = attributes[:'content_guard']
|
|
134
132
|
end
|
|
135
133
|
|
|
136
|
-
if attributes.key?(:'
|
|
137
|
-
self.
|
|
134
|
+
if attributes.key?(:'base_path')
|
|
135
|
+
self.base_path = attributes[:'base_path']
|
|
136
|
+
else
|
|
137
|
+
self.base_path = nil
|
|
138
138
|
end
|
|
139
139
|
|
|
140
140
|
if attributes.key?(:'private')
|
|
@@ -151,14 +151,6 @@ module PulpContainerClient
|
|
|
151
151
|
def list_invalid_properties
|
|
152
152
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
153
153
|
invalid_properties = Array.new
|
|
154
|
-
if @base_path.nil?
|
|
155
|
-
invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
|
|
156
|
-
end
|
|
157
|
-
|
|
158
|
-
if @base_path.to_s.length < 1
|
|
159
|
-
invalid_properties.push('invalid value for "base_path", the character length must be great than or equal to 1.')
|
|
160
|
-
end
|
|
161
|
-
|
|
162
154
|
if @name.nil?
|
|
163
155
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
|
164
156
|
end
|
|
@@ -167,6 +159,14 @@ module PulpContainerClient
|
|
|
167
159
|
invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
|
|
168
160
|
end
|
|
169
161
|
|
|
162
|
+
if @base_path.nil?
|
|
163
|
+
invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
|
|
164
|
+
end
|
|
165
|
+
|
|
166
|
+
if @base_path.to_s.length < 1
|
|
167
|
+
invalid_properties.push('invalid value for "base_path", the character length must be great than or equal to 1.')
|
|
168
|
+
end
|
|
169
|
+
|
|
170
170
|
if !@description.nil? && @description.to_s.length < 1
|
|
171
171
|
invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
|
|
172
172
|
end
|
|
@@ -178,28 +178,14 @@ module PulpContainerClient
|
|
|
178
178
|
# @return true if the model is valid
|
|
179
179
|
def valid?
|
|
180
180
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
181
|
-
return false if @base_path.nil?
|
|
182
|
-
return false if @base_path.to_s.length < 1
|
|
183
181
|
return false if @name.nil?
|
|
184
182
|
return false if @name.to_s.length < 1
|
|
183
|
+
return false if @base_path.nil?
|
|
184
|
+
return false if @base_path.to_s.length < 1
|
|
185
185
|
return false if !@description.nil? && @description.to_s.length < 1
|
|
186
186
|
true
|
|
187
187
|
end
|
|
188
188
|
|
|
189
|
-
# Custom attribute writer method with validation
|
|
190
|
-
# @param [Object] base_path Value to be assigned
|
|
191
|
-
def base_path=(base_path)
|
|
192
|
-
if base_path.nil?
|
|
193
|
-
fail ArgumentError, 'base_path cannot be nil'
|
|
194
|
-
end
|
|
195
|
-
|
|
196
|
-
if base_path.to_s.length < 1
|
|
197
|
-
fail ArgumentError, 'invalid value for "base_path", the character length must be great than or equal to 1.'
|
|
198
|
-
end
|
|
199
|
-
|
|
200
|
-
@base_path = base_path
|
|
201
|
-
end
|
|
202
|
-
|
|
203
189
|
# Custom attribute writer method with validation
|
|
204
190
|
# @param [Object] name Value to be assigned
|
|
205
191
|
def name=(name)
|
|
@@ -214,6 +200,20 @@ module PulpContainerClient
|
|
|
214
200
|
@name = name
|
|
215
201
|
end
|
|
216
202
|
|
|
203
|
+
# Custom attribute writer method with validation
|
|
204
|
+
# @param [Object] base_path Value to be assigned
|
|
205
|
+
def base_path=(base_path)
|
|
206
|
+
if base_path.nil?
|
|
207
|
+
fail ArgumentError, 'base_path cannot be nil'
|
|
208
|
+
end
|
|
209
|
+
|
|
210
|
+
if base_path.to_s.length < 1
|
|
211
|
+
fail ArgumentError, 'invalid value for "base_path", the character length must be great than or equal to 1.'
|
|
212
|
+
end
|
|
213
|
+
|
|
214
|
+
@base_path = base_path
|
|
215
|
+
end
|
|
216
|
+
|
|
217
217
|
# Custom attribute writer method with validation
|
|
218
218
|
# @param [Object] description Value to be assigned
|
|
219
219
|
def description=(description)
|
|
@@ -229,13 +229,13 @@ module PulpContainerClient
|
|
|
229
229
|
def ==(o)
|
|
230
230
|
return true if self.equal?(o)
|
|
231
231
|
self.class == o.class &&
|
|
232
|
-
base_path == o.base_path &&
|
|
233
232
|
hidden == o.hidden &&
|
|
234
|
-
content_guard == o.content_guard &&
|
|
235
|
-
name == o.name &&
|
|
236
|
-
repository == o.repository &&
|
|
237
233
|
pulp_labels == o.pulp_labels &&
|
|
234
|
+
repository == o.repository &&
|
|
235
|
+
name == o.name &&
|
|
238
236
|
repository_version == o.repository_version &&
|
|
237
|
+
content_guard == o.content_guard &&
|
|
238
|
+
base_path == o.base_path &&
|
|
239
239
|
private == o.private &&
|
|
240
240
|
description == o.description
|
|
241
241
|
end
|
|
@@ -249,7 +249,7 @@ module PulpContainerClient
|
|
|
249
249
|
# Calculates hash code according to all attributes.
|
|
250
250
|
# @return [Integer] Hash code
|
|
251
251
|
def hash
|
|
252
|
-
[
|
|
252
|
+
[hidden, pulp_labels, repository, name, repository_version, content_guard, base_path, private, description].hash
|
|
253
253
|
end
|
|
254
254
|
|
|
255
255
|
# Builds the object from hash
|
|
@@ -16,31 +16,21 @@ require 'time'
|
|
|
16
16
|
module PulpContainerClient
|
|
17
17
|
# A serializer for ContainerDistribution.
|
|
18
18
|
class ContainerContainerDistributionResponse
|
|
19
|
-
# Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
|
|
20
|
-
attr_accessor :no_content_change_since
|
|
21
|
-
|
|
22
|
-
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
23
|
-
attr_accessor :base_path
|
|
24
|
-
|
|
25
19
|
# Whether this distribution should be shown in the content app.
|
|
26
20
|
attr_accessor :hidden
|
|
27
21
|
|
|
28
|
-
|
|
29
|
-
attr_accessor :pulp_last_updated
|
|
22
|
+
attr_accessor :pulp_labels
|
|
30
23
|
|
|
31
24
|
attr_accessor :pulp_href
|
|
32
25
|
|
|
33
|
-
#
|
|
34
|
-
attr_accessor :
|
|
35
|
-
|
|
36
|
-
# An optional content-guard. If none is specified, a default one will be used.
|
|
37
|
-
attr_accessor :content_guard
|
|
26
|
+
# Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
|
|
27
|
+
attr_accessor :no_content_change_since
|
|
38
28
|
|
|
39
29
|
# The Pulp Resource Name (PRN) of the associated optional content guard.
|
|
40
30
|
attr_accessor :content_guard_prn
|
|
41
31
|
|
|
42
|
-
#
|
|
43
|
-
attr_accessor :
|
|
32
|
+
# The Pulp Resource Name (PRN).
|
|
33
|
+
attr_accessor :prn
|
|
44
34
|
|
|
45
35
|
# The latest RepositoryVersion for this Repository will be served.
|
|
46
36
|
attr_accessor :repository
|
|
@@ -48,11 +38,21 @@ module PulpContainerClient
|
|
|
48
38
|
# Timestamp of creation.
|
|
49
39
|
attr_accessor :pulp_created
|
|
50
40
|
|
|
51
|
-
|
|
41
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
|
42
|
+
attr_accessor :name
|
|
52
43
|
|
|
53
44
|
# RepositoryVersion to be served
|
|
54
45
|
attr_accessor :repository_version
|
|
55
46
|
|
|
47
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
|
48
|
+
attr_accessor :content_guard
|
|
49
|
+
|
|
50
|
+
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
51
|
+
attr_accessor :base_path
|
|
52
|
+
|
|
53
|
+
# Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
|
|
54
|
+
attr_accessor :pulp_last_updated
|
|
55
|
+
|
|
56
56
|
# The Registry hostname/name/ to use with docker pull command defined by this distribution.
|
|
57
57
|
attr_accessor :registry_path
|
|
58
58
|
|
|
@@ -71,19 +71,19 @@ module PulpContainerClient
|
|
|
71
71
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
72
72
|
def self.attribute_map
|
|
73
73
|
{
|
|
74
|
-
:'no_content_change_since' => :'no_content_change_since',
|
|
75
|
-
:'base_path' => :'base_path',
|
|
76
74
|
:'hidden' => :'hidden',
|
|
77
|
-
:'
|
|
75
|
+
:'pulp_labels' => :'pulp_labels',
|
|
78
76
|
:'pulp_href' => :'pulp_href',
|
|
79
|
-
:'
|
|
80
|
-
:'content_guard' => :'content_guard',
|
|
77
|
+
:'no_content_change_since' => :'no_content_change_since',
|
|
81
78
|
:'content_guard_prn' => :'content_guard_prn',
|
|
82
|
-
:'
|
|
79
|
+
:'prn' => :'prn',
|
|
83
80
|
:'repository' => :'repository',
|
|
84
81
|
:'pulp_created' => :'pulp_created',
|
|
85
|
-
:'
|
|
82
|
+
:'name' => :'name',
|
|
86
83
|
:'repository_version' => :'repository_version',
|
|
84
|
+
:'content_guard' => :'content_guard',
|
|
85
|
+
:'base_path' => :'base_path',
|
|
86
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
|
87
87
|
:'registry_path' => :'registry_path',
|
|
88
88
|
:'remote' => :'remote',
|
|
89
89
|
:'namespace' => :'namespace',
|
|
@@ -100,19 +100,19 @@ module PulpContainerClient
|
|
|
100
100
|
# Attribute type mapping.
|
|
101
101
|
def self.openapi_types
|
|
102
102
|
{
|
|
103
|
-
:'no_content_change_since' => :'String',
|
|
104
|
-
:'base_path' => :'String',
|
|
105
103
|
:'hidden' => :'Boolean',
|
|
106
|
-
:'
|
|
104
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
107
105
|
:'pulp_href' => :'String',
|
|
108
|
-
:'
|
|
109
|
-
:'content_guard' => :'String',
|
|
106
|
+
:'no_content_change_since' => :'String',
|
|
110
107
|
:'content_guard_prn' => :'String',
|
|
111
|
-
:'
|
|
108
|
+
:'prn' => :'String',
|
|
112
109
|
:'repository' => :'String',
|
|
113
110
|
:'pulp_created' => :'Time',
|
|
114
|
-
:'
|
|
111
|
+
:'name' => :'String',
|
|
115
112
|
:'repository_version' => :'String',
|
|
113
|
+
:'content_guard' => :'String',
|
|
114
|
+
:'base_path' => :'String',
|
|
115
|
+
:'pulp_last_updated' => :'Time',
|
|
116
116
|
:'registry_path' => :'String',
|
|
117
117
|
:'remote' => :'String',
|
|
118
118
|
:'namespace' => :'String',
|
|
@@ -145,46 +145,32 @@ module PulpContainerClient
|
|
|
145
145
|
h[k.to_sym] = v
|
|
146
146
|
}
|
|
147
147
|
|
|
148
|
-
if attributes.key?(:'no_content_change_since')
|
|
149
|
-
self.no_content_change_since = attributes[:'no_content_change_since']
|
|
150
|
-
end
|
|
151
|
-
|
|
152
|
-
if attributes.key?(:'base_path')
|
|
153
|
-
self.base_path = attributes[:'base_path']
|
|
154
|
-
else
|
|
155
|
-
self.base_path = nil
|
|
156
|
-
end
|
|
157
|
-
|
|
158
148
|
if attributes.key?(:'hidden')
|
|
159
149
|
self.hidden = attributes[:'hidden']
|
|
160
150
|
else
|
|
161
151
|
self.hidden = false
|
|
162
152
|
end
|
|
163
153
|
|
|
164
|
-
if attributes.key?(:'
|
|
165
|
-
|
|
154
|
+
if attributes.key?(:'pulp_labels')
|
|
155
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
156
|
+
self.pulp_labels = value
|
|
157
|
+
end
|
|
166
158
|
end
|
|
167
159
|
|
|
168
160
|
if attributes.key?(:'pulp_href')
|
|
169
161
|
self.pulp_href = attributes[:'pulp_href']
|
|
170
162
|
end
|
|
171
163
|
|
|
172
|
-
if attributes.key?(:'
|
|
173
|
-
self.
|
|
174
|
-
end
|
|
175
|
-
|
|
176
|
-
if attributes.key?(:'content_guard')
|
|
177
|
-
self.content_guard = attributes[:'content_guard']
|
|
164
|
+
if attributes.key?(:'no_content_change_since')
|
|
165
|
+
self.no_content_change_since = attributes[:'no_content_change_since']
|
|
178
166
|
end
|
|
179
167
|
|
|
180
168
|
if attributes.key?(:'content_guard_prn')
|
|
181
169
|
self.content_guard_prn = attributes[:'content_guard_prn']
|
|
182
170
|
end
|
|
183
171
|
|
|
184
|
-
if attributes.key?(:'
|
|
185
|
-
self.
|
|
186
|
-
else
|
|
187
|
-
self.name = nil
|
|
172
|
+
if attributes.key?(:'prn')
|
|
173
|
+
self.prn = attributes[:'prn']
|
|
188
174
|
end
|
|
189
175
|
|
|
190
176
|
if attributes.key?(:'repository')
|
|
@@ -195,16 +181,30 @@ module PulpContainerClient
|
|
|
195
181
|
self.pulp_created = attributes[:'pulp_created']
|
|
196
182
|
end
|
|
197
183
|
|
|
198
|
-
if attributes.key?(:'
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
184
|
+
if attributes.key?(:'name')
|
|
185
|
+
self.name = attributes[:'name']
|
|
186
|
+
else
|
|
187
|
+
self.name = nil
|
|
202
188
|
end
|
|
203
189
|
|
|
204
190
|
if attributes.key?(:'repository_version')
|
|
205
191
|
self.repository_version = attributes[:'repository_version']
|
|
206
192
|
end
|
|
207
193
|
|
|
194
|
+
if attributes.key?(:'content_guard')
|
|
195
|
+
self.content_guard = attributes[:'content_guard']
|
|
196
|
+
end
|
|
197
|
+
|
|
198
|
+
if attributes.key?(:'base_path')
|
|
199
|
+
self.base_path = attributes[:'base_path']
|
|
200
|
+
else
|
|
201
|
+
self.base_path = nil
|
|
202
|
+
end
|
|
203
|
+
|
|
204
|
+
if attributes.key?(:'pulp_last_updated')
|
|
205
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
206
|
+
end
|
|
207
|
+
|
|
208
208
|
if attributes.key?(:'registry_path')
|
|
209
209
|
self.registry_path = attributes[:'registry_path']
|
|
210
210
|
end
|
|
@@ -231,14 +231,14 @@ module PulpContainerClient
|
|
|
231
231
|
def list_invalid_properties
|
|
232
232
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
233
233
|
invalid_properties = Array.new
|
|
234
|
-
if @base_path.nil?
|
|
235
|
-
invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
|
|
236
|
-
end
|
|
237
|
-
|
|
238
234
|
if @name.nil?
|
|
239
235
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
|
240
236
|
end
|
|
241
237
|
|
|
238
|
+
if @base_path.nil?
|
|
239
|
+
invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
|
|
240
|
+
end
|
|
241
|
+
|
|
242
242
|
invalid_properties
|
|
243
243
|
end
|
|
244
244
|
|
|
@@ -246,8 +246,8 @@ module PulpContainerClient
|
|
|
246
246
|
# @return true if the model is valid
|
|
247
247
|
def valid?
|
|
248
248
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
249
|
-
return false if @base_path.nil?
|
|
250
249
|
return false if @name.nil?
|
|
250
|
+
return false if @base_path.nil?
|
|
251
251
|
true
|
|
252
252
|
end
|
|
253
253
|
|
|
@@ -256,19 +256,19 @@ module PulpContainerClient
|
|
|
256
256
|
def ==(o)
|
|
257
257
|
return true if self.equal?(o)
|
|
258
258
|
self.class == o.class &&
|
|
259
|
-
no_content_change_since == o.no_content_change_since &&
|
|
260
|
-
base_path == o.base_path &&
|
|
261
259
|
hidden == o.hidden &&
|
|
262
|
-
|
|
260
|
+
pulp_labels == o.pulp_labels &&
|
|
263
261
|
pulp_href == o.pulp_href &&
|
|
264
|
-
|
|
265
|
-
content_guard == o.content_guard &&
|
|
262
|
+
no_content_change_since == o.no_content_change_since &&
|
|
266
263
|
content_guard_prn == o.content_guard_prn &&
|
|
267
|
-
|
|
264
|
+
prn == o.prn &&
|
|
268
265
|
repository == o.repository &&
|
|
269
266
|
pulp_created == o.pulp_created &&
|
|
270
|
-
|
|
267
|
+
name == o.name &&
|
|
271
268
|
repository_version == o.repository_version &&
|
|
269
|
+
content_guard == o.content_guard &&
|
|
270
|
+
base_path == o.base_path &&
|
|
271
|
+
pulp_last_updated == o.pulp_last_updated &&
|
|
272
272
|
registry_path == o.registry_path &&
|
|
273
273
|
remote == o.remote &&
|
|
274
274
|
namespace == o.namespace &&
|
|
@@ -285,7 +285,7 @@ module PulpContainerClient
|
|
|
285
285
|
# Calculates hash code according to all attributes.
|
|
286
286
|
# @return [Integer] Hash code
|
|
287
287
|
def hash
|
|
288
|
-
[
|
|
288
|
+
[hidden, pulp_labels, pulp_href, no_content_change_since, content_guard_prn, prn, repository, pulp_created, name, repository_version, content_guard, base_path, pulp_last_updated, registry_path, remote, namespace, private, description].hash
|
|
289
289
|
end
|
|
290
290
|
|
|
291
291
|
# Builds the object from hash
|