pulp_container_client 2.15.0.dev1669865004 → 2.15.0.dev1669950653
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of pulp_container_client might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/ContainerContainerDistribution.md +7 -7
- data/docs/ContainerContainerDistributionResponse.md +10 -10
- data/docs/ContainerContainerPushRepository.md +4 -4
- data/docs/ContainerContainerPushRepositoryResponse.md +11 -11
- data/docs/PatchedcontainerContainerDistribution.md +7 -7
- data/docs/PatchedcontainerContainerPushRepository.md +4 -4
- data/lib/pulp_container_client/models/container_container_distribution.rb +51 -51
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +45 -45
- data/lib/pulp_container_client/models/container_container_push_repository.rb +18 -18
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +39 -39
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +42 -42
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +18 -18
- 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 +5 -5
- data/spec/models/container_container_push_repository_response_spec.rb +8 -8
- data/spec/models/container_container_push_repository_spec.rb +3 -3
- data/spec/models/patchedcontainer_container_distribution_spec.rb +5 -5
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +3 -3
- metadata +2 -2
@@ -18,25 +18,25 @@ module PulpContainerClient
|
|
18
18
|
# Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future.
|
19
19
|
attr_accessor :retain_repo_versions
|
20
20
|
|
21
|
-
attr_accessor :pulp_labels
|
22
|
-
|
23
21
|
# An optional description.
|
24
22
|
attr_accessor :description
|
25
23
|
|
24
|
+
# A reference to an associated signing service.
|
25
|
+
attr_accessor :manifest_signing_service
|
26
|
+
|
26
27
|
# A unique name for this repository.
|
27
28
|
attr_accessor :name
|
28
29
|
|
29
|
-
|
30
|
-
attr_accessor :manifest_signing_service
|
30
|
+
attr_accessor :pulp_labels
|
31
31
|
|
32
32
|
# Attribute mapping from ruby-style variable name to JSON key.
|
33
33
|
def self.attribute_map
|
34
34
|
{
|
35
35
|
:'retain_repo_versions' => :'retain_repo_versions',
|
36
|
-
:'pulp_labels' => :'pulp_labels',
|
37
36
|
:'description' => :'description',
|
37
|
+
:'manifest_signing_service' => :'manifest_signing_service',
|
38
38
|
:'name' => :'name',
|
39
|
-
:'
|
39
|
+
:'pulp_labels' => :'pulp_labels'
|
40
40
|
}
|
41
41
|
end
|
42
42
|
|
@@ -44,10 +44,10 @@ module PulpContainerClient
|
|
44
44
|
def self.openapi_types
|
45
45
|
{
|
46
46
|
:'retain_repo_versions' => :'Integer',
|
47
|
-
:'pulp_labels' => :'Object',
|
48
47
|
:'description' => :'String',
|
48
|
+
:'manifest_signing_service' => :'String',
|
49
49
|
:'name' => :'String',
|
50
|
-
:'
|
50
|
+
:'pulp_labels' => :'Object'
|
51
51
|
}
|
52
52
|
end
|
53
53
|
|
@@ -56,7 +56,7 @@ module PulpContainerClient
|
|
56
56
|
Set.new([
|
57
57
|
:'retain_repo_versions',
|
58
58
|
:'description',
|
59
|
-
:'manifest_signing_service'
|
59
|
+
:'manifest_signing_service',
|
60
60
|
])
|
61
61
|
end
|
62
62
|
|
@@ -79,20 +79,20 @@ module PulpContainerClient
|
|
79
79
|
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
80
80
|
end
|
81
81
|
|
82
|
-
if attributes.key?(:'pulp_labels')
|
83
|
-
self.pulp_labels = attributes[:'pulp_labels']
|
84
|
-
end
|
85
|
-
|
86
82
|
if attributes.key?(:'description')
|
87
83
|
self.description = attributes[:'description']
|
88
84
|
end
|
89
85
|
|
86
|
+
if attributes.key?(:'manifest_signing_service')
|
87
|
+
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
88
|
+
end
|
89
|
+
|
90
90
|
if attributes.key?(:'name')
|
91
91
|
self.name = attributes[:'name']
|
92
92
|
end
|
93
93
|
|
94
|
-
if attributes.key?(:'
|
95
|
-
self.
|
94
|
+
if attributes.key?(:'pulp_labels')
|
95
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
96
96
|
end
|
97
97
|
end
|
98
98
|
|
@@ -169,10 +169,10 @@ module PulpContainerClient
|
|
169
169
|
return true if self.equal?(o)
|
170
170
|
self.class == o.class &&
|
171
171
|
retain_repo_versions == o.retain_repo_versions &&
|
172
|
-
pulp_labels == o.pulp_labels &&
|
173
172
|
description == o.description &&
|
173
|
+
manifest_signing_service == o.manifest_signing_service &&
|
174
174
|
name == o.name &&
|
175
|
-
|
175
|
+
pulp_labels == o.pulp_labels
|
176
176
|
end
|
177
177
|
|
178
178
|
# @see the `==` method
|
@@ -184,7 +184,7 @@ module PulpContainerClient
|
|
184
184
|
# Calculates hash code according to all attributes.
|
185
185
|
# @return [Integer] Hash code
|
186
186
|
def hash
|
187
|
-
[retain_repo_versions,
|
187
|
+
[retain_repo_versions, description, manifest_signing_service, name, pulp_labels].hash
|
188
188
|
end
|
189
189
|
|
190
190
|
# 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 :latest_version_href
|
19
|
+
|
18
20
|
# Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future.
|
19
21
|
attr_accessor :retain_repo_versions
|
20
22
|
|
21
|
-
|
22
|
-
attr_accessor :pulp_created
|
23
|
+
attr_accessor :pulp_href
|
23
24
|
|
24
25
|
attr_accessor :versions_href
|
25
26
|
|
26
|
-
attr_accessor :pulp_labels
|
27
|
-
|
28
|
-
attr_accessor :latest_version_href
|
29
|
-
|
30
27
|
# An optional description.
|
31
28
|
attr_accessor :description
|
32
29
|
|
30
|
+
# A reference to an associated signing service.
|
31
|
+
attr_accessor :manifest_signing_service
|
32
|
+
|
33
33
|
# A unique name for this repository.
|
34
34
|
attr_accessor :name
|
35
35
|
|
36
|
-
#
|
37
|
-
attr_accessor :
|
36
|
+
# Timestamp of creation.
|
37
|
+
attr_accessor :pulp_created
|
38
38
|
|
39
|
-
attr_accessor :
|
39
|
+
attr_accessor :pulp_labels
|
40
40
|
|
41
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
42
42
|
def self.attribute_map
|
43
43
|
{
|
44
|
+
:'latest_version_href' => :'latest_version_href',
|
44
45
|
:'retain_repo_versions' => :'retain_repo_versions',
|
45
|
-
:'
|
46
|
+
:'pulp_href' => :'pulp_href',
|
46
47
|
:'versions_href' => :'versions_href',
|
47
|
-
:'pulp_labels' => :'pulp_labels',
|
48
|
-
:'latest_version_href' => :'latest_version_href',
|
49
48
|
:'description' => :'description',
|
50
|
-
:'name' => :'name',
|
51
49
|
:'manifest_signing_service' => :'manifest_signing_service',
|
52
|
-
:'
|
50
|
+
:'name' => :'name',
|
51
|
+
:'pulp_created' => :'pulp_created',
|
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
|
+
:'latest_version_href' => :'String',
|
59
60
|
:'retain_repo_versions' => :'Integer',
|
60
|
-
:'
|
61
|
+
:'pulp_href' => :'String',
|
61
62
|
:'versions_href' => :'String',
|
62
|
-
:'pulp_labels' => :'Object',
|
63
|
-
:'latest_version_href' => :'String',
|
64
63
|
:'description' => :'String',
|
65
|
-
:'name' => :'String',
|
66
64
|
:'manifest_signing_service' => :'String',
|
67
|
-
:'
|
65
|
+
:'name' => :'String',
|
66
|
+
:'pulp_created' => :'DateTime',
|
67
|
+
:'pulp_labels' => :'Object'
|
68
68
|
}
|
69
69
|
end
|
70
70
|
|
@@ -92,40 +92,40 @@ module PulpContainerClient
|
|
92
92
|
h[k.to_sym] = v
|
93
93
|
}
|
94
94
|
|
95
|
+
if attributes.key?(:'latest_version_href')
|
96
|
+
self.latest_version_href = attributes[:'latest_version_href']
|
97
|
+
end
|
98
|
+
|
95
99
|
if attributes.key?(:'retain_repo_versions')
|
96
100
|
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
97
101
|
end
|
98
102
|
|
99
|
-
if attributes.key?(:'
|
100
|
-
self.
|
103
|
+
if attributes.key?(:'pulp_href')
|
104
|
+
self.pulp_href = attributes[:'pulp_href']
|
101
105
|
end
|
102
106
|
|
103
107
|
if attributes.key?(:'versions_href')
|
104
108
|
self.versions_href = attributes[:'versions_href']
|
105
109
|
end
|
106
110
|
|
107
|
-
if attributes.key?(:'pulp_labels')
|
108
|
-
self.pulp_labels = attributes[:'pulp_labels']
|
109
|
-
end
|
110
|
-
|
111
|
-
if attributes.key?(:'latest_version_href')
|
112
|
-
self.latest_version_href = attributes[:'latest_version_href']
|
113
|
-
end
|
114
|
-
|
115
111
|
if attributes.key?(:'description')
|
116
112
|
self.description = attributes[:'description']
|
117
113
|
end
|
118
114
|
|
115
|
+
if attributes.key?(:'manifest_signing_service')
|
116
|
+
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
117
|
+
end
|
118
|
+
|
119
119
|
if attributes.key?(:'name')
|
120
120
|
self.name = attributes[:'name']
|
121
121
|
end
|
122
122
|
|
123
|
-
if attributes.key?(:'
|
124
|
-
self.
|
123
|
+
if attributes.key?(:'pulp_created')
|
124
|
+
self.pulp_created = attributes[:'pulp_created']
|
125
125
|
end
|
126
126
|
|
127
|
-
if attributes.key?(:'
|
128
|
-
self.
|
127
|
+
if attributes.key?(:'pulp_labels')
|
128
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
129
129
|
end
|
130
130
|
end
|
131
131
|
|
@@ -167,15 +167,15 @@ module PulpContainerClient
|
|
167
167
|
def ==(o)
|
168
168
|
return true if self.equal?(o)
|
169
169
|
self.class == o.class &&
|
170
|
+
latest_version_href == o.latest_version_href &&
|
170
171
|
retain_repo_versions == o.retain_repo_versions &&
|
171
|
-
|
172
|
+
pulp_href == o.pulp_href &&
|
172
173
|
versions_href == o.versions_href &&
|
173
|
-
pulp_labels == o.pulp_labels &&
|
174
|
-
latest_version_href == o.latest_version_href &&
|
175
174
|
description == o.description &&
|
176
|
-
name == o.name &&
|
177
175
|
manifest_signing_service == o.manifest_signing_service &&
|
178
|
-
|
176
|
+
name == o.name &&
|
177
|
+
pulp_created == o.pulp_created &&
|
178
|
+
pulp_labels == o.pulp_labels
|
179
179
|
end
|
180
180
|
|
181
181
|
# @see the `==` method
|
@@ -187,7 +187,7 @@ module PulpContainerClient
|
|
187
187
|
# Calculates hash code according to all attributes.
|
188
188
|
# @return [Integer] Hash code
|
189
189
|
def hash
|
190
|
-
[retain_repo_versions,
|
190
|
+
[latest_version_href, retain_repo_versions, pulp_href, versions_href, description, manifest_signing_service, name, pulp_created, pulp_labels].hash
|
191
191
|
end
|
192
192
|
|
193
193
|
# Builds the object from hash
|
@@ -15,19 +15,19 @@ require 'date'
|
|
15
15
|
module PulpContainerClient
|
16
16
|
# A serializer for ContainerDistribution.
|
17
17
|
class PatchedcontainerContainerDistribution
|
18
|
-
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
19
|
-
attr_accessor :base_path
|
20
|
-
|
21
|
-
attr_accessor :pulp_labels
|
22
|
-
|
23
18
|
# The latest RepositoryVersion for this Repository will be served.
|
24
19
|
attr_accessor :repository
|
25
20
|
|
21
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
22
|
+
attr_accessor :content_guard
|
23
|
+
|
26
24
|
# A unique name. Ex, `rawhide` and `stable`.
|
27
25
|
attr_accessor :name
|
28
26
|
|
29
|
-
#
|
30
|
-
attr_accessor :
|
27
|
+
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
28
|
+
attr_accessor :base_path
|
29
|
+
|
30
|
+
attr_accessor :pulp_labels
|
31
31
|
|
32
32
|
# RepositoryVersion to be served
|
33
33
|
attr_accessor :repository_version
|
@@ -41,11 +41,11 @@ module PulpContainerClient
|
|
41
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
42
42
|
def self.attribute_map
|
43
43
|
{
|
44
|
-
:'base_path' => :'base_path',
|
45
|
-
:'pulp_labels' => :'pulp_labels',
|
46
44
|
:'repository' => :'repository',
|
47
|
-
:'name' => :'name',
|
48
45
|
:'content_guard' => :'content_guard',
|
46
|
+
:'name' => :'name',
|
47
|
+
:'base_path' => :'base_path',
|
48
|
+
:'pulp_labels' => :'pulp_labels',
|
49
49
|
:'repository_version' => :'repository_version',
|
50
50
|
:'private' => :'private',
|
51
51
|
:'description' => :'description'
|
@@ -55,11 +55,11 @@ module PulpContainerClient
|
|
55
55
|
# Attribute type mapping.
|
56
56
|
def self.openapi_types
|
57
57
|
{
|
58
|
-
:'base_path' => :'String',
|
59
|
-
:'pulp_labels' => :'Object',
|
60
58
|
:'repository' => :'String',
|
61
|
-
:'name' => :'String',
|
62
59
|
:'content_guard' => :'String',
|
60
|
+
:'name' => :'String',
|
61
|
+
:'base_path' => :'String',
|
62
|
+
:'pulp_labels' => :'Object',
|
63
63
|
:'repository_version' => :'String',
|
64
64
|
:'private' => :'Boolean',
|
65
65
|
:'description' => :'String'
|
@@ -90,24 +90,24 @@ module PulpContainerClient
|
|
90
90
|
h[k.to_sym] = v
|
91
91
|
}
|
92
92
|
|
93
|
-
if attributes.key?(:'base_path')
|
94
|
-
self.base_path = attributes[:'base_path']
|
95
|
-
end
|
96
|
-
|
97
|
-
if attributes.key?(:'pulp_labels')
|
98
|
-
self.pulp_labels = attributes[:'pulp_labels']
|
99
|
-
end
|
100
|
-
|
101
93
|
if attributes.key?(:'repository')
|
102
94
|
self.repository = attributes[:'repository']
|
103
95
|
end
|
104
96
|
|
97
|
+
if attributes.key?(:'content_guard')
|
98
|
+
self.content_guard = attributes[:'content_guard']
|
99
|
+
end
|
100
|
+
|
105
101
|
if attributes.key?(:'name')
|
106
102
|
self.name = attributes[:'name']
|
107
103
|
end
|
108
104
|
|
109
|
-
if attributes.key?(:'
|
110
|
-
self.
|
105
|
+
if attributes.key?(:'base_path')
|
106
|
+
self.base_path = attributes[:'base_path']
|
107
|
+
end
|
108
|
+
|
109
|
+
if attributes.key?(:'pulp_labels')
|
110
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
111
111
|
end
|
112
112
|
|
113
113
|
if attributes.key?(:'repository_version')
|
@@ -127,14 +127,14 @@ module PulpContainerClient
|
|
127
127
|
# @return Array for valid properties with the reasons
|
128
128
|
def list_invalid_properties
|
129
129
|
invalid_properties = Array.new
|
130
|
-
if !@base_path.nil? && @base_path.to_s.length < 1
|
131
|
-
invalid_properties.push('invalid value for "base_path", the character length must be great than or equal to 1.')
|
132
|
-
end
|
133
|
-
|
134
130
|
if !@name.nil? && @name.to_s.length < 1
|
135
131
|
invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
|
136
132
|
end
|
137
133
|
|
134
|
+
if !@base_path.nil? && @base_path.to_s.length < 1
|
135
|
+
invalid_properties.push('invalid value for "base_path", the character length must be great than or equal to 1.')
|
136
|
+
end
|
137
|
+
|
138
138
|
if !@description.nil? && @description.to_s.length < 1
|
139
139
|
invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
|
140
140
|
end
|
@@ -145,22 +145,12 @@ module PulpContainerClient
|
|
145
145
|
# Check to see if the all the properties in the model are valid
|
146
146
|
# @return true if the model is valid
|
147
147
|
def valid?
|
148
|
-
return false if !@base_path.nil? && @base_path.to_s.length < 1
|
149
148
|
return false if !@name.nil? && @name.to_s.length < 1
|
149
|
+
return false if !@base_path.nil? && @base_path.to_s.length < 1
|
150
150
|
return false if !@description.nil? && @description.to_s.length < 1
|
151
151
|
true
|
152
152
|
end
|
153
153
|
|
154
|
-
# Custom attribute writer method with validation
|
155
|
-
# @param [Object] base_path Value to be assigned
|
156
|
-
def base_path=(base_path)
|
157
|
-
if !base_path.nil? && base_path.to_s.length < 1
|
158
|
-
fail ArgumentError, 'invalid value for "base_path", the character length must be great than or equal to 1.'
|
159
|
-
end
|
160
|
-
|
161
|
-
@base_path = base_path
|
162
|
-
end
|
163
|
-
|
164
154
|
# Custom attribute writer method with validation
|
165
155
|
# @param [Object] name Value to be assigned
|
166
156
|
def name=(name)
|
@@ -171,6 +161,16 @@ module PulpContainerClient
|
|
171
161
|
@name = name
|
172
162
|
end
|
173
163
|
|
164
|
+
# Custom attribute writer method with validation
|
165
|
+
# @param [Object] base_path Value to be assigned
|
166
|
+
def base_path=(base_path)
|
167
|
+
if !base_path.nil? && base_path.to_s.length < 1
|
168
|
+
fail ArgumentError, 'invalid value for "base_path", the character length must be great than or equal to 1.'
|
169
|
+
end
|
170
|
+
|
171
|
+
@base_path = base_path
|
172
|
+
end
|
173
|
+
|
174
174
|
# Custom attribute writer method with validation
|
175
175
|
# @param [Object] description Value to be assigned
|
176
176
|
def description=(description)
|
@@ -186,11 +186,11 @@ module PulpContainerClient
|
|
186
186
|
def ==(o)
|
187
187
|
return true if self.equal?(o)
|
188
188
|
self.class == o.class &&
|
189
|
-
base_path == o.base_path &&
|
190
|
-
pulp_labels == o.pulp_labels &&
|
191
189
|
repository == o.repository &&
|
192
|
-
name == o.name &&
|
193
190
|
content_guard == o.content_guard &&
|
191
|
+
name == o.name &&
|
192
|
+
base_path == o.base_path &&
|
193
|
+
pulp_labels == o.pulp_labels &&
|
194
194
|
repository_version == o.repository_version &&
|
195
195
|
private == o.private &&
|
196
196
|
description == o.description
|
@@ -205,7 +205,7 @@ module PulpContainerClient
|
|
205
205
|
# Calculates hash code according to all attributes.
|
206
206
|
# @return [Integer] Hash code
|
207
207
|
def hash
|
208
|
-
[
|
208
|
+
[repository, content_guard, name, base_path, pulp_labels, repository_version, private, description].hash
|
209
209
|
end
|
210
210
|
|
211
211
|
# Builds the object from hash
|
@@ -18,25 +18,25 @@ module PulpContainerClient
|
|
18
18
|
# Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future.
|
19
19
|
attr_accessor :retain_repo_versions
|
20
20
|
|
21
|
-
attr_accessor :pulp_labels
|
22
|
-
|
23
21
|
# An optional description.
|
24
22
|
attr_accessor :description
|
25
23
|
|
24
|
+
# A reference to an associated signing service.
|
25
|
+
attr_accessor :manifest_signing_service
|
26
|
+
|
26
27
|
# A unique name for this repository.
|
27
28
|
attr_accessor :name
|
28
29
|
|
29
|
-
|
30
|
-
attr_accessor :manifest_signing_service
|
30
|
+
attr_accessor :pulp_labels
|
31
31
|
|
32
32
|
# Attribute mapping from ruby-style variable name to JSON key.
|
33
33
|
def self.attribute_map
|
34
34
|
{
|
35
35
|
:'retain_repo_versions' => :'retain_repo_versions',
|
36
|
-
:'pulp_labels' => :'pulp_labels',
|
37
36
|
:'description' => :'description',
|
37
|
+
:'manifest_signing_service' => :'manifest_signing_service',
|
38
38
|
:'name' => :'name',
|
39
|
-
:'
|
39
|
+
:'pulp_labels' => :'pulp_labels'
|
40
40
|
}
|
41
41
|
end
|
42
42
|
|
@@ -44,10 +44,10 @@ module PulpContainerClient
|
|
44
44
|
def self.openapi_types
|
45
45
|
{
|
46
46
|
:'retain_repo_versions' => :'Integer',
|
47
|
-
:'pulp_labels' => :'Object',
|
48
47
|
:'description' => :'String',
|
48
|
+
:'manifest_signing_service' => :'String',
|
49
49
|
:'name' => :'String',
|
50
|
-
:'
|
50
|
+
:'pulp_labels' => :'Object'
|
51
51
|
}
|
52
52
|
end
|
53
53
|
|
@@ -56,7 +56,7 @@ module PulpContainerClient
|
|
56
56
|
Set.new([
|
57
57
|
:'retain_repo_versions',
|
58
58
|
:'description',
|
59
|
-
:'manifest_signing_service'
|
59
|
+
:'manifest_signing_service',
|
60
60
|
])
|
61
61
|
end
|
62
62
|
|
@@ -79,20 +79,20 @@ module PulpContainerClient
|
|
79
79
|
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
80
80
|
end
|
81
81
|
|
82
|
-
if attributes.key?(:'pulp_labels')
|
83
|
-
self.pulp_labels = attributes[:'pulp_labels']
|
84
|
-
end
|
85
|
-
|
86
82
|
if attributes.key?(:'description')
|
87
83
|
self.description = attributes[:'description']
|
88
84
|
end
|
89
85
|
|
86
|
+
if attributes.key?(:'manifest_signing_service')
|
87
|
+
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
88
|
+
end
|
89
|
+
|
90
90
|
if attributes.key?(:'name')
|
91
91
|
self.name = attributes[:'name']
|
92
92
|
end
|
93
93
|
|
94
|
-
if attributes.key?(:'
|
95
|
-
self.
|
94
|
+
if attributes.key?(:'pulp_labels')
|
95
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
96
96
|
end
|
97
97
|
end
|
98
98
|
|
@@ -160,10 +160,10 @@ module PulpContainerClient
|
|
160
160
|
return true if self.equal?(o)
|
161
161
|
self.class == o.class &&
|
162
162
|
retain_repo_versions == o.retain_repo_versions &&
|
163
|
-
pulp_labels == o.pulp_labels &&
|
164
163
|
description == o.description &&
|
164
|
+
manifest_signing_service == o.manifest_signing_service &&
|
165
165
|
name == o.name &&
|
166
|
-
|
166
|
+
pulp_labels == o.pulp_labels
|
167
167
|
end
|
168
168
|
|
169
169
|
# @see the `==` method
|
@@ -175,7 +175,7 @@ module PulpContainerClient
|
|
175
175
|
# Calculates hash code according to all attributes.
|
176
176
|
# @return [Integer] Hash code
|
177
177
|
def hash
|
178
|
-
[retain_repo_versions,
|
178
|
+
[retain_repo_versions, description, manifest_signing_service, name, pulp_labels].hash
|
179
179
|
end
|
180
180
|
|
181
181
|
# Builds the object from hash
|
@@ -32,43 +32,43 @@ 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_href"' 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 "repository"' 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 "content_guard"' 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 "name"' 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 "base_path"' do
|
60
60
|
it 'should work' do
|
61
61
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
62
|
end
|
63
63
|
end
|
64
64
|
|
65
|
-
describe 'test attribute "
|
65
|
+
describe 'test attribute "pulp_created"' do
|
66
66
|
it 'should work' do
|
67
67
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
68
|
end
|
69
69
|
end
|
70
70
|
|
71
|
-
describe 'test attribute "
|
71
|
+
describe 'test attribute "pulp_labels"' 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
|
@@ -32,31 +32,31 @@ 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 "repository"' do
|
36
36
|
it 'should work' do
|
37
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
-
describe 'test attribute "
|
41
|
+
describe 'test attribute "content_guard"' do
|
42
42
|
it 'should work' do
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
-
describe 'test attribute "
|
47
|
+
describe 'test attribute "name"' 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 "base_path"' 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_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
|