pulp_container_client 2.24.11 → 2.24.13
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 +6 -6
- data/docs/ContainerContainerDistribution.md +4 -4
- data/docs/ContainerContainerDistributionResponse.md +12 -12
- data/docs/ContainerContainerPullThroughDistribution.md +5 -5
- data/docs/ContainerContainerPullThroughDistributionResponse.md +12 -12
- data/docs/ContainerContainerPushRepository.md +2 -2
- data/docs/ContainerContainerPushRepositoryResponse.md +11 -11
- data/docs/DistributionsPullThroughApi.md +10 -10
- data/docs/PatchedcontainerContainerDistribution.md +4 -4
- data/docs/PatchedcontainerContainerPullThroughDistribution.md +5 -5
- data/docs/PatchedcontainerContainerPushRepository.md +2 -2
- data/lib/pulp_container_client/api/distributions_pull_through_api.rb +4 -8
- data/lib/pulp_container_client/models/container_container_distribution.rb +19 -19
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +55 -55
- data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +20 -20
- data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +56 -56
- data/lib/pulp_container_client/models/container_container_push_repository.rb +12 -12
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +48 -48
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +19 -19
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +20 -20
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +12 -12
- data/lib/pulp_container_client/version.rb +1 -1
- data/spec/api/distributions_pull_through_api_spec.rb +2 -4
- data/spec/models/container_container_distribution_response_spec.rb +10 -10
- data/spec/models/container_container_distribution_spec.rb +4 -4
- data/spec/models/container_container_pull_through_distribution_response_spec.rb +10 -10
- data/spec/models/container_container_pull_through_distribution_spec.rb +4 -4
- data/spec/models/container_container_push_repository_response_spec.rb +10 -10
- data/spec/models/container_container_push_repository_spec.rb +3 -3
- data/spec/models/patchedcontainer_container_distribution_spec.rb +4 -4
- data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +4 -4
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +3 -3
- metadata +59 -59
|
@@ -19,46 +19,46 @@ module PulpContainerClient
|
|
|
19
19
|
# A unique name for this repository.
|
|
20
20
|
attr_accessor :name
|
|
21
21
|
|
|
22
|
+
# An optional description.
|
|
23
|
+
attr_accessor :description
|
|
24
|
+
|
|
25
|
+
# Timestamp of creation.
|
|
26
|
+
attr_accessor :pulp_created
|
|
27
|
+
|
|
22
28
|
# The Pulp Resource Name (PRN).
|
|
23
29
|
attr_accessor :prn
|
|
24
30
|
|
|
25
|
-
attr_accessor :
|
|
31
|
+
attr_accessor :pulp_href
|
|
26
32
|
|
|
27
33
|
attr_accessor :pulp_labels
|
|
28
34
|
|
|
29
|
-
# Timestamp of creation.
|
|
30
|
-
attr_accessor :pulp_created
|
|
31
|
-
|
|
32
35
|
# A reference to an associated signing service.
|
|
33
36
|
attr_accessor :manifest_signing_service
|
|
34
37
|
|
|
35
|
-
|
|
36
|
-
attr_accessor :pulp_last_updated
|
|
38
|
+
attr_accessor :latest_version_href
|
|
37
39
|
|
|
38
40
|
attr_accessor :versions_href
|
|
39
41
|
|
|
40
|
-
attr_accessor :pulp_href
|
|
41
|
-
|
|
42
|
-
# An optional description.
|
|
43
|
-
attr_accessor :description
|
|
44
|
-
|
|
45
42
|
# Retain X versions of the repository. Default is null which retains all versions.
|
|
46
43
|
attr_accessor :retain_repo_versions
|
|
47
44
|
|
|
45
|
+
# 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.
|
|
46
|
+
attr_accessor :pulp_last_updated
|
|
47
|
+
|
|
48
48
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
49
49
|
def self.attribute_map
|
|
50
50
|
{
|
|
51
51
|
:'name' => :'name',
|
|
52
|
+
:'description' => :'description',
|
|
53
|
+
:'pulp_created' => :'pulp_created',
|
|
52
54
|
:'prn' => :'prn',
|
|
53
|
-
:'
|
|
55
|
+
:'pulp_href' => :'pulp_href',
|
|
54
56
|
:'pulp_labels' => :'pulp_labels',
|
|
55
|
-
:'pulp_created' => :'pulp_created',
|
|
56
57
|
:'manifest_signing_service' => :'manifest_signing_service',
|
|
57
|
-
:'
|
|
58
|
+
:'latest_version_href' => :'latest_version_href',
|
|
58
59
|
:'versions_href' => :'versions_href',
|
|
59
|
-
:'
|
|
60
|
-
:'
|
|
61
|
-
:'retain_repo_versions' => :'retain_repo_versions'
|
|
60
|
+
:'retain_repo_versions' => :'retain_repo_versions',
|
|
61
|
+
:'pulp_last_updated' => :'pulp_last_updated'
|
|
62
62
|
}
|
|
63
63
|
end
|
|
64
64
|
|
|
@@ -71,25 +71,25 @@ module PulpContainerClient
|
|
|
71
71
|
def self.openapi_types
|
|
72
72
|
{
|
|
73
73
|
:'name' => :'String',
|
|
74
|
+
:'description' => :'String',
|
|
75
|
+
:'pulp_created' => :'Time',
|
|
74
76
|
:'prn' => :'String',
|
|
75
|
-
:'
|
|
77
|
+
:'pulp_href' => :'String',
|
|
76
78
|
:'pulp_labels' => :'Hash<String, String>',
|
|
77
|
-
:'pulp_created' => :'Time',
|
|
78
79
|
:'manifest_signing_service' => :'String',
|
|
79
|
-
:'
|
|
80
|
+
:'latest_version_href' => :'String',
|
|
80
81
|
:'versions_href' => :'String',
|
|
81
|
-
:'
|
|
82
|
-
:'
|
|
83
|
-
:'retain_repo_versions' => :'Integer'
|
|
82
|
+
:'retain_repo_versions' => :'Integer',
|
|
83
|
+
:'pulp_last_updated' => :'Time'
|
|
84
84
|
}
|
|
85
85
|
end
|
|
86
86
|
|
|
87
87
|
# List of attributes with nullable: true
|
|
88
88
|
def self.openapi_nullable
|
|
89
89
|
Set.new([
|
|
90
|
-
:'manifest_signing_service',
|
|
91
90
|
:'description',
|
|
92
|
-
:'
|
|
91
|
+
:'manifest_signing_service',
|
|
92
|
+
:'retain_repo_versions',
|
|
93
93
|
])
|
|
94
94
|
end
|
|
95
95
|
|
|
@@ -114,12 +114,20 @@ module PulpContainerClient
|
|
|
114
114
|
self.name = nil
|
|
115
115
|
end
|
|
116
116
|
|
|
117
|
+
if attributes.key?(:'description')
|
|
118
|
+
self.description = attributes[:'description']
|
|
119
|
+
end
|
|
120
|
+
|
|
121
|
+
if attributes.key?(:'pulp_created')
|
|
122
|
+
self.pulp_created = attributes[:'pulp_created']
|
|
123
|
+
end
|
|
124
|
+
|
|
117
125
|
if attributes.key?(:'prn')
|
|
118
126
|
self.prn = attributes[:'prn']
|
|
119
127
|
end
|
|
120
128
|
|
|
121
|
-
if attributes.key?(:'
|
|
122
|
-
self.
|
|
129
|
+
if attributes.key?(:'pulp_href')
|
|
130
|
+
self.pulp_href = attributes[:'pulp_href']
|
|
123
131
|
end
|
|
124
132
|
|
|
125
133
|
if attributes.key?(:'pulp_labels')
|
|
@@ -128,33 +136,25 @@ module PulpContainerClient
|
|
|
128
136
|
end
|
|
129
137
|
end
|
|
130
138
|
|
|
131
|
-
if attributes.key?(:'pulp_created')
|
|
132
|
-
self.pulp_created = attributes[:'pulp_created']
|
|
133
|
-
end
|
|
134
|
-
|
|
135
139
|
if attributes.key?(:'manifest_signing_service')
|
|
136
140
|
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
|
137
141
|
end
|
|
138
142
|
|
|
139
|
-
if attributes.key?(:'
|
|
140
|
-
self.
|
|
143
|
+
if attributes.key?(:'latest_version_href')
|
|
144
|
+
self.latest_version_href = attributes[:'latest_version_href']
|
|
141
145
|
end
|
|
142
146
|
|
|
143
147
|
if attributes.key?(:'versions_href')
|
|
144
148
|
self.versions_href = attributes[:'versions_href']
|
|
145
149
|
end
|
|
146
150
|
|
|
147
|
-
if attributes.key?(:'pulp_href')
|
|
148
|
-
self.pulp_href = attributes[:'pulp_href']
|
|
149
|
-
end
|
|
150
|
-
|
|
151
|
-
if attributes.key?(:'description')
|
|
152
|
-
self.description = attributes[:'description']
|
|
153
|
-
end
|
|
154
|
-
|
|
155
151
|
if attributes.key?(:'retain_repo_versions')
|
|
156
152
|
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
|
157
153
|
end
|
|
154
|
+
|
|
155
|
+
if attributes.key?(:'pulp_last_updated')
|
|
156
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
157
|
+
end
|
|
158
158
|
end
|
|
159
159
|
|
|
160
160
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -198,16 +198,16 @@ module PulpContainerClient
|
|
|
198
198
|
return true if self.equal?(o)
|
|
199
199
|
self.class == o.class &&
|
|
200
200
|
name == o.name &&
|
|
201
|
+
description == o.description &&
|
|
202
|
+
pulp_created == o.pulp_created &&
|
|
201
203
|
prn == o.prn &&
|
|
202
|
-
|
|
204
|
+
pulp_href == o.pulp_href &&
|
|
203
205
|
pulp_labels == o.pulp_labels &&
|
|
204
|
-
pulp_created == o.pulp_created &&
|
|
205
206
|
manifest_signing_service == o.manifest_signing_service &&
|
|
206
|
-
|
|
207
|
+
latest_version_href == o.latest_version_href &&
|
|
207
208
|
versions_href == o.versions_href &&
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
retain_repo_versions == o.retain_repo_versions
|
|
209
|
+
retain_repo_versions == o.retain_repo_versions &&
|
|
210
|
+
pulp_last_updated == o.pulp_last_updated
|
|
211
211
|
end
|
|
212
212
|
|
|
213
213
|
# @see the `==` method
|
|
@@ -219,7 +219,7 @@ module PulpContainerClient
|
|
|
219
219
|
# Calculates hash code according to all attributes.
|
|
220
220
|
# @return [Integer] Hash code
|
|
221
221
|
def hash
|
|
222
|
-
[name, prn,
|
|
222
|
+
[name, description, pulp_created, prn, pulp_href, pulp_labels, manifest_signing_service, latest_version_href, versions_href, retain_repo_versions, pulp_last_updated].hash
|
|
223
223
|
end
|
|
224
224
|
|
|
225
225
|
# Builds the object from hash
|
|
@@ -19,19 +19,19 @@ module PulpContainerClient
|
|
|
19
19
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
20
20
|
attr_accessor :name
|
|
21
21
|
|
|
22
|
+
# The latest RepositoryVersion for this Repository will be served.
|
|
23
|
+
attr_accessor :repository
|
|
24
|
+
|
|
22
25
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
23
26
|
attr_accessor :base_path
|
|
24
27
|
|
|
25
28
|
# An optional content-guard. If none is specified, a default one will be used.
|
|
26
29
|
attr_accessor :content_guard
|
|
27
30
|
|
|
28
|
-
attr_accessor :pulp_labels
|
|
29
|
-
|
|
30
31
|
# Whether this distribution should be shown in the content app.
|
|
31
32
|
attr_accessor :hidden
|
|
32
33
|
|
|
33
|
-
|
|
34
|
-
attr_accessor :repository
|
|
34
|
+
attr_accessor :pulp_labels
|
|
35
35
|
|
|
36
36
|
# RepositoryVersion to be served
|
|
37
37
|
attr_accessor :repository_version
|
|
@@ -46,11 +46,11 @@ module PulpContainerClient
|
|
|
46
46
|
def self.attribute_map
|
|
47
47
|
{
|
|
48
48
|
:'name' => :'name',
|
|
49
|
+
:'repository' => :'repository',
|
|
49
50
|
:'base_path' => :'base_path',
|
|
50
51
|
:'content_guard' => :'content_guard',
|
|
51
|
-
:'pulp_labels' => :'pulp_labels',
|
|
52
52
|
:'hidden' => :'hidden',
|
|
53
|
-
:'
|
|
53
|
+
:'pulp_labels' => :'pulp_labels',
|
|
54
54
|
:'repository_version' => :'repository_version',
|
|
55
55
|
:'private' => :'private',
|
|
56
56
|
:'description' => :'description'
|
|
@@ -66,11 +66,11 @@ module PulpContainerClient
|
|
|
66
66
|
def self.openapi_types
|
|
67
67
|
{
|
|
68
68
|
:'name' => :'String',
|
|
69
|
+
:'repository' => :'String',
|
|
69
70
|
:'base_path' => :'String',
|
|
70
71
|
:'content_guard' => :'String',
|
|
71
|
-
:'pulp_labels' => :'Hash<String, String>',
|
|
72
72
|
:'hidden' => :'Boolean',
|
|
73
|
-
:'
|
|
73
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
74
74
|
:'repository_version' => :'String',
|
|
75
75
|
:'private' => :'Boolean',
|
|
76
76
|
:'description' => :'String'
|
|
@@ -105,6 +105,10 @@ module PulpContainerClient
|
|
|
105
105
|
self.name = attributes[:'name']
|
|
106
106
|
end
|
|
107
107
|
|
|
108
|
+
if attributes.key?(:'repository')
|
|
109
|
+
self.repository = attributes[:'repository']
|
|
110
|
+
end
|
|
111
|
+
|
|
108
112
|
if attributes.key?(:'base_path')
|
|
109
113
|
self.base_path = attributes[:'base_path']
|
|
110
114
|
end
|
|
@@ -113,20 +117,16 @@ module PulpContainerClient
|
|
|
113
117
|
self.content_guard = attributes[:'content_guard']
|
|
114
118
|
end
|
|
115
119
|
|
|
116
|
-
if attributes.key?(:'pulp_labels')
|
|
117
|
-
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
118
|
-
self.pulp_labels = value
|
|
119
|
-
end
|
|
120
|
-
end
|
|
121
|
-
|
|
122
120
|
if attributes.key?(:'hidden')
|
|
123
121
|
self.hidden = attributes[:'hidden']
|
|
124
122
|
else
|
|
125
123
|
self.hidden = false
|
|
126
124
|
end
|
|
127
125
|
|
|
128
|
-
if attributes.key?(:'
|
|
129
|
-
|
|
126
|
+
if attributes.key?(:'pulp_labels')
|
|
127
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
128
|
+
self.pulp_labels = value
|
|
129
|
+
end
|
|
130
130
|
end
|
|
131
131
|
|
|
132
132
|
if attributes.key?(:'repository_version')
|
|
@@ -216,11 +216,11 @@ module PulpContainerClient
|
|
|
216
216
|
return true if self.equal?(o)
|
|
217
217
|
self.class == o.class &&
|
|
218
218
|
name == o.name &&
|
|
219
|
+
repository == o.repository &&
|
|
219
220
|
base_path == o.base_path &&
|
|
220
221
|
content_guard == o.content_guard &&
|
|
221
|
-
pulp_labels == o.pulp_labels &&
|
|
222
222
|
hidden == o.hidden &&
|
|
223
|
-
|
|
223
|
+
pulp_labels == o.pulp_labels &&
|
|
224
224
|
repository_version == o.repository_version &&
|
|
225
225
|
private == o.private &&
|
|
226
226
|
description == o.description
|
|
@@ -235,7 +235,7 @@ module PulpContainerClient
|
|
|
235
235
|
# Calculates hash code according to all attributes.
|
|
236
236
|
# @return [Integer] Hash code
|
|
237
237
|
def hash
|
|
238
|
-
[name, base_path, content_guard,
|
|
238
|
+
[name, repository, base_path, content_guard, hidden, pulp_labels, repository_version, private, description].hash
|
|
239
239
|
end
|
|
240
240
|
|
|
241
241
|
# Builds the object from hash
|
data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb
CHANGED
|
@@ -19,19 +19,19 @@ module PulpContainerClient
|
|
|
19
19
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
20
20
|
attr_accessor :name
|
|
21
21
|
|
|
22
|
-
# The
|
|
22
|
+
# The latest RepositoryVersion for this Repository will be served.
|
|
23
|
+
attr_accessor :repository
|
|
24
|
+
|
|
25
|
+
# The registry path exposed by this pull-through distribution.
|
|
23
26
|
attr_accessor :base_path
|
|
24
27
|
|
|
25
28
|
# An optional content-guard. If none is specified, a default one will be used.
|
|
26
29
|
attr_accessor :content_guard
|
|
27
30
|
|
|
28
|
-
attr_accessor :pulp_labels
|
|
29
|
-
|
|
30
31
|
# Whether this distribution should be shown in the content app.
|
|
31
32
|
attr_accessor :hidden
|
|
32
33
|
|
|
33
|
-
|
|
34
|
-
attr_accessor :repository
|
|
34
|
+
attr_accessor :pulp_labels
|
|
35
35
|
|
|
36
36
|
# Remote that can be used to fetch content when using pull-through caching.
|
|
37
37
|
attr_accessor :remote
|
|
@@ -49,11 +49,11 @@ module PulpContainerClient
|
|
|
49
49
|
def self.attribute_map
|
|
50
50
|
{
|
|
51
51
|
:'name' => :'name',
|
|
52
|
+
:'repository' => :'repository',
|
|
52
53
|
:'base_path' => :'base_path',
|
|
53
54
|
:'content_guard' => :'content_guard',
|
|
54
|
-
:'pulp_labels' => :'pulp_labels',
|
|
55
55
|
:'hidden' => :'hidden',
|
|
56
|
-
:'
|
|
56
|
+
:'pulp_labels' => :'pulp_labels',
|
|
57
57
|
:'remote' => :'remote',
|
|
58
58
|
:'distributions' => :'distributions',
|
|
59
59
|
:'private' => :'private',
|
|
@@ -70,11 +70,11 @@ module PulpContainerClient
|
|
|
70
70
|
def self.openapi_types
|
|
71
71
|
{
|
|
72
72
|
:'name' => :'String',
|
|
73
|
+
:'repository' => :'String',
|
|
73
74
|
:'base_path' => :'String',
|
|
74
75
|
:'content_guard' => :'String',
|
|
75
|
-
:'pulp_labels' => :'Hash<String, String>',
|
|
76
76
|
:'hidden' => :'Boolean',
|
|
77
|
-
:'
|
|
77
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
78
78
|
:'remote' => :'String',
|
|
79
79
|
:'distributions' => :'Array<String>',
|
|
80
80
|
:'private' => :'Boolean',
|
|
@@ -109,6 +109,10 @@ module PulpContainerClient
|
|
|
109
109
|
self.name = attributes[:'name']
|
|
110
110
|
end
|
|
111
111
|
|
|
112
|
+
if attributes.key?(:'repository')
|
|
113
|
+
self.repository = attributes[:'repository']
|
|
114
|
+
end
|
|
115
|
+
|
|
112
116
|
if attributes.key?(:'base_path')
|
|
113
117
|
self.base_path = attributes[:'base_path']
|
|
114
118
|
end
|
|
@@ -117,20 +121,16 @@ module PulpContainerClient
|
|
|
117
121
|
self.content_guard = attributes[:'content_guard']
|
|
118
122
|
end
|
|
119
123
|
|
|
120
|
-
if attributes.key?(:'pulp_labels')
|
|
121
|
-
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
122
|
-
self.pulp_labels = value
|
|
123
|
-
end
|
|
124
|
-
end
|
|
125
|
-
|
|
126
124
|
if attributes.key?(:'hidden')
|
|
127
125
|
self.hidden = attributes[:'hidden']
|
|
128
126
|
else
|
|
129
127
|
self.hidden = false
|
|
130
128
|
end
|
|
131
129
|
|
|
132
|
-
if attributes.key?(:'
|
|
133
|
-
|
|
130
|
+
if attributes.key?(:'pulp_labels')
|
|
131
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
132
|
+
self.pulp_labels = value
|
|
133
|
+
end
|
|
134
134
|
end
|
|
135
135
|
|
|
136
136
|
if attributes.key?(:'remote')
|
|
@@ -226,11 +226,11 @@ module PulpContainerClient
|
|
|
226
226
|
return true if self.equal?(o)
|
|
227
227
|
self.class == o.class &&
|
|
228
228
|
name == o.name &&
|
|
229
|
+
repository == o.repository &&
|
|
229
230
|
base_path == o.base_path &&
|
|
230
231
|
content_guard == o.content_guard &&
|
|
231
|
-
pulp_labels == o.pulp_labels &&
|
|
232
232
|
hidden == o.hidden &&
|
|
233
|
-
|
|
233
|
+
pulp_labels == o.pulp_labels &&
|
|
234
234
|
remote == o.remote &&
|
|
235
235
|
distributions == o.distributions &&
|
|
236
236
|
private == o.private &&
|
|
@@ -246,7 +246,7 @@ module PulpContainerClient
|
|
|
246
246
|
# Calculates hash code according to all attributes.
|
|
247
247
|
# @return [Integer] Hash code
|
|
248
248
|
def hash
|
|
249
|
-
[name, base_path, content_guard,
|
|
249
|
+
[name, repository, base_path, content_guard, hidden, pulp_labels, remote, distributions, private, description].hash
|
|
250
250
|
end
|
|
251
251
|
|
|
252
252
|
# Builds the object from hash
|
|
@@ -19,14 +19,14 @@ module PulpContainerClient
|
|
|
19
19
|
# A unique name for this repository.
|
|
20
20
|
attr_accessor :name
|
|
21
21
|
|
|
22
|
+
# An optional description.
|
|
23
|
+
attr_accessor :description
|
|
24
|
+
|
|
22
25
|
attr_accessor :pulp_labels
|
|
23
26
|
|
|
24
27
|
# A reference to an associated signing service.
|
|
25
28
|
attr_accessor :manifest_signing_service
|
|
26
29
|
|
|
27
|
-
# An optional description.
|
|
28
|
-
attr_accessor :description
|
|
29
|
-
|
|
30
30
|
# Retain X versions of the repository. Default is null which retains all versions.
|
|
31
31
|
attr_accessor :retain_repo_versions
|
|
32
32
|
|
|
@@ -34,9 +34,9 @@ module PulpContainerClient
|
|
|
34
34
|
def self.attribute_map
|
|
35
35
|
{
|
|
36
36
|
:'name' => :'name',
|
|
37
|
+
:'description' => :'description',
|
|
37
38
|
:'pulp_labels' => :'pulp_labels',
|
|
38
39
|
:'manifest_signing_service' => :'manifest_signing_service',
|
|
39
|
-
:'description' => :'description',
|
|
40
40
|
:'retain_repo_versions' => :'retain_repo_versions'
|
|
41
41
|
}
|
|
42
42
|
end
|
|
@@ -50,9 +50,9 @@ module PulpContainerClient
|
|
|
50
50
|
def self.openapi_types
|
|
51
51
|
{
|
|
52
52
|
:'name' => :'String',
|
|
53
|
+
:'description' => :'String',
|
|
53
54
|
:'pulp_labels' => :'Hash<String, String>',
|
|
54
55
|
:'manifest_signing_service' => :'String',
|
|
55
|
-
:'description' => :'String',
|
|
56
56
|
:'retain_repo_versions' => :'Integer'
|
|
57
57
|
}
|
|
58
58
|
end
|
|
@@ -60,8 +60,8 @@ module PulpContainerClient
|
|
|
60
60
|
# List of attributes with nullable: true
|
|
61
61
|
def self.openapi_nullable
|
|
62
62
|
Set.new([
|
|
63
|
-
:'manifest_signing_service',
|
|
64
63
|
:'description',
|
|
64
|
+
:'manifest_signing_service',
|
|
65
65
|
:'retain_repo_versions'
|
|
66
66
|
])
|
|
67
67
|
end
|
|
@@ -85,6 +85,10 @@ module PulpContainerClient
|
|
|
85
85
|
self.name = attributes[:'name']
|
|
86
86
|
end
|
|
87
87
|
|
|
88
|
+
if attributes.key?(:'description')
|
|
89
|
+
self.description = attributes[:'description']
|
|
90
|
+
end
|
|
91
|
+
|
|
88
92
|
if attributes.key?(:'pulp_labels')
|
|
89
93
|
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
90
94
|
self.pulp_labels = value
|
|
@@ -95,10 +99,6 @@ module PulpContainerClient
|
|
|
95
99
|
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
|
96
100
|
end
|
|
97
101
|
|
|
98
|
-
if attributes.key?(:'description')
|
|
99
|
-
self.description = attributes[:'description']
|
|
100
|
-
end
|
|
101
|
-
|
|
102
102
|
if attributes.key?(:'retain_repo_versions')
|
|
103
103
|
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
|
104
104
|
end
|
|
@@ -174,9 +174,9 @@ module PulpContainerClient
|
|
|
174
174
|
return true if self.equal?(o)
|
|
175
175
|
self.class == o.class &&
|
|
176
176
|
name == o.name &&
|
|
177
|
+
description == o.description &&
|
|
177
178
|
pulp_labels == o.pulp_labels &&
|
|
178
179
|
manifest_signing_service == o.manifest_signing_service &&
|
|
179
|
-
description == o.description &&
|
|
180
180
|
retain_repo_versions == o.retain_repo_versions
|
|
181
181
|
end
|
|
182
182
|
|
|
@@ -189,7 +189,7 @@ module PulpContainerClient
|
|
|
189
189
|
# Calculates hash code according to all attributes.
|
|
190
190
|
# @return [Integer] Hash code
|
|
191
191
|
def hash
|
|
192
|
-
[name, pulp_labels, manifest_signing_service,
|
|
192
|
+
[name, description, pulp_labels, manifest_signing_service, retain_repo_versions].hash
|
|
193
193
|
end
|
|
194
194
|
|
|
195
195
|
# Builds the object from hash
|
|
@@ -185,8 +185,7 @@ describe 'DistributionsPullThroughApi' do
|
|
|
185
185
|
end
|
|
186
186
|
|
|
187
187
|
# unit tests for set_label
|
|
188
|
-
#
|
|
189
|
-
# Set a single pulp_label on the object to a specific value or null.
|
|
188
|
+
# Prevent clients from changing the internal pull-through marker.
|
|
190
189
|
# @param container_container_pull_through_distribution_href
|
|
191
190
|
# @param set_label
|
|
192
191
|
# @param [Hash] opts the optional parameters
|
|
@@ -199,8 +198,7 @@ describe 'DistributionsPullThroughApi' do
|
|
|
199
198
|
end
|
|
200
199
|
|
|
201
200
|
# unit tests for unset_label
|
|
202
|
-
#
|
|
203
|
-
# Unset a single pulp_label on the object.
|
|
201
|
+
# Prevent clients from removing the internal pull-through marker.
|
|
204
202
|
# @param container_container_pull_through_distribution_href
|
|
205
203
|
# @param unset_label
|
|
206
204
|
# @param [Hash] opts the optional parameters
|
|
@@ -27,19 +27,19 @@ describe PulpContainerClient::ContainerContainerDistributionResponse do
|
|
|
27
27
|
end
|
|
28
28
|
end
|
|
29
29
|
|
|
30
|
-
describe 'test attribute "
|
|
30
|
+
describe 'test attribute "name"' do
|
|
31
31
|
it 'should work' do
|
|
32
32
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
35
|
|
|
36
|
-
describe 'test attribute "
|
|
36
|
+
describe 'test attribute "repository"' do
|
|
37
37
|
it 'should work' do
|
|
38
38
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
39
|
end
|
|
40
40
|
end
|
|
41
41
|
|
|
42
|
-
describe 'test attribute "
|
|
42
|
+
describe 'test attribute "pulp_created"' do
|
|
43
43
|
it 'should work' do
|
|
44
44
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
45
|
end
|
|
@@ -51,43 +51,43 @@ describe PulpContainerClient::ContainerContainerDistributionResponse do
|
|
|
51
51
|
end
|
|
52
52
|
end
|
|
53
53
|
|
|
54
|
-
describe 'test attribute "
|
|
54
|
+
describe 'test attribute "prn"' do
|
|
55
55
|
it 'should work' do
|
|
56
56
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
57
|
end
|
|
58
58
|
end
|
|
59
59
|
|
|
60
|
-
describe 'test attribute "
|
|
60
|
+
describe 'test attribute "content_guard"' do
|
|
61
61
|
it 'should work' do
|
|
62
62
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
63
63
|
end
|
|
64
64
|
end
|
|
65
65
|
|
|
66
|
-
describe 'test attribute "
|
|
66
|
+
describe 'test attribute "hidden"' do
|
|
67
67
|
it 'should work' do
|
|
68
68
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
69
69
|
end
|
|
70
70
|
end
|
|
71
71
|
|
|
72
|
-
describe 'test attribute "
|
|
72
|
+
describe 'test attribute "pulp_href"' do
|
|
73
73
|
it 'should work' do
|
|
74
74
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
75
75
|
end
|
|
76
76
|
end
|
|
77
77
|
|
|
78
|
-
describe 'test attribute "
|
|
78
|
+
describe 'test attribute "no_content_change_since"' do
|
|
79
79
|
it 'should work' do
|
|
80
80
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
81
81
|
end
|
|
82
82
|
end
|
|
83
83
|
|
|
84
|
-
describe 'test attribute "
|
|
84
|
+
describe 'test attribute "pulp_labels"' do
|
|
85
85
|
it 'should work' do
|
|
86
86
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
87
87
|
end
|
|
88
88
|
end
|
|
89
89
|
|
|
90
|
-
describe 'test attribute "
|
|
90
|
+
describe 'test attribute "pulp_last_updated"' do
|
|
91
91
|
it 'should work' do
|
|
92
92
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
93
93
|
end
|
|
@@ -33,19 +33,19 @@ describe PulpContainerClient::ContainerContainerDistribution do
|
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
35
|
|
|
36
|
-
describe 'test attribute "
|
|
36
|
+
describe 'test attribute "repository"' do
|
|
37
37
|
it 'should work' do
|
|
38
38
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
39
|
end
|
|
40
40
|
end
|
|
41
41
|
|
|
42
|
-
describe 'test attribute "
|
|
42
|
+
describe 'test attribute "base_path"' do
|
|
43
43
|
it 'should work' do
|
|
44
44
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
45
|
end
|
|
46
46
|
end
|
|
47
47
|
|
|
48
|
-
describe 'test attribute "
|
|
48
|
+
describe 'test attribute "content_guard"' do
|
|
49
49
|
it 'should work' do
|
|
50
50
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
51
|
end
|
|
@@ -57,7 +57,7 @@ describe PulpContainerClient::ContainerContainerDistribution do
|
|
|
57
57
|
end
|
|
58
58
|
end
|
|
59
59
|
|
|
60
|
-
describe 'test attribute "
|
|
60
|
+
describe 'test attribute "pulp_labels"' do
|
|
61
61
|
it 'should work' do
|
|
62
62
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
63
63
|
end
|