pulp_container_client 2.3.0.dev01611890753 → 2.3.1
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 +12 -10
- data/docs/ContainerContainerDistribution.md +10 -6
- data/docs/ContainerContainerDistributionResponse.md +13 -9
- data/docs/{ContentguardsContentRedirectApi.md → ContentGuardsContentRedirectApi.md} +19 -19
- data/docs/DistributionsContainerApi.md +2 -0
- data/docs/PatchedcontainerContainerDistribution.md +10 -6
- 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 +48 -27
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +64 -43
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +43 -22
- 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 +15 -3
- data/spec/models/patchedcontainer_container_distribution_spec.rb +15 -3
- metadata +47 -47
@@ -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
|
-
#
|
19
|
-
attr_accessor :
|
18
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
19
|
+
attr_accessor :name
|
20
20
|
|
21
21
|
attr_accessor :pulp_labels
|
22
22
|
|
23
23
|
# The latest RepositoryVersion for this Repository will be served.
|
24
24
|
attr_accessor :repository
|
25
25
|
|
26
|
-
#
|
27
|
-
attr_accessor :
|
26
|
+
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
27
|
+
attr_accessor :base_path
|
28
28
|
|
29
29
|
# An optional content-guard. If none is specified, a default one will be used.
|
30
30
|
attr_accessor :content_guard
|
31
31
|
|
32
|
-
#
|
33
|
-
attr_accessor :
|
32
|
+
# RepositoryVersion to be served
|
33
|
+
attr_accessor :repository_version
|
34
|
+
|
35
|
+
# Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access.
|
36
|
+
attr_accessor :private
|
37
|
+
|
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
|
{
|
38
|
-
:'
|
44
|
+
:'name' => :'name',
|
39
45
|
:'pulp_labels' => :'pulp_labels',
|
40
46
|
:'repository' => :'repository',
|
41
|
-
:'
|
47
|
+
:'base_path' => :'base_path',
|
42
48
|
:'content_guard' => :'content_guard',
|
43
|
-
:'
|
49
|
+
:'repository_version' => :'repository_version',
|
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
|
{
|
50
|
-
:'
|
58
|
+
:'name' => :'String',
|
51
59
|
:'pulp_labels' => :'Object',
|
52
60
|
:'repository' => :'String',
|
53
|
-
:'
|
61
|
+
:'base_path' => :'String',
|
54
62
|
:'content_guard' => :'String',
|
55
|
-
:'
|
63
|
+
:'repository_version' => :'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',
|
63
73
|
:'repository_version',
|
74
|
+
:'description'
|
64
75
|
])
|
65
76
|
end
|
66
77
|
|
@@ -79,8 +90,8 @@ module PulpContainerClient
|
|
79
90
|
h[k.to_sym] = v
|
80
91
|
}
|
81
92
|
|
82
|
-
if attributes.key?(:'
|
83
|
-
self.
|
93
|
+
if attributes.key?(:'name')
|
94
|
+
self.name = attributes[:'name']
|
84
95
|
end
|
85
96
|
|
86
97
|
if attributes.key?(:'pulp_labels')
|
@@ -91,16 +102,24 @@ module PulpContainerClient
|
|
91
102
|
self.repository = attributes[:'repository']
|
92
103
|
end
|
93
104
|
|
94
|
-
if attributes.key?(:'
|
95
|
-
self.
|
105
|
+
if attributes.key?(:'base_path')
|
106
|
+
self.base_path = attributes[:'base_path']
|
96
107
|
end
|
97
108
|
|
98
109
|
if attributes.key?(:'content_guard')
|
99
110
|
self.content_guard = attributes[:'content_guard']
|
100
111
|
end
|
101
112
|
|
102
|
-
if attributes.key?(:'
|
103
|
-
self.
|
113
|
+
if attributes.key?(:'repository_version')
|
114
|
+
self.repository_version = attributes[:'repository_version']
|
115
|
+
end
|
116
|
+
|
117
|
+
if attributes.key?(:'private')
|
118
|
+
self.private = attributes[:'private']
|
119
|
+
end
|
120
|
+
|
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 @base_path.nil?
|
112
|
-
invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
|
113
|
-
end
|
114
|
-
|
115
130
|
if @name.nil?
|
116
131
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
117
132
|
end
|
118
133
|
|
134
|
+
if @base_path.nil?
|
135
|
+
invalid_properties.push('invalid value for "base_path", base_path 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 @base_path.nil?
|
126
144
|
return false if @name.nil?
|
145
|
+
return false if @base_path.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 &&
|
135
|
-
|
154
|
+
name == o.name &&
|
136
155
|
pulp_labels == o.pulp_labels &&
|
137
156
|
repository == o.repository &&
|
138
|
-
|
157
|
+
base_path == o.base_path &&
|
139
158
|
content_guard == o.content_guard &&
|
140
|
-
|
159
|
+
repository_version == o.repository_version &&
|
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
|
-
[
|
173
|
+
[name, pulp_labels, repository, base_path, content_guard, repository_version, private, description].hash
|
153
174
|
end
|
154
175
|
|
155
176
|
# Builds the object from hash
|
@@ -15,27 +15,27 @@ require 'date'
|
|
15
15
|
module PulpContainerClient
|
16
16
|
# A serializer for ContainerDistribution.
|
17
17
|
class ContainerContainerDistributionResponse
|
18
|
-
#
|
19
|
-
attr_accessor :
|
20
|
-
|
21
|
-
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
22
|
-
attr_accessor :base_path
|
18
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
19
|
+
attr_accessor :name
|
23
20
|
|
24
21
|
attr_accessor :pulp_labels
|
25
22
|
|
26
23
|
# The latest RepositoryVersion for this Repository will be served.
|
27
24
|
attr_accessor :repository
|
28
25
|
|
29
|
-
|
26
|
+
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
27
|
+
attr_accessor :base_path
|
30
28
|
|
31
|
-
|
32
|
-
attr_accessor :repository_version
|
29
|
+
attr_accessor :pulp_href
|
33
30
|
|
34
31
|
# An optional content-guard. If none is specified, a default one will be used.
|
35
32
|
attr_accessor :content_guard
|
36
33
|
|
37
|
-
#
|
38
|
-
attr_accessor :
|
34
|
+
# Timestamp of creation.
|
35
|
+
attr_accessor :pulp_created
|
36
|
+
|
37
|
+
# RepositoryVersion to be served
|
38
|
+
attr_accessor :repository_version
|
39
39
|
|
40
40
|
# The Registry hostame/name/ to use with docker pull command defined by this distribution.
|
41
41
|
attr_accessor :registry_path
|
@@ -43,35 +43,45 @@ module PulpContainerClient
|
|
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
|
-
:'
|
50
|
-
:'base_path' => :'base_path',
|
55
|
+
:'name' => :'name',
|
51
56
|
:'pulp_labels' => :'pulp_labels',
|
52
57
|
:'repository' => :'repository',
|
58
|
+
:'base_path' => :'base_path',
|
53
59
|
:'pulp_href' => :'pulp_href',
|
54
|
-
:'repository_version' => :'repository_version',
|
55
60
|
:'content_guard' => :'content_guard',
|
56
|
-
:'
|
61
|
+
:'pulp_created' => :'pulp_created',
|
62
|
+
:'repository_version' => :'repository_version',
|
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
|
-
:'
|
66
|
-
:'base_path' => :'String',
|
73
|
+
:'name' => :'String',
|
67
74
|
:'pulp_labels' => :'Object',
|
68
75
|
:'repository' => :'String',
|
76
|
+
:'base_path' => :'String',
|
69
77
|
:'pulp_href' => :'String',
|
70
|
-
:'repository_version' => :'String',
|
71
78
|
:'content_guard' => :'String',
|
72
|
-
:'
|
79
|
+
:'pulp_created' => :'DateTime',
|
80
|
+
:'repository_version' => :'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',
|
82
92
|
:'repository_version',
|
93
|
+
:'description'
|
83
94
|
])
|
84
95
|
end
|
85
96
|
|
@@ -98,12 +109,8 @@ module PulpContainerClient
|
|
98
109
|
h[k.to_sym] = v
|
99
110
|
}
|
100
111
|
|
101
|
-
if attributes.key?(:'
|
102
|
-
self.
|
103
|
-
end
|
104
|
-
|
105
|
-
if attributes.key?(:'base_path')
|
106
|
-
self.base_path = attributes[:'base_path']
|
112
|
+
if attributes.key?(:'name')
|
113
|
+
self.name = attributes[:'name']
|
107
114
|
end
|
108
115
|
|
109
116
|
if attributes.key?(:'pulp_labels')
|
@@ -114,20 +121,24 @@ module PulpContainerClient
|
|
114
121
|
self.repository = attributes[:'repository']
|
115
122
|
end
|
116
123
|
|
117
|
-
if attributes.key?(:'
|
118
|
-
self.
|
124
|
+
if attributes.key?(:'base_path')
|
125
|
+
self.base_path = attributes[:'base_path']
|
119
126
|
end
|
120
127
|
|
121
|
-
if attributes.key?(:'
|
122
|
-
self.
|
128
|
+
if attributes.key?(:'pulp_href')
|
129
|
+
self.pulp_href = attributes[:'pulp_href']
|
123
130
|
end
|
124
131
|
|
125
132
|
if attributes.key?(:'content_guard')
|
126
133
|
self.content_guard = attributes[:'content_guard']
|
127
134
|
end
|
128
135
|
|
129
|
-
if attributes.key?(:'
|
130
|
-
self.
|
136
|
+
if attributes.key?(:'pulp_created')
|
137
|
+
self.pulp_created = attributes[:'pulp_created']
|
138
|
+
end
|
139
|
+
|
140
|
+
if attributes.key?(:'repository_version')
|
141
|
+
self.repository_version = attributes[:'repository_version']
|
131
142
|
end
|
132
143
|
|
133
144
|
if attributes.key?(:'registry_path')
|
@@ -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 @base_path.nil?
|
147
|
-
invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
|
148
|
-
end
|
149
|
-
|
150
165
|
if @name.nil?
|
151
166
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
152
167
|
end
|
153
168
|
|
169
|
+
if @base_path.nil?
|
170
|
+
invalid_properties.push('invalid value for "base_path", base_path 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 @base_path.nil?
|
161
179
|
return false if @name.nil?
|
180
|
+
return false if @base_path.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
|
-
|
171
|
-
base_path == o.base_path &&
|
189
|
+
name == o.name &&
|
172
190
|
pulp_labels == o.pulp_labels &&
|
173
191
|
repository == o.repository &&
|
192
|
+
base_path == o.base_path &&
|
174
193
|
pulp_href == o.pulp_href &&
|
175
|
-
repository_version == o.repository_version &&
|
176
194
|
content_guard == o.content_guard &&
|
177
|
-
|
195
|
+
pulp_created == o.pulp_created &&
|
196
|
+
repository_version == o.repository_version &&
|
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
|
+
[name, pulp_labels, repository, base_path, pulp_href, content_guard, pulp_created, repository_version, 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
|
-
#
|
19
|
-
attr_accessor :
|
18
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
19
|
+
attr_accessor :name
|
20
20
|
|
21
21
|
attr_accessor :pulp_labels
|
22
22
|
|
23
23
|
# The latest RepositoryVersion for this Repository will be served.
|
24
24
|
attr_accessor :repository
|
25
25
|
|
26
|
-
#
|
27
|
-
attr_accessor :
|
26
|
+
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
27
|
+
attr_accessor :base_path
|
28
28
|
|
29
29
|
# An optional content-guard. If none is specified, a default one will be used.
|
30
30
|
attr_accessor :content_guard
|
31
31
|
|
32
|
-
#
|
33
|
-
attr_accessor :
|
32
|
+
# RepositoryVersion to be served
|
33
|
+
attr_accessor :repository_version
|
34
|
+
|
35
|
+
# Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access.
|
36
|
+
attr_accessor :private
|
37
|
+
|
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
|
{
|
38
|
-
:'
|
44
|
+
:'name' => :'name',
|
39
45
|
:'pulp_labels' => :'pulp_labels',
|
40
46
|
:'repository' => :'repository',
|
41
|
-
:'
|
47
|
+
:'base_path' => :'base_path',
|
42
48
|
:'content_guard' => :'content_guard',
|
43
|
-
:'
|
49
|
+
:'repository_version' => :'repository_version',
|
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
|
{
|
50
|
-
:'
|
58
|
+
:'name' => :'String',
|
51
59
|
:'pulp_labels' => :'Object',
|
52
60
|
:'repository' => :'String',
|
53
|
-
:'
|
61
|
+
:'base_path' => :'String',
|
54
62
|
:'content_guard' => :'String',
|
55
|
-
:'
|
63
|
+
:'repository_version' => :'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',
|
63
73
|
:'repository_version',
|
74
|
+
:'description'
|
64
75
|
])
|
65
76
|
end
|
66
77
|
|
@@ -79,8 +90,8 @@ module PulpContainerClient
|
|
79
90
|
h[k.to_sym] = v
|
80
91
|
}
|
81
92
|
|
82
|
-
if attributes.key?(:'
|
83
|
-
self.
|
93
|
+
if attributes.key?(:'name')
|
94
|
+
self.name = attributes[:'name']
|
84
95
|
end
|
85
96
|
|
86
97
|
if attributes.key?(:'pulp_labels')
|
@@ -91,16 +102,24 @@ module PulpContainerClient
|
|
91
102
|
self.repository = attributes[:'repository']
|
92
103
|
end
|
93
104
|
|
94
|
-
if attributes.key?(:'
|
95
|
-
self.
|
105
|
+
if attributes.key?(:'base_path')
|
106
|
+
self.base_path = attributes[:'base_path']
|
96
107
|
end
|
97
108
|
|
98
109
|
if attributes.key?(:'content_guard')
|
99
110
|
self.content_guard = attributes[:'content_guard']
|
100
111
|
end
|
101
112
|
|
102
|
-
if attributes.key?(:'
|
103
|
-
self.
|
113
|
+
if attributes.key?(:'repository_version')
|
114
|
+
self.repository_version = attributes[:'repository_version']
|
115
|
+
end
|
116
|
+
|
117
|
+
if attributes.key?(:'private')
|
118
|
+
self.private = attributes[:'private']
|
119
|
+
end
|
120
|
+
|
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 &&
|
125
|
-
|
144
|
+
name == o.name &&
|
126
145
|
pulp_labels == o.pulp_labels &&
|
127
146
|
repository == o.repository &&
|
128
|
-
|
147
|
+
base_path == o.base_path &&
|
129
148
|
content_guard == o.content_guard &&
|
130
|
-
|
149
|
+
repository_version == o.repository_version &&
|
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
|
-
[
|
163
|
+
[name, pulp_labels, repository, base_path, content_guard, repository_version, private, description].hash
|
143
164
|
end
|
144
165
|
|
145
166
|
# Builds the object from hash
|