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