pulp_container_client 2.22.11 → 2.22.12
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 +7 -7
- data/docs/ContainerContainerDistributionResponse.md +14 -14
- data/docs/ContainerContainerPullThroughDistribution.md +7 -7
- data/docs/ContainerContainerPullThroughDistributionResponse.md +14 -14
- data/docs/ContainerContainerPushRepository.md +2 -2
- data/docs/ContainerContainerPushRepositoryResponse.md +14 -14
- data/docs/PatchedcontainerContainerDistribution.md +7 -7
- data/docs/PatchedcontainerContainerPullThroughDistribution.md +7 -7
- data/docs/PatchedcontainerContainerPushRepository.md +2 -2
- data/lib/pulp_container_client/models/container_container_distribution.rb +32 -32
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +59 -59
- data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +32 -32
- data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +59 -59
- 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 +55 -55
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +32 -32
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +32 -32
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +12 -12
- 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 +2 -2
- 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 +2 -2
- metadata +2 -2
|
@@ -15,66 +15,66 @@ require 'date'
|
|
|
15
15
|
module PulpContainerClient
|
|
16
16
|
# Serializer for Container Push Repositories.
|
|
17
17
|
class ContainerContainerPushRepositoryResponse
|
|
18
|
-
attr_accessor :latest_version_href
|
|
19
|
-
|
|
20
18
|
# An optional description.
|
|
21
19
|
attr_accessor :description
|
|
22
20
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
# 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.
|
|
26
|
-
attr_accessor :pulp_last_updated
|
|
21
|
+
# The Pulp Resource Name (PRN).
|
|
22
|
+
attr_accessor :prn
|
|
27
23
|
|
|
28
24
|
# Timestamp of creation.
|
|
29
25
|
attr_accessor :pulp_created
|
|
30
26
|
|
|
31
|
-
|
|
32
|
-
attr_accessor :retain_repo_versions
|
|
33
|
-
|
|
34
|
-
# The Pulp Resource Name (PRN).
|
|
35
|
-
attr_accessor :prn
|
|
36
|
-
|
|
37
|
-
attr_accessor :pulp_href
|
|
27
|
+
attr_accessor :pulp_labels
|
|
38
28
|
|
|
39
|
-
attr_accessor :
|
|
29
|
+
attr_accessor :latest_version_href
|
|
40
30
|
|
|
41
31
|
# A reference to an associated signing service.
|
|
42
32
|
attr_accessor :manifest_signing_service
|
|
43
33
|
|
|
34
|
+
# Retain X versions of the repository. Default is null which retains all versions.
|
|
35
|
+
attr_accessor :retain_repo_versions
|
|
36
|
+
|
|
37
|
+
attr_accessor :pulp_href
|
|
38
|
+
|
|
44
39
|
# A unique name for this repository.
|
|
45
40
|
attr_accessor :name
|
|
46
41
|
|
|
42
|
+
# 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.
|
|
43
|
+
attr_accessor :pulp_last_updated
|
|
44
|
+
|
|
45
|
+
attr_accessor :versions_href
|
|
46
|
+
|
|
47
47
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
48
48
|
def self.attribute_map
|
|
49
49
|
{
|
|
50
|
-
:'latest_version_href' => :'latest_version_href',
|
|
51
50
|
:'description' => :'description',
|
|
52
|
-
:'
|
|
53
|
-
:'pulp_last_updated' => :'pulp_last_updated',
|
|
51
|
+
:'prn' => :'prn',
|
|
54
52
|
:'pulp_created' => :'pulp_created',
|
|
53
|
+
:'pulp_labels' => :'pulp_labels',
|
|
54
|
+
:'latest_version_href' => :'latest_version_href',
|
|
55
|
+
:'manifest_signing_service' => :'manifest_signing_service',
|
|
55
56
|
:'retain_repo_versions' => :'retain_repo_versions',
|
|
56
|
-
:'prn' => :'prn',
|
|
57
57
|
:'pulp_href' => :'pulp_href',
|
|
58
|
-
:'
|
|
59
|
-
:'
|
|
60
|
-
:'
|
|
58
|
+
:'name' => :'name',
|
|
59
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
|
60
|
+
:'versions_href' => :'versions_href'
|
|
61
61
|
}
|
|
62
62
|
end
|
|
63
63
|
|
|
64
64
|
# Attribute type mapping.
|
|
65
65
|
def self.openapi_types
|
|
66
66
|
{
|
|
67
|
-
:'latest_version_href' => :'String',
|
|
68
67
|
:'description' => :'String',
|
|
69
|
-
:'
|
|
70
|
-
:'pulp_last_updated' => :'DateTime',
|
|
68
|
+
:'prn' => :'String',
|
|
71
69
|
:'pulp_created' => :'DateTime',
|
|
70
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
71
|
+
:'latest_version_href' => :'String',
|
|
72
|
+
:'manifest_signing_service' => :'String',
|
|
72
73
|
:'retain_repo_versions' => :'Integer',
|
|
73
|
-
:'prn' => :'String',
|
|
74
74
|
:'pulp_href' => :'String',
|
|
75
|
-
:'
|
|
76
|
-
:'
|
|
77
|
-
:'
|
|
75
|
+
:'name' => :'String',
|
|
76
|
+
:'pulp_last_updated' => :'DateTime',
|
|
77
|
+
:'versions_href' => :'String'
|
|
78
78
|
}
|
|
79
79
|
end
|
|
80
80
|
|
|
@@ -82,8 +82,8 @@ module PulpContainerClient
|
|
|
82
82
|
def self.openapi_nullable
|
|
83
83
|
Set.new([
|
|
84
84
|
:'description',
|
|
85
|
-
:'retain_repo_versions',
|
|
86
85
|
:'manifest_signing_service',
|
|
86
|
+
:'retain_repo_versions',
|
|
87
87
|
])
|
|
88
88
|
end
|
|
89
89
|
|
|
@@ -102,50 +102,50 @@ module PulpContainerClient
|
|
|
102
102
|
h[k.to_sym] = v
|
|
103
103
|
}
|
|
104
104
|
|
|
105
|
-
if attributes.key?(:'latest_version_href')
|
|
106
|
-
self.latest_version_href = attributes[:'latest_version_href']
|
|
107
|
-
end
|
|
108
|
-
|
|
109
105
|
if attributes.key?(:'description')
|
|
110
106
|
self.description = attributes[:'description']
|
|
111
107
|
end
|
|
112
108
|
|
|
109
|
+
if attributes.key?(:'prn')
|
|
110
|
+
self.prn = attributes[:'prn']
|
|
111
|
+
end
|
|
112
|
+
|
|
113
|
+
if attributes.key?(:'pulp_created')
|
|
114
|
+
self.pulp_created = attributes[:'pulp_created']
|
|
115
|
+
end
|
|
116
|
+
|
|
113
117
|
if attributes.key?(:'pulp_labels')
|
|
114
118
|
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
115
119
|
self.pulp_labels = value
|
|
116
120
|
end
|
|
117
121
|
end
|
|
118
122
|
|
|
119
|
-
if attributes.key?(:'
|
|
120
|
-
self.
|
|
123
|
+
if attributes.key?(:'latest_version_href')
|
|
124
|
+
self.latest_version_href = attributes[:'latest_version_href']
|
|
121
125
|
end
|
|
122
126
|
|
|
123
|
-
if attributes.key?(:'
|
|
124
|
-
self.
|
|
127
|
+
if attributes.key?(:'manifest_signing_service')
|
|
128
|
+
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
|
125
129
|
end
|
|
126
130
|
|
|
127
131
|
if attributes.key?(:'retain_repo_versions')
|
|
128
132
|
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
|
129
133
|
end
|
|
130
134
|
|
|
131
|
-
if attributes.key?(:'prn')
|
|
132
|
-
self.prn = attributes[:'prn']
|
|
133
|
-
end
|
|
134
|
-
|
|
135
135
|
if attributes.key?(:'pulp_href')
|
|
136
136
|
self.pulp_href = attributes[:'pulp_href']
|
|
137
137
|
end
|
|
138
138
|
|
|
139
|
-
if attributes.key?(:'
|
|
140
|
-
self.
|
|
139
|
+
if attributes.key?(:'name')
|
|
140
|
+
self.name = attributes[:'name']
|
|
141
141
|
end
|
|
142
142
|
|
|
143
|
-
if attributes.key?(:'
|
|
144
|
-
self.
|
|
143
|
+
if attributes.key?(:'pulp_last_updated')
|
|
144
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
145
145
|
end
|
|
146
146
|
|
|
147
|
-
if attributes.key?(:'
|
|
148
|
-
self.
|
|
147
|
+
if attributes.key?(:'versions_href')
|
|
148
|
+
self.versions_href = attributes[:'versions_href']
|
|
149
149
|
end
|
|
150
150
|
end
|
|
151
151
|
|
|
@@ -187,17 +187,17 @@ module PulpContainerClient
|
|
|
187
187
|
def ==(o)
|
|
188
188
|
return true if self.equal?(o)
|
|
189
189
|
self.class == o.class &&
|
|
190
|
-
latest_version_href == o.latest_version_href &&
|
|
191
190
|
description == o.description &&
|
|
192
|
-
|
|
193
|
-
pulp_last_updated == o.pulp_last_updated &&
|
|
191
|
+
prn == o.prn &&
|
|
194
192
|
pulp_created == o.pulp_created &&
|
|
193
|
+
pulp_labels == o.pulp_labels &&
|
|
194
|
+
latest_version_href == o.latest_version_href &&
|
|
195
|
+
manifest_signing_service == o.manifest_signing_service &&
|
|
195
196
|
retain_repo_versions == o.retain_repo_versions &&
|
|
196
|
-
prn == o.prn &&
|
|
197
197
|
pulp_href == o.pulp_href &&
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
198
|
+
name == o.name &&
|
|
199
|
+
pulp_last_updated == o.pulp_last_updated &&
|
|
200
|
+
versions_href == o.versions_href
|
|
201
201
|
end
|
|
202
202
|
|
|
203
203
|
# @see the `==` method
|
|
@@ -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
|
+
[description, prn, pulp_created, pulp_labels, latest_version_href, manifest_signing_service, retain_repo_versions, pulp_href, name, pulp_last_updated, versions_href].hash
|
|
213
213
|
end
|
|
214
214
|
|
|
215
215
|
# Builds the object from hash
|
|
@@ -15,23 +15,23 @@ require 'date'
|
|
|
15
15
|
module PulpContainerClient
|
|
16
16
|
# A serializer for ContainerDistribution.
|
|
17
17
|
class PatchedcontainerContainerDistribution
|
|
18
|
-
attr_accessor :pulp_labels
|
|
19
|
-
|
|
20
|
-
# The latest RepositoryVersion for this Repository will be served.
|
|
21
|
-
attr_accessor :repository
|
|
22
|
-
|
|
23
|
-
# An optional content-guard. If none is specified, a default one will be used.
|
|
24
|
-
attr_accessor :content_guard
|
|
25
|
-
|
|
26
18
|
# Whether this distribution should be shown in the content app.
|
|
27
19
|
attr_accessor :hidden
|
|
28
20
|
|
|
29
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\")
|
|
30
22
|
attr_accessor :base_path
|
|
31
23
|
|
|
24
|
+
attr_accessor :pulp_labels
|
|
25
|
+
|
|
26
|
+
# The latest RepositoryVersion for this Repository will be served.
|
|
27
|
+
attr_accessor :repository
|
|
28
|
+
|
|
32
29
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
33
30
|
attr_accessor :name
|
|
34
31
|
|
|
32
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
|
33
|
+
attr_accessor :content_guard
|
|
34
|
+
|
|
35
35
|
# RepositoryVersion to be served
|
|
36
36
|
attr_accessor :repository_version
|
|
37
37
|
|
|
@@ -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
|
-
:'pulp_labels' => :'pulp_labels',
|
|
48
|
-
:'repository' => :'repository',
|
|
49
|
-
:'content_guard' => :'content_guard',
|
|
50
47
|
:'hidden' => :'hidden',
|
|
51
48
|
:'base_path' => :'base_path',
|
|
49
|
+
:'pulp_labels' => :'pulp_labels',
|
|
50
|
+
:'repository' => :'repository',
|
|
52
51
|
:'name' => :'name',
|
|
52
|
+
:'content_guard' => :'content_guard',
|
|
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
|
-
:'pulp_labels' => :'Hash<String, String>',
|
|
63
|
-
:'repository' => :'String',
|
|
64
|
-
:'content_guard' => :'String',
|
|
65
62
|
:'hidden' => :'Boolean',
|
|
66
63
|
:'base_path' => :'String',
|
|
64
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
65
|
+
:'repository' => :'String',
|
|
67
66
|
:'name' => :'String',
|
|
67
|
+
:'content_guard' => :'String',
|
|
68
68
|
:'repository_version' => :'String',
|
|
69
69
|
:'private' => :'Boolean',
|
|
70
70
|
:'description' => :'String'
|
|
@@ -95,20 +95,6 @@ module PulpContainerClient
|
|
|
95
95
|
h[k.to_sym] = v
|
|
96
96
|
}
|
|
97
97
|
|
|
98
|
-
if attributes.key?(:'pulp_labels')
|
|
99
|
-
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
100
|
-
self.pulp_labels = value
|
|
101
|
-
end
|
|
102
|
-
end
|
|
103
|
-
|
|
104
|
-
if attributes.key?(:'repository')
|
|
105
|
-
self.repository = attributes[:'repository']
|
|
106
|
-
end
|
|
107
|
-
|
|
108
|
-
if attributes.key?(:'content_guard')
|
|
109
|
-
self.content_guard = attributes[:'content_guard']
|
|
110
|
-
end
|
|
111
|
-
|
|
112
98
|
if attributes.key?(:'hidden')
|
|
113
99
|
self.hidden = attributes[:'hidden']
|
|
114
100
|
else
|
|
@@ -119,10 +105,24 @@ module PulpContainerClient
|
|
|
119
105
|
self.base_path = attributes[:'base_path']
|
|
120
106
|
end
|
|
121
107
|
|
|
108
|
+
if attributes.key?(:'pulp_labels')
|
|
109
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
110
|
+
self.pulp_labels = value
|
|
111
|
+
end
|
|
112
|
+
end
|
|
113
|
+
|
|
114
|
+
if attributes.key?(:'repository')
|
|
115
|
+
self.repository = attributes[:'repository']
|
|
116
|
+
end
|
|
117
|
+
|
|
122
118
|
if attributes.key?(:'name')
|
|
123
119
|
self.name = attributes[:'name']
|
|
124
120
|
end
|
|
125
121
|
|
|
122
|
+
if attributes.key?(:'content_guard')
|
|
123
|
+
self.content_guard = attributes[:'content_guard']
|
|
124
|
+
end
|
|
125
|
+
|
|
126
126
|
if attributes.key?(:'repository_version')
|
|
127
127
|
self.repository_version = attributes[:'repository_version']
|
|
128
128
|
end
|
|
@@ -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
|
-
pulp_labels == o.pulp_labels &&
|
|
203
|
-
repository == o.repository &&
|
|
204
|
-
content_guard == o.content_guard &&
|
|
205
202
|
hidden == o.hidden &&
|
|
206
203
|
base_path == o.base_path &&
|
|
204
|
+
pulp_labels == o.pulp_labels &&
|
|
205
|
+
repository == o.repository &&
|
|
207
206
|
name == o.name &&
|
|
207
|
+
content_guard == o.content_guard &&
|
|
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
|
+
[hidden, base_path, pulp_labels, repository, name, content_guard, 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,23 +15,23 @@ require 'date'
|
|
|
15
15
|
module PulpContainerClient
|
|
16
16
|
# A serializer for a specialized pull-through distribution referencing sub-distributions.
|
|
17
17
|
class PatchedcontainerContainerPullThroughDistribution
|
|
18
|
-
attr_accessor :pulp_labels
|
|
19
|
-
|
|
20
|
-
# The latest RepositoryVersion for this Repository will be served.
|
|
21
|
-
attr_accessor :repository
|
|
22
|
-
|
|
23
|
-
# An optional content-guard. If none is specified, a default one will be used.
|
|
24
|
-
attr_accessor :content_guard
|
|
25
|
-
|
|
26
18
|
# Whether this distribution should be shown in the content app.
|
|
27
19
|
attr_accessor :hidden
|
|
28
20
|
|
|
29
21
|
# The registry path exposed by this pull-through distribution.
|
|
30
22
|
attr_accessor :base_path
|
|
31
23
|
|
|
24
|
+
attr_accessor :pulp_labels
|
|
25
|
+
|
|
26
|
+
# The latest RepositoryVersion for this Repository will be served.
|
|
27
|
+
attr_accessor :repository
|
|
28
|
+
|
|
32
29
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
33
30
|
attr_accessor :name
|
|
34
31
|
|
|
32
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
|
33
|
+
attr_accessor :content_guard
|
|
34
|
+
|
|
35
35
|
# Remote that can be used to fetch content when using pull-through caching.
|
|
36
36
|
attr_accessor :remote
|
|
37
37
|
|
|
@@ -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
|
-
:'pulp_labels' => :'pulp_labels',
|
|
51
|
-
:'repository' => :'repository',
|
|
52
|
-
:'content_guard' => :'content_guard',
|
|
53
50
|
:'hidden' => :'hidden',
|
|
54
51
|
:'base_path' => :'base_path',
|
|
52
|
+
:'pulp_labels' => :'pulp_labels',
|
|
53
|
+
:'repository' => :'repository',
|
|
55
54
|
:'name' => :'name',
|
|
55
|
+
:'content_guard' => :'content_guard',
|
|
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
|
-
:'pulp_labels' => :'Hash<String, String>',
|
|
67
|
-
:'repository' => :'String',
|
|
68
|
-
:'content_guard' => :'String',
|
|
69
66
|
:'hidden' => :'Boolean',
|
|
70
67
|
:'base_path' => :'String',
|
|
68
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
69
|
+
:'repository' => :'String',
|
|
71
70
|
:'name' => :'String',
|
|
71
|
+
:'content_guard' => :'String',
|
|
72
72
|
:'remote' => :'String',
|
|
73
73
|
:'distributions' => :'Array<String>',
|
|
74
74
|
:'private' => :'Boolean',
|
|
@@ -99,20 +99,6 @@ module PulpContainerClient
|
|
|
99
99
|
h[k.to_sym] = v
|
|
100
100
|
}
|
|
101
101
|
|
|
102
|
-
if attributes.key?(:'pulp_labels')
|
|
103
|
-
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
104
|
-
self.pulp_labels = value
|
|
105
|
-
end
|
|
106
|
-
end
|
|
107
|
-
|
|
108
|
-
if attributes.key?(:'repository')
|
|
109
|
-
self.repository = attributes[:'repository']
|
|
110
|
-
end
|
|
111
|
-
|
|
112
|
-
if attributes.key?(:'content_guard')
|
|
113
|
-
self.content_guard = attributes[:'content_guard']
|
|
114
|
-
end
|
|
115
|
-
|
|
116
102
|
if attributes.key?(:'hidden')
|
|
117
103
|
self.hidden = attributes[:'hidden']
|
|
118
104
|
else
|
|
@@ -123,10 +109,24 @@ module PulpContainerClient
|
|
|
123
109
|
self.base_path = attributes[:'base_path']
|
|
124
110
|
end
|
|
125
111
|
|
|
112
|
+
if attributes.key?(:'pulp_labels')
|
|
113
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
114
|
+
self.pulp_labels = value
|
|
115
|
+
end
|
|
116
|
+
end
|
|
117
|
+
|
|
118
|
+
if attributes.key?(:'repository')
|
|
119
|
+
self.repository = attributes[:'repository']
|
|
120
|
+
end
|
|
121
|
+
|
|
126
122
|
if attributes.key?(:'name')
|
|
127
123
|
self.name = attributes[:'name']
|
|
128
124
|
end
|
|
129
125
|
|
|
126
|
+
if attributes.key?(:'content_guard')
|
|
127
|
+
self.content_guard = attributes[:'content_guard']
|
|
128
|
+
end
|
|
129
|
+
|
|
130
130
|
if attributes.key?(:'remote')
|
|
131
131
|
self.remote = attributes[:'remote']
|
|
132
132
|
end
|
|
@@ -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
|
-
pulp_labels == o.pulp_labels &&
|
|
213
|
-
repository == o.repository &&
|
|
214
|
-
content_guard == o.content_guard &&
|
|
215
212
|
hidden == o.hidden &&
|
|
216
213
|
base_path == o.base_path &&
|
|
214
|
+
pulp_labels == o.pulp_labels &&
|
|
215
|
+
repository == o.repository &&
|
|
217
216
|
name == o.name &&
|
|
217
|
+
content_guard == o.content_guard &&
|
|
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
|
+
[hidden, base_path, pulp_labels, repository, name, content_guard, remote, distributions, private, description].hash
|
|
234
234
|
end
|
|
235
235
|
|
|
236
236
|
# Builds the object from hash
|
|
@@ -20,12 +20,12 @@ module PulpContainerClient
|
|
|
20
20
|
|
|
21
21
|
attr_accessor :pulp_labels
|
|
22
22
|
|
|
23
|
-
# Retain X versions of the repository. Default is null which retains all versions.
|
|
24
|
-
attr_accessor :retain_repo_versions
|
|
25
|
-
|
|
26
23
|
# A reference to an associated signing service.
|
|
27
24
|
attr_accessor :manifest_signing_service
|
|
28
25
|
|
|
26
|
+
# Retain X versions of the repository. Default is null which retains all versions.
|
|
27
|
+
attr_accessor :retain_repo_versions
|
|
28
|
+
|
|
29
29
|
# A unique name for this repository.
|
|
30
30
|
attr_accessor :name
|
|
31
31
|
|
|
@@ -34,8 +34,8 @@ module PulpContainerClient
|
|
|
34
34
|
{
|
|
35
35
|
:'description' => :'description',
|
|
36
36
|
:'pulp_labels' => :'pulp_labels',
|
|
37
|
-
:'retain_repo_versions' => :'retain_repo_versions',
|
|
38
37
|
:'manifest_signing_service' => :'manifest_signing_service',
|
|
38
|
+
:'retain_repo_versions' => :'retain_repo_versions',
|
|
39
39
|
:'name' => :'name'
|
|
40
40
|
}
|
|
41
41
|
end
|
|
@@ -45,8 +45,8 @@ module PulpContainerClient
|
|
|
45
45
|
{
|
|
46
46
|
:'description' => :'String',
|
|
47
47
|
:'pulp_labels' => :'Hash<String, String>',
|
|
48
|
-
:'retain_repo_versions' => :'Integer',
|
|
49
48
|
:'manifest_signing_service' => :'String',
|
|
49
|
+
:'retain_repo_versions' => :'Integer',
|
|
50
50
|
:'name' => :'String'
|
|
51
51
|
}
|
|
52
52
|
end
|
|
@@ -55,8 +55,8 @@ module PulpContainerClient
|
|
|
55
55
|
def self.openapi_nullable
|
|
56
56
|
Set.new([
|
|
57
57
|
:'description',
|
|
58
|
-
:'retain_repo_versions',
|
|
59
58
|
:'manifest_signing_service',
|
|
59
|
+
:'retain_repo_versions',
|
|
60
60
|
])
|
|
61
61
|
end
|
|
62
62
|
|
|
@@ -85,14 +85,14 @@ module PulpContainerClient
|
|
|
85
85
|
end
|
|
86
86
|
end
|
|
87
87
|
|
|
88
|
-
if attributes.key?(:'retain_repo_versions')
|
|
89
|
-
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
|
90
|
-
end
|
|
91
|
-
|
|
92
88
|
if attributes.key?(:'manifest_signing_service')
|
|
93
89
|
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
|
94
90
|
end
|
|
95
91
|
|
|
92
|
+
if attributes.key?(:'retain_repo_versions')
|
|
93
|
+
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
|
94
|
+
end
|
|
95
|
+
|
|
96
96
|
if attributes.key?(:'name')
|
|
97
97
|
self.name = attributes[:'name']
|
|
98
98
|
end
|
|
@@ -163,8 +163,8 @@ module PulpContainerClient
|
|
|
163
163
|
self.class == o.class &&
|
|
164
164
|
description == o.description &&
|
|
165
165
|
pulp_labels == o.pulp_labels &&
|
|
166
|
-
retain_repo_versions == o.retain_repo_versions &&
|
|
167
166
|
manifest_signing_service == o.manifest_signing_service &&
|
|
167
|
+
retain_repo_versions == o.retain_repo_versions &&
|
|
168
168
|
name == o.name
|
|
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
|
-
[description, pulp_labels,
|
|
180
|
+
[description, pulp_labels, manifest_signing_service, retain_repo_versions, name].hash
|
|
181
181
|
end
|
|
182
182
|
|
|
183
183
|
# Builds the object from hash
|
|
@@ -32,19 +32,19 @@ 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 "hidden"' 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 "base_path"' 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 "prn"' 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
|
|
@@ -56,7 +56,7 @@ describe 'ContainerContainerDistributionResponse' do
|
|
|
56
56
|
end
|
|
57
57
|
end
|
|
58
58
|
|
|
59
|
-
describe 'test attribute "
|
|
59
|
+
describe 'test attribute "pulp_labels"' 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
|
|
@@ -68,31 +68,31 @@ describe 'ContainerContainerDistributionResponse' do
|
|
|
68
68
|
end
|
|
69
69
|
end
|
|
70
70
|
|
|
71
|
-
describe 'test attribute "
|
|
71
|
+
describe 'test attribute "no_content_change_since"' do
|
|
72
72
|
it 'should work' do
|
|
73
73
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
74
74
|
end
|
|
75
75
|
end
|
|
76
76
|
|
|
77
|
-
describe 'test attribute "
|
|
77
|
+
describe 'test attribute "repository"' do
|
|
78
78
|
it 'should work' do
|
|
79
79
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
80
80
|
end
|
|
81
81
|
end
|
|
82
82
|
|
|
83
|
-
describe 'test attribute "
|
|
83
|
+
describe 'test attribute "name"' 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 "content_guard"' 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_last_updated"' 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
|
|
@@ -32,37 +32,37 @@ describe 'ContainerContainerDistribution' do
|
|
|
32
32
|
expect(@instance).to be_instance_of(PulpContainerClient::ContainerContainerDistribution)
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
|
-
describe 'test attribute "
|
|
35
|
+
describe 'test attribute "hidden"' 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 "base_path"' 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_labels"' 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 "repository"' 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 "content_guard"' 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
|