pulp_container_client 2.20.4 → 2.20.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/ContainerContainerDistribution.md +8 -8
- data/docs/ContainerContainerDistributionResponse.md +10 -10
- data/docs/ContainerContainerPullThroughDistribution.md +8 -8
- data/docs/ContainerContainerPullThroughDistributionResponse.md +10 -10
- data/docs/ContainerContainerPushRepository.md +6 -6
- data/docs/ContainerContainerPushRepositoryResponse.md +12 -12
- data/docs/PatchedcontainerContainerDistribution.md +8 -8
- data/docs/PatchedcontainerContainerPullThroughDistribution.md +8 -8
- data/docs/PatchedcontainerContainerPushRepository.md +6 -6
- data/lib/pulp_container_client/models/container_container_distribution.rb +35 -35
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +46 -46
- data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +35 -35
- data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +46 -46
- data/lib/pulp_container_client/models/container_container_pull_through_remote.rb +20 -20
- data/lib/pulp_container_client/models/container_container_pull_through_remote_response.rb +20 -20
- data/lib/pulp_container_client/models/container_container_push_repository.rb +42 -42
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +52 -52
- data/lib/pulp_container_client/models/container_container_remote.rb +20 -20
- data/lib/pulp_container_client/models/container_container_remote_response.rb +20 -20
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +35 -35
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +35 -35
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_remote.rb +20 -20
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +42 -42
- data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +20 -20
- data/lib/pulp_container_client/version.rb +1 -1
- data/spec/models/container_container_distribution_response_spec.rb +7 -7
- data/spec/models/container_container_distribution_spec.rb +5 -5
- data/spec/models/container_container_pull_through_distribution_response_spec.rb +7 -7
- data/spec/models/container_container_pull_through_distribution_spec.rb +5 -5
- data/spec/models/container_container_push_repository_response_spec.rb +10 -10
- data/spec/models/container_container_push_repository_spec.rb +5 -5
- data/spec/models/patchedcontainer_container_distribution_spec.rb +5 -5
- data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +5 -5
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +5 -5
- metadata +64 -64
@@ -15,30 +15,30 @@ require 'date'
|
|
15
15
|
module PulpContainerClient
|
16
16
|
# A serializer for ContainerDistribution.
|
17
17
|
class ContainerContainerDistributionResponse
|
18
|
-
|
19
|
-
attr_accessor :pulp_created
|
20
|
-
|
21
|
-
# Whether this distribution should be shown in the content app.
|
22
|
-
attr_accessor :hidden
|
23
|
-
|
24
|
-
# The latest RepositoryVersion for this Repository will be served.
|
25
|
-
attr_accessor :repository
|
18
|
+
attr_accessor :pulp_labels
|
26
19
|
|
27
20
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
28
21
|
attr_accessor :base_path
|
29
22
|
|
23
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
24
|
+
attr_accessor :content_guard
|
25
|
+
|
26
|
+
# Timestamp of creation.
|
27
|
+
attr_accessor :pulp_created
|
28
|
+
|
30
29
|
# 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.
|
31
30
|
attr_accessor :pulp_last_updated
|
32
31
|
|
33
|
-
attr_accessor :pulp_labels
|
34
|
-
|
35
32
|
attr_accessor :pulp_href
|
36
33
|
|
34
|
+
# Whether this distribution should be shown in the content app.
|
35
|
+
attr_accessor :hidden
|
36
|
+
|
37
37
|
# A unique name. Ex, `rawhide` and `stable`.
|
38
38
|
attr_accessor :name
|
39
39
|
|
40
|
-
#
|
41
|
-
attr_accessor :
|
40
|
+
# The latest RepositoryVersion for this Repository will be served.
|
41
|
+
attr_accessor :repository
|
42
42
|
|
43
43
|
# RepositoryVersion to be served
|
44
44
|
attr_accessor :repository_version
|
@@ -61,15 +61,15 @@ module PulpContainerClient
|
|
61
61
|
# Attribute mapping from ruby-style variable name to JSON key.
|
62
62
|
def self.attribute_map
|
63
63
|
{
|
64
|
-
:'
|
65
|
-
:'hidden' => :'hidden',
|
66
|
-
:'repository' => :'repository',
|
64
|
+
:'pulp_labels' => :'pulp_labels',
|
67
65
|
:'base_path' => :'base_path',
|
66
|
+
:'content_guard' => :'content_guard',
|
67
|
+
:'pulp_created' => :'pulp_created',
|
68
68
|
:'pulp_last_updated' => :'pulp_last_updated',
|
69
|
-
:'pulp_labels' => :'pulp_labels',
|
70
69
|
:'pulp_href' => :'pulp_href',
|
70
|
+
:'hidden' => :'hidden',
|
71
71
|
:'name' => :'name',
|
72
|
-
:'
|
72
|
+
:'repository' => :'repository',
|
73
73
|
:'repository_version' => :'repository_version',
|
74
74
|
:'registry_path' => :'registry_path',
|
75
75
|
:'remote' => :'remote',
|
@@ -82,15 +82,15 @@ module PulpContainerClient
|
|
82
82
|
# Attribute type mapping.
|
83
83
|
def self.openapi_types
|
84
84
|
{
|
85
|
-
:'
|
86
|
-
:'hidden' => :'Boolean',
|
87
|
-
:'repository' => :'String',
|
85
|
+
:'pulp_labels' => :'Hash<String, String>',
|
88
86
|
:'base_path' => :'String',
|
87
|
+
:'content_guard' => :'String',
|
88
|
+
:'pulp_created' => :'DateTime',
|
89
89
|
:'pulp_last_updated' => :'DateTime',
|
90
|
-
:'pulp_labels' => :'Hash<String, String>',
|
91
90
|
:'pulp_href' => :'String',
|
91
|
+
:'hidden' => :'Boolean',
|
92
92
|
:'name' => :'String',
|
93
|
-
:'
|
93
|
+
:'repository' => :'String',
|
94
94
|
:'repository_version' => :'String',
|
95
95
|
:'registry_path' => :'String',
|
96
96
|
:'remote' => :'String',
|
@@ -124,44 +124,44 @@ module PulpContainerClient
|
|
124
124
|
h[k.to_sym] = v
|
125
125
|
}
|
126
126
|
|
127
|
-
if attributes.key?(:'
|
128
|
-
|
127
|
+
if attributes.key?(:'pulp_labels')
|
128
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
129
|
+
self.pulp_labels = value
|
130
|
+
end
|
129
131
|
end
|
130
132
|
|
131
|
-
if attributes.key?(:'
|
132
|
-
self.
|
133
|
-
else
|
134
|
-
self.hidden = false
|
133
|
+
if attributes.key?(:'base_path')
|
134
|
+
self.base_path = attributes[:'base_path']
|
135
135
|
end
|
136
136
|
|
137
|
-
if attributes.key?(:'
|
138
|
-
self.
|
137
|
+
if attributes.key?(:'content_guard')
|
138
|
+
self.content_guard = attributes[:'content_guard']
|
139
139
|
end
|
140
140
|
|
141
|
-
if attributes.key?(:'
|
142
|
-
self.
|
141
|
+
if attributes.key?(:'pulp_created')
|
142
|
+
self.pulp_created = attributes[:'pulp_created']
|
143
143
|
end
|
144
144
|
|
145
145
|
if attributes.key?(:'pulp_last_updated')
|
146
146
|
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
147
147
|
end
|
148
148
|
|
149
|
-
if attributes.key?(:'pulp_labels')
|
150
|
-
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
151
|
-
self.pulp_labels = value
|
152
|
-
end
|
153
|
-
end
|
154
|
-
|
155
149
|
if attributes.key?(:'pulp_href')
|
156
150
|
self.pulp_href = attributes[:'pulp_href']
|
157
151
|
end
|
158
152
|
|
153
|
+
if attributes.key?(:'hidden')
|
154
|
+
self.hidden = attributes[:'hidden']
|
155
|
+
else
|
156
|
+
self.hidden = false
|
157
|
+
end
|
158
|
+
|
159
159
|
if attributes.key?(:'name')
|
160
160
|
self.name = attributes[:'name']
|
161
161
|
end
|
162
162
|
|
163
|
-
if attributes.key?(:'
|
164
|
-
self.
|
163
|
+
if attributes.key?(:'repository')
|
164
|
+
self.repository = attributes[:'repository']
|
165
165
|
end
|
166
166
|
|
167
167
|
if attributes.key?(:'repository_version')
|
@@ -217,15 +217,15 @@ module PulpContainerClient
|
|
217
217
|
def ==(o)
|
218
218
|
return true if self.equal?(o)
|
219
219
|
self.class == o.class &&
|
220
|
-
|
221
|
-
hidden == o.hidden &&
|
222
|
-
repository == o.repository &&
|
220
|
+
pulp_labels == o.pulp_labels &&
|
223
221
|
base_path == o.base_path &&
|
222
|
+
content_guard == o.content_guard &&
|
223
|
+
pulp_created == o.pulp_created &&
|
224
224
|
pulp_last_updated == o.pulp_last_updated &&
|
225
|
-
pulp_labels == o.pulp_labels &&
|
226
225
|
pulp_href == o.pulp_href &&
|
226
|
+
hidden == o.hidden &&
|
227
227
|
name == o.name &&
|
228
|
-
|
228
|
+
repository == o.repository &&
|
229
229
|
repository_version == o.repository_version &&
|
230
230
|
registry_path == o.registry_path &&
|
231
231
|
remote == o.remote &&
|
@@ -243,7 +243,7 @@ module PulpContainerClient
|
|
243
243
|
# Calculates hash code according to all attributes.
|
244
244
|
# @return [Integer] Hash code
|
245
245
|
def hash
|
246
|
-
[
|
246
|
+
[pulp_labels, base_path, content_guard, pulp_created, pulp_last_updated, pulp_href, hidden, name, repository, repository_version, registry_path, remote, namespace, private, description].hash
|
247
247
|
end
|
248
248
|
|
249
249
|
# Builds the object from hash
|
@@ -15,22 +15,22 @@ require 'date'
|
|
15
15
|
module PulpContainerClient
|
16
16
|
# A serializer for a specialized pull-through distribution referencing sub-distributions.
|
17
17
|
class ContainerContainerPullThroughDistribution
|
18
|
-
|
19
|
-
attr_accessor :hidden
|
20
|
-
|
21
|
-
# The latest RepositoryVersion for this Repository will be served.
|
22
|
-
attr_accessor :repository
|
18
|
+
attr_accessor :pulp_labels
|
23
19
|
|
24
20
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
25
21
|
attr_accessor :base_path
|
26
22
|
|
27
|
-
|
23
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
24
|
+
attr_accessor :content_guard
|
25
|
+
|
26
|
+
# Whether this distribution should be shown in the content app.
|
27
|
+
attr_accessor :hidden
|
28
28
|
|
29
29
|
# A unique name. Ex, `rawhide` and `stable`.
|
30
30
|
attr_accessor :name
|
31
31
|
|
32
|
-
#
|
33
|
-
attr_accessor :
|
32
|
+
# The latest RepositoryVersion for this Repository will be served.
|
33
|
+
attr_accessor :repository
|
34
34
|
|
35
35
|
# Remote that can be used to fetch content when using pull-through caching.
|
36
36
|
attr_accessor :remote
|
@@ -47,12 +47,12 @@ module PulpContainerClient
|
|
47
47
|
# Attribute mapping from ruby-style variable name to JSON key.
|
48
48
|
def self.attribute_map
|
49
49
|
{
|
50
|
-
:'hidden' => :'hidden',
|
51
|
-
:'repository' => :'repository',
|
52
|
-
:'base_path' => :'base_path',
|
53
50
|
:'pulp_labels' => :'pulp_labels',
|
54
|
-
:'
|
51
|
+
:'base_path' => :'base_path',
|
55
52
|
:'content_guard' => :'content_guard',
|
53
|
+
:'hidden' => :'hidden',
|
54
|
+
:'name' => :'name',
|
55
|
+
:'repository' => :'repository',
|
56
56
|
:'remote' => :'remote',
|
57
57
|
:'distributions' => :'distributions',
|
58
58
|
:'private' => :'private',
|
@@ -63,12 +63,12 @@ module PulpContainerClient
|
|
63
63
|
# Attribute type mapping.
|
64
64
|
def self.openapi_types
|
65
65
|
{
|
66
|
-
:'hidden' => :'Boolean',
|
67
|
-
:'repository' => :'String',
|
68
|
-
:'base_path' => :'String',
|
69
66
|
:'pulp_labels' => :'Hash<String, String>',
|
70
|
-
:'
|
67
|
+
:'base_path' => :'String',
|
71
68
|
:'content_guard' => :'String',
|
69
|
+
:'hidden' => :'Boolean',
|
70
|
+
:'name' => :'String',
|
71
|
+
:'repository' => :'String',
|
72
72
|
:'remote' => :'String',
|
73
73
|
:'distributions' => :'Array<String>',
|
74
74
|
:'private' => :'Boolean',
|
@@ -99,32 +99,32 @@ module PulpContainerClient
|
|
99
99
|
h[k.to_sym] = v
|
100
100
|
}
|
101
101
|
|
102
|
-
if attributes.key?(:'
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
end
|
107
|
-
|
108
|
-
if attributes.key?(:'repository')
|
109
|
-
self.repository = attributes[:'repository']
|
102
|
+
if attributes.key?(:'pulp_labels')
|
103
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
104
|
+
self.pulp_labels = value
|
105
|
+
end
|
110
106
|
end
|
111
107
|
|
112
108
|
if attributes.key?(:'base_path')
|
113
109
|
self.base_path = attributes[:'base_path']
|
114
110
|
end
|
115
111
|
|
116
|
-
if attributes.key?(:'
|
117
|
-
|
118
|
-
|
119
|
-
|
112
|
+
if attributes.key?(:'content_guard')
|
113
|
+
self.content_guard = attributes[:'content_guard']
|
114
|
+
end
|
115
|
+
|
116
|
+
if attributes.key?(:'hidden')
|
117
|
+
self.hidden = attributes[:'hidden']
|
118
|
+
else
|
119
|
+
self.hidden = false
|
120
120
|
end
|
121
121
|
|
122
122
|
if attributes.key?(:'name')
|
123
123
|
self.name = attributes[:'name']
|
124
124
|
end
|
125
125
|
|
126
|
-
if attributes.key?(:'
|
127
|
-
self.
|
126
|
+
if attributes.key?(:'repository')
|
127
|
+
self.repository = attributes[:'repository']
|
128
128
|
end
|
129
129
|
|
130
130
|
if attributes.key?(:'remote')
|
@@ -232,12 +232,12 @@ module PulpContainerClient
|
|
232
232
|
def ==(o)
|
233
233
|
return true if self.equal?(o)
|
234
234
|
self.class == o.class &&
|
235
|
-
hidden == o.hidden &&
|
236
|
-
repository == o.repository &&
|
237
|
-
base_path == o.base_path &&
|
238
235
|
pulp_labels == o.pulp_labels &&
|
239
|
-
|
236
|
+
base_path == o.base_path &&
|
240
237
|
content_guard == o.content_guard &&
|
238
|
+
hidden == o.hidden &&
|
239
|
+
name == o.name &&
|
240
|
+
repository == o.repository &&
|
241
241
|
remote == o.remote &&
|
242
242
|
distributions == o.distributions &&
|
243
243
|
private == o.private &&
|
@@ -253,7 +253,7 @@ module PulpContainerClient
|
|
253
253
|
# Calculates hash code according to all attributes.
|
254
254
|
# @return [Integer] Hash code
|
255
255
|
def hash
|
256
|
-
[
|
256
|
+
[pulp_labels, base_path, content_guard, hidden, name, repository, remote, distributions, private, description].hash
|
257
257
|
end
|
258
258
|
|
259
259
|
# Builds the object from hash
|
data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb
CHANGED
@@ -15,30 +15,30 @@ require 'date'
|
|
15
15
|
module PulpContainerClient
|
16
16
|
# A serializer for a specialized pull-through distribution referencing sub-distributions.
|
17
17
|
class ContainerContainerPullThroughDistributionResponse
|
18
|
-
|
19
|
-
attr_accessor :pulp_created
|
20
|
-
|
21
|
-
# Whether this distribution should be shown in the content app.
|
22
|
-
attr_accessor :hidden
|
23
|
-
|
24
|
-
# The latest RepositoryVersion for this Repository will be served.
|
25
|
-
attr_accessor :repository
|
18
|
+
attr_accessor :pulp_labels
|
26
19
|
|
27
20
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
28
21
|
attr_accessor :base_path
|
29
22
|
|
23
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
24
|
+
attr_accessor :content_guard
|
25
|
+
|
26
|
+
# Timestamp of creation.
|
27
|
+
attr_accessor :pulp_created
|
28
|
+
|
30
29
|
# 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.
|
31
30
|
attr_accessor :pulp_last_updated
|
32
31
|
|
33
|
-
attr_accessor :pulp_labels
|
34
|
-
|
35
32
|
attr_accessor :pulp_href
|
36
33
|
|
34
|
+
# Whether this distribution should be shown in the content app.
|
35
|
+
attr_accessor :hidden
|
36
|
+
|
37
37
|
# A unique name. Ex, `rawhide` and `stable`.
|
38
38
|
attr_accessor :name
|
39
39
|
|
40
|
-
#
|
41
|
-
attr_accessor :
|
40
|
+
# The latest RepositoryVersion for this Repository will be served.
|
41
|
+
attr_accessor :repository
|
42
42
|
|
43
43
|
# Remote that can be used to fetch content when using pull-through caching.
|
44
44
|
attr_accessor :remote
|
@@ -58,15 +58,15 @@ module PulpContainerClient
|
|
58
58
|
# Attribute mapping from ruby-style variable name to JSON key.
|
59
59
|
def self.attribute_map
|
60
60
|
{
|
61
|
-
:'
|
62
|
-
:'hidden' => :'hidden',
|
63
|
-
:'repository' => :'repository',
|
61
|
+
:'pulp_labels' => :'pulp_labels',
|
64
62
|
:'base_path' => :'base_path',
|
63
|
+
:'content_guard' => :'content_guard',
|
64
|
+
:'pulp_created' => :'pulp_created',
|
65
65
|
:'pulp_last_updated' => :'pulp_last_updated',
|
66
|
-
:'pulp_labels' => :'pulp_labels',
|
67
66
|
:'pulp_href' => :'pulp_href',
|
67
|
+
:'hidden' => :'hidden',
|
68
68
|
:'name' => :'name',
|
69
|
-
:'
|
69
|
+
:'repository' => :'repository',
|
70
70
|
:'remote' => :'remote',
|
71
71
|
:'distributions' => :'distributions',
|
72
72
|
:'namespace' => :'namespace',
|
@@ -78,15 +78,15 @@ module PulpContainerClient
|
|
78
78
|
# Attribute type mapping.
|
79
79
|
def self.openapi_types
|
80
80
|
{
|
81
|
-
:'
|
82
|
-
:'hidden' => :'Boolean',
|
83
|
-
:'repository' => :'String',
|
81
|
+
:'pulp_labels' => :'Hash<String, String>',
|
84
82
|
:'base_path' => :'String',
|
83
|
+
:'content_guard' => :'String',
|
84
|
+
:'pulp_created' => :'DateTime',
|
85
85
|
:'pulp_last_updated' => :'DateTime',
|
86
|
-
:'pulp_labels' => :'Hash<String, String>',
|
87
86
|
:'pulp_href' => :'String',
|
87
|
+
:'hidden' => :'Boolean',
|
88
88
|
:'name' => :'String',
|
89
|
-
:'
|
89
|
+
:'repository' => :'String',
|
90
90
|
:'remote' => :'String',
|
91
91
|
:'distributions' => :'Array<String>',
|
92
92
|
:'namespace' => :'String',
|
@@ -118,44 +118,44 @@ module PulpContainerClient
|
|
118
118
|
h[k.to_sym] = v
|
119
119
|
}
|
120
120
|
|
121
|
-
if attributes.key?(:'
|
122
|
-
|
121
|
+
if attributes.key?(:'pulp_labels')
|
122
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
123
|
+
self.pulp_labels = value
|
124
|
+
end
|
123
125
|
end
|
124
126
|
|
125
|
-
if attributes.key?(:'
|
126
|
-
self.
|
127
|
-
else
|
128
|
-
self.hidden = false
|
127
|
+
if attributes.key?(:'base_path')
|
128
|
+
self.base_path = attributes[:'base_path']
|
129
129
|
end
|
130
130
|
|
131
|
-
if attributes.key?(:'
|
132
|
-
self.
|
131
|
+
if attributes.key?(:'content_guard')
|
132
|
+
self.content_guard = attributes[:'content_guard']
|
133
133
|
end
|
134
134
|
|
135
|
-
if attributes.key?(:'
|
136
|
-
self.
|
135
|
+
if attributes.key?(:'pulp_created')
|
136
|
+
self.pulp_created = attributes[:'pulp_created']
|
137
137
|
end
|
138
138
|
|
139
139
|
if attributes.key?(:'pulp_last_updated')
|
140
140
|
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
141
141
|
end
|
142
142
|
|
143
|
-
if attributes.key?(:'pulp_labels')
|
144
|
-
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
145
|
-
self.pulp_labels = value
|
146
|
-
end
|
147
|
-
end
|
148
|
-
|
149
143
|
if attributes.key?(:'pulp_href')
|
150
144
|
self.pulp_href = attributes[:'pulp_href']
|
151
145
|
end
|
152
146
|
|
147
|
+
if attributes.key?(:'hidden')
|
148
|
+
self.hidden = attributes[:'hidden']
|
149
|
+
else
|
150
|
+
self.hidden = false
|
151
|
+
end
|
152
|
+
|
153
153
|
if attributes.key?(:'name')
|
154
154
|
self.name = attributes[:'name']
|
155
155
|
end
|
156
156
|
|
157
|
-
if attributes.key?(:'
|
158
|
-
self.
|
157
|
+
if attributes.key?(:'repository')
|
158
|
+
self.repository = attributes[:'repository']
|
159
159
|
end
|
160
160
|
|
161
161
|
if attributes.key?(:'remote')
|
@@ -214,15 +214,15 @@ module PulpContainerClient
|
|
214
214
|
def ==(o)
|
215
215
|
return true if self.equal?(o)
|
216
216
|
self.class == o.class &&
|
217
|
-
|
218
|
-
hidden == o.hidden &&
|
219
|
-
repository == o.repository &&
|
217
|
+
pulp_labels == o.pulp_labels &&
|
220
218
|
base_path == o.base_path &&
|
219
|
+
content_guard == o.content_guard &&
|
220
|
+
pulp_created == o.pulp_created &&
|
221
221
|
pulp_last_updated == o.pulp_last_updated &&
|
222
|
-
pulp_labels == o.pulp_labels &&
|
223
222
|
pulp_href == o.pulp_href &&
|
223
|
+
hidden == o.hidden &&
|
224
224
|
name == o.name &&
|
225
|
-
|
225
|
+
repository == o.repository &&
|
226
226
|
remote == o.remote &&
|
227
227
|
distributions == o.distributions &&
|
228
228
|
namespace == o.namespace &&
|
@@ -239,7 +239,7 @@ module PulpContainerClient
|
|
239
239
|
# Calculates hash code according to all attributes.
|
240
240
|
# @return [Integer] Hash code
|
241
241
|
def hash
|
242
|
-
[
|
242
|
+
[pulp_labels, base_path, content_guard, pulp_created, pulp_last_updated, pulp_href, hidden, name, repository, remote, distributions, namespace, private, description].hash
|
243
243
|
end
|
244
244
|
|
245
245
|
# Builds the object from hash
|
@@ -311,20 +311,20 @@ module PulpContainerClient
|
|
311
311
|
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
312
312
|
end
|
313
313
|
|
314
|
-
if !@total_timeout.nil? && @total_timeout < 0
|
315
|
-
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.')
|
314
|
+
if !@total_timeout.nil? && @total_timeout < 0.0
|
315
|
+
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
|
316
316
|
end
|
317
317
|
|
318
|
-
if !@connect_timeout.nil? && @connect_timeout < 0
|
319
|
-
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.')
|
318
|
+
if !@connect_timeout.nil? && @connect_timeout < 0.0
|
319
|
+
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
|
320
320
|
end
|
321
321
|
|
322
|
-
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
323
|
-
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.')
|
322
|
+
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
323
|
+
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
|
324
324
|
end
|
325
325
|
|
326
|
-
if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
327
|
-
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.')
|
326
|
+
if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
327
|
+
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
|
328
328
|
end
|
329
329
|
|
330
330
|
invalid_properties
|
@@ -346,10 +346,10 @@ module PulpContainerClient
|
|
346
346
|
return false if !@username.nil? && @username.to_s.length < 1
|
347
347
|
return false if !@password.nil? && @password.to_s.length < 1
|
348
348
|
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
349
|
-
return false if !@total_timeout.nil? && @total_timeout < 0
|
350
|
-
return false if !@connect_timeout.nil? && @connect_timeout < 0
|
351
|
-
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
352
|
-
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
349
|
+
return false if !@total_timeout.nil? && @total_timeout < 0.0
|
350
|
+
return false if !@connect_timeout.nil? && @connect_timeout < 0.0
|
351
|
+
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
352
|
+
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
353
353
|
true
|
354
354
|
end
|
355
355
|
|
@@ -474,8 +474,8 @@ module PulpContainerClient
|
|
474
474
|
# Custom attribute writer method with validation
|
475
475
|
# @param [Object] total_timeout Value to be assigned
|
476
476
|
def total_timeout=(total_timeout)
|
477
|
-
if !total_timeout.nil? && total_timeout < 0
|
478
|
-
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.'
|
477
|
+
if !total_timeout.nil? && total_timeout < 0.0
|
478
|
+
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
|
479
479
|
end
|
480
480
|
|
481
481
|
@total_timeout = total_timeout
|
@@ -484,8 +484,8 @@ module PulpContainerClient
|
|
484
484
|
# Custom attribute writer method with validation
|
485
485
|
# @param [Object] connect_timeout Value to be assigned
|
486
486
|
def connect_timeout=(connect_timeout)
|
487
|
-
if !connect_timeout.nil? && connect_timeout < 0
|
488
|
-
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.'
|
487
|
+
if !connect_timeout.nil? && connect_timeout < 0.0
|
488
|
+
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
|
489
489
|
end
|
490
490
|
|
491
491
|
@connect_timeout = connect_timeout
|
@@ -494,8 +494,8 @@ module PulpContainerClient
|
|
494
494
|
# Custom attribute writer method with validation
|
495
495
|
# @param [Object] sock_connect_timeout Value to be assigned
|
496
496
|
def sock_connect_timeout=(sock_connect_timeout)
|
497
|
-
if !sock_connect_timeout.nil? && sock_connect_timeout < 0
|
498
|
-
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.'
|
497
|
+
if !sock_connect_timeout.nil? && sock_connect_timeout < 0.0
|
498
|
+
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.'
|
499
499
|
end
|
500
500
|
|
501
501
|
@sock_connect_timeout = sock_connect_timeout
|
@@ -504,8 +504,8 @@ module PulpContainerClient
|
|
504
504
|
# Custom attribute writer method with validation
|
505
505
|
# @param [Object] sock_read_timeout Value to be assigned
|
506
506
|
def sock_read_timeout=(sock_read_timeout)
|
507
|
-
if !sock_read_timeout.nil? && sock_read_timeout < 0
|
508
|
-
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.'
|
507
|
+
if !sock_read_timeout.nil? && sock_read_timeout < 0.0
|
508
|
+
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
|
509
509
|
end
|
510
510
|
|
511
511
|
@sock_read_timeout = sock_read_timeout
|
@@ -258,20 +258,20 @@ module PulpContainerClient
|
|
258
258
|
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
259
259
|
end
|
260
260
|
|
261
|
-
if !@total_timeout.nil? && @total_timeout < 0
|
262
|
-
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.')
|
261
|
+
if !@total_timeout.nil? && @total_timeout < 0.0
|
262
|
+
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
|
263
263
|
end
|
264
264
|
|
265
|
-
if !@connect_timeout.nil? && @connect_timeout < 0
|
266
|
-
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.')
|
265
|
+
if !@connect_timeout.nil? && @connect_timeout < 0.0
|
266
|
+
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
|
267
267
|
end
|
268
268
|
|
269
|
-
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
270
|
-
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.')
|
269
|
+
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
270
|
+
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
|
271
271
|
end
|
272
272
|
|
273
|
-
if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
274
|
-
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.')
|
273
|
+
if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
274
|
+
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
|
275
275
|
end
|
276
276
|
|
277
277
|
invalid_properties
|
@@ -283,10 +283,10 @@ module PulpContainerClient
|
|
283
283
|
return false if @name.nil?
|
284
284
|
return false if @url.nil?
|
285
285
|
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
286
|
-
return false if !@total_timeout.nil? && @total_timeout < 0
|
287
|
-
return false if !@connect_timeout.nil? && @connect_timeout < 0
|
288
|
-
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
289
|
-
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
286
|
+
return false if !@total_timeout.nil? && @total_timeout < 0.0
|
287
|
+
return false if !@connect_timeout.nil? && @connect_timeout < 0.0
|
288
|
+
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
289
|
+
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
290
290
|
true
|
291
291
|
end
|
292
292
|
|
@@ -303,8 +303,8 @@ module PulpContainerClient
|
|
303
303
|
# Custom attribute writer method with validation
|
304
304
|
# @param [Object] total_timeout Value to be assigned
|
305
305
|
def total_timeout=(total_timeout)
|
306
|
-
if !total_timeout.nil? && total_timeout < 0
|
307
|
-
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.'
|
306
|
+
if !total_timeout.nil? && total_timeout < 0.0
|
307
|
+
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
|
308
308
|
end
|
309
309
|
|
310
310
|
@total_timeout = total_timeout
|
@@ -313,8 +313,8 @@ module PulpContainerClient
|
|
313
313
|
# Custom attribute writer method with validation
|
314
314
|
# @param [Object] connect_timeout Value to be assigned
|
315
315
|
def connect_timeout=(connect_timeout)
|
316
|
-
if !connect_timeout.nil? && connect_timeout < 0
|
317
|
-
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.'
|
316
|
+
if !connect_timeout.nil? && connect_timeout < 0.0
|
317
|
+
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
|
318
318
|
end
|
319
319
|
|
320
320
|
@connect_timeout = connect_timeout
|
@@ -323,8 +323,8 @@ module PulpContainerClient
|
|
323
323
|
# Custom attribute writer method with validation
|
324
324
|
# @param [Object] sock_connect_timeout Value to be assigned
|
325
325
|
def sock_connect_timeout=(sock_connect_timeout)
|
326
|
-
if !sock_connect_timeout.nil? && sock_connect_timeout < 0
|
327
|
-
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.'
|
326
|
+
if !sock_connect_timeout.nil? && sock_connect_timeout < 0.0
|
327
|
+
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.'
|
328
328
|
end
|
329
329
|
|
330
330
|
@sock_connect_timeout = sock_connect_timeout
|
@@ -333,8 +333,8 @@ module PulpContainerClient
|
|
333
333
|
# Custom attribute writer method with validation
|
334
334
|
# @param [Object] sock_read_timeout Value to be assigned
|
335
335
|
def sock_read_timeout=(sock_read_timeout)
|
336
|
-
if !sock_read_timeout.nil? && sock_read_timeout < 0
|
337
|
-
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.'
|
336
|
+
if !sock_read_timeout.nil? && sock_read_timeout < 0.0
|
337
|
+
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
|
338
338
|
end
|
339
339
|
|
340
340
|
@sock_read_timeout = sock_read_timeout
|