pulp_container_client 2.19.0 → 2.19.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/ContainerContainerDistribution.md +2 -2
- data/docs/ContainerContainerDistributionResponse.md +5 -5
- data/docs/ContainerContainerPullThroughDistribution.md +2 -2
- data/docs/ContainerContainerPullThroughDistributionResponse.md +5 -5
- data/docs/ContainerContainerPushRepository.md +6 -6
- data/docs/ContainerContainerPushRepositoryResponse.md +11 -11
- data/docs/PatchedcontainerContainerDistribution.md +2 -2
- data/docs/PatchedcontainerContainerPullThroughDistribution.md +2 -2
- data/docs/PatchedcontainerContainerPushRepository.md +6 -6
- data/lib/pulp_container_client/models/container_container_distribution.rb +11 -11
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +20 -20
- data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +11 -11
- data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +20 -20
- data/lib/pulp_container_client/models/container_container_push_repository.rb +40 -40
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +46 -46
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +11 -11
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +11 -11
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +40 -40
- data/lib/pulp_container_client/version.rb +1 -1
- data/spec/models/container_container_distribution_response_spec.rb +7 -7
- data/spec/models/container_container_distribution_spec.rb +4 -4
- data/spec/models/container_container_pull_through_distribution_response_spec.rb +7 -7
- data/spec/models/container_container_pull_through_distribution_spec.rb +4 -4
- data/spec/models/container_container_push_repository_response_spec.rb +9 -9
- data/spec/models/container_container_push_repository_spec.rb +5 -5
- 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 +5 -5
- metadata +2 -2
data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb
CHANGED
@@ -15,14 +15,17 @@ require 'date'
|
|
15
15
|
module PulpContainerClient
|
16
16
|
# A serializer for a specialized pull-through distribution referencing sub-distributions.
|
17
17
|
class ContainerContainerPullThroughDistributionResponse
|
18
|
-
attr_accessor :pulp_href
|
19
|
-
|
20
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\")
|
21
19
|
attr_accessor :base_path
|
22
20
|
|
21
|
+
attr_accessor :pulp_href
|
22
|
+
|
23
23
|
# An optional content-guard. If none is specified, a default one will be used.
|
24
24
|
attr_accessor :content_guard
|
25
25
|
|
26
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
27
|
+
attr_accessor :name
|
28
|
+
|
26
29
|
# Timestamp of creation.
|
27
30
|
attr_accessor :pulp_created
|
28
31
|
|
@@ -34,9 +37,6 @@ module PulpContainerClient
|
|
34
37
|
# The latest RepositoryVersion for this Repository will be served.
|
35
38
|
attr_accessor :repository
|
36
39
|
|
37
|
-
# A unique name. Ex, `rawhide` and `stable`.
|
38
|
-
attr_accessor :name
|
39
|
-
|
40
40
|
# Remote that can be used to fetch content when using pull-through caching.
|
41
41
|
attr_accessor :remote
|
42
42
|
|
@@ -55,14 +55,14 @@ module PulpContainerClient
|
|
55
55
|
# Attribute mapping from ruby-style variable name to JSON key.
|
56
56
|
def self.attribute_map
|
57
57
|
{
|
58
|
-
:'pulp_href' => :'pulp_href',
|
59
58
|
:'base_path' => :'base_path',
|
59
|
+
:'pulp_href' => :'pulp_href',
|
60
60
|
:'content_guard' => :'content_guard',
|
61
|
+
:'name' => :'name',
|
61
62
|
:'pulp_created' => :'pulp_created',
|
62
63
|
:'hidden' => :'hidden',
|
63
64
|
:'pulp_labels' => :'pulp_labels',
|
64
65
|
:'repository' => :'repository',
|
65
|
-
:'name' => :'name',
|
66
66
|
:'remote' => :'remote',
|
67
67
|
:'distributions' => :'distributions',
|
68
68
|
:'namespace' => :'namespace',
|
@@ -74,14 +74,14 @@ module PulpContainerClient
|
|
74
74
|
# Attribute type mapping.
|
75
75
|
def self.openapi_types
|
76
76
|
{
|
77
|
-
:'pulp_href' => :'String',
|
78
77
|
:'base_path' => :'String',
|
78
|
+
:'pulp_href' => :'String',
|
79
79
|
:'content_guard' => :'String',
|
80
|
+
:'name' => :'String',
|
80
81
|
:'pulp_created' => :'DateTime',
|
81
82
|
:'hidden' => :'Boolean',
|
82
83
|
:'pulp_labels' => :'Hash<String, String>',
|
83
84
|
:'repository' => :'String',
|
84
|
-
:'name' => :'String',
|
85
85
|
:'remote' => :'String',
|
86
86
|
:'distributions' => :'Array<String>',
|
87
87
|
:'namespace' => :'String',
|
@@ -113,18 +113,22 @@ module PulpContainerClient
|
|
113
113
|
h[k.to_sym] = v
|
114
114
|
}
|
115
115
|
|
116
|
-
if attributes.key?(:'pulp_href')
|
117
|
-
self.pulp_href = attributes[:'pulp_href']
|
118
|
-
end
|
119
|
-
|
120
116
|
if attributes.key?(:'base_path')
|
121
117
|
self.base_path = attributes[:'base_path']
|
122
118
|
end
|
123
119
|
|
120
|
+
if attributes.key?(:'pulp_href')
|
121
|
+
self.pulp_href = attributes[:'pulp_href']
|
122
|
+
end
|
123
|
+
|
124
124
|
if attributes.key?(:'content_guard')
|
125
125
|
self.content_guard = attributes[:'content_guard']
|
126
126
|
end
|
127
127
|
|
128
|
+
if attributes.key?(:'name')
|
129
|
+
self.name = attributes[:'name']
|
130
|
+
end
|
131
|
+
|
128
132
|
if attributes.key?(:'pulp_created')
|
129
133
|
self.pulp_created = attributes[:'pulp_created']
|
130
134
|
end
|
@@ -145,10 +149,6 @@ module PulpContainerClient
|
|
145
149
|
self.repository = attributes[:'repository']
|
146
150
|
end
|
147
151
|
|
148
|
-
if attributes.key?(:'name')
|
149
|
-
self.name = attributes[:'name']
|
150
|
-
end
|
151
|
-
|
152
152
|
if attributes.key?(:'remote')
|
153
153
|
self.remote = attributes[:'remote']
|
154
154
|
end
|
@@ -205,14 +205,14 @@ module PulpContainerClient
|
|
205
205
|
def ==(o)
|
206
206
|
return true if self.equal?(o)
|
207
207
|
self.class == o.class &&
|
208
|
-
pulp_href == o.pulp_href &&
|
209
208
|
base_path == o.base_path &&
|
209
|
+
pulp_href == o.pulp_href &&
|
210
210
|
content_guard == o.content_guard &&
|
211
|
+
name == o.name &&
|
211
212
|
pulp_created == o.pulp_created &&
|
212
213
|
hidden == o.hidden &&
|
213
214
|
pulp_labels == o.pulp_labels &&
|
214
215
|
repository == o.repository &&
|
215
|
-
name == o.name &&
|
216
216
|
remote == o.remote &&
|
217
217
|
distributions == o.distributions &&
|
218
218
|
namespace == o.namespace &&
|
@@ -229,7 +229,7 @@ module PulpContainerClient
|
|
229
229
|
# Calculates hash code according to all attributes.
|
230
230
|
# @return [Integer] Hash code
|
231
231
|
def hash
|
232
|
-
[
|
232
|
+
[base_path, pulp_href, content_guard, name, pulp_created, hidden, pulp_labels, repository, remote, distributions, namespace, private, description].hash
|
233
233
|
end
|
234
234
|
|
235
235
|
# Builds the object from hash
|
@@ -15,48 +15,48 @@ require 'date'
|
|
15
15
|
module PulpContainerClient
|
16
16
|
# Serializer for Container Push Repositories.
|
17
17
|
class ContainerContainerPushRepository
|
18
|
+
# Retain X versions of the repository. Default is null which retains all versions.
|
19
|
+
attr_accessor :retain_repo_versions
|
20
|
+
|
18
21
|
# A reference to an associated signing service.
|
19
22
|
attr_accessor :manifest_signing_service
|
20
23
|
|
24
|
+
# A unique name for this repository.
|
25
|
+
attr_accessor :name
|
26
|
+
|
21
27
|
# An optional description.
|
22
28
|
attr_accessor :description
|
23
29
|
|
24
30
|
attr_accessor :pulp_labels
|
25
31
|
|
26
|
-
# Retain X versions of the repository. Default is null which retains all versions.
|
27
|
-
attr_accessor :retain_repo_versions
|
28
|
-
|
29
|
-
# A unique name for this repository.
|
30
|
-
attr_accessor :name
|
31
|
-
|
32
32
|
# Attribute mapping from ruby-style variable name to JSON key.
|
33
33
|
def self.attribute_map
|
34
34
|
{
|
35
|
+
:'retain_repo_versions' => :'retain_repo_versions',
|
35
36
|
:'manifest_signing_service' => :'manifest_signing_service',
|
37
|
+
:'name' => :'name',
|
36
38
|
:'description' => :'description',
|
37
|
-
:'pulp_labels' => :'pulp_labels'
|
38
|
-
:'retain_repo_versions' => :'retain_repo_versions',
|
39
|
-
:'name' => :'name'
|
39
|
+
:'pulp_labels' => :'pulp_labels'
|
40
40
|
}
|
41
41
|
end
|
42
42
|
|
43
43
|
# Attribute type mapping.
|
44
44
|
def self.openapi_types
|
45
45
|
{
|
46
|
+
:'retain_repo_versions' => :'Integer',
|
46
47
|
:'manifest_signing_service' => :'String',
|
48
|
+
:'name' => :'String',
|
47
49
|
:'description' => :'String',
|
48
|
-
:'pulp_labels' => :'Hash<String, String>'
|
49
|
-
:'retain_repo_versions' => :'Integer',
|
50
|
-
:'name' => :'String'
|
50
|
+
:'pulp_labels' => :'Hash<String, String>'
|
51
51
|
}
|
52
52
|
end
|
53
53
|
|
54
54
|
# List of attributes with nullable: true
|
55
55
|
def self.openapi_nullable
|
56
56
|
Set.new([
|
57
|
+
:'retain_repo_versions',
|
57
58
|
:'manifest_signing_service',
|
58
59
|
:'description',
|
59
|
-
:'retain_repo_versions',
|
60
60
|
])
|
61
61
|
end
|
62
62
|
|
@@ -75,10 +75,18 @@ module PulpContainerClient
|
|
75
75
|
h[k.to_sym] = v
|
76
76
|
}
|
77
77
|
|
78
|
+
if attributes.key?(:'retain_repo_versions')
|
79
|
+
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
80
|
+
end
|
81
|
+
|
78
82
|
if attributes.key?(:'manifest_signing_service')
|
79
83
|
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
80
84
|
end
|
81
85
|
|
86
|
+
if attributes.key?(:'name')
|
87
|
+
self.name = attributes[:'name']
|
88
|
+
end
|
89
|
+
|
82
90
|
if attributes.key?(:'description')
|
83
91
|
self.description = attributes[:'description']
|
84
92
|
end
|
@@ -88,24 +96,12 @@ module PulpContainerClient
|
|
88
96
|
self.pulp_labels = value
|
89
97
|
end
|
90
98
|
end
|
91
|
-
|
92
|
-
if attributes.key?(:'retain_repo_versions')
|
93
|
-
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
94
|
-
end
|
95
|
-
|
96
|
-
if attributes.key?(:'name')
|
97
|
-
self.name = attributes[:'name']
|
98
|
-
end
|
99
99
|
end
|
100
100
|
|
101
101
|
# Show invalid properties with the reasons. Usually used together with valid?
|
102
102
|
# @return Array for valid properties with the reasons
|
103
103
|
def list_invalid_properties
|
104
104
|
invalid_properties = Array.new
|
105
|
-
if !@description.nil? && @description.to_s.length < 1
|
106
|
-
invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
|
107
|
-
end
|
108
|
-
|
109
105
|
if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
110
106
|
invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
|
111
107
|
end
|
@@ -118,29 +114,23 @@ module PulpContainerClient
|
|
118
114
|
invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
|
119
115
|
end
|
120
116
|
|
117
|
+
if !@description.nil? && @description.to_s.length < 1
|
118
|
+
invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
|
119
|
+
end
|
120
|
+
|
121
121
|
invalid_properties
|
122
122
|
end
|
123
123
|
|
124
124
|
# Check to see if the all the properties in the model are valid
|
125
125
|
# @return true if the model is valid
|
126
126
|
def valid?
|
127
|
-
return false if !@description.nil? && @description.to_s.length < 1
|
128
127
|
return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
129
128
|
return false if @name.nil?
|
130
129
|
return false if @name.to_s.length < 1
|
130
|
+
return false if !@description.nil? && @description.to_s.length < 1
|
131
131
|
true
|
132
132
|
end
|
133
133
|
|
134
|
-
# Custom attribute writer method with validation
|
135
|
-
# @param [Object] description Value to be assigned
|
136
|
-
def description=(description)
|
137
|
-
if !description.nil? && description.to_s.length < 1
|
138
|
-
fail ArgumentError, 'invalid value for "description", the character length must be great than or equal to 1.'
|
139
|
-
end
|
140
|
-
|
141
|
-
@description = description
|
142
|
-
end
|
143
|
-
|
144
134
|
# Custom attribute writer method with validation
|
145
135
|
# @param [Object] retain_repo_versions Value to be assigned
|
146
136
|
def retain_repo_versions=(retain_repo_versions)
|
@@ -165,16 +155,26 @@ module PulpContainerClient
|
|
165
155
|
@name = name
|
166
156
|
end
|
167
157
|
|
158
|
+
# Custom attribute writer method with validation
|
159
|
+
# @param [Object] description Value to be assigned
|
160
|
+
def description=(description)
|
161
|
+
if !description.nil? && description.to_s.length < 1
|
162
|
+
fail ArgumentError, 'invalid value for "description", the character length must be great than or equal to 1.'
|
163
|
+
end
|
164
|
+
|
165
|
+
@description = description
|
166
|
+
end
|
167
|
+
|
168
168
|
# Checks equality by comparing each attribute.
|
169
169
|
# @param [Object] Object to be compared
|
170
170
|
def ==(o)
|
171
171
|
return true if self.equal?(o)
|
172
172
|
self.class == o.class &&
|
173
|
+
retain_repo_versions == o.retain_repo_versions &&
|
173
174
|
manifest_signing_service == o.manifest_signing_service &&
|
175
|
+
name == o.name &&
|
174
176
|
description == o.description &&
|
175
|
-
pulp_labels == o.pulp_labels
|
176
|
-
retain_repo_versions == o.retain_repo_versions &&
|
177
|
-
name == o.name
|
177
|
+
pulp_labels == o.pulp_labels
|
178
178
|
end
|
179
179
|
|
180
180
|
# @see the `==` method
|
@@ -186,7 +186,7 @@ module PulpContainerClient
|
|
186
186
|
# Calculates hash code according to all attributes.
|
187
187
|
# @return [Integer] Hash code
|
188
188
|
def hash
|
189
|
-
[
|
189
|
+
[retain_repo_versions, manifest_signing_service, name, description, pulp_labels].hash
|
190
190
|
end
|
191
191
|
|
192
192
|
# Builds the object from hash
|
@@ -15,12 +15,20 @@ require 'date'
|
|
15
15
|
module PulpContainerClient
|
16
16
|
# Serializer for Container Push Repositories.
|
17
17
|
class ContainerContainerPushRepositoryResponse
|
18
|
-
|
18
|
+
# Retain X versions of the repository. Default is null which retains all versions.
|
19
|
+
attr_accessor :retain_repo_versions
|
20
|
+
|
21
|
+
attr_accessor :versions_href
|
22
|
+
|
23
|
+
attr_accessor :latest_version_href
|
19
24
|
|
20
25
|
# A reference to an associated signing service.
|
21
26
|
attr_accessor :manifest_signing_service
|
22
27
|
|
23
|
-
attr_accessor :
|
28
|
+
attr_accessor :pulp_href
|
29
|
+
|
30
|
+
# A unique name for this repository.
|
31
|
+
attr_accessor :name
|
24
32
|
|
25
33
|
# An optional description.
|
26
34
|
attr_accessor :description
|
@@ -30,50 +38,42 @@ module PulpContainerClient
|
|
30
38
|
|
31
39
|
attr_accessor :pulp_labels
|
32
40
|
|
33
|
-
# Retain X versions of the repository. Default is null which retains all versions.
|
34
|
-
attr_accessor :retain_repo_versions
|
35
|
-
|
36
|
-
# A unique name for this repository.
|
37
|
-
attr_accessor :name
|
38
|
-
|
39
|
-
attr_accessor :latest_version_href
|
40
|
-
|
41
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
42
42
|
def self.attribute_map
|
43
43
|
{
|
44
|
-
:'
|
45
|
-
:'manifest_signing_service' => :'manifest_signing_service',
|
44
|
+
:'retain_repo_versions' => :'retain_repo_versions',
|
46
45
|
:'versions_href' => :'versions_href',
|
46
|
+
:'latest_version_href' => :'latest_version_href',
|
47
|
+
:'manifest_signing_service' => :'manifest_signing_service',
|
48
|
+
:'pulp_href' => :'pulp_href',
|
49
|
+
:'name' => :'name',
|
47
50
|
:'description' => :'description',
|
48
51
|
:'pulp_created' => :'pulp_created',
|
49
|
-
:'pulp_labels' => :'pulp_labels'
|
50
|
-
:'retain_repo_versions' => :'retain_repo_versions',
|
51
|
-
:'name' => :'name',
|
52
|
-
:'latest_version_href' => :'latest_version_href'
|
52
|
+
:'pulp_labels' => :'pulp_labels'
|
53
53
|
}
|
54
54
|
end
|
55
55
|
|
56
56
|
# Attribute type mapping.
|
57
57
|
def self.openapi_types
|
58
58
|
{
|
59
|
-
:'
|
60
|
-
:'manifest_signing_service' => :'String',
|
59
|
+
:'retain_repo_versions' => :'Integer',
|
61
60
|
:'versions_href' => :'String',
|
61
|
+
:'latest_version_href' => :'String',
|
62
|
+
:'manifest_signing_service' => :'String',
|
63
|
+
:'pulp_href' => :'String',
|
64
|
+
:'name' => :'String',
|
62
65
|
:'description' => :'String',
|
63
66
|
:'pulp_created' => :'DateTime',
|
64
|
-
:'pulp_labels' => :'Hash<String, String>'
|
65
|
-
:'retain_repo_versions' => :'Integer',
|
66
|
-
:'name' => :'String',
|
67
|
-
:'latest_version_href' => :'String'
|
67
|
+
:'pulp_labels' => :'Hash<String, String>'
|
68
68
|
}
|
69
69
|
end
|
70
70
|
|
71
71
|
# List of attributes with nullable: true
|
72
72
|
def self.openapi_nullable
|
73
73
|
Set.new([
|
74
|
+
:'retain_repo_versions',
|
74
75
|
:'manifest_signing_service',
|
75
76
|
:'description',
|
76
|
-
:'retain_repo_versions',
|
77
77
|
])
|
78
78
|
end
|
79
79
|
|
@@ -92,16 +92,28 @@ module PulpContainerClient
|
|
92
92
|
h[k.to_sym] = v
|
93
93
|
}
|
94
94
|
|
95
|
-
if attributes.key?(:'
|
96
|
-
self.
|
95
|
+
if attributes.key?(:'retain_repo_versions')
|
96
|
+
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
97
|
+
end
|
98
|
+
|
99
|
+
if attributes.key?(:'versions_href')
|
100
|
+
self.versions_href = attributes[:'versions_href']
|
101
|
+
end
|
102
|
+
|
103
|
+
if attributes.key?(:'latest_version_href')
|
104
|
+
self.latest_version_href = attributes[:'latest_version_href']
|
97
105
|
end
|
98
106
|
|
99
107
|
if attributes.key?(:'manifest_signing_service')
|
100
108
|
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
101
109
|
end
|
102
110
|
|
103
|
-
if attributes.key?(:'
|
104
|
-
self.
|
111
|
+
if attributes.key?(:'pulp_href')
|
112
|
+
self.pulp_href = attributes[:'pulp_href']
|
113
|
+
end
|
114
|
+
|
115
|
+
if attributes.key?(:'name')
|
116
|
+
self.name = attributes[:'name']
|
105
117
|
end
|
106
118
|
|
107
119
|
if attributes.key?(:'description')
|
@@ -117,18 +129,6 @@ module PulpContainerClient
|
|
117
129
|
self.pulp_labels = value
|
118
130
|
end
|
119
131
|
end
|
120
|
-
|
121
|
-
if attributes.key?(:'retain_repo_versions')
|
122
|
-
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
123
|
-
end
|
124
|
-
|
125
|
-
if attributes.key?(:'name')
|
126
|
-
self.name = attributes[:'name']
|
127
|
-
end
|
128
|
-
|
129
|
-
if attributes.key?(:'latest_version_href')
|
130
|
-
self.latest_version_href = attributes[:'latest_version_href']
|
131
|
-
end
|
132
132
|
end
|
133
133
|
|
134
134
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -169,15 +169,15 @@ module PulpContainerClient
|
|
169
169
|
def ==(o)
|
170
170
|
return true if self.equal?(o)
|
171
171
|
self.class == o.class &&
|
172
|
-
|
173
|
-
manifest_signing_service == o.manifest_signing_service &&
|
172
|
+
retain_repo_versions == o.retain_repo_versions &&
|
174
173
|
versions_href == o.versions_href &&
|
174
|
+
latest_version_href == o.latest_version_href &&
|
175
|
+
manifest_signing_service == o.manifest_signing_service &&
|
176
|
+
pulp_href == o.pulp_href &&
|
177
|
+
name == o.name &&
|
175
178
|
description == o.description &&
|
176
179
|
pulp_created == o.pulp_created &&
|
177
|
-
pulp_labels == o.pulp_labels
|
178
|
-
retain_repo_versions == o.retain_repo_versions &&
|
179
|
-
name == o.name &&
|
180
|
-
latest_version_href == o.latest_version_href
|
180
|
+
pulp_labels == o.pulp_labels
|
181
181
|
end
|
182
182
|
|
183
183
|
# @see the `==` method
|
@@ -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
|
-
[
|
192
|
+
[retain_repo_versions, versions_href, latest_version_href, manifest_signing_service, pulp_href, name, description, pulp_created, pulp_labels].hash
|
193
193
|
end
|
194
194
|
|
195
195
|
# Builds the object from hash
|
@@ -21,6 +21,9 @@ module PulpContainerClient
|
|
21
21
|
# An optional content-guard. If none is specified, a default one will be used.
|
22
22
|
attr_accessor :content_guard
|
23
23
|
|
24
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
25
|
+
attr_accessor :name
|
26
|
+
|
24
27
|
# Whether this distribution should be shown in the content app.
|
25
28
|
attr_accessor :hidden
|
26
29
|
|
@@ -29,9 +32,6 @@ module PulpContainerClient
|
|
29
32
|
# The latest RepositoryVersion for this Repository will be served.
|
30
33
|
attr_accessor :repository
|
31
34
|
|
32
|
-
# A unique name. Ex, `rawhide` and `stable`.
|
33
|
-
attr_accessor :name
|
34
|
-
|
35
35
|
# RepositoryVersion to be served
|
36
36
|
attr_accessor :repository_version
|
37
37
|
|
@@ -46,10 +46,10 @@ module PulpContainerClient
|
|
46
46
|
{
|
47
47
|
:'base_path' => :'base_path',
|
48
48
|
:'content_guard' => :'content_guard',
|
49
|
+
:'name' => :'name',
|
49
50
|
:'hidden' => :'hidden',
|
50
51
|
:'pulp_labels' => :'pulp_labels',
|
51
52
|
:'repository' => :'repository',
|
52
|
-
:'name' => :'name',
|
53
53
|
:'repository_version' => :'repository_version',
|
54
54
|
:'private' => :'private',
|
55
55
|
:'description' => :'description'
|
@@ -61,10 +61,10 @@ module PulpContainerClient
|
|
61
61
|
{
|
62
62
|
:'base_path' => :'String',
|
63
63
|
:'content_guard' => :'String',
|
64
|
+
:'name' => :'String',
|
64
65
|
:'hidden' => :'Boolean',
|
65
66
|
:'pulp_labels' => :'Hash<String, String>',
|
66
67
|
:'repository' => :'String',
|
67
|
-
:'name' => :'String',
|
68
68
|
:'repository_version' => :'String',
|
69
69
|
:'private' => :'Boolean',
|
70
70
|
:'description' => :'String'
|
@@ -103,6 +103,10 @@ module PulpContainerClient
|
|
103
103
|
self.content_guard = attributes[:'content_guard']
|
104
104
|
end
|
105
105
|
|
106
|
+
if attributes.key?(:'name')
|
107
|
+
self.name = attributes[:'name']
|
108
|
+
end
|
109
|
+
|
106
110
|
if attributes.key?(:'hidden')
|
107
111
|
self.hidden = attributes[:'hidden']
|
108
112
|
else
|
@@ -119,10 +123,6 @@ module PulpContainerClient
|
|
119
123
|
self.repository = attributes[:'repository']
|
120
124
|
end
|
121
125
|
|
122
|
-
if attributes.key?(:'name')
|
123
|
-
self.name = attributes[:'name']
|
124
|
-
end
|
125
|
-
|
126
126
|
if attributes.key?(:'repository_version')
|
127
127
|
self.repository_version = attributes[:'repository_version']
|
128
128
|
end
|
@@ -201,10 +201,10 @@ module PulpContainerClient
|
|
201
201
|
self.class == o.class &&
|
202
202
|
base_path == o.base_path &&
|
203
203
|
content_guard == o.content_guard &&
|
204
|
+
name == o.name &&
|
204
205
|
hidden == o.hidden &&
|
205
206
|
pulp_labels == o.pulp_labels &&
|
206
207
|
repository == o.repository &&
|
207
|
-
name == o.name &&
|
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
|
-
[base_path, content_guard, hidden, pulp_labels, repository,
|
222
|
+
[base_path, content_guard, name, hidden, pulp_labels, repository, 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
@@ -21,6 +21,9 @@ module PulpContainerClient
|
|
21
21
|
# An optional content-guard. If none is specified, a default one will be used.
|
22
22
|
attr_accessor :content_guard
|
23
23
|
|
24
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
25
|
+
attr_accessor :name
|
26
|
+
|
24
27
|
# Whether this distribution should be shown in the content app.
|
25
28
|
attr_accessor :hidden
|
26
29
|
|
@@ -29,9 +32,6 @@ module PulpContainerClient
|
|
29
32
|
# The latest RepositoryVersion for this Repository will be served.
|
30
33
|
attr_accessor :repository
|
31
34
|
|
32
|
-
# A unique name. Ex, `rawhide` and `stable`.
|
33
|
-
attr_accessor :name
|
34
|
-
|
35
35
|
# Remote that can be used to fetch content when using pull-through caching.
|
36
36
|
attr_accessor :remote
|
37
37
|
|
@@ -49,10 +49,10 @@ module PulpContainerClient
|
|
49
49
|
{
|
50
50
|
:'base_path' => :'base_path',
|
51
51
|
:'content_guard' => :'content_guard',
|
52
|
+
:'name' => :'name',
|
52
53
|
:'hidden' => :'hidden',
|
53
54
|
:'pulp_labels' => :'pulp_labels',
|
54
55
|
:'repository' => :'repository',
|
55
|
-
:'name' => :'name',
|
56
56
|
:'remote' => :'remote',
|
57
57
|
:'distributions' => :'distributions',
|
58
58
|
:'private' => :'private',
|
@@ -65,10 +65,10 @@ module PulpContainerClient
|
|
65
65
|
{
|
66
66
|
:'base_path' => :'String',
|
67
67
|
:'content_guard' => :'String',
|
68
|
+
:'name' => :'String',
|
68
69
|
:'hidden' => :'Boolean',
|
69
70
|
:'pulp_labels' => :'Hash<String, String>',
|
70
71
|
:'repository' => :'String',
|
71
|
-
:'name' => :'String',
|
72
72
|
:'remote' => :'String',
|
73
73
|
:'distributions' => :'Array<String>',
|
74
74
|
:'private' => :'Boolean',
|
@@ -107,6 +107,10 @@ module PulpContainerClient
|
|
107
107
|
self.content_guard = attributes[:'content_guard']
|
108
108
|
end
|
109
109
|
|
110
|
+
if attributes.key?(:'name')
|
111
|
+
self.name = attributes[:'name']
|
112
|
+
end
|
113
|
+
|
110
114
|
if attributes.key?(:'hidden')
|
111
115
|
self.hidden = attributes[:'hidden']
|
112
116
|
else
|
@@ -123,10 +127,6 @@ module PulpContainerClient
|
|
123
127
|
self.repository = attributes[:'repository']
|
124
128
|
end
|
125
129
|
|
126
|
-
if attributes.key?(:'name')
|
127
|
-
self.name = attributes[:'name']
|
128
|
-
end
|
129
|
-
|
130
130
|
if attributes.key?(:'remote')
|
131
131
|
self.remote = attributes[:'remote']
|
132
132
|
end
|
@@ -211,10 +211,10 @@ module PulpContainerClient
|
|
211
211
|
self.class == o.class &&
|
212
212
|
base_path == o.base_path &&
|
213
213
|
content_guard == o.content_guard &&
|
214
|
+
name == o.name &&
|
214
215
|
hidden == o.hidden &&
|
215
216
|
pulp_labels == o.pulp_labels &&
|
216
217
|
repository == o.repository &&
|
217
|
-
name == o.name &&
|
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
|
-
[base_path, content_guard, hidden, pulp_labels, repository,
|
233
|
+
[base_path, content_guard, name, hidden, pulp_labels, repository, remote, distributions, private, description].hash
|
234
234
|
end
|
235
235
|
|
236
236
|
# Builds the object from hash
|