pulp_container_client 2.3.0.dev01611804271 → 2.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +12 -10
- data/docs/ContainerContainerDistribution.md +11 -7
- data/docs/ContainerContainerDistributionResponse.md +14 -10
- data/docs/{ContentguardsContentRedirectApi.md → ContentGuardsContentRedirectApi.md} +19 -19
- data/docs/DistributionsContainerApi.md +2 -0
- data/docs/PatchedcontainerContainerDistribution.md +11 -7
- data/docs/PulpContainerNamespacesApi.md +16 -5
- data/docs/RemotesContainerApi.md +2 -0
- data/docs/RepositoriesContainerApi.md +2 -0
- data/docs/RepositoriesContainerPushApi.md +116 -2
- data/docs/RepositoriesContainerVersionsApi.md +2 -2
- data/lib/pulp_container_client.rb +1 -1
- data/lib/pulp_container_client/api/{contentguards_content_redirect_api.rb → content_guards_content_redirect_api.rb} +22 -22
- data/lib/pulp_container_client/api/distributions_container_api.rb +3 -0
- data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +24 -7
- data/lib/pulp_container_client/api/remotes_container_api.rb +3 -0
- data/lib/pulp_container_client/api/repositories_container_api.rb +3 -0
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +147 -4
- data/lib/pulp_container_client/api/repositories_container_versions_api.rb +4 -4
- data/lib/pulp_container_client/models/container_container_distribution.rb +50 -29
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +67 -46
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +45 -24
- data/lib/pulp_container_client/version.rb +1 -1
- data/spec/api/{contentguards_content_redirect_api_spec.rb → content_guards_content_redirect_api_spec.rb} +6 -6
- data/spec/api/distributions_container_api_spec.rb +1 -0
- data/spec/api/pulp_container_namespaces_api_spec.rb +7 -2
- data/spec/api/remotes_container_api_spec.rb +1 -0
- data/spec/api/repositories_container_api_spec.rb +1 -0
- data/spec/api/repositories_container_push_api_spec.rb +29 -2
- data/spec/api/repositories_container_versions_api_spec.rb +2 -2
- data/spec/models/container_container_distribution_response_spec.rb +19 -7
- data/spec/models/container_container_distribution_spec.rb +17 -5
- data/spec/models/patchedcontainer_container_distribution_spec.rb +17 -5
- metadata +45 -45
@@ -144,7 +144,7 @@ module PulpContainerClient
|
|
144
144
|
end
|
145
145
|
|
146
146
|
# List repository versions
|
147
|
-
# ContainerPushRepositoryVersion represents a single container push repository version.
|
147
|
+
# ContainerPushRepositoryVersion represents a single container push repository version. Repository versions of a push repository are not allowed to be deleted. Versioning of such repositories, as well as creation/removal, happens automatically without explicit user actions. Users could make a repository not functional by accident if allowed to delete repository versions.
|
148
148
|
# @param container_container_push_repository_href [String]
|
149
149
|
# @param [Hash] opts the optional parameters
|
150
150
|
# @option opts [String] :content content
|
@@ -173,7 +173,7 @@ module PulpContainerClient
|
|
173
173
|
end
|
174
174
|
|
175
175
|
# List repository versions
|
176
|
-
# ContainerPushRepositoryVersion represents a single container push repository version.
|
176
|
+
# ContainerPushRepositoryVersion represents a single container push repository version. Repository versions of a push repository are not allowed to be deleted. Versioning of such repositories, as well as creation/removal, happens automatically without explicit user actions. Users could make a repository not functional by accident if allowed to delete repository versions.
|
177
177
|
# @param container_container_push_repository_href [String]
|
178
178
|
# @param [Hash] opts the optional parameters
|
179
179
|
# @option opts [String] :content content
|
@@ -382,7 +382,7 @@ module PulpContainerClient
|
|
382
382
|
end
|
383
383
|
|
384
384
|
# Inspect a repository version
|
385
|
-
# ContainerPushRepositoryVersion represents a single container push repository version.
|
385
|
+
# ContainerPushRepositoryVersion represents a single container push repository version. Repository versions of a push repository are not allowed to be deleted. Versioning of such repositories, as well as creation/removal, happens automatically without explicit user actions. Users could make a repository not functional by accident if allowed to delete repository versions.
|
386
386
|
# @param container_container_push_repository_version_href [String]
|
387
387
|
# @param [Hash] opts the optional parameters
|
388
388
|
# @option opts [String] :fields A list of fields to include in the response.
|
@@ -394,7 +394,7 @@ module PulpContainerClient
|
|
394
394
|
end
|
395
395
|
|
396
396
|
# Inspect a repository version
|
397
|
-
# ContainerPushRepositoryVersion represents a single container push repository version.
|
397
|
+
# ContainerPushRepositoryVersion represents a single container push repository version. Repository versions of a push repository are not allowed to be deleted. Versioning of such repositories, as well as creation/removal, happens automatically without explicit user actions. Users could make a repository not functional by accident if allowed to delete repository versions.
|
398
398
|
# @param container_container_push_repository_version_href [String]
|
399
399
|
# @param [Hash] opts the optional parameters
|
400
400
|
# @option opts [String] :fields A list of fields to include in the response.
|
@@ -15,44 +15,54 @@ require 'date'
|
|
15
15
|
module PulpContainerClient
|
16
16
|
# A serializer for ContainerDistribution.
|
17
17
|
class ContainerContainerDistribution
|
18
|
+
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
19
|
+
attr_accessor :base_path
|
20
|
+
|
21
|
+
attr_accessor :pulp_labels
|
22
|
+
|
18
23
|
# RepositoryVersion to be served
|
19
24
|
attr_accessor :repository_version
|
20
25
|
|
26
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
27
|
+
attr_accessor :content_guard
|
28
|
+
|
21
29
|
# A unique name. Ex, `rawhide` and `stable`.
|
22
30
|
attr_accessor :name
|
23
31
|
|
24
32
|
# The latest RepositoryVersion for this Repository will be served.
|
25
33
|
attr_accessor :repository
|
26
34
|
|
27
|
-
#
|
28
|
-
attr_accessor :
|
35
|
+
# Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access.
|
36
|
+
attr_accessor :private
|
29
37
|
|
30
|
-
|
31
|
-
|
32
|
-
# An optional content-guard. If none is specified, a default one will be used.
|
33
|
-
attr_accessor :content_guard
|
38
|
+
# An optional description.
|
39
|
+
attr_accessor :description
|
34
40
|
|
35
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
36
42
|
def self.attribute_map
|
37
43
|
{
|
44
|
+
:'base_path' => :'base_path',
|
45
|
+
:'pulp_labels' => :'pulp_labels',
|
38
46
|
:'repository_version' => :'repository_version',
|
47
|
+
:'content_guard' => :'content_guard',
|
39
48
|
:'name' => :'name',
|
40
49
|
:'repository' => :'repository',
|
41
|
-
:'
|
42
|
-
:'
|
43
|
-
:'content_guard' => :'content_guard'
|
50
|
+
:'private' => :'private',
|
51
|
+
:'description' => :'description'
|
44
52
|
}
|
45
53
|
end
|
46
54
|
|
47
55
|
# Attribute type mapping.
|
48
56
|
def self.openapi_types
|
49
57
|
{
|
58
|
+
:'base_path' => :'String',
|
59
|
+
:'pulp_labels' => :'Object',
|
50
60
|
:'repository_version' => :'String',
|
61
|
+
:'content_guard' => :'String',
|
51
62
|
:'name' => :'String',
|
52
63
|
:'repository' => :'String',
|
53
|
-
:'
|
54
|
-
:'
|
55
|
-
:'content_guard' => :'String'
|
64
|
+
:'private' => :'Boolean',
|
65
|
+
:'description' => :'String'
|
56
66
|
}
|
57
67
|
end
|
58
68
|
|
@@ -61,6 +71,7 @@ module PulpContainerClient
|
|
61
71
|
Set.new([
|
62
72
|
:'repository_version',
|
63
73
|
:'repository',
|
74
|
+
:'description'
|
64
75
|
])
|
65
76
|
end
|
66
77
|
|
@@ -79,10 +90,22 @@ module PulpContainerClient
|
|
79
90
|
h[k.to_sym] = v
|
80
91
|
}
|
81
92
|
|
93
|
+
if attributes.key?(:'base_path')
|
94
|
+
self.base_path = attributes[:'base_path']
|
95
|
+
end
|
96
|
+
|
97
|
+
if attributes.key?(:'pulp_labels')
|
98
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
99
|
+
end
|
100
|
+
|
82
101
|
if attributes.key?(:'repository_version')
|
83
102
|
self.repository_version = attributes[:'repository_version']
|
84
103
|
end
|
85
104
|
|
105
|
+
if attributes.key?(:'content_guard')
|
106
|
+
self.content_guard = attributes[:'content_guard']
|
107
|
+
end
|
108
|
+
|
86
109
|
if attributes.key?(:'name')
|
87
110
|
self.name = attributes[:'name']
|
88
111
|
end
|
@@ -91,16 +114,12 @@ module PulpContainerClient
|
|
91
114
|
self.repository = attributes[:'repository']
|
92
115
|
end
|
93
116
|
|
94
|
-
if attributes.key?(:'
|
95
|
-
self.
|
96
|
-
end
|
97
|
-
|
98
|
-
if attributes.key?(:'pulp_labels')
|
99
|
-
self.pulp_labels = attributes[:'pulp_labels']
|
117
|
+
if attributes.key?(:'private')
|
118
|
+
self.private = attributes[:'private']
|
100
119
|
end
|
101
120
|
|
102
|
-
if attributes.key?(:'
|
103
|
-
self.
|
121
|
+
if attributes.key?(:'description')
|
122
|
+
self.description = attributes[:'description']
|
104
123
|
end
|
105
124
|
end
|
106
125
|
|
@@ -108,22 +127,22 @@ module PulpContainerClient
|
|
108
127
|
# @return Array for valid properties with the reasons
|
109
128
|
def list_invalid_properties
|
110
129
|
invalid_properties = Array.new
|
111
|
-
if @name.nil?
|
112
|
-
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
113
|
-
end
|
114
|
-
|
115
130
|
if @base_path.nil?
|
116
131
|
invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
|
117
132
|
end
|
118
133
|
|
134
|
+
if @name.nil?
|
135
|
+
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
136
|
+
end
|
137
|
+
|
119
138
|
invalid_properties
|
120
139
|
end
|
121
140
|
|
122
141
|
# Check to see if the all the properties in the model are valid
|
123
142
|
# @return true if the model is valid
|
124
143
|
def valid?
|
125
|
-
return false if @name.nil?
|
126
144
|
return false if @base_path.nil?
|
145
|
+
return false if @name.nil?
|
127
146
|
true
|
128
147
|
end
|
129
148
|
|
@@ -132,12 +151,14 @@ module PulpContainerClient
|
|
132
151
|
def ==(o)
|
133
152
|
return true if self.equal?(o)
|
134
153
|
self.class == o.class &&
|
154
|
+
base_path == o.base_path &&
|
155
|
+
pulp_labels == o.pulp_labels &&
|
135
156
|
repository_version == o.repository_version &&
|
157
|
+
content_guard == o.content_guard &&
|
136
158
|
name == o.name &&
|
137
159
|
repository == o.repository &&
|
138
|
-
|
139
|
-
|
140
|
-
content_guard == o.content_guard
|
160
|
+
private == o.private &&
|
161
|
+
description == o.description
|
141
162
|
end
|
142
163
|
|
143
164
|
# @see the `==` method
|
@@ -149,7 +170,7 @@ module PulpContainerClient
|
|
149
170
|
# Calculates hash code according to all attributes.
|
150
171
|
# @return [Integer] Hash code
|
151
172
|
def hash
|
152
|
-
[repository_version, name, repository,
|
173
|
+
[base_path, pulp_labels, repository_version, content_guard, name, repository, private, description].hash
|
153
174
|
end
|
154
175
|
|
155
176
|
# Builds the object from hash
|
@@ -15,63 +15,73 @@ require 'date'
|
|
15
15
|
module PulpContainerClient
|
16
16
|
# A serializer for ContainerDistribution.
|
17
17
|
class ContainerContainerDistributionResponse
|
18
|
-
# RepositoryVersion to be served
|
19
|
-
attr_accessor :repository_version
|
20
|
-
|
21
|
-
# A unique name. Ex, `rawhide` and `stable`.
|
22
|
-
attr_accessor :name
|
23
|
-
|
24
|
-
attr_accessor :pulp_href
|
25
|
-
|
26
|
-
# The latest RepositoryVersion for this Repository will be served.
|
27
|
-
attr_accessor :repository
|
28
|
-
|
29
18
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
30
19
|
attr_accessor :base_path
|
31
20
|
|
32
21
|
attr_accessor :pulp_labels
|
33
22
|
|
23
|
+
attr_accessor :pulp_href
|
24
|
+
|
25
|
+
# RepositoryVersion to be served
|
26
|
+
attr_accessor :repository_version
|
27
|
+
|
34
28
|
# An optional content-guard. If none is specified, a default one will be used.
|
35
29
|
attr_accessor :content_guard
|
36
30
|
|
37
31
|
# Timestamp of creation.
|
38
32
|
attr_accessor :pulp_created
|
39
33
|
|
34
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
35
|
+
attr_accessor :name
|
36
|
+
|
37
|
+
# The latest RepositoryVersion for this Repository will be served.
|
38
|
+
attr_accessor :repository
|
39
|
+
|
40
40
|
# The Registry hostame/name/ to use with docker pull command defined by this distribution.
|
41
41
|
attr_accessor :registry_path
|
42
42
|
|
43
43
|
# Namespace this distribution belongs to.
|
44
44
|
attr_accessor :namespace
|
45
45
|
|
46
|
+
# Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access.
|
47
|
+
attr_accessor :private
|
48
|
+
|
49
|
+
# An optional description.
|
50
|
+
attr_accessor :description
|
51
|
+
|
46
52
|
# Attribute mapping from ruby-style variable name to JSON key.
|
47
53
|
def self.attribute_map
|
48
54
|
{
|
49
|
-
:'repository_version' => :'repository_version',
|
50
|
-
:'name' => :'name',
|
51
|
-
:'pulp_href' => :'pulp_href',
|
52
|
-
:'repository' => :'repository',
|
53
55
|
:'base_path' => :'base_path',
|
54
56
|
:'pulp_labels' => :'pulp_labels',
|
57
|
+
:'pulp_href' => :'pulp_href',
|
58
|
+
:'repository_version' => :'repository_version',
|
55
59
|
:'content_guard' => :'content_guard',
|
56
60
|
:'pulp_created' => :'pulp_created',
|
61
|
+
:'name' => :'name',
|
62
|
+
:'repository' => :'repository',
|
57
63
|
:'registry_path' => :'registry_path',
|
58
|
-
:'namespace' => :'namespace'
|
64
|
+
:'namespace' => :'namespace',
|
65
|
+
:'private' => :'private',
|
66
|
+
:'description' => :'description'
|
59
67
|
}
|
60
68
|
end
|
61
69
|
|
62
70
|
# Attribute type mapping.
|
63
71
|
def self.openapi_types
|
64
72
|
{
|
65
|
-
:'repository_version' => :'String',
|
66
|
-
:'name' => :'String',
|
67
|
-
:'pulp_href' => :'String',
|
68
|
-
:'repository' => :'String',
|
69
73
|
:'base_path' => :'String',
|
70
74
|
:'pulp_labels' => :'Object',
|
75
|
+
:'pulp_href' => :'String',
|
76
|
+
:'repository_version' => :'String',
|
71
77
|
:'content_guard' => :'String',
|
72
78
|
:'pulp_created' => :'DateTime',
|
79
|
+
:'name' => :'String',
|
80
|
+
:'repository' => :'String',
|
73
81
|
:'registry_path' => :'String',
|
74
|
-
:'namespace' => :'String'
|
82
|
+
:'namespace' => :'String',
|
83
|
+
:'private' => :'Boolean',
|
84
|
+
:'description' => :'String'
|
75
85
|
}
|
76
86
|
end
|
77
87
|
|
@@ -80,6 +90,7 @@ module PulpContainerClient
|
|
80
90
|
Set.new([
|
81
91
|
:'repository_version',
|
82
92
|
:'repository',
|
93
|
+
:'description'
|
83
94
|
])
|
84
95
|
end
|
85
96
|
|
@@ -98,28 +109,20 @@ module PulpContainerClient
|
|
98
109
|
h[k.to_sym] = v
|
99
110
|
}
|
100
111
|
|
101
|
-
if attributes.key?(:'
|
102
|
-
self.
|
112
|
+
if attributes.key?(:'base_path')
|
113
|
+
self.base_path = attributes[:'base_path']
|
103
114
|
end
|
104
115
|
|
105
|
-
if attributes.key?(:'
|
106
|
-
self.
|
116
|
+
if attributes.key?(:'pulp_labels')
|
117
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
107
118
|
end
|
108
119
|
|
109
120
|
if attributes.key?(:'pulp_href')
|
110
121
|
self.pulp_href = attributes[:'pulp_href']
|
111
122
|
end
|
112
123
|
|
113
|
-
if attributes.key?(:'
|
114
|
-
self.
|
115
|
-
end
|
116
|
-
|
117
|
-
if attributes.key?(:'base_path')
|
118
|
-
self.base_path = attributes[:'base_path']
|
119
|
-
end
|
120
|
-
|
121
|
-
if attributes.key?(:'pulp_labels')
|
122
|
-
self.pulp_labels = attributes[:'pulp_labels']
|
124
|
+
if attributes.key?(:'repository_version')
|
125
|
+
self.repository_version = attributes[:'repository_version']
|
123
126
|
end
|
124
127
|
|
125
128
|
if attributes.key?(:'content_guard')
|
@@ -130,6 +133,14 @@ module PulpContainerClient
|
|
130
133
|
self.pulp_created = attributes[:'pulp_created']
|
131
134
|
end
|
132
135
|
|
136
|
+
if attributes.key?(:'name')
|
137
|
+
self.name = attributes[:'name']
|
138
|
+
end
|
139
|
+
|
140
|
+
if attributes.key?(:'repository')
|
141
|
+
self.repository = attributes[:'repository']
|
142
|
+
end
|
143
|
+
|
133
144
|
if attributes.key?(:'registry_path')
|
134
145
|
self.registry_path = attributes[:'registry_path']
|
135
146
|
end
|
@@ -137,28 +148,36 @@ module PulpContainerClient
|
|
137
148
|
if attributes.key?(:'namespace')
|
138
149
|
self.namespace = attributes[:'namespace']
|
139
150
|
end
|
151
|
+
|
152
|
+
if attributes.key?(:'private')
|
153
|
+
self.private = attributes[:'private']
|
154
|
+
end
|
155
|
+
|
156
|
+
if attributes.key?(:'description')
|
157
|
+
self.description = attributes[:'description']
|
158
|
+
end
|
140
159
|
end
|
141
160
|
|
142
161
|
# Show invalid properties with the reasons. Usually used together with valid?
|
143
162
|
# @return Array for valid properties with the reasons
|
144
163
|
def list_invalid_properties
|
145
164
|
invalid_properties = Array.new
|
146
|
-
if @name.nil?
|
147
|
-
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
148
|
-
end
|
149
|
-
|
150
165
|
if @base_path.nil?
|
151
166
|
invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
|
152
167
|
end
|
153
168
|
|
169
|
+
if @name.nil?
|
170
|
+
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
171
|
+
end
|
172
|
+
|
154
173
|
invalid_properties
|
155
174
|
end
|
156
175
|
|
157
176
|
# Check to see if the all the properties in the model are valid
|
158
177
|
# @return true if the model is valid
|
159
178
|
def valid?
|
160
|
-
return false if @name.nil?
|
161
179
|
return false if @base_path.nil?
|
180
|
+
return false if @name.nil?
|
162
181
|
true
|
163
182
|
end
|
164
183
|
|
@@ -167,16 +186,18 @@ module PulpContainerClient
|
|
167
186
|
def ==(o)
|
168
187
|
return true if self.equal?(o)
|
169
188
|
self.class == o.class &&
|
170
|
-
repository_version == o.repository_version &&
|
171
|
-
name == o.name &&
|
172
|
-
pulp_href == o.pulp_href &&
|
173
|
-
repository == o.repository &&
|
174
189
|
base_path == o.base_path &&
|
175
190
|
pulp_labels == o.pulp_labels &&
|
191
|
+
pulp_href == o.pulp_href &&
|
192
|
+
repository_version == o.repository_version &&
|
176
193
|
content_guard == o.content_guard &&
|
177
194
|
pulp_created == o.pulp_created &&
|
195
|
+
name == o.name &&
|
196
|
+
repository == o.repository &&
|
178
197
|
registry_path == o.registry_path &&
|
179
|
-
namespace == o.namespace
|
198
|
+
namespace == o.namespace &&
|
199
|
+
private == o.private &&
|
200
|
+
description == o.description
|
180
201
|
end
|
181
202
|
|
182
203
|
# @see the `==` method
|
@@ -188,7 +209,7 @@ module PulpContainerClient
|
|
188
209
|
# Calculates hash code according to all attributes.
|
189
210
|
# @return [Integer] Hash code
|
190
211
|
def hash
|
191
|
-
[
|
212
|
+
[base_path, pulp_labels, pulp_href, repository_version, content_guard, pulp_created, name, repository, registry_path, namespace, private, description].hash
|
192
213
|
end
|
193
214
|
|
194
215
|
# Builds the object from hash
|
@@ -15,44 +15,54 @@ require 'date'
|
|
15
15
|
module PulpContainerClient
|
16
16
|
# A serializer for ContainerDistribution.
|
17
17
|
class PatchedcontainerContainerDistribution
|
18
|
+
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
19
|
+
attr_accessor :base_path
|
20
|
+
|
21
|
+
attr_accessor :pulp_labels
|
22
|
+
|
18
23
|
# RepositoryVersion to be served
|
19
24
|
attr_accessor :repository_version
|
20
25
|
|
26
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
27
|
+
attr_accessor :content_guard
|
28
|
+
|
21
29
|
# A unique name. Ex, `rawhide` and `stable`.
|
22
30
|
attr_accessor :name
|
23
31
|
|
24
32
|
# The latest RepositoryVersion for this Repository will be served.
|
25
33
|
attr_accessor :repository
|
26
34
|
|
27
|
-
#
|
28
|
-
attr_accessor :
|
35
|
+
# Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access.
|
36
|
+
attr_accessor :private
|
29
37
|
|
30
|
-
|
31
|
-
|
32
|
-
# An optional content-guard. If none is specified, a default one will be used.
|
33
|
-
attr_accessor :content_guard
|
38
|
+
# An optional description.
|
39
|
+
attr_accessor :description
|
34
40
|
|
35
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
36
42
|
def self.attribute_map
|
37
43
|
{
|
44
|
+
:'base_path' => :'base_path',
|
45
|
+
:'pulp_labels' => :'pulp_labels',
|
38
46
|
:'repository_version' => :'repository_version',
|
47
|
+
:'content_guard' => :'content_guard',
|
39
48
|
:'name' => :'name',
|
40
49
|
:'repository' => :'repository',
|
41
|
-
:'
|
42
|
-
:'
|
43
|
-
:'content_guard' => :'content_guard'
|
50
|
+
:'private' => :'private',
|
51
|
+
:'description' => :'description'
|
44
52
|
}
|
45
53
|
end
|
46
54
|
|
47
55
|
# Attribute type mapping.
|
48
56
|
def self.openapi_types
|
49
57
|
{
|
58
|
+
:'base_path' => :'String',
|
59
|
+
:'pulp_labels' => :'Object',
|
50
60
|
:'repository_version' => :'String',
|
61
|
+
:'content_guard' => :'String',
|
51
62
|
:'name' => :'String',
|
52
63
|
:'repository' => :'String',
|
53
|
-
:'
|
54
|
-
:'
|
55
|
-
:'content_guard' => :'String'
|
64
|
+
:'private' => :'Boolean',
|
65
|
+
:'description' => :'String'
|
56
66
|
}
|
57
67
|
end
|
58
68
|
|
@@ -61,6 +71,7 @@ module PulpContainerClient
|
|
61
71
|
Set.new([
|
62
72
|
:'repository_version',
|
63
73
|
:'repository',
|
74
|
+
:'description'
|
64
75
|
])
|
65
76
|
end
|
66
77
|
|
@@ -79,10 +90,22 @@ module PulpContainerClient
|
|
79
90
|
h[k.to_sym] = v
|
80
91
|
}
|
81
92
|
|
93
|
+
if attributes.key?(:'base_path')
|
94
|
+
self.base_path = attributes[:'base_path']
|
95
|
+
end
|
96
|
+
|
97
|
+
if attributes.key?(:'pulp_labels')
|
98
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
99
|
+
end
|
100
|
+
|
82
101
|
if attributes.key?(:'repository_version')
|
83
102
|
self.repository_version = attributes[:'repository_version']
|
84
103
|
end
|
85
104
|
|
105
|
+
if attributes.key?(:'content_guard')
|
106
|
+
self.content_guard = attributes[:'content_guard']
|
107
|
+
end
|
108
|
+
|
86
109
|
if attributes.key?(:'name')
|
87
110
|
self.name = attributes[:'name']
|
88
111
|
end
|
@@ -91,16 +114,12 @@ module PulpContainerClient
|
|
91
114
|
self.repository = attributes[:'repository']
|
92
115
|
end
|
93
116
|
|
94
|
-
if attributes.key?(:'
|
95
|
-
self.
|
117
|
+
if attributes.key?(:'private')
|
118
|
+
self.private = attributes[:'private']
|
96
119
|
end
|
97
120
|
|
98
|
-
if attributes.key?(:'
|
99
|
-
self.
|
100
|
-
end
|
101
|
-
|
102
|
-
if attributes.key?(:'content_guard')
|
103
|
-
self.content_guard = attributes[:'content_guard']
|
121
|
+
if attributes.key?(:'description')
|
122
|
+
self.description = attributes[:'description']
|
104
123
|
end
|
105
124
|
end
|
106
125
|
|
@@ -122,12 +141,14 @@ module PulpContainerClient
|
|
122
141
|
def ==(o)
|
123
142
|
return true if self.equal?(o)
|
124
143
|
self.class == o.class &&
|
144
|
+
base_path == o.base_path &&
|
145
|
+
pulp_labels == o.pulp_labels &&
|
125
146
|
repository_version == o.repository_version &&
|
147
|
+
content_guard == o.content_guard &&
|
126
148
|
name == o.name &&
|
127
149
|
repository == o.repository &&
|
128
|
-
|
129
|
-
|
130
|
-
content_guard == o.content_guard
|
150
|
+
private == o.private &&
|
151
|
+
description == o.description
|
131
152
|
end
|
132
153
|
|
133
154
|
# @see the `==` method
|
@@ -139,7 +160,7 @@ module PulpContainerClient
|
|
139
160
|
# Calculates hash code according to all attributes.
|
140
161
|
# @return [Integer] Hash code
|
141
162
|
def hash
|
142
|
-
[repository_version, name, repository,
|
163
|
+
[base_path, pulp_labels, repository_version, content_guard, name, repository, private, description].hash
|
143
164
|
end
|
144
165
|
|
145
166
|
# Builds the object from hash
|