pulp_container_client 2.26.7 → 2.26.9
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 +16 -16
- data/docs/ContainerContainerPullThroughDistribution.md +8 -8
- data/docs/ContainerContainerPullThroughDistributionResponse.md +16 -16
- data/docs/ContainerContainerPushRepository.md +7 -7
- data/docs/ContainerContainerPushRepositoryResponse.md +17 -17
- 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 +7 -7
- data/lib/pulp_container_client/models/container_container_distribution.rb +63 -63
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +72 -72
- data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +63 -63
- data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +72 -72
- data/lib/pulp_container_client/models/container_container_push_repository.rb +48 -48
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +65 -65
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +56 -56
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +56 -56
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +46 -46
- data/lib/pulp_container_client/version.rb +1 -1
- data/spec/models/container_container_distribution_response_spec.rb +10 -10
- data/spec/models/container_container_distribution_spec.rb +6 -6
- data/spec/models/container_container_pull_through_distribution_response_spec.rb +10 -10
- 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 +5 -5
- 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 +5 -5
- metadata +60 -60
|
@@ -16,23 +16,23 @@ require 'time'
|
|
|
16
16
|
module PulpContainerClient
|
|
17
17
|
# A serializer for ContainerDistribution.
|
|
18
18
|
class ContainerContainerDistribution
|
|
19
|
-
#
|
|
20
|
-
attr_accessor :
|
|
21
|
-
|
|
22
|
-
# An optional content-guard. If none is specified, a default one will be used.
|
|
23
|
-
attr_accessor :content_guard
|
|
24
|
-
|
|
25
|
-
attr_accessor :pulp_labels
|
|
19
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
|
20
|
+
attr_accessor :name
|
|
26
21
|
|
|
27
22
|
# Whether this distribution should be shown in the content app.
|
|
28
23
|
attr_accessor :hidden
|
|
29
24
|
|
|
30
|
-
# A unique name. Ex, `rawhide` and `stable`.
|
|
31
|
-
attr_accessor :name
|
|
32
|
-
|
|
33
25
|
# The latest RepositoryVersion for this Repository will be served.
|
|
34
26
|
attr_accessor :repository
|
|
35
27
|
|
|
28
|
+
attr_accessor :pulp_labels
|
|
29
|
+
|
|
30
|
+
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
31
|
+
attr_accessor :base_path
|
|
32
|
+
|
|
33
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
|
34
|
+
attr_accessor :content_guard
|
|
35
|
+
|
|
36
36
|
# RepositoryVersion to be served
|
|
37
37
|
attr_accessor :repository_version
|
|
38
38
|
|
|
@@ -45,12 +45,12 @@ 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
|
-
:'content_guard' => :'content_guard',
|
|
50
|
-
:'pulp_labels' => :'pulp_labels',
|
|
51
|
-
:'hidden' => :'hidden',
|
|
52
48
|
:'name' => :'name',
|
|
49
|
+
:'hidden' => :'hidden',
|
|
53
50
|
:'repository' => :'repository',
|
|
51
|
+
:'pulp_labels' => :'pulp_labels',
|
|
52
|
+
:'base_path' => :'base_path',
|
|
53
|
+
:'content_guard' => :'content_guard',
|
|
54
54
|
:'repository_version' => :'repository_version',
|
|
55
55
|
:'private' => :'private',
|
|
56
56
|
:'description' => :'description'
|
|
@@ -65,12 +65,12 @@ module PulpContainerClient
|
|
|
65
65
|
# Attribute type mapping.
|
|
66
66
|
def self.openapi_types
|
|
67
67
|
{
|
|
68
|
-
:'base_path' => :'String',
|
|
69
|
-
:'content_guard' => :'String',
|
|
70
|
-
:'pulp_labels' => :'Hash<String, String>',
|
|
71
|
-
:'hidden' => :'Boolean',
|
|
72
68
|
:'name' => :'String',
|
|
69
|
+
:'hidden' => :'Boolean',
|
|
73
70
|
:'repository' => :'String',
|
|
71
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
72
|
+
:'base_path' => :'String',
|
|
73
|
+
:'content_guard' => :'String',
|
|
74
74
|
:'repository_version' => :'String',
|
|
75
75
|
:'private' => :'Boolean',
|
|
76
76
|
:'description' => :'String'
|
|
@@ -101,14 +101,20 @@ module PulpContainerClient
|
|
|
101
101
|
h[k.to_sym] = v
|
|
102
102
|
}
|
|
103
103
|
|
|
104
|
-
if attributes.key?(:'
|
|
105
|
-
self.
|
|
104
|
+
if attributes.key?(:'name')
|
|
105
|
+
self.name = attributes[:'name']
|
|
106
106
|
else
|
|
107
|
-
self.
|
|
107
|
+
self.name = nil
|
|
108
108
|
end
|
|
109
109
|
|
|
110
|
-
if attributes.key?(:'
|
|
111
|
-
self.
|
|
110
|
+
if attributes.key?(:'hidden')
|
|
111
|
+
self.hidden = attributes[:'hidden']
|
|
112
|
+
else
|
|
113
|
+
self.hidden = false
|
|
114
|
+
end
|
|
115
|
+
|
|
116
|
+
if attributes.key?(:'repository')
|
|
117
|
+
self.repository = attributes[:'repository']
|
|
112
118
|
end
|
|
113
119
|
|
|
114
120
|
if attributes.key?(:'pulp_labels')
|
|
@@ -117,20 +123,14 @@ module PulpContainerClient
|
|
|
117
123
|
end
|
|
118
124
|
end
|
|
119
125
|
|
|
120
|
-
if attributes.key?(:'
|
|
121
|
-
self.
|
|
122
|
-
else
|
|
123
|
-
self.hidden = false
|
|
124
|
-
end
|
|
125
|
-
|
|
126
|
-
if attributes.key?(:'name')
|
|
127
|
-
self.name = attributes[:'name']
|
|
126
|
+
if attributes.key?(:'base_path')
|
|
127
|
+
self.base_path = attributes[:'base_path']
|
|
128
128
|
else
|
|
129
|
-
self.
|
|
129
|
+
self.base_path = nil
|
|
130
130
|
end
|
|
131
131
|
|
|
132
|
-
if attributes.key?(:'
|
|
133
|
-
self.
|
|
132
|
+
if attributes.key?(:'content_guard')
|
|
133
|
+
self.content_guard = attributes[:'content_guard']
|
|
134
134
|
end
|
|
135
135
|
|
|
136
136
|
if attributes.key?(:'repository_version')
|
|
@@ -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,12 +229,12 @@ 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
|
-
content_guard == o.content_guard &&
|
|
234
|
-
pulp_labels == o.pulp_labels &&
|
|
235
|
-
hidden == o.hidden &&
|
|
236
232
|
name == o.name &&
|
|
233
|
+
hidden == o.hidden &&
|
|
237
234
|
repository == o.repository &&
|
|
235
|
+
pulp_labels == o.pulp_labels &&
|
|
236
|
+
base_path == o.base_path &&
|
|
237
|
+
content_guard == o.content_guard &&
|
|
238
238
|
repository_version == o.repository_version &&
|
|
239
239
|
private == o.private &&
|
|
240
240
|
description == o.description
|
|
@@ -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
|
+
[name, hidden, repository, pulp_labels, base_path, content_guard, repository_version, private, description].hash
|
|
253
253
|
end
|
|
254
254
|
|
|
255
255
|
# Builds the object from hash
|
|
@@ -16,36 +16,36 @@ require 'time'
|
|
|
16
16
|
module PulpContainerClient
|
|
17
17
|
# A serializer for ContainerDistribution.
|
|
18
18
|
class ContainerContainerDistributionResponse
|
|
19
|
-
|
|
19
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
|
20
|
+
attr_accessor :name
|
|
20
21
|
|
|
21
|
-
#
|
|
22
|
-
attr_accessor :
|
|
22
|
+
# Whether this distribution should be shown in the content app.
|
|
23
|
+
attr_accessor :hidden
|
|
23
24
|
|
|
24
25
|
# 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.
|
|
25
26
|
attr_accessor :pulp_last_updated
|
|
26
27
|
|
|
27
|
-
# Timestamp of creation.
|
|
28
|
-
attr_accessor :pulp_created
|
|
29
|
-
|
|
30
|
-
# An optional content-guard. If none is specified, a default one will be used.
|
|
31
|
-
attr_accessor :content_guard
|
|
32
|
-
|
|
33
|
-
attr_accessor :pulp_labels
|
|
34
|
-
|
|
35
28
|
# Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
|
|
36
29
|
attr_accessor :no_content_change_since
|
|
37
30
|
|
|
31
|
+
# The latest RepositoryVersion for this Repository will be served.
|
|
32
|
+
attr_accessor :repository
|
|
33
|
+
|
|
38
34
|
# The Pulp Resource Name (PRN).
|
|
39
35
|
attr_accessor :prn
|
|
40
36
|
|
|
41
|
-
|
|
42
|
-
attr_accessor :hidden
|
|
37
|
+
attr_accessor :pulp_labels
|
|
43
38
|
|
|
44
|
-
#
|
|
45
|
-
attr_accessor :
|
|
39
|
+
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
40
|
+
attr_accessor :base_path
|
|
46
41
|
|
|
47
|
-
#
|
|
48
|
-
attr_accessor :
|
|
42
|
+
# Timestamp of creation.
|
|
43
|
+
attr_accessor :pulp_created
|
|
44
|
+
|
|
45
|
+
attr_accessor :pulp_href
|
|
46
|
+
|
|
47
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
|
48
|
+
attr_accessor :content_guard
|
|
49
49
|
|
|
50
50
|
# RepositoryVersion to be served
|
|
51
51
|
attr_accessor :repository_version
|
|
@@ -68,17 +68,17 @@ module PulpContainerClient
|
|
|
68
68
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
69
69
|
def self.attribute_map
|
|
70
70
|
{
|
|
71
|
-
:'
|
|
72
|
-
:'
|
|
71
|
+
:'name' => :'name',
|
|
72
|
+
:'hidden' => :'hidden',
|
|
73
73
|
:'pulp_last_updated' => :'pulp_last_updated',
|
|
74
|
-
:'pulp_created' => :'pulp_created',
|
|
75
|
-
:'content_guard' => :'content_guard',
|
|
76
|
-
:'pulp_labels' => :'pulp_labels',
|
|
77
74
|
:'no_content_change_since' => :'no_content_change_since',
|
|
78
|
-
:'prn' => :'prn',
|
|
79
|
-
:'hidden' => :'hidden',
|
|
80
|
-
:'name' => :'name',
|
|
81
75
|
:'repository' => :'repository',
|
|
76
|
+
:'prn' => :'prn',
|
|
77
|
+
:'pulp_labels' => :'pulp_labels',
|
|
78
|
+
:'base_path' => :'base_path',
|
|
79
|
+
:'pulp_created' => :'pulp_created',
|
|
80
|
+
:'pulp_href' => :'pulp_href',
|
|
81
|
+
:'content_guard' => :'content_guard',
|
|
82
82
|
:'repository_version' => :'repository_version',
|
|
83
83
|
:'registry_path' => :'registry_path',
|
|
84
84
|
:'remote' => :'remote',
|
|
@@ -96,17 +96,17 @@ module PulpContainerClient
|
|
|
96
96
|
# Attribute type mapping.
|
|
97
97
|
def self.openapi_types
|
|
98
98
|
{
|
|
99
|
-
:'
|
|
100
|
-
:'
|
|
99
|
+
:'name' => :'String',
|
|
100
|
+
:'hidden' => :'Boolean',
|
|
101
101
|
:'pulp_last_updated' => :'Time',
|
|
102
|
-
:'pulp_created' => :'Time',
|
|
103
|
-
:'content_guard' => :'String',
|
|
104
|
-
:'pulp_labels' => :'Hash<String, String>',
|
|
105
102
|
:'no_content_change_since' => :'String',
|
|
106
|
-
:'prn' => :'String',
|
|
107
|
-
:'hidden' => :'Boolean',
|
|
108
|
-
:'name' => :'String',
|
|
109
103
|
:'repository' => :'String',
|
|
104
|
+
:'prn' => :'String',
|
|
105
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
106
|
+
:'base_path' => :'String',
|
|
107
|
+
:'pulp_created' => :'Time',
|
|
108
|
+
:'pulp_href' => :'String',
|
|
109
|
+
:'content_guard' => :'String',
|
|
110
110
|
:'repository_version' => :'String',
|
|
111
111
|
:'registry_path' => :'String',
|
|
112
112
|
:'remote' => :'String',
|
|
@@ -140,26 +140,32 @@ module PulpContainerClient
|
|
|
140
140
|
h[k.to_sym] = v
|
|
141
141
|
}
|
|
142
142
|
|
|
143
|
-
if attributes.key?(:'
|
|
144
|
-
self.
|
|
143
|
+
if attributes.key?(:'name')
|
|
144
|
+
self.name = attributes[:'name']
|
|
145
|
+
else
|
|
146
|
+
self.name = nil
|
|
145
147
|
end
|
|
146
148
|
|
|
147
|
-
if attributes.key?(:'
|
|
148
|
-
self.
|
|
149
|
+
if attributes.key?(:'hidden')
|
|
150
|
+
self.hidden = attributes[:'hidden']
|
|
149
151
|
else
|
|
150
|
-
self.
|
|
152
|
+
self.hidden = false
|
|
151
153
|
end
|
|
152
154
|
|
|
153
155
|
if attributes.key?(:'pulp_last_updated')
|
|
154
156
|
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
155
157
|
end
|
|
156
158
|
|
|
157
|
-
if attributes.key?(:'
|
|
158
|
-
self.
|
|
159
|
+
if attributes.key?(:'no_content_change_since')
|
|
160
|
+
self.no_content_change_since = attributes[:'no_content_change_since']
|
|
159
161
|
end
|
|
160
162
|
|
|
161
|
-
if attributes.key?(:'
|
|
162
|
-
self.
|
|
163
|
+
if attributes.key?(:'repository')
|
|
164
|
+
self.repository = attributes[:'repository']
|
|
165
|
+
end
|
|
166
|
+
|
|
167
|
+
if attributes.key?(:'prn')
|
|
168
|
+
self.prn = attributes[:'prn']
|
|
163
169
|
end
|
|
164
170
|
|
|
165
171
|
if attributes.key?(:'pulp_labels')
|
|
@@ -168,28 +174,22 @@ module PulpContainerClient
|
|
|
168
174
|
end
|
|
169
175
|
end
|
|
170
176
|
|
|
171
|
-
if attributes.key?(:'
|
|
172
|
-
self.
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
if attributes.key?(:'prn')
|
|
176
|
-
self.prn = attributes[:'prn']
|
|
177
|
+
if attributes.key?(:'base_path')
|
|
178
|
+
self.base_path = attributes[:'base_path']
|
|
179
|
+
else
|
|
180
|
+
self.base_path = nil
|
|
177
181
|
end
|
|
178
182
|
|
|
179
|
-
if attributes.key?(:'
|
|
180
|
-
self.
|
|
181
|
-
else
|
|
182
|
-
self.hidden = false
|
|
183
|
+
if attributes.key?(:'pulp_created')
|
|
184
|
+
self.pulp_created = attributes[:'pulp_created']
|
|
183
185
|
end
|
|
184
186
|
|
|
185
|
-
if attributes.key?(:'
|
|
186
|
-
self.
|
|
187
|
-
else
|
|
188
|
-
self.name = nil
|
|
187
|
+
if attributes.key?(:'pulp_href')
|
|
188
|
+
self.pulp_href = attributes[:'pulp_href']
|
|
189
189
|
end
|
|
190
190
|
|
|
191
|
-
if attributes.key?(:'
|
|
192
|
-
self.
|
|
191
|
+
if attributes.key?(:'content_guard')
|
|
192
|
+
self.content_guard = attributes[:'content_guard']
|
|
193
193
|
end
|
|
194
194
|
|
|
195
195
|
if attributes.key?(:'repository_version')
|
|
@@ -222,14 +222,14 @@ module PulpContainerClient
|
|
|
222
222
|
def list_invalid_properties
|
|
223
223
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
224
224
|
invalid_properties = Array.new
|
|
225
|
-
if @base_path.nil?
|
|
226
|
-
invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
|
|
227
|
-
end
|
|
228
|
-
|
|
229
225
|
if @name.nil?
|
|
230
226
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
|
231
227
|
end
|
|
232
228
|
|
|
229
|
+
if @base_path.nil?
|
|
230
|
+
invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
|
|
231
|
+
end
|
|
232
|
+
|
|
233
233
|
invalid_properties
|
|
234
234
|
end
|
|
235
235
|
|
|
@@ -237,8 +237,8 @@ module PulpContainerClient
|
|
|
237
237
|
# @return true if the model is valid
|
|
238
238
|
def valid?
|
|
239
239
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
240
|
-
return false if @base_path.nil?
|
|
241
240
|
return false if @name.nil?
|
|
241
|
+
return false if @base_path.nil?
|
|
242
242
|
true
|
|
243
243
|
end
|
|
244
244
|
|
|
@@ -247,17 +247,17 @@ module PulpContainerClient
|
|
|
247
247
|
def ==(o)
|
|
248
248
|
return true if self.equal?(o)
|
|
249
249
|
self.class == o.class &&
|
|
250
|
-
|
|
251
|
-
|
|
250
|
+
name == o.name &&
|
|
251
|
+
hidden == o.hidden &&
|
|
252
252
|
pulp_last_updated == o.pulp_last_updated &&
|
|
253
|
-
pulp_created == o.pulp_created &&
|
|
254
|
-
content_guard == o.content_guard &&
|
|
255
|
-
pulp_labels == o.pulp_labels &&
|
|
256
253
|
no_content_change_since == o.no_content_change_since &&
|
|
257
|
-
prn == o.prn &&
|
|
258
|
-
hidden == o.hidden &&
|
|
259
|
-
name == o.name &&
|
|
260
254
|
repository == o.repository &&
|
|
255
|
+
prn == o.prn &&
|
|
256
|
+
pulp_labels == o.pulp_labels &&
|
|
257
|
+
base_path == o.base_path &&
|
|
258
|
+
pulp_created == o.pulp_created &&
|
|
259
|
+
pulp_href == o.pulp_href &&
|
|
260
|
+
content_guard == o.content_guard &&
|
|
261
261
|
repository_version == o.repository_version &&
|
|
262
262
|
registry_path == o.registry_path &&
|
|
263
263
|
remote == o.remote &&
|
|
@@ -275,7 +275,7 @@ module PulpContainerClient
|
|
|
275
275
|
# Calculates hash code according to all attributes.
|
|
276
276
|
# @return [Integer] Hash code
|
|
277
277
|
def hash
|
|
278
|
-
[
|
|
278
|
+
[name, hidden, pulp_last_updated, no_content_change_since, repository, prn, pulp_labels, base_path, pulp_created, pulp_href, content_guard, repository_version, registry_path, remote, namespace, private, description].hash
|
|
279
279
|
end
|
|
280
280
|
|
|
281
281
|
# Builds the object from hash
|