pulp_container_client 2.29.3 → 2.30.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/ContainerContainerDistribution.md +6 -6
- data/docs/ContainerContainerDistributionResponse.md +14 -14
- data/docs/ContainerContainerPullThroughDistribution.md +6 -6
- data/docs/ContainerContainerPullThroughDistributionResponse.md +14 -14
- data/docs/ContainerContainerPushRepository.md +4 -4
- data/docs/ContainerContainerPushRepositoryResponse.md +15 -15
- data/docs/PatchedcontainerContainerDistribution.md +6 -6
- data/docs/PatchedcontainerContainerPullThroughDistribution.md +6 -6
- data/docs/PatchedcontainerContainerPushRepository.md +4 -4
- data/lib/pulp_container_client/models/container_container_distribution.rb +32 -32
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +62 -62
- data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +32 -32
- data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +62 -62
- data/lib/pulp_container_client/models/container_container_push_repository.rb +38 -38
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +65 -65
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +30 -30
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +30 -30
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +38 -38
- data/lib/pulp_container_client/version.rb +1 -1
- data/spec/models/container_container_distribution_response_spec.rb +12 -12
- data/spec/models/container_container_distribution_spec.rb +5 -5
- data/spec/models/container_container_pull_through_distribution_response_spec.rb +12 -12
- data/spec/models/container_container_pull_through_distribution_spec.rb +5 -5
- data/spec/models/container_container_push_repository_response_spec.rb +11 -11
- data/spec/models/container_container_push_repository_spec.rb +5 -5
- data/spec/models/patchedcontainer_container_distribution_spec.rb +5 -5
- data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +5 -5
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +5 -5
- metadata +2 -2
|
@@ -16,31 +16,31 @@ require 'time'
|
|
|
16
16
|
module PulpContainerClient
|
|
17
17
|
# Serializer for Container Push Repositories.
|
|
18
18
|
class ContainerContainerPushRepository
|
|
19
|
-
# Retain X versions of the repository. Default is null which retains all versions.
|
|
20
|
-
attr_accessor :retain_repo_versions
|
|
21
|
-
|
|
22
19
|
# An optional description.
|
|
23
20
|
attr_accessor :description
|
|
24
21
|
|
|
22
|
+
attr_accessor :pulp_labels
|
|
23
|
+
|
|
24
|
+
# Retain X versions of the repository. Default is null which retains all versions.
|
|
25
|
+
attr_accessor :retain_repo_versions
|
|
26
|
+
|
|
25
27
|
# Retain X checkpoint publications for the repository. Default is null which retains all checkpoints.
|
|
26
28
|
attr_accessor :retain_checkpoints
|
|
27
29
|
|
|
28
30
|
# A reference to an associated signing service.
|
|
29
31
|
attr_accessor :manifest_signing_service
|
|
30
32
|
|
|
31
|
-
attr_accessor :pulp_labels
|
|
32
|
-
|
|
33
33
|
# A unique name for this repository.
|
|
34
34
|
attr_accessor :name
|
|
35
35
|
|
|
36
36
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
37
37
|
def self.attribute_map
|
|
38
38
|
{
|
|
39
|
-
:'retain_repo_versions' => :'retain_repo_versions',
|
|
40
39
|
:'description' => :'description',
|
|
40
|
+
:'pulp_labels' => :'pulp_labels',
|
|
41
|
+
:'retain_repo_versions' => :'retain_repo_versions',
|
|
41
42
|
:'retain_checkpoints' => :'retain_checkpoints',
|
|
42
43
|
:'manifest_signing_service' => :'manifest_signing_service',
|
|
43
|
-
:'pulp_labels' => :'pulp_labels',
|
|
44
44
|
:'name' => :'name'
|
|
45
45
|
}
|
|
46
46
|
end
|
|
@@ -53,11 +53,11 @@ module PulpContainerClient
|
|
|
53
53
|
# Attribute type mapping.
|
|
54
54
|
def self.openapi_types
|
|
55
55
|
{
|
|
56
|
-
:'retain_repo_versions' => :'Integer',
|
|
57
56
|
:'description' => :'String',
|
|
57
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
58
|
+
:'retain_repo_versions' => :'Integer',
|
|
58
59
|
:'retain_checkpoints' => :'Integer',
|
|
59
60
|
:'manifest_signing_service' => :'String',
|
|
60
|
-
:'pulp_labels' => :'Hash<String, String>',
|
|
61
61
|
:'name' => :'String'
|
|
62
62
|
}
|
|
63
63
|
end
|
|
@@ -65,8 +65,8 @@ module PulpContainerClient
|
|
|
65
65
|
# List of attributes with nullable: true
|
|
66
66
|
def self.openapi_nullable
|
|
67
67
|
Set.new([
|
|
68
|
-
:'retain_repo_versions',
|
|
69
68
|
:'description',
|
|
69
|
+
:'retain_repo_versions',
|
|
70
70
|
:'retain_checkpoints',
|
|
71
71
|
:'manifest_signing_service',
|
|
72
72
|
])
|
|
@@ -87,14 +87,20 @@ module PulpContainerClient
|
|
|
87
87
|
h[k.to_sym] = v
|
|
88
88
|
}
|
|
89
89
|
|
|
90
|
-
if attributes.key?(:'retain_repo_versions')
|
|
91
|
-
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
|
92
|
-
end
|
|
93
|
-
|
|
94
90
|
if attributes.key?(:'description')
|
|
95
91
|
self.description = attributes[:'description']
|
|
96
92
|
end
|
|
97
93
|
|
|
94
|
+
if attributes.key?(:'pulp_labels')
|
|
95
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
96
|
+
self.pulp_labels = value
|
|
97
|
+
end
|
|
98
|
+
end
|
|
99
|
+
|
|
100
|
+
if attributes.key?(:'retain_repo_versions')
|
|
101
|
+
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
|
102
|
+
end
|
|
103
|
+
|
|
98
104
|
if attributes.key?(:'retain_checkpoints')
|
|
99
105
|
self.retain_checkpoints = attributes[:'retain_checkpoints']
|
|
100
106
|
end
|
|
@@ -103,12 +109,6 @@ module PulpContainerClient
|
|
|
103
109
|
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
|
104
110
|
end
|
|
105
111
|
|
|
106
|
-
if attributes.key?(:'pulp_labels')
|
|
107
|
-
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
108
|
-
self.pulp_labels = value
|
|
109
|
-
end
|
|
110
|
-
end
|
|
111
|
-
|
|
112
112
|
if attributes.key?(:'name')
|
|
113
113
|
self.name = attributes[:'name']
|
|
114
114
|
else
|
|
@@ -121,14 +121,14 @@ module PulpContainerClient
|
|
|
121
121
|
def list_invalid_properties
|
|
122
122
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
123
123
|
invalid_properties = Array.new
|
|
124
|
-
if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
|
125
|
-
invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
|
|
126
|
-
end
|
|
127
|
-
|
|
128
124
|
if !@description.nil? && @description.to_s.length < 1
|
|
129
125
|
invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
|
|
130
126
|
end
|
|
131
127
|
|
|
128
|
+
if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
|
129
|
+
invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
|
|
130
|
+
end
|
|
131
|
+
|
|
132
132
|
if !@retain_checkpoints.nil? && @retain_checkpoints < 1
|
|
133
133
|
invalid_properties.push('invalid value for "retain_checkpoints", must be greater than or equal to 1.')
|
|
134
134
|
end
|
|
@@ -148,24 +148,14 @@ module PulpContainerClient
|
|
|
148
148
|
# @return true if the model is valid
|
|
149
149
|
def valid?
|
|
150
150
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
151
|
-
return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
|
152
151
|
return false if !@description.nil? && @description.to_s.length < 1
|
|
152
|
+
return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
|
153
153
|
return false if !@retain_checkpoints.nil? && @retain_checkpoints < 1
|
|
154
154
|
return false if @name.nil?
|
|
155
155
|
return false if @name.to_s.length < 1
|
|
156
156
|
true
|
|
157
157
|
end
|
|
158
158
|
|
|
159
|
-
# Custom attribute writer method with validation
|
|
160
|
-
# @param [Object] retain_repo_versions Value to be assigned
|
|
161
|
-
def retain_repo_versions=(retain_repo_versions)
|
|
162
|
-
if !retain_repo_versions.nil? && retain_repo_versions < 1
|
|
163
|
-
fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
|
|
164
|
-
end
|
|
165
|
-
|
|
166
|
-
@retain_repo_versions = retain_repo_versions
|
|
167
|
-
end
|
|
168
|
-
|
|
169
159
|
# Custom attribute writer method with validation
|
|
170
160
|
# @param [Object] description Value to be assigned
|
|
171
161
|
def description=(description)
|
|
@@ -176,6 +166,16 @@ module PulpContainerClient
|
|
|
176
166
|
@description = description
|
|
177
167
|
end
|
|
178
168
|
|
|
169
|
+
# Custom attribute writer method with validation
|
|
170
|
+
# @param [Object] retain_repo_versions Value to be assigned
|
|
171
|
+
def retain_repo_versions=(retain_repo_versions)
|
|
172
|
+
if !retain_repo_versions.nil? && retain_repo_versions < 1
|
|
173
|
+
fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
|
|
174
|
+
end
|
|
175
|
+
|
|
176
|
+
@retain_repo_versions = retain_repo_versions
|
|
177
|
+
end
|
|
178
|
+
|
|
179
179
|
# Custom attribute writer method with validation
|
|
180
180
|
# @param [Object] retain_checkpoints Value to be assigned
|
|
181
181
|
def retain_checkpoints=(retain_checkpoints)
|
|
@@ -205,11 +205,11 @@ module PulpContainerClient
|
|
|
205
205
|
def ==(o)
|
|
206
206
|
return true if self.equal?(o)
|
|
207
207
|
self.class == o.class &&
|
|
208
|
-
retain_repo_versions == o.retain_repo_versions &&
|
|
209
208
|
description == o.description &&
|
|
209
|
+
pulp_labels == o.pulp_labels &&
|
|
210
|
+
retain_repo_versions == o.retain_repo_versions &&
|
|
210
211
|
retain_checkpoints == o.retain_checkpoints &&
|
|
211
212
|
manifest_signing_service == o.manifest_signing_service &&
|
|
212
|
-
pulp_labels == o.pulp_labels &&
|
|
213
213
|
name == o.name
|
|
214
214
|
end
|
|
215
215
|
|
|
@@ -222,7 +222,7 @@ module PulpContainerClient
|
|
|
222
222
|
# Calculates hash code according to all attributes.
|
|
223
223
|
# @return [Integer] Hash code
|
|
224
224
|
def hash
|
|
225
|
-
[
|
|
225
|
+
[description, pulp_labels, retain_repo_versions, retain_checkpoints, manifest_signing_service, name].hash
|
|
226
226
|
end
|
|
227
227
|
|
|
228
228
|
# Builds the object from hash
|
|
@@ -16,53 +16,53 @@ require 'time'
|
|
|
16
16
|
module PulpContainerClient
|
|
17
17
|
# Serializer for Container Push Repositories.
|
|
18
18
|
class ContainerContainerPushRepositoryResponse
|
|
19
|
-
# Retain X versions of the repository. Default is null which retains all versions.
|
|
20
|
-
attr_accessor :retain_repo_versions
|
|
21
|
-
|
|
22
|
-
# Timestamp of creation.
|
|
23
|
-
attr_accessor :pulp_created
|
|
24
|
-
|
|
25
19
|
# Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
|
|
26
20
|
attr_accessor :pulp_last_updated
|
|
27
21
|
|
|
22
|
+
attr_accessor :latest_version_href
|
|
23
|
+
|
|
28
24
|
# An optional description.
|
|
29
25
|
attr_accessor :description
|
|
30
26
|
|
|
31
|
-
# Retain X checkpoint publications for the repository. Default is null which retains all checkpoints.
|
|
32
|
-
attr_accessor :retain_checkpoints
|
|
33
|
-
|
|
34
27
|
attr_accessor :pulp_href
|
|
35
28
|
|
|
36
|
-
attr_accessor :
|
|
29
|
+
attr_accessor :pulp_labels
|
|
30
|
+
|
|
31
|
+
# Retain X versions of the repository. Default is null which retains all versions.
|
|
32
|
+
attr_accessor :retain_repo_versions
|
|
33
|
+
|
|
34
|
+
# Retain X checkpoint publications for the repository. Default is null which retains all checkpoints.
|
|
35
|
+
attr_accessor :retain_checkpoints
|
|
37
36
|
|
|
38
37
|
# A reference to an associated signing service.
|
|
39
38
|
attr_accessor :manifest_signing_service
|
|
40
39
|
|
|
41
|
-
attr_accessor :
|
|
42
|
-
|
|
43
|
-
# The Pulp Resource Name (PRN).
|
|
44
|
-
attr_accessor :prn
|
|
40
|
+
attr_accessor :versions_href
|
|
45
41
|
|
|
46
|
-
|
|
42
|
+
# Timestamp of creation.
|
|
43
|
+
attr_accessor :pulp_created
|
|
47
44
|
|
|
48
45
|
# A unique name for this repository.
|
|
49
46
|
attr_accessor :name
|
|
50
47
|
|
|
48
|
+
# The Pulp Resource Name (PRN).
|
|
49
|
+
attr_accessor :prn
|
|
50
|
+
|
|
51
51
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
52
52
|
def self.attribute_map
|
|
53
53
|
{
|
|
54
|
-
:'retain_repo_versions' => :'retain_repo_versions',
|
|
55
|
-
:'pulp_created' => :'pulp_created',
|
|
56
54
|
:'pulp_last_updated' => :'pulp_last_updated',
|
|
55
|
+
:'latest_version_href' => :'latest_version_href',
|
|
57
56
|
:'description' => :'description',
|
|
58
|
-
:'retain_checkpoints' => :'retain_checkpoints',
|
|
59
57
|
:'pulp_href' => :'pulp_href',
|
|
60
|
-
:'versions_href' => :'versions_href',
|
|
61
|
-
:'manifest_signing_service' => :'manifest_signing_service',
|
|
62
58
|
:'pulp_labels' => :'pulp_labels',
|
|
63
|
-
:'
|
|
64
|
-
:'
|
|
65
|
-
:'
|
|
59
|
+
:'retain_repo_versions' => :'retain_repo_versions',
|
|
60
|
+
:'retain_checkpoints' => :'retain_checkpoints',
|
|
61
|
+
:'manifest_signing_service' => :'manifest_signing_service',
|
|
62
|
+
:'versions_href' => :'versions_href',
|
|
63
|
+
:'pulp_created' => :'pulp_created',
|
|
64
|
+
:'name' => :'name',
|
|
65
|
+
:'prn' => :'prn'
|
|
66
66
|
}
|
|
67
67
|
end
|
|
68
68
|
|
|
@@ -74,26 +74,26 @@ module PulpContainerClient
|
|
|
74
74
|
# Attribute type mapping.
|
|
75
75
|
def self.openapi_types
|
|
76
76
|
{
|
|
77
|
-
:'retain_repo_versions' => :'Integer',
|
|
78
|
-
:'pulp_created' => :'Time',
|
|
79
77
|
:'pulp_last_updated' => :'Time',
|
|
78
|
+
:'latest_version_href' => :'String',
|
|
80
79
|
:'description' => :'String',
|
|
81
|
-
:'retain_checkpoints' => :'Integer',
|
|
82
80
|
:'pulp_href' => :'String',
|
|
83
|
-
:'versions_href' => :'String',
|
|
84
|
-
:'manifest_signing_service' => :'String',
|
|
85
81
|
:'pulp_labels' => :'Hash<String, String>',
|
|
86
|
-
:'
|
|
87
|
-
:'
|
|
88
|
-
:'
|
|
82
|
+
:'retain_repo_versions' => :'Integer',
|
|
83
|
+
:'retain_checkpoints' => :'Integer',
|
|
84
|
+
:'manifest_signing_service' => :'String',
|
|
85
|
+
:'versions_href' => :'String',
|
|
86
|
+
:'pulp_created' => :'Time',
|
|
87
|
+
:'name' => :'String',
|
|
88
|
+
:'prn' => :'String'
|
|
89
89
|
}
|
|
90
90
|
end
|
|
91
91
|
|
|
92
92
|
# List of attributes with nullable: true
|
|
93
93
|
def self.openapi_nullable
|
|
94
94
|
Set.new([
|
|
95
|
-
:'retain_repo_versions',
|
|
96
95
|
:'description',
|
|
96
|
+
:'retain_repo_versions',
|
|
97
97
|
:'retain_checkpoints',
|
|
98
98
|
:'manifest_signing_service',
|
|
99
99
|
])
|
|
@@ -114,50 +114,46 @@ module PulpContainerClient
|
|
|
114
114
|
h[k.to_sym] = v
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
if attributes.key?(:'retain_repo_versions')
|
|
118
|
-
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
|
119
|
-
end
|
|
120
|
-
|
|
121
|
-
if attributes.key?(:'pulp_created')
|
|
122
|
-
self.pulp_created = attributes[:'pulp_created']
|
|
123
|
-
end
|
|
124
|
-
|
|
125
117
|
if attributes.key?(:'pulp_last_updated')
|
|
126
118
|
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
127
119
|
end
|
|
128
120
|
|
|
129
|
-
if attributes.key?(:'
|
|
130
|
-
self.
|
|
121
|
+
if attributes.key?(:'latest_version_href')
|
|
122
|
+
self.latest_version_href = attributes[:'latest_version_href']
|
|
131
123
|
end
|
|
132
124
|
|
|
133
|
-
if attributes.key?(:'
|
|
134
|
-
self.
|
|
125
|
+
if attributes.key?(:'description')
|
|
126
|
+
self.description = attributes[:'description']
|
|
135
127
|
end
|
|
136
128
|
|
|
137
129
|
if attributes.key?(:'pulp_href')
|
|
138
130
|
self.pulp_href = attributes[:'pulp_href']
|
|
139
131
|
end
|
|
140
132
|
|
|
141
|
-
if attributes.key?(:'versions_href')
|
|
142
|
-
self.versions_href = attributes[:'versions_href']
|
|
143
|
-
end
|
|
144
|
-
|
|
145
|
-
if attributes.key?(:'manifest_signing_service')
|
|
146
|
-
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
|
147
|
-
end
|
|
148
|
-
|
|
149
133
|
if attributes.key?(:'pulp_labels')
|
|
150
134
|
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
151
135
|
self.pulp_labels = value
|
|
152
136
|
end
|
|
153
137
|
end
|
|
154
138
|
|
|
155
|
-
if attributes.key?(:'
|
|
156
|
-
self.
|
|
139
|
+
if attributes.key?(:'retain_repo_versions')
|
|
140
|
+
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
|
157
141
|
end
|
|
158
142
|
|
|
159
|
-
if attributes.key?(:'
|
|
160
|
-
self.
|
|
143
|
+
if attributes.key?(:'retain_checkpoints')
|
|
144
|
+
self.retain_checkpoints = attributes[:'retain_checkpoints']
|
|
145
|
+
end
|
|
146
|
+
|
|
147
|
+
if attributes.key?(:'manifest_signing_service')
|
|
148
|
+
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
|
149
|
+
end
|
|
150
|
+
|
|
151
|
+
if attributes.key?(:'versions_href')
|
|
152
|
+
self.versions_href = attributes[:'versions_href']
|
|
153
|
+
end
|
|
154
|
+
|
|
155
|
+
if attributes.key?(:'pulp_created')
|
|
156
|
+
self.pulp_created = attributes[:'pulp_created']
|
|
161
157
|
end
|
|
162
158
|
|
|
163
159
|
if attributes.key?(:'name')
|
|
@@ -165,6 +161,10 @@ module PulpContainerClient
|
|
|
165
161
|
else
|
|
166
162
|
self.name = nil
|
|
167
163
|
end
|
|
164
|
+
|
|
165
|
+
if attributes.key?(:'prn')
|
|
166
|
+
self.prn = attributes[:'prn']
|
|
167
|
+
end
|
|
168
168
|
end
|
|
169
169
|
|
|
170
170
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -222,18 +222,18 @@ module PulpContainerClient
|
|
|
222
222
|
def ==(o)
|
|
223
223
|
return true if self.equal?(o)
|
|
224
224
|
self.class == o.class &&
|
|
225
|
-
retain_repo_versions == o.retain_repo_versions &&
|
|
226
|
-
pulp_created == o.pulp_created &&
|
|
227
225
|
pulp_last_updated == o.pulp_last_updated &&
|
|
226
|
+
latest_version_href == o.latest_version_href &&
|
|
228
227
|
description == o.description &&
|
|
229
|
-
retain_checkpoints == o.retain_checkpoints &&
|
|
230
228
|
pulp_href == o.pulp_href &&
|
|
231
|
-
versions_href == o.versions_href &&
|
|
232
|
-
manifest_signing_service == o.manifest_signing_service &&
|
|
233
229
|
pulp_labels == o.pulp_labels &&
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
230
|
+
retain_repo_versions == o.retain_repo_versions &&
|
|
231
|
+
retain_checkpoints == o.retain_checkpoints &&
|
|
232
|
+
manifest_signing_service == o.manifest_signing_service &&
|
|
233
|
+
versions_href == o.versions_href &&
|
|
234
|
+
pulp_created == o.pulp_created &&
|
|
235
|
+
name == o.name &&
|
|
236
|
+
prn == o.prn
|
|
237
237
|
end
|
|
238
238
|
|
|
239
239
|
# @see the `==` method
|
|
@@ -245,7 +245,7 @@ module PulpContainerClient
|
|
|
245
245
|
# Calculates hash code according to all attributes.
|
|
246
246
|
# @return [Integer] Hash code
|
|
247
247
|
def hash
|
|
248
|
-
[
|
|
248
|
+
[pulp_last_updated, latest_version_href, description, pulp_href, pulp_labels, retain_repo_versions, retain_checkpoints, manifest_signing_service, versions_href, pulp_created, name, prn].hash
|
|
249
249
|
end
|
|
250
250
|
|
|
251
251
|
# Builds the object from hash
|
|
@@ -19,20 +19,20 @@ module PulpContainerClient
|
|
|
19
19
|
# An optional content-guard. If none is specified, a default one will be used.
|
|
20
20
|
attr_accessor :content_guard
|
|
21
21
|
|
|
22
|
-
#
|
|
23
|
-
attr_accessor :
|
|
24
|
-
|
|
25
|
-
attr_accessor :pulp_labels
|
|
22
|
+
# RepositoryVersion to be served
|
|
23
|
+
attr_accessor :repository_version
|
|
26
24
|
|
|
27
25
|
# The latest RepositoryVersion for this Repository will be served.
|
|
28
26
|
attr_accessor :repository
|
|
29
27
|
|
|
30
|
-
# RepositoryVersion to be served
|
|
31
|
-
attr_accessor :repository_version
|
|
32
|
-
|
|
33
28
|
# Whether this distribution should be shown in the content app.
|
|
34
29
|
attr_accessor :hidden
|
|
35
30
|
|
|
31
|
+
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
32
|
+
attr_accessor :base_path
|
|
33
|
+
|
|
34
|
+
attr_accessor :pulp_labels
|
|
35
|
+
|
|
36
36
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
37
37
|
attr_accessor :name
|
|
38
38
|
|
|
@@ -46,11 +46,11 @@ module PulpContainerClient
|
|
|
46
46
|
def self.attribute_map
|
|
47
47
|
{
|
|
48
48
|
:'content_guard' => :'content_guard',
|
|
49
|
-
:'base_path' => :'base_path',
|
|
50
|
-
:'pulp_labels' => :'pulp_labels',
|
|
51
|
-
:'repository' => :'repository',
|
|
52
49
|
:'repository_version' => :'repository_version',
|
|
50
|
+
:'repository' => :'repository',
|
|
53
51
|
:'hidden' => :'hidden',
|
|
52
|
+
:'base_path' => :'base_path',
|
|
53
|
+
:'pulp_labels' => :'pulp_labels',
|
|
54
54
|
:'name' => :'name',
|
|
55
55
|
:'private' => :'private',
|
|
56
56
|
:'description' => :'description'
|
|
@@ -66,11 +66,11 @@ module PulpContainerClient
|
|
|
66
66
|
def self.openapi_types
|
|
67
67
|
{
|
|
68
68
|
:'content_guard' => :'String',
|
|
69
|
-
:'base_path' => :'String',
|
|
70
|
-
:'pulp_labels' => :'Hash<String, String>',
|
|
71
|
-
:'repository' => :'String',
|
|
72
69
|
:'repository_version' => :'String',
|
|
70
|
+
:'repository' => :'String',
|
|
73
71
|
:'hidden' => :'Boolean',
|
|
72
|
+
:'base_path' => :'String',
|
|
73
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
74
74
|
:'name' => :'String',
|
|
75
75
|
:'private' => :'Boolean',
|
|
76
76
|
:'description' => :'String'
|
|
@@ -80,8 +80,8 @@ module PulpContainerClient
|
|
|
80
80
|
# List of attributes with nullable: true
|
|
81
81
|
def self.openapi_nullable
|
|
82
82
|
Set.new([
|
|
83
|
-
:'repository',
|
|
84
83
|
:'repository_version',
|
|
84
|
+
:'repository',
|
|
85
85
|
:'description'
|
|
86
86
|
])
|
|
87
87
|
end
|
|
@@ -105,30 +105,30 @@ module PulpContainerClient
|
|
|
105
105
|
self.content_guard = attributes[:'content_guard']
|
|
106
106
|
end
|
|
107
107
|
|
|
108
|
-
if attributes.key?(:'
|
|
109
|
-
self.
|
|
110
|
-
end
|
|
111
|
-
|
|
112
|
-
if attributes.key?(:'pulp_labels')
|
|
113
|
-
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
114
|
-
self.pulp_labels = value
|
|
115
|
-
end
|
|
108
|
+
if attributes.key?(:'repository_version')
|
|
109
|
+
self.repository_version = attributes[:'repository_version']
|
|
116
110
|
end
|
|
117
111
|
|
|
118
112
|
if attributes.key?(:'repository')
|
|
119
113
|
self.repository = attributes[:'repository']
|
|
120
114
|
end
|
|
121
115
|
|
|
122
|
-
if attributes.key?(:'repository_version')
|
|
123
|
-
self.repository_version = attributes[:'repository_version']
|
|
124
|
-
end
|
|
125
|
-
|
|
126
116
|
if attributes.key?(:'hidden')
|
|
127
117
|
self.hidden = attributes[:'hidden']
|
|
128
118
|
else
|
|
129
119
|
self.hidden = false
|
|
130
120
|
end
|
|
131
121
|
|
|
122
|
+
if attributes.key?(:'base_path')
|
|
123
|
+
self.base_path = attributes[:'base_path']
|
|
124
|
+
end
|
|
125
|
+
|
|
126
|
+
if attributes.key?(:'pulp_labels')
|
|
127
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
128
|
+
self.pulp_labels = value
|
|
129
|
+
end
|
|
130
|
+
end
|
|
131
|
+
|
|
132
132
|
if attributes.key?(:'name')
|
|
133
133
|
self.name = attributes[:'name']
|
|
134
134
|
end
|
|
@@ -216,11 +216,11 @@ module PulpContainerClient
|
|
|
216
216
|
return true if self.equal?(o)
|
|
217
217
|
self.class == o.class &&
|
|
218
218
|
content_guard == o.content_guard &&
|
|
219
|
-
base_path == o.base_path &&
|
|
220
|
-
pulp_labels == o.pulp_labels &&
|
|
221
|
-
repository == o.repository &&
|
|
222
219
|
repository_version == o.repository_version &&
|
|
220
|
+
repository == o.repository &&
|
|
223
221
|
hidden == o.hidden &&
|
|
222
|
+
base_path == o.base_path &&
|
|
223
|
+
pulp_labels == o.pulp_labels &&
|
|
224
224
|
name == o.name &&
|
|
225
225
|
private == o.private &&
|
|
226
226
|
description == o.description
|
|
@@ -235,7 +235,7 @@ module PulpContainerClient
|
|
|
235
235
|
# Calculates hash code according to all attributes.
|
|
236
236
|
# @return [Integer] Hash code
|
|
237
237
|
def hash
|
|
238
|
-
[content_guard,
|
|
238
|
+
[content_guard, repository_version, repository, hidden, base_path, pulp_labels, name, private, description].hash
|
|
239
239
|
end
|
|
240
240
|
|
|
241
241
|
# Builds the object from hash
|
data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb
CHANGED
|
@@ -19,20 +19,20 @@ module PulpContainerClient
|
|
|
19
19
|
# An optional content-guard. If none is specified, a default one will be used.
|
|
20
20
|
attr_accessor :content_guard
|
|
21
21
|
|
|
22
|
-
#
|
|
23
|
-
attr_accessor :
|
|
24
|
-
|
|
25
|
-
attr_accessor :pulp_labels
|
|
22
|
+
# RepositoryVersion to be served
|
|
23
|
+
attr_accessor :repository_version
|
|
26
24
|
|
|
27
25
|
# The latest RepositoryVersion for this Repository will be served.
|
|
28
26
|
attr_accessor :repository
|
|
29
27
|
|
|
30
|
-
# RepositoryVersion to be served
|
|
31
|
-
attr_accessor :repository_version
|
|
32
|
-
|
|
33
28
|
# Whether this distribution should be shown in the content app.
|
|
34
29
|
attr_accessor :hidden
|
|
35
30
|
|
|
31
|
+
# The registry path exposed by this pull-through distribution.
|
|
32
|
+
attr_accessor :base_path
|
|
33
|
+
|
|
34
|
+
attr_accessor :pulp_labels
|
|
35
|
+
|
|
36
36
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
37
37
|
attr_accessor :name
|
|
38
38
|
|
|
@@ -52,11 +52,11 @@ module PulpContainerClient
|
|
|
52
52
|
def self.attribute_map
|
|
53
53
|
{
|
|
54
54
|
:'content_guard' => :'content_guard',
|
|
55
|
-
:'base_path' => :'base_path',
|
|
56
|
-
:'pulp_labels' => :'pulp_labels',
|
|
57
|
-
:'repository' => :'repository',
|
|
58
55
|
:'repository_version' => :'repository_version',
|
|
56
|
+
:'repository' => :'repository',
|
|
59
57
|
:'hidden' => :'hidden',
|
|
58
|
+
:'base_path' => :'base_path',
|
|
59
|
+
:'pulp_labels' => :'pulp_labels',
|
|
60
60
|
:'name' => :'name',
|
|
61
61
|
:'remote' => :'remote',
|
|
62
62
|
:'distributions' => :'distributions',
|
|
@@ -74,11 +74,11 @@ module PulpContainerClient
|
|
|
74
74
|
def self.openapi_types
|
|
75
75
|
{
|
|
76
76
|
:'content_guard' => :'String',
|
|
77
|
-
:'base_path' => :'String',
|
|
78
|
-
:'pulp_labels' => :'Hash<String, String>',
|
|
79
|
-
:'repository' => :'String',
|
|
80
77
|
:'repository_version' => :'String',
|
|
78
|
+
:'repository' => :'String',
|
|
81
79
|
:'hidden' => :'Boolean',
|
|
80
|
+
:'base_path' => :'String',
|
|
81
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
82
82
|
:'name' => :'String',
|
|
83
83
|
:'remote' => :'String',
|
|
84
84
|
:'distributions' => :'Array<String>',
|
|
@@ -90,8 +90,8 @@ module PulpContainerClient
|
|
|
90
90
|
# List of attributes with nullable: true
|
|
91
91
|
def self.openapi_nullable
|
|
92
92
|
Set.new([
|
|
93
|
-
:'repository',
|
|
94
93
|
:'repository_version',
|
|
94
|
+
:'repository',
|
|
95
95
|
:'description'
|
|
96
96
|
])
|
|
97
97
|
end
|
|
@@ -115,30 +115,30 @@ module PulpContainerClient
|
|
|
115
115
|
self.content_guard = attributes[:'content_guard']
|
|
116
116
|
end
|
|
117
117
|
|
|
118
|
-
if attributes.key?(:'
|
|
119
|
-
self.
|
|
120
|
-
end
|
|
121
|
-
|
|
122
|
-
if attributes.key?(:'pulp_labels')
|
|
123
|
-
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
124
|
-
self.pulp_labels = value
|
|
125
|
-
end
|
|
118
|
+
if attributes.key?(:'repository_version')
|
|
119
|
+
self.repository_version = attributes[:'repository_version']
|
|
126
120
|
end
|
|
127
121
|
|
|
128
122
|
if attributes.key?(:'repository')
|
|
129
123
|
self.repository = attributes[:'repository']
|
|
130
124
|
end
|
|
131
125
|
|
|
132
|
-
if attributes.key?(:'repository_version')
|
|
133
|
-
self.repository_version = attributes[:'repository_version']
|
|
134
|
-
end
|
|
135
|
-
|
|
136
126
|
if attributes.key?(:'hidden')
|
|
137
127
|
self.hidden = attributes[:'hidden']
|
|
138
128
|
else
|
|
139
129
|
self.hidden = false
|
|
140
130
|
end
|
|
141
131
|
|
|
132
|
+
if attributes.key?(:'base_path')
|
|
133
|
+
self.base_path = attributes[:'base_path']
|
|
134
|
+
end
|
|
135
|
+
|
|
136
|
+
if attributes.key?(:'pulp_labels')
|
|
137
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
138
|
+
self.pulp_labels = value
|
|
139
|
+
end
|
|
140
|
+
end
|
|
141
|
+
|
|
142
142
|
if attributes.key?(:'name')
|
|
143
143
|
self.name = attributes[:'name']
|
|
144
144
|
end
|
|
@@ -236,11 +236,11 @@ module PulpContainerClient
|
|
|
236
236
|
return true if self.equal?(o)
|
|
237
237
|
self.class == o.class &&
|
|
238
238
|
content_guard == o.content_guard &&
|
|
239
|
-
base_path == o.base_path &&
|
|
240
|
-
pulp_labels == o.pulp_labels &&
|
|
241
|
-
repository == o.repository &&
|
|
242
239
|
repository_version == o.repository_version &&
|
|
240
|
+
repository == o.repository &&
|
|
243
241
|
hidden == o.hidden &&
|
|
242
|
+
base_path == o.base_path &&
|
|
243
|
+
pulp_labels == o.pulp_labels &&
|
|
244
244
|
name == o.name &&
|
|
245
245
|
remote == o.remote &&
|
|
246
246
|
distributions == o.distributions &&
|
|
@@ -257,7 +257,7 @@ module PulpContainerClient
|
|
|
257
257
|
# Calculates hash code according to all attributes.
|
|
258
258
|
# @return [Integer] Hash code
|
|
259
259
|
def hash
|
|
260
|
-
[content_guard,
|
|
260
|
+
[content_guard, repository_version, repository, hidden, base_path, pulp_labels, name, remote, distributions, private, description].hash
|
|
261
261
|
end
|
|
262
262
|
|
|
263
263
|
# Builds the object from hash
|