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