pulp_container_client 2.22.2 → 2.22.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/ContainerContainerDistribution.md +8 -8
- data/docs/ContainerContainerDistributionResponse.md +12 -12
- data/docs/ContainerContainerPullThroughDistribution.md +8 -8
- data/docs/ContainerContainerPullThroughDistributionResponse.md +12 -12
- data/docs/ContainerContainerPushRepository.md +5 -5
- data/docs/ContainerContainerPushRepositoryResponse.md +14 -14
- data/docs/PatchedcontainerContainerDistribution.md +8 -8
- data/docs/PatchedcontainerContainerPullThroughDistribution.md +8 -8
- data/docs/PatchedcontainerContainerPushRepository.md +5 -5
- data/lib/pulp_container_client/models/container_container_distribution.rb +33 -33
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +53 -53
- data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +33 -33
- data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +53 -53
- data/lib/pulp_container_client/models/container_container_push_repository.rb +19 -19
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +57 -57
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +33 -33
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +33 -33
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +19 -19
- data/lib/pulp_container_client/version.rb +1 -1
- data/spec/models/container_container_distribution_response_spec.rb +9 -9
- data/spec/models/container_container_distribution_spec.rb +6 -6
- data/spec/models/container_container_pull_through_distribution_response_spec.rb +9 -9
- data/spec/models/container_container_pull_through_distribution_spec.rb +6 -6
- 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 +6 -6
- data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +6 -6
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +3 -3
- metadata +61 -61
|
@@ -15,31 +15,31 @@ require 'date'
|
|
|
15
15
|
module PulpContainerClient
|
|
16
16
|
# Serializer for Container Push Repositories.
|
|
17
17
|
class ContainerContainerPushRepositoryResponse
|
|
18
|
-
attr_accessor :
|
|
18
|
+
attr_accessor :pulp_href
|
|
19
|
+
|
|
20
|
+
attr_accessor :latest_version_href
|
|
19
21
|
|
|
20
22
|
# 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.
|
|
21
23
|
attr_accessor :pulp_last_updated
|
|
22
24
|
|
|
23
|
-
|
|
25
|
+
# An optional description.
|
|
26
|
+
attr_accessor :description
|
|
27
|
+
|
|
28
|
+
# A reference to an associated signing service.
|
|
29
|
+
attr_accessor :manifest_signing_service
|
|
30
|
+
|
|
31
|
+
# A unique name for this repository.
|
|
32
|
+
attr_accessor :name
|
|
24
33
|
|
|
25
34
|
# Timestamp of creation.
|
|
26
35
|
attr_accessor :pulp_created
|
|
27
36
|
|
|
28
|
-
attr_accessor :latest_version_href
|
|
29
|
-
|
|
30
37
|
# The Pulp Resource Name (PRN).
|
|
31
38
|
attr_accessor :prn
|
|
32
39
|
|
|
33
|
-
|
|
34
|
-
attr_accessor :description
|
|
35
|
-
|
|
36
|
-
attr_accessor :pulp_href
|
|
37
|
-
|
|
38
|
-
# A unique name for this repository.
|
|
39
|
-
attr_accessor :name
|
|
40
|
+
attr_accessor :versions_href
|
|
40
41
|
|
|
41
|
-
|
|
42
|
-
attr_accessor :manifest_signing_service
|
|
42
|
+
attr_accessor :pulp_labels
|
|
43
43
|
|
|
44
44
|
# Retain X versions of the repository. Default is null which retains all versions.
|
|
45
45
|
attr_accessor :retain_repo_versions
|
|
@@ -47,16 +47,16 @@ module PulpContainerClient
|
|
|
47
47
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
48
48
|
def self.attribute_map
|
|
49
49
|
{
|
|
50
|
-
:'
|
|
51
|
-
:'pulp_last_updated' => :'pulp_last_updated',
|
|
52
|
-
:'pulp_labels' => :'pulp_labels',
|
|
53
|
-
:'pulp_created' => :'pulp_created',
|
|
50
|
+
:'pulp_href' => :'pulp_href',
|
|
54
51
|
:'latest_version_href' => :'latest_version_href',
|
|
55
|
-
:'
|
|
52
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
|
56
53
|
:'description' => :'description',
|
|
57
|
-
:'pulp_href' => :'pulp_href',
|
|
58
|
-
:'name' => :'name',
|
|
59
54
|
:'manifest_signing_service' => :'manifest_signing_service',
|
|
55
|
+
:'name' => :'name',
|
|
56
|
+
:'pulp_created' => :'pulp_created',
|
|
57
|
+
:'prn' => :'prn',
|
|
58
|
+
:'versions_href' => :'versions_href',
|
|
59
|
+
:'pulp_labels' => :'pulp_labels',
|
|
60
60
|
:'retain_repo_versions' => :'retain_repo_versions'
|
|
61
61
|
}
|
|
62
62
|
end
|
|
@@ -64,16 +64,16 @@ module PulpContainerClient
|
|
|
64
64
|
# Attribute type mapping.
|
|
65
65
|
def self.openapi_types
|
|
66
66
|
{
|
|
67
|
-
:'
|
|
68
|
-
:'pulp_last_updated' => :'DateTime',
|
|
69
|
-
:'pulp_labels' => :'Hash<String, String>',
|
|
70
|
-
:'pulp_created' => :'DateTime',
|
|
67
|
+
:'pulp_href' => :'String',
|
|
71
68
|
:'latest_version_href' => :'String',
|
|
72
|
-
:'
|
|
69
|
+
:'pulp_last_updated' => :'DateTime',
|
|
73
70
|
:'description' => :'String',
|
|
74
|
-
:'pulp_href' => :'String',
|
|
75
|
-
:'name' => :'String',
|
|
76
71
|
:'manifest_signing_service' => :'String',
|
|
72
|
+
:'name' => :'String',
|
|
73
|
+
:'pulp_created' => :'DateTime',
|
|
74
|
+
:'prn' => :'String',
|
|
75
|
+
:'versions_href' => :'String',
|
|
76
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
77
77
|
:'retain_repo_versions' => :'Integer'
|
|
78
78
|
}
|
|
79
79
|
end
|
|
@@ -102,46 +102,46 @@ module PulpContainerClient
|
|
|
102
102
|
h[k.to_sym] = v
|
|
103
103
|
}
|
|
104
104
|
|
|
105
|
-
if attributes.key?(:'
|
|
106
|
-
self.
|
|
107
|
-
end
|
|
108
|
-
|
|
109
|
-
if attributes.key?(:'pulp_last_updated')
|
|
110
|
-
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
111
|
-
end
|
|
112
|
-
|
|
113
|
-
if attributes.key?(:'pulp_labels')
|
|
114
|
-
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
115
|
-
self.pulp_labels = value
|
|
116
|
-
end
|
|
117
|
-
end
|
|
118
|
-
|
|
119
|
-
if attributes.key?(:'pulp_created')
|
|
120
|
-
self.pulp_created = attributes[:'pulp_created']
|
|
105
|
+
if attributes.key?(:'pulp_href')
|
|
106
|
+
self.pulp_href = attributes[:'pulp_href']
|
|
121
107
|
end
|
|
122
108
|
|
|
123
109
|
if attributes.key?(:'latest_version_href')
|
|
124
110
|
self.latest_version_href = attributes[:'latest_version_href']
|
|
125
111
|
end
|
|
126
112
|
|
|
127
|
-
if attributes.key?(:'
|
|
128
|
-
self.
|
|
113
|
+
if attributes.key?(:'pulp_last_updated')
|
|
114
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
129
115
|
end
|
|
130
116
|
|
|
131
117
|
if attributes.key?(:'description')
|
|
132
118
|
self.description = attributes[:'description']
|
|
133
119
|
end
|
|
134
120
|
|
|
135
|
-
if attributes.key?(:'
|
|
136
|
-
self.
|
|
121
|
+
if attributes.key?(:'manifest_signing_service')
|
|
122
|
+
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
|
137
123
|
end
|
|
138
124
|
|
|
139
125
|
if attributes.key?(:'name')
|
|
140
126
|
self.name = attributes[:'name']
|
|
141
127
|
end
|
|
142
128
|
|
|
143
|
-
if attributes.key?(:'
|
|
144
|
-
self.
|
|
129
|
+
if attributes.key?(:'pulp_created')
|
|
130
|
+
self.pulp_created = attributes[:'pulp_created']
|
|
131
|
+
end
|
|
132
|
+
|
|
133
|
+
if attributes.key?(:'prn')
|
|
134
|
+
self.prn = attributes[:'prn']
|
|
135
|
+
end
|
|
136
|
+
|
|
137
|
+
if attributes.key?(:'versions_href')
|
|
138
|
+
self.versions_href = attributes[:'versions_href']
|
|
139
|
+
end
|
|
140
|
+
|
|
141
|
+
if attributes.key?(:'pulp_labels')
|
|
142
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
143
|
+
self.pulp_labels = value
|
|
144
|
+
end
|
|
145
145
|
end
|
|
146
146
|
|
|
147
147
|
if attributes.key?(:'retain_repo_versions')
|
|
@@ -187,16 +187,16 @@ module PulpContainerClient
|
|
|
187
187
|
def ==(o)
|
|
188
188
|
return true if self.equal?(o)
|
|
189
189
|
self.class == o.class &&
|
|
190
|
-
|
|
191
|
-
pulp_last_updated == o.pulp_last_updated &&
|
|
192
|
-
pulp_labels == o.pulp_labels &&
|
|
193
|
-
pulp_created == o.pulp_created &&
|
|
190
|
+
pulp_href == o.pulp_href &&
|
|
194
191
|
latest_version_href == o.latest_version_href &&
|
|
195
|
-
|
|
192
|
+
pulp_last_updated == o.pulp_last_updated &&
|
|
196
193
|
description == o.description &&
|
|
197
|
-
pulp_href == o.pulp_href &&
|
|
198
|
-
name == o.name &&
|
|
199
194
|
manifest_signing_service == o.manifest_signing_service &&
|
|
195
|
+
name == o.name &&
|
|
196
|
+
pulp_created == o.pulp_created &&
|
|
197
|
+
prn == o.prn &&
|
|
198
|
+
versions_href == o.versions_href &&
|
|
199
|
+
pulp_labels == o.pulp_labels &&
|
|
200
200
|
retain_repo_versions == o.retain_repo_versions
|
|
201
201
|
end
|
|
202
202
|
|
|
@@ -209,7 +209,7 @@ module PulpContainerClient
|
|
|
209
209
|
# Calculates hash code according to all attributes.
|
|
210
210
|
# @return [Integer] Hash code
|
|
211
211
|
def hash
|
|
212
|
-
[
|
|
212
|
+
[pulp_href, latest_version_href, pulp_last_updated, description, manifest_signing_service, name, pulp_created, prn, versions_href, pulp_labels, retain_repo_versions].hash
|
|
213
213
|
end
|
|
214
214
|
|
|
215
215
|
# Builds the object from hash
|
|
@@ -15,22 +15,22 @@ require 'date'
|
|
|
15
15
|
module PulpContainerClient
|
|
16
16
|
# A serializer for ContainerDistribution.
|
|
17
17
|
class PatchedcontainerContainerDistribution
|
|
18
|
-
# The
|
|
19
|
-
attr_accessor :
|
|
20
|
-
|
|
21
|
-
attr_accessor :pulp_labels
|
|
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
|
|
22
20
|
|
|
23
21
|
# An optional content-guard. If none is specified, a default one will be used.
|
|
24
22
|
attr_accessor :content_guard
|
|
25
23
|
|
|
26
|
-
#
|
|
27
|
-
attr_accessor :
|
|
24
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
|
25
|
+
attr_accessor :name
|
|
28
26
|
|
|
29
27
|
# Whether this distribution should be shown in the content app.
|
|
30
28
|
attr_accessor :hidden
|
|
31
29
|
|
|
32
|
-
#
|
|
33
|
-
attr_accessor :
|
|
30
|
+
# The latest RepositoryVersion for this Repository will be served.
|
|
31
|
+
attr_accessor :repository
|
|
32
|
+
|
|
33
|
+
attr_accessor :pulp_labels
|
|
34
34
|
|
|
35
35
|
# RepositoryVersion to be served
|
|
36
36
|
attr_accessor :repository_version
|
|
@@ -44,12 +44,12 @@ module PulpContainerClient
|
|
|
44
44
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
45
45
|
def self.attribute_map
|
|
46
46
|
{
|
|
47
|
-
:'repository' => :'repository',
|
|
48
|
-
:'pulp_labels' => :'pulp_labels',
|
|
49
|
-
:'content_guard' => :'content_guard',
|
|
50
47
|
:'base_path' => :'base_path',
|
|
51
|
-
:'
|
|
48
|
+
:'content_guard' => :'content_guard',
|
|
52
49
|
:'name' => :'name',
|
|
50
|
+
:'hidden' => :'hidden',
|
|
51
|
+
:'repository' => :'repository',
|
|
52
|
+
:'pulp_labels' => :'pulp_labels',
|
|
53
53
|
:'repository_version' => :'repository_version',
|
|
54
54
|
:'private' => :'private',
|
|
55
55
|
:'description' => :'description'
|
|
@@ -59,12 +59,12 @@ module PulpContainerClient
|
|
|
59
59
|
# Attribute type mapping.
|
|
60
60
|
def self.openapi_types
|
|
61
61
|
{
|
|
62
|
-
:'repository' => :'String',
|
|
63
|
-
:'pulp_labels' => :'Hash<String, String>',
|
|
64
|
-
:'content_guard' => :'String',
|
|
65
62
|
:'base_path' => :'String',
|
|
66
|
-
:'
|
|
63
|
+
:'content_guard' => :'String',
|
|
67
64
|
:'name' => :'String',
|
|
65
|
+
:'hidden' => :'Boolean',
|
|
66
|
+
:'repository' => :'String',
|
|
67
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
68
68
|
:'repository_version' => :'String',
|
|
69
69
|
:'private' => :'Boolean',
|
|
70
70
|
:'description' => :'String'
|
|
@@ -95,22 +95,16 @@ module PulpContainerClient
|
|
|
95
95
|
h[k.to_sym] = v
|
|
96
96
|
}
|
|
97
97
|
|
|
98
|
-
if attributes.key?(:'
|
|
99
|
-
self.
|
|
100
|
-
end
|
|
101
|
-
|
|
102
|
-
if attributes.key?(:'pulp_labels')
|
|
103
|
-
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
104
|
-
self.pulp_labels = value
|
|
105
|
-
end
|
|
98
|
+
if attributes.key?(:'base_path')
|
|
99
|
+
self.base_path = attributes[:'base_path']
|
|
106
100
|
end
|
|
107
101
|
|
|
108
102
|
if attributes.key?(:'content_guard')
|
|
109
103
|
self.content_guard = attributes[:'content_guard']
|
|
110
104
|
end
|
|
111
105
|
|
|
112
|
-
if attributes.key?(:'
|
|
113
|
-
self.
|
|
106
|
+
if attributes.key?(:'name')
|
|
107
|
+
self.name = attributes[:'name']
|
|
114
108
|
end
|
|
115
109
|
|
|
116
110
|
if attributes.key?(:'hidden')
|
|
@@ -119,8 +113,14 @@ module PulpContainerClient
|
|
|
119
113
|
self.hidden = false
|
|
120
114
|
end
|
|
121
115
|
|
|
122
|
-
if attributes.key?(:'
|
|
123
|
-
self.
|
|
116
|
+
if attributes.key?(:'repository')
|
|
117
|
+
self.repository = attributes[:'repository']
|
|
118
|
+
end
|
|
119
|
+
|
|
120
|
+
if attributes.key?(:'pulp_labels')
|
|
121
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
122
|
+
self.pulp_labels = value
|
|
123
|
+
end
|
|
124
124
|
end
|
|
125
125
|
|
|
126
126
|
if attributes.key?(:'repository_version')
|
|
@@ -199,12 +199,12 @@ module PulpContainerClient
|
|
|
199
199
|
def ==(o)
|
|
200
200
|
return true if self.equal?(o)
|
|
201
201
|
self.class == o.class &&
|
|
202
|
-
repository == o.repository &&
|
|
203
|
-
pulp_labels == o.pulp_labels &&
|
|
204
|
-
content_guard == o.content_guard &&
|
|
205
202
|
base_path == o.base_path &&
|
|
206
|
-
|
|
203
|
+
content_guard == o.content_guard &&
|
|
207
204
|
name == o.name &&
|
|
205
|
+
hidden == o.hidden &&
|
|
206
|
+
repository == o.repository &&
|
|
207
|
+
pulp_labels == o.pulp_labels &&
|
|
208
208
|
repository_version == o.repository_version &&
|
|
209
209
|
private == o.private &&
|
|
210
210
|
description == o.description
|
|
@@ -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
|
-
[
|
|
222
|
+
[base_path, content_guard, name, hidden, repository, pulp_labels, repository_version, private, description].hash
|
|
223
223
|
end
|
|
224
224
|
|
|
225
225
|
# Builds the object from hash
|
data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb
CHANGED
|
@@ -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 PatchedcontainerContainerPullThroughDistribution
|
|
18
|
-
# The
|
|
19
|
-
attr_accessor :
|
|
20
|
-
|
|
21
|
-
attr_accessor :pulp_labels
|
|
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
|
|
22
20
|
|
|
23
21
|
# An optional content-guard. If none is specified, a default one will be used.
|
|
24
22
|
attr_accessor :content_guard
|
|
25
23
|
|
|
26
|
-
#
|
|
27
|
-
attr_accessor :
|
|
24
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
|
25
|
+
attr_accessor :name
|
|
28
26
|
|
|
29
27
|
# Whether this distribution should be shown in the content app.
|
|
30
28
|
attr_accessor :hidden
|
|
31
29
|
|
|
32
|
-
#
|
|
33
|
-
attr_accessor :
|
|
30
|
+
# The latest RepositoryVersion for this Repository will be served.
|
|
31
|
+
attr_accessor :repository
|
|
32
|
+
|
|
33
|
+
attr_accessor :pulp_labels
|
|
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
|
-
:'repository' => :'repository',
|
|
51
|
-
:'pulp_labels' => :'pulp_labels',
|
|
52
|
-
:'content_guard' => :'content_guard',
|
|
53
50
|
:'base_path' => :'base_path',
|
|
54
|
-
:'
|
|
51
|
+
:'content_guard' => :'content_guard',
|
|
55
52
|
:'name' => :'name',
|
|
53
|
+
:'hidden' => :'hidden',
|
|
54
|
+
:'repository' => :'repository',
|
|
55
|
+
:'pulp_labels' => :'pulp_labels',
|
|
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
|
-
:'repository' => :'String',
|
|
67
|
-
:'pulp_labels' => :'Hash<String, String>',
|
|
68
|
-
:'content_guard' => :'String',
|
|
69
66
|
:'base_path' => :'String',
|
|
70
|
-
:'
|
|
67
|
+
:'content_guard' => :'String',
|
|
71
68
|
:'name' => :'String',
|
|
69
|
+
:'hidden' => :'Boolean',
|
|
70
|
+
:'repository' => :'String',
|
|
71
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
72
72
|
:'remote' => :'String',
|
|
73
73
|
:'distributions' => :'Array<String>',
|
|
74
74
|
:'private' => :'Boolean',
|
|
@@ -99,22 +99,16 @@ module PulpContainerClient
|
|
|
99
99
|
h[k.to_sym] = v
|
|
100
100
|
}
|
|
101
101
|
|
|
102
|
-
if attributes.key?(:'
|
|
103
|
-
self.
|
|
104
|
-
end
|
|
105
|
-
|
|
106
|
-
if attributes.key?(:'pulp_labels')
|
|
107
|
-
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
108
|
-
self.pulp_labels = value
|
|
109
|
-
end
|
|
102
|
+
if attributes.key?(:'base_path')
|
|
103
|
+
self.base_path = attributes[:'base_path']
|
|
110
104
|
end
|
|
111
105
|
|
|
112
106
|
if attributes.key?(:'content_guard')
|
|
113
107
|
self.content_guard = attributes[:'content_guard']
|
|
114
108
|
end
|
|
115
109
|
|
|
116
|
-
if attributes.key?(:'
|
|
117
|
-
self.
|
|
110
|
+
if attributes.key?(:'name')
|
|
111
|
+
self.name = attributes[:'name']
|
|
118
112
|
end
|
|
119
113
|
|
|
120
114
|
if attributes.key?(:'hidden')
|
|
@@ -123,8 +117,14 @@ module PulpContainerClient
|
|
|
123
117
|
self.hidden = false
|
|
124
118
|
end
|
|
125
119
|
|
|
126
|
-
if attributes.key?(:'
|
|
127
|
-
self.
|
|
120
|
+
if attributes.key?(:'repository')
|
|
121
|
+
self.repository = attributes[:'repository']
|
|
122
|
+
end
|
|
123
|
+
|
|
124
|
+
if attributes.key?(:'pulp_labels')
|
|
125
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
126
|
+
self.pulp_labels = value
|
|
127
|
+
end
|
|
128
128
|
end
|
|
129
129
|
|
|
130
130
|
if attributes.key?(:'remote')
|
|
@@ -209,12 +209,12 @@ module PulpContainerClient
|
|
|
209
209
|
def ==(o)
|
|
210
210
|
return true if self.equal?(o)
|
|
211
211
|
self.class == o.class &&
|
|
212
|
-
repository == o.repository &&
|
|
213
|
-
pulp_labels == o.pulp_labels &&
|
|
214
|
-
content_guard == o.content_guard &&
|
|
215
212
|
base_path == o.base_path &&
|
|
216
|
-
|
|
213
|
+
content_guard == o.content_guard &&
|
|
217
214
|
name == o.name &&
|
|
215
|
+
hidden == o.hidden &&
|
|
216
|
+
repository == o.repository &&
|
|
217
|
+
pulp_labels == o.pulp_labels &&
|
|
218
218
|
remote == o.remote &&
|
|
219
219
|
distributions == o.distributions &&
|
|
220
220
|
private == o.private &&
|
|
@@ -230,7 +230,7 @@ module PulpContainerClient
|
|
|
230
230
|
# Calculates hash code according to all attributes.
|
|
231
231
|
# @return [Integer] Hash code
|
|
232
232
|
def hash
|
|
233
|
-
[
|
|
233
|
+
[base_path, content_guard, name, hidden, repository, pulp_labels, remote, distributions, private, description].hash
|
|
234
234
|
end
|
|
235
235
|
|
|
236
236
|
# Builds the object from hash
|
|
@@ -15,16 +15,16 @@ require 'date'
|
|
|
15
15
|
module PulpContainerClient
|
|
16
16
|
# Serializer for Container Push Repositories.
|
|
17
17
|
class PatchedcontainerContainerPushRepository
|
|
18
|
-
attr_accessor :pulp_labels
|
|
19
|
-
|
|
20
18
|
# An optional description.
|
|
21
19
|
attr_accessor :description
|
|
22
20
|
|
|
21
|
+
# A reference to an associated signing service.
|
|
22
|
+
attr_accessor :manifest_signing_service
|
|
23
|
+
|
|
23
24
|
# A unique name for this repository.
|
|
24
25
|
attr_accessor :name
|
|
25
26
|
|
|
26
|
-
|
|
27
|
-
attr_accessor :manifest_signing_service
|
|
27
|
+
attr_accessor :pulp_labels
|
|
28
28
|
|
|
29
29
|
# Retain X versions of the repository. Default is null which retains all versions.
|
|
30
30
|
attr_accessor :retain_repo_versions
|
|
@@ -32,10 +32,10 @@ module PulpContainerClient
|
|
|
32
32
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
33
33
|
def self.attribute_map
|
|
34
34
|
{
|
|
35
|
-
:'pulp_labels' => :'pulp_labels',
|
|
36
35
|
:'description' => :'description',
|
|
37
|
-
:'name' => :'name',
|
|
38
36
|
:'manifest_signing_service' => :'manifest_signing_service',
|
|
37
|
+
:'name' => :'name',
|
|
38
|
+
:'pulp_labels' => :'pulp_labels',
|
|
39
39
|
:'retain_repo_versions' => :'retain_repo_versions'
|
|
40
40
|
}
|
|
41
41
|
end
|
|
@@ -43,10 +43,10 @@ module PulpContainerClient
|
|
|
43
43
|
# Attribute type mapping.
|
|
44
44
|
def self.openapi_types
|
|
45
45
|
{
|
|
46
|
-
:'pulp_labels' => :'Hash<String, String>',
|
|
47
46
|
:'description' => :'String',
|
|
48
|
-
:'name' => :'String',
|
|
49
47
|
:'manifest_signing_service' => :'String',
|
|
48
|
+
:'name' => :'String',
|
|
49
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
50
50
|
:'retain_repo_versions' => :'Integer'
|
|
51
51
|
}
|
|
52
52
|
end
|
|
@@ -75,22 +75,22 @@ module PulpContainerClient
|
|
|
75
75
|
h[k.to_sym] = v
|
|
76
76
|
}
|
|
77
77
|
|
|
78
|
-
if attributes.key?(:'pulp_labels')
|
|
79
|
-
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
80
|
-
self.pulp_labels = value
|
|
81
|
-
end
|
|
82
|
-
end
|
|
83
|
-
|
|
84
78
|
if attributes.key?(:'description')
|
|
85
79
|
self.description = attributes[:'description']
|
|
86
80
|
end
|
|
87
81
|
|
|
82
|
+
if attributes.key?(:'manifest_signing_service')
|
|
83
|
+
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
|
84
|
+
end
|
|
85
|
+
|
|
88
86
|
if attributes.key?(:'name')
|
|
89
87
|
self.name = attributes[:'name']
|
|
90
88
|
end
|
|
91
89
|
|
|
92
|
-
if attributes.key?(:'
|
|
93
|
-
|
|
90
|
+
if attributes.key?(:'pulp_labels')
|
|
91
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
92
|
+
self.pulp_labels = value
|
|
93
|
+
end
|
|
94
94
|
end
|
|
95
95
|
|
|
96
96
|
if attributes.key?(:'retain_repo_versions')
|
|
@@ -161,10 +161,10 @@ module PulpContainerClient
|
|
|
161
161
|
def ==(o)
|
|
162
162
|
return true if self.equal?(o)
|
|
163
163
|
self.class == o.class &&
|
|
164
|
-
pulp_labels == o.pulp_labels &&
|
|
165
164
|
description == o.description &&
|
|
166
|
-
name == o.name &&
|
|
167
165
|
manifest_signing_service == o.manifest_signing_service &&
|
|
166
|
+
name == o.name &&
|
|
167
|
+
pulp_labels == o.pulp_labels &&
|
|
168
168
|
retain_repo_versions == o.retain_repo_versions
|
|
169
169
|
end
|
|
170
170
|
|
|
@@ -177,7 +177,7 @@ module PulpContainerClient
|
|
|
177
177
|
# Calculates hash code according to all attributes.
|
|
178
178
|
# @return [Integer] Hash code
|
|
179
179
|
def hash
|
|
180
|
-
[
|
|
180
|
+
[description, manifest_signing_service, name, pulp_labels, retain_repo_versions].hash
|
|
181
181
|
end
|
|
182
182
|
|
|
183
183
|
# Builds the object from hash
|
|
@@ -32,37 +32,37 @@ describe 'ContainerContainerDistributionResponse' do
|
|
|
32
32
|
expect(@instance).to be_instance_of(PulpContainerClient::ContainerContainerDistributionResponse)
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
|
-
describe 'test attribute "
|
|
35
|
+
describe 'test attribute "base_path"' do
|
|
36
36
|
it 'should work' do
|
|
37
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
38
38
|
end
|
|
39
39
|
end
|
|
40
40
|
|
|
41
|
-
describe 'test attribute "
|
|
41
|
+
describe 'test attribute "content_guard"' do
|
|
42
42
|
it 'should work' do
|
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
44
44
|
end
|
|
45
45
|
end
|
|
46
46
|
|
|
47
|
-
describe 'test attribute "
|
|
47
|
+
describe 'test attribute "pulp_href"' do
|
|
48
48
|
it 'should work' do
|
|
49
49
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
50
50
|
end
|
|
51
51
|
end
|
|
52
52
|
|
|
53
|
-
describe 'test attribute "
|
|
53
|
+
describe 'test attribute "pulp_last_updated"' do
|
|
54
54
|
it 'should work' do
|
|
55
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
56
56
|
end
|
|
57
57
|
end
|
|
58
58
|
|
|
59
|
-
describe 'test attribute "
|
|
59
|
+
describe 'test attribute "name"' do
|
|
60
60
|
it 'should work' do
|
|
61
61
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
62
62
|
end
|
|
63
63
|
end
|
|
64
64
|
|
|
65
|
-
describe 'test attribute "
|
|
65
|
+
describe 'test attribute "pulp_created"' do
|
|
66
66
|
it 'should work' do
|
|
67
67
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
68
68
|
end
|
|
@@ -80,19 +80,19 @@ describe 'ContainerContainerDistributionResponse' do
|
|
|
80
80
|
end
|
|
81
81
|
end
|
|
82
82
|
|
|
83
|
-
describe 'test attribute "
|
|
83
|
+
describe 'test attribute "no_content_change_since"' do
|
|
84
84
|
it 'should work' do
|
|
85
85
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
86
86
|
end
|
|
87
87
|
end
|
|
88
88
|
|
|
89
|
-
describe 'test attribute "
|
|
89
|
+
describe 'test attribute "repository"' do
|
|
90
90
|
it 'should work' do
|
|
91
91
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
92
92
|
end
|
|
93
93
|
end
|
|
94
94
|
|
|
95
|
-
describe 'test attribute "
|
|
95
|
+
describe 'test attribute "pulp_labels"' do
|
|
96
96
|
it 'should work' do
|
|
97
97
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
98
98
|
end
|