pulp_container_client 2.16.5 → 2.16.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/ContainerContainerDistribution.md +8 -8
- data/docs/ContainerContainerDistributionResponse.md +10 -10
- data/docs/ContainerContainerPushRepository.md +3 -3
- data/docs/ContainerContainerPushRepositoryResponse.md +9 -9
- data/docs/PatchedcontainerContainerDistribution.md +8 -8
- data/docs/PatchedcontainerContainerPushRepository.md +3 -3
- data/lib/pulp_container_client/models/container_container_distribution.rb +57 -57
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +47 -47
- data/lib/pulp_container_client/models/container_container_push_repository.rb +16 -16
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +37 -37
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +48 -48
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +16 -16
- data/lib/pulp_container_client/version.rb +1 -1
- data/spec/models/container_container_distribution_response_spec.rb +8 -8
- data/spec/models/container_container_distribution_spec.rb +6 -6
- data/spec/models/container_container_push_repository_response_spec.rb +7 -7
- 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_push_repository_spec.rb +2 -2
- metadata +53 -53
@@ -23,20 +23,20 @@ module PulpContainerClient
|
|
23
23
|
# An optional description.
|
24
24
|
attr_accessor :description
|
25
25
|
|
26
|
-
# A reference to an associated signing service.
|
27
|
-
attr_accessor :manifest_signing_service
|
28
|
-
|
29
26
|
# Retain X versions of the repository. Default is null which retains all versions.
|
30
27
|
attr_accessor :retain_repo_versions
|
31
28
|
|
29
|
+
# A reference to an associated signing service.
|
30
|
+
attr_accessor :manifest_signing_service
|
31
|
+
|
32
32
|
# Attribute mapping from ruby-style variable name to JSON key.
|
33
33
|
def self.attribute_map
|
34
34
|
{
|
35
35
|
:'pulp_labels' => :'pulp_labels',
|
36
36
|
:'name' => :'name',
|
37
37
|
:'description' => :'description',
|
38
|
-
:'
|
39
|
-
:'
|
38
|
+
:'retain_repo_versions' => :'retain_repo_versions',
|
39
|
+
:'manifest_signing_service' => :'manifest_signing_service'
|
40
40
|
}
|
41
41
|
end
|
42
42
|
|
@@ -46,8 +46,8 @@ module PulpContainerClient
|
|
46
46
|
:'pulp_labels' => :'Hash<String, String>',
|
47
47
|
:'name' => :'String',
|
48
48
|
:'description' => :'String',
|
49
|
-
:'
|
50
|
-
:'
|
49
|
+
:'retain_repo_versions' => :'Integer',
|
50
|
+
:'manifest_signing_service' => :'String'
|
51
51
|
}
|
52
52
|
end
|
53
53
|
|
@@ -55,8 +55,8 @@ module PulpContainerClient
|
|
55
55
|
def self.openapi_nullable
|
56
56
|
Set.new([
|
57
57
|
:'description',
|
58
|
-
:'
|
59
|
-
:'
|
58
|
+
:'retain_repo_versions',
|
59
|
+
:'manifest_signing_service'
|
60
60
|
])
|
61
61
|
end
|
62
62
|
|
@@ -89,13 +89,13 @@ module PulpContainerClient
|
|
89
89
|
self.description = attributes[:'description']
|
90
90
|
end
|
91
91
|
|
92
|
-
if attributes.key?(:'manifest_signing_service')
|
93
|
-
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
94
|
-
end
|
95
|
-
|
96
92
|
if attributes.key?(:'retain_repo_versions')
|
97
93
|
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
98
94
|
end
|
95
|
+
|
96
|
+
if attributes.key?(:'manifest_signing_service')
|
97
|
+
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
98
|
+
end
|
99
99
|
end
|
100
100
|
|
101
101
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -173,8 +173,8 @@ module PulpContainerClient
|
|
173
173
|
pulp_labels == o.pulp_labels &&
|
174
174
|
name == o.name &&
|
175
175
|
description == o.description &&
|
176
|
-
|
177
|
-
|
176
|
+
retain_repo_versions == o.retain_repo_versions &&
|
177
|
+
manifest_signing_service == o.manifest_signing_service
|
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
|
-
[pulp_labels, name, description,
|
189
|
+
[pulp_labels, name, description, retain_repo_versions, manifest_signing_service].hash
|
190
190
|
end
|
191
191
|
|
192
192
|
# Builds the object from hash
|
@@ -15,56 +15,56 @@ require 'date'
|
|
15
15
|
module PulpContainerClient
|
16
16
|
# Serializer for Container Push Repositories.
|
17
17
|
class ContainerContainerPushRepositoryResponse
|
18
|
-
attr_accessor :pulp_labels
|
19
|
-
|
20
18
|
attr_accessor :versions_href
|
21
19
|
|
20
|
+
attr_accessor :pulp_labels
|
21
|
+
|
22
22
|
# A unique name for this repository.
|
23
23
|
attr_accessor :name
|
24
24
|
|
25
|
-
# Timestamp of creation.
|
26
|
-
attr_accessor :pulp_created
|
27
|
-
|
28
|
-
attr_accessor :latest_version_href
|
29
|
-
|
30
25
|
# An optional description.
|
31
26
|
attr_accessor :description
|
32
27
|
|
33
28
|
attr_accessor :pulp_href
|
34
29
|
|
35
|
-
|
36
|
-
attr_accessor :manifest_signing_service
|
30
|
+
attr_accessor :latest_version_href
|
37
31
|
|
38
32
|
# Retain X versions of the repository. Default is null which retains all versions.
|
39
33
|
attr_accessor :retain_repo_versions
|
40
34
|
|
35
|
+
# A reference to an associated signing service.
|
36
|
+
attr_accessor :manifest_signing_service
|
37
|
+
|
38
|
+
# Timestamp of creation.
|
39
|
+
attr_accessor :pulp_created
|
40
|
+
|
41
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
42
42
|
def self.attribute_map
|
43
43
|
{
|
44
|
-
:'pulp_labels' => :'pulp_labels',
|
45
44
|
:'versions_href' => :'versions_href',
|
45
|
+
:'pulp_labels' => :'pulp_labels',
|
46
46
|
:'name' => :'name',
|
47
|
-
:'pulp_created' => :'pulp_created',
|
48
|
-
:'latest_version_href' => :'latest_version_href',
|
49
47
|
:'description' => :'description',
|
50
48
|
:'pulp_href' => :'pulp_href',
|
49
|
+
:'latest_version_href' => :'latest_version_href',
|
50
|
+
:'retain_repo_versions' => :'retain_repo_versions',
|
51
51
|
:'manifest_signing_service' => :'manifest_signing_service',
|
52
|
-
:'
|
52
|
+
:'pulp_created' => :'pulp_created'
|
53
53
|
}
|
54
54
|
end
|
55
55
|
|
56
56
|
# Attribute type mapping.
|
57
57
|
def self.openapi_types
|
58
58
|
{
|
59
|
-
:'pulp_labels' => :'Hash<String, String>',
|
60
59
|
:'versions_href' => :'String',
|
60
|
+
:'pulp_labels' => :'Hash<String, String>',
|
61
61
|
:'name' => :'String',
|
62
|
-
:'pulp_created' => :'DateTime',
|
63
|
-
:'latest_version_href' => :'String',
|
64
62
|
:'description' => :'String',
|
65
63
|
:'pulp_href' => :'String',
|
64
|
+
:'latest_version_href' => :'String',
|
65
|
+
:'retain_repo_versions' => :'Integer',
|
66
66
|
:'manifest_signing_service' => :'String',
|
67
|
-
:'
|
67
|
+
:'pulp_created' => :'DateTime'
|
68
68
|
}
|
69
69
|
end
|
70
70
|
|
@@ -72,8 +72,8 @@ module PulpContainerClient
|
|
72
72
|
def self.openapi_nullable
|
73
73
|
Set.new([
|
74
74
|
:'description',
|
75
|
+
:'retain_repo_versions',
|
75
76
|
:'manifest_signing_service',
|
76
|
-
:'retain_repo_versions'
|
77
77
|
])
|
78
78
|
end
|
79
79
|
|
@@ -92,28 +92,20 @@ module PulpContainerClient
|
|
92
92
|
h[k.to_sym] = v
|
93
93
|
}
|
94
94
|
|
95
|
+
if attributes.key?(:'versions_href')
|
96
|
+
self.versions_href = attributes[:'versions_href']
|
97
|
+
end
|
98
|
+
|
95
99
|
if attributes.key?(:'pulp_labels')
|
96
100
|
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
97
101
|
self.pulp_labels = value
|
98
102
|
end
|
99
103
|
end
|
100
104
|
|
101
|
-
if attributes.key?(:'versions_href')
|
102
|
-
self.versions_href = attributes[:'versions_href']
|
103
|
-
end
|
104
|
-
|
105
105
|
if attributes.key?(:'name')
|
106
106
|
self.name = attributes[:'name']
|
107
107
|
end
|
108
108
|
|
109
|
-
if attributes.key?(:'pulp_created')
|
110
|
-
self.pulp_created = attributes[:'pulp_created']
|
111
|
-
end
|
112
|
-
|
113
|
-
if attributes.key?(:'latest_version_href')
|
114
|
-
self.latest_version_href = attributes[:'latest_version_href']
|
115
|
-
end
|
116
|
-
|
117
109
|
if attributes.key?(:'description')
|
118
110
|
self.description = attributes[:'description']
|
119
111
|
end
|
@@ -122,13 +114,21 @@ module PulpContainerClient
|
|
122
114
|
self.pulp_href = attributes[:'pulp_href']
|
123
115
|
end
|
124
116
|
|
125
|
-
if attributes.key?(:'
|
126
|
-
self.
|
117
|
+
if attributes.key?(:'latest_version_href')
|
118
|
+
self.latest_version_href = attributes[:'latest_version_href']
|
127
119
|
end
|
128
120
|
|
129
121
|
if attributes.key?(:'retain_repo_versions')
|
130
122
|
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
131
123
|
end
|
124
|
+
|
125
|
+
if attributes.key?(:'manifest_signing_service')
|
126
|
+
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
127
|
+
end
|
128
|
+
|
129
|
+
if attributes.key?(:'pulp_created')
|
130
|
+
self.pulp_created = attributes[:'pulp_created']
|
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
|
-
pulp_labels == o.pulp_labels &&
|
173
172
|
versions_href == o.versions_href &&
|
173
|
+
pulp_labels == o.pulp_labels &&
|
174
174
|
name == o.name &&
|
175
|
-
pulp_created == o.pulp_created &&
|
176
|
-
latest_version_href == o.latest_version_href &&
|
177
175
|
description == o.description &&
|
178
176
|
pulp_href == o.pulp_href &&
|
177
|
+
latest_version_href == o.latest_version_href &&
|
178
|
+
retain_repo_versions == o.retain_repo_versions &&
|
179
179
|
manifest_signing_service == o.manifest_signing_service &&
|
180
|
-
|
180
|
+
pulp_created == o.pulp_created
|
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
|
+
[versions_href, pulp_labels, name, description, pulp_href, latest_version_href, retain_repo_versions, manifest_signing_service, pulp_created].hash
|
193
193
|
end
|
194
194
|
|
195
195
|
# 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
|
-
|
19
|
-
|
18
|
+
attr_accessor :pulp_labels
|
19
|
+
|
20
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
21
|
+
attr_accessor :name
|
20
22
|
|
21
23
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
22
24
|
attr_accessor :base_path
|
23
25
|
|
24
|
-
|
26
|
+
# Whether this distribution should be shown in the content app.
|
27
|
+
attr_accessor :hidden
|
25
28
|
|
26
29
|
# The latest RepositoryVersion for this Repository will be served.
|
27
30
|
attr_accessor :repository
|
28
31
|
|
29
|
-
#
|
30
|
-
attr_accessor :
|
31
|
-
|
32
|
-
# A unique name. Ex, `rawhide` and `stable`.
|
33
|
-
attr_accessor :name
|
32
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
33
|
+
attr_accessor :content_guard
|
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
|
-
:'content_guard' => :'content_guard',
|
48
|
-
:'base_path' => :'base_path',
|
49
47
|
:'pulp_labels' => :'pulp_labels',
|
50
|
-
:'repository' => :'repository',
|
51
|
-
:'hidden' => :'hidden',
|
52
48
|
:'name' => :'name',
|
49
|
+
:'base_path' => :'base_path',
|
50
|
+
:'hidden' => :'hidden',
|
51
|
+
:'repository' => :'repository',
|
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
|
-
:'content_guard' => :'String',
|
63
|
-
:'base_path' => :'String',
|
64
62
|
:'pulp_labels' => :'Hash<String, String>',
|
65
|
-
:'repository' => :'String',
|
66
|
-
:'hidden' => :'Boolean',
|
67
63
|
:'name' => :'String',
|
64
|
+
:'base_path' => :'String',
|
65
|
+
:'hidden' => :'Boolean',
|
66
|
+
:'repository' => :'String',
|
67
|
+
:'content_guard' => :'String',
|
68
68
|
:'repository_version' => :'String',
|
69
69
|
:'private' => :'Boolean',
|
70
70
|
:'description' => :'String'
|
@@ -95,22 +95,18 @@ module PulpContainerClient
|
|
95
95
|
h[k.to_sym] = v
|
96
96
|
}
|
97
97
|
|
98
|
-
if attributes.key?(:'content_guard')
|
99
|
-
self.content_guard = attributes[:'content_guard']
|
100
|
-
end
|
101
|
-
|
102
|
-
if attributes.key?(:'base_path')
|
103
|
-
self.base_path = attributes[:'base_path']
|
104
|
-
end
|
105
|
-
|
106
98
|
if attributes.key?(:'pulp_labels')
|
107
99
|
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
108
100
|
self.pulp_labels = value
|
109
101
|
end
|
110
102
|
end
|
111
103
|
|
112
|
-
if attributes.key?(:'
|
113
|
-
self.
|
104
|
+
if attributes.key?(:'name')
|
105
|
+
self.name = attributes[:'name']
|
106
|
+
end
|
107
|
+
|
108
|
+
if attributes.key?(:'base_path')
|
109
|
+
self.base_path = attributes[:'base_path']
|
114
110
|
end
|
115
111
|
|
116
112
|
if attributes.key?(:'hidden')
|
@@ -119,8 +115,12 @@ module PulpContainerClient
|
|
119
115
|
self.hidden = false
|
120
116
|
end
|
121
117
|
|
122
|
-
if attributes.key?(:'
|
123
|
-
self.
|
118
|
+
if attributes.key?(:'repository')
|
119
|
+
self.repository = attributes[:'repository']
|
120
|
+
end
|
121
|
+
|
122
|
+
if attributes.key?(:'content_guard')
|
123
|
+
self.content_guard = attributes[:'content_guard']
|
124
124
|
end
|
125
125
|
|
126
126
|
if attributes.key?(:'repository_version')
|
@@ -140,14 +140,14 @@ module PulpContainerClient
|
|
140
140
|
# @return Array for valid properties with the reasons
|
141
141
|
def list_invalid_properties
|
142
142
|
invalid_properties = Array.new
|
143
|
-
if !@base_path.nil? && @base_path.to_s.length < 1
|
144
|
-
invalid_properties.push('invalid value for "base_path", the character length must be great than or equal to 1.')
|
145
|
-
end
|
146
|
-
|
147
143
|
if !@name.nil? && @name.to_s.length < 1
|
148
144
|
invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
|
149
145
|
end
|
150
146
|
|
147
|
+
if !@base_path.nil? && @base_path.to_s.length < 1
|
148
|
+
invalid_properties.push('invalid value for "base_path", the character length must be great than or equal to 1.')
|
149
|
+
end
|
150
|
+
|
151
151
|
if !@description.nil? && @description.to_s.length < 1
|
152
152
|
invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
|
153
153
|
end
|
@@ -158,22 +158,12 @@ module PulpContainerClient
|
|
158
158
|
# Check to see if the all the properties in the model are valid
|
159
159
|
# @return true if the model is valid
|
160
160
|
def valid?
|
161
|
-
return false if !@base_path.nil? && @base_path.to_s.length < 1
|
162
161
|
return false if !@name.nil? && @name.to_s.length < 1
|
162
|
+
return false if !@base_path.nil? && @base_path.to_s.length < 1
|
163
163
|
return false if !@description.nil? && @description.to_s.length < 1
|
164
164
|
true
|
165
165
|
end
|
166
166
|
|
167
|
-
# Custom attribute writer method with validation
|
168
|
-
# @param [Object] base_path Value to be assigned
|
169
|
-
def base_path=(base_path)
|
170
|
-
if !base_path.nil? && base_path.to_s.length < 1
|
171
|
-
fail ArgumentError, 'invalid value for "base_path", the character length must be great than or equal to 1.'
|
172
|
-
end
|
173
|
-
|
174
|
-
@base_path = base_path
|
175
|
-
end
|
176
|
-
|
177
167
|
# Custom attribute writer method with validation
|
178
168
|
# @param [Object] name Value to be assigned
|
179
169
|
def name=(name)
|
@@ -184,6 +174,16 @@ module PulpContainerClient
|
|
184
174
|
@name = name
|
185
175
|
end
|
186
176
|
|
177
|
+
# Custom attribute writer method with validation
|
178
|
+
# @param [Object] base_path Value to be assigned
|
179
|
+
def base_path=(base_path)
|
180
|
+
if !base_path.nil? && base_path.to_s.length < 1
|
181
|
+
fail ArgumentError, 'invalid value for "base_path", the character length must be great than or equal to 1.'
|
182
|
+
end
|
183
|
+
|
184
|
+
@base_path = base_path
|
185
|
+
end
|
186
|
+
|
187
187
|
# Custom attribute writer method with validation
|
188
188
|
# @param [Object] description Value to be assigned
|
189
189
|
def description=(description)
|
@@ -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
|
-
content_guard == o.content_guard &&
|
203
|
-
base_path == o.base_path &&
|
204
202
|
pulp_labels == o.pulp_labels &&
|
205
|
-
repository == o.repository &&
|
206
|
-
hidden == o.hidden &&
|
207
203
|
name == o.name &&
|
204
|
+
base_path == o.base_path &&
|
205
|
+
hidden == o.hidden &&
|
206
|
+
repository == o.repository &&
|
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
|
+
[pulp_labels, name, base_path, hidden, repository, content_guard, repository_version, private, description].hash
|
223
223
|
end
|
224
224
|
|
225
225
|
# Builds the object from hash
|
@@ -23,20 +23,20 @@ module PulpContainerClient
|
|
23
23
|
# An optional description.
|
24
24
|
attr_accessor :description
|
25
25
|
|
26
|
-
# A reference to an associated signing service.
|
27
|
-
attr_accessor :manifest_signing_service
|
28
|
-
|
29
26
|
# Retain X versions of the repository. Default is null which retains all versions.
|
30
27
|
attr_accessor :retain_repo_versions
|
31
28
|
|
29
|
+
# A reference to an associated signing service.
|
30
|
+
attr_accessor :manifest_signing_service
|
31
|
+
|
32
32
|
# Attribute mapping from ruby-style variable name to JSON key.
|
33
33
|
def self.attribute_map
|
34
34
|
{
|
35
35
|
:'pulp_labels' => :'pulp_labels',
|
36
36
|
:'name' => :'name',
|
37
37
|
:'description' => :'description',
|
38
|
-
:'
|
39
|
-
:'
|
38
|
+
:'retain_repo_versions' => :'retain_repo_versions',
|
39
|
+
:'manifest_signing_service' => :'manifest_signing_service'
|
40
40
|
}
|
41
41
|
end
|
42
42
|
|
@@ -46,8 +46,8 @@ module PulpContainerClient
|
|
46
46
|
:'pulp_labels' => :'Hash<String, String>',
|
47
47
|
:'name' => :'String',
|
48
48
|
:'description' => :'String',
|
49
|
-
:'
|
50
|
-
:'
|
49
|
+
:'retain_repo_versions' => :'Integer',
|
50
|
+
:'manifest_signing_service' => :'String'
|
51
51
|
}
|
52
52
|
end
|
53
53
|
|
@@ -55,8 +55,8 @@ module PulpContainerClient
|
|
55
55
|
def self.openapi_nullable
|
56
56
|
Set.new([
|
57
57
|
:'description',
|
58
|
-
:'
|
59
|
-
:'
|
58
|
+
:'retain_repo_versions',
|
59
|
+
:'manifest_signing_service'
|
60
60
|
])
|
61
61
|
end
|
62
62
|
|
@@ -89,13 +89,13 @@ module PulpContainerClient
|
|
89
89
|
self.description = attributes[:'description']
|
90
90
|
end
|
91
91
|
|
92
|
-
if attributes.key?(:'manifest_signing_service')
|
93
|
-
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
94
|
-
end
|
95
|
-
|
96
92
|
if attributes.key?(:'retain_repo_versions')
|
97
93
|
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
98
94
|
end
|
95
|
+
|
96
|
+
if attributes.key?(:'manifest_signing_service')
|
97
|
+
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
98
|
+
end
|
99
99
|
end
|
100
100
|
|
101
101
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -164,8 +164,8 @@ module PulpContainerClient
|
|
164
164
|
pulp_labels == o.pulp_labels &&
|
165
165
|
name == o.name &&
|
166
166
|
description == o.description &&
|
167
|
-
|
168
|
-
|
167
|
+
retain_repo_versions == o.retain_repo_versions &&
|
168
|
+
manifest_signing_service == o.manifest_signing_service
|
169
169
|
end
|
170
170
|
|
171
171
|
# @see the `==` method
|
@@ -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
|
-
[pulp_labels, name, description,
|
180
|
+
[pulp_labels, name, description, retain_repo_versions, manifest_signing_service].hash
|
181
181
|
end
|
182
182
|
|
183
183
|
# Builds the object from hash
|
@@ -32,49 +32,49 @@ 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 "pulp_labels"' 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 "name"' 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 "base_path"' 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 "hidden"' 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 "pulp_href"' 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 "repository"' 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
|
69
69
|
end
|
70
70
|
|
71
|
-
describe 'test attribute "
|
71
|
+
describe 'test attribute "content_guard"' 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 "pulp_created"' 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
|
@@ -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 "pulp_labels"' 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 "name"' 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 "base_path"' 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 "hidden"' 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 "repository"' 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
|