pulp_container_client 2.24.2 → 2.24.4
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 +5 -4
- data/docs/ContainerContainerDistribution.md +4 -4
- data/docs/ContainerContainerDistributionResponse.md +12 -12
- data/docs/ContainerContainerPullThroughDistribution.md +4 -4
- data/docs/ContainerContainerPullThroughDistributionResponse.md +12 -12
- data/docs/ContainerContainerPushRepository.md +5 -5
- data/docs/ContainerContainerPushRepositoryResponse.md +12 -12
- data/docs/ContentBlobsApi.md +20 -8
- data/docs/ContentManifestsApi.md +20 -8
- data/docs/ContentSignaturesApi.md +20 -8
- data/docs/ContentTagsApi.md +20 -8
- data/docs/DistributionsContainerApi.md +72 -32
- data/docs/DistributionsPullThroughApi.md +72 -32
- data/docs/PatchedcontainerContainerDistribution.md +4 -4
- data/docs/PatchedcontainerContainerPullThroughDistribution.md +4 -4
- data/docs/PatchedcontainerContainerPushRepository.md +5 -5
- data/docs/PulpContainerNamespacesApi.md +40 -16
- data/docs/RemotesContainerApi.md +72 -32
- data/docs/RemotesPullThroughApi.md +72 -32
- data/docs/RepositoriesContainerApi.md +138 -64
- data/docs/RepositoriesContainerPushApi.md +80 -36
- data/docs/RepositoriesContainerPushVersionsApi.md +22 -10
- data/docs/RepositoriesContainerVersionsApi.md +22 -10
- data/docs/TokenApi.md +14 -5
- data/lib/pulp_container_client/api/content_blobs_api.rb +12 -0
- data/lib/pulp_container_client/api/content_manifests_api.rb +12 -0
- data/lib/pulp_container_client/api/content_signatures_api.rb +12 -0
- data/lib/pulp_container_client/api/content_tags_api.rb +12 -0
- data/lib/pulp_container_client/api/distributions_container_api.rb +36 -0
- data/lib/pulp_container_client/api/distributions_pull_through_api.rb +36 -0
- data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +24 -0
- data/lib/pulp_container_client/api/remotes_container_api.rb +36 -0
- data/lib/pulp_container_client/api/remotes_pull_through_api.rb +36 -0
- data/lib/pulp_container_client/api/repositories_container_api.rb +63 -0
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +39 -0
- data/lib/pulp_container_client/api/repositories_container_push_versions_api.rb +15 -3
- data/lib/pulp_container_client/api/repositories_container_versions_api.rb +15 -3
- data/lib/pulp_container_client/api/token_api.rb +9 -0
- data/lib/pulp_container_client/models/container_container_distribution.rb +20 -20
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +50 -50
- data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +20 -20
- data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +50 -50
- data/lib/pulp_container_client/models/container_container_push_repository.rb +42 -42
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +52 -52
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +18 -18
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +18 -18
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +42 -42
- data/lib/pulp_container_client/version.rb +1 -1
- data/spec/api/content_blobs_api_spec.rb +4 -0
- data/spec/api/content_manifests_api_spec.rb +4 -0
- data/spec/api/content_signatures_api_spec.rb +4 -0
- data/spec/api/content_tags_api_spec.rb +4 -0
- data/spec/api/distributions_container_api_spec.rb +12 -0
- data/spec/api/distributions_pull_through_api_spec.rb +12 -0
- data/spec/api/pulp_container_namespaces_api_spec.rb +8 -0
- data/spec/api/remotes_container_api_spec.rb +12 -0
- data/spec/api/remotes_pull_through_api_spec.rb +12 -0
- data/spec/api/repositories_container_api_spec.rb +21 -0
- data/spec/api/repositories_container_push_api_spec.rb +13 -0
- data/spec/api/repositories_container_push_versions_api_spec.rb +5 -1
- data/spec/api/repositories_container_versions_api_spec.rb +5 -1
- data/spec/api/token_api_spec.rb +3 -0
- data/spec/models/container_container_distribution_response_spec.rb +9 -9
- data/spec/models/container_container_distribution_spec.rb +3 -3
- data/spec/models/container_container_pull_through_distribution_response_spec.rb +9 -9
- data/spec/models/container_container_pull_through_distribution_spec.rb +3 -3
- 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 +3 -3
- data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +3 -3
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +5 -5
- metadata +60 -60
|
@@ -16,11 +16,6 @@ require 'time'
|
|
|
16
16
|
module PulpContainerClient
|
|
17
17
|
# Serializer for Container Push Repositories.
|
|
18
18
|
class ContainerContainerPushRepository
|
|
19
|
-
attr_accessor :pulp_labels
|
|
20
|
-
|
|
21
|
-
# An optional description.
|
|
22
|
-
attr_accessor :description
|
|
23
|
-
|
|
24
19
|
# A reference to an associated signing service.
|
|
25
20
|
attr_accessor :manifest_signing_service
|
|
26
21
|
|
|
@@ -30,14 +25,19 @@ module PulpContainerClient
|
|
|
30
25
|
# Retain X versions of the repository. Default is null which retains all versions.
|
|
31
26
|
attr_accessor :retain_repo_versions
|
|
32
27
|
|
|
28
|
+
# An optional description.
|
|
29
|
+
attr_accessor :description
|
|
30
|
+
|
|
31
|
+
attr_accessor :pulp_labels
|
|
32
|
+
|
|
33
33
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
34
34
|
def self.attribute_map
|
|
35
35
|
{
|
|
36
|
-
:'pulp_labels' => :'pulp_labels',
|
|
37
|
-
:'description' => :'description',
|
|
38
36
|
:'manifest_signing_service' => :'manifest_signing_service',
|
|
39
37
|
:'name' => :'name',
|
|
40
|
-
:'retain_repo_versions' => :'retain_repo_versions'
|
|
38
|
+
:'retain_repo_versions' => :'retain_repo_versions',
|
|
39
|
+
:'description' => :'description',
|
|
40
|
+
:'pulp_labels' => :'pulp_labels'
|
|
41
41
|
}
|
|
42
42
|
end
|
|
43
43
|
|
|
@@ -49,20 +49,20 @@ module PulpContainerClient
|
|
|
49
49
|
# Attribute type mapping.
|
|
50
50
|
def self.openapi_types
|
|
51
51
|
{
|
|
52
|
-
:'pulp_labels' => :'Hash<String, String>',
|
|
53
|
-
:'description' => :'String',
|
|
54
52
|
:'manifest_signing_service' => :'String',
|
|
55
53
|
:'name' => :'String',
|
|
56
|
-
:'retain_repo_versions' => :'Integer'
|
|
54
|
+
:'retain_repo_versions' => :'Integer',
|
|
55
|
+
:'description' => :'String',
|
|
56
|
+
:'pulp_labels' => :'Hash<String, String>'
|
|
57
57
|
}
|
|
58
58
|
end
|
|
59
59
|
|
|
60
60
|
# List of attributes with nullable: true
|
|
61
61
|
def self.openapi_nullable
|
|
62
62
|
Set.new([
|
|
63
|
-
:'description',
|
|
64
63
|
:'manifest_signing_service',
|
|
65
|
-
:'retain_repo_versions'
|
|
64
|
+
:'retain_repo_versions',
|
|
65
|
+
:'description',
|
|
66
66
|
])
|
|
67
67
|
end
|
|
68
68
|
|
|
@@ -81,16 +81,6 @@ module PulpContainerClient
|
|
|
81
81
|
h[k.to_sym] = v
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
if attributes.key?(:'pulp_labels')
|
|
85
|
-
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
86
|
-
self.pulp_labels = value
|
|
87
|
-
end
|
|
88
|
-
end
|
|
89
|
-
|
|
90
|
-
if attributes.key?(:'description')
|
|
91
|
-
self.description = attributes[:'description']
|
|
92
|
-
end
|
|
93
|
-
|
|
94
84
|
if attributes.key?(:'manifest_signing_service')
|
|
95
85
|
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
|
96
86
|
end
|
|
@@ -104,6 +94,16 @@ module PulpContainerClient
|
|
|
104
94
|
if attributes.key?(:'retain_repo_versions')
|
|
105
95
|
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
|
106
96
|
end
|
|
97
|
+
|
|
98
|
+
if attributes.key?(:'description')
|
|
99
|
+
self.description = attributes[:'description']
|
|
100
|
+
end
|
|
101
|
+
|
|
102
|
+
if attributes.key?(:'pulp_labels')
|
|
103
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
104
|
+
self.pulp_labels = value
|
|
105
|
+
end
|
|
106
|
+
end
|
|
107
107
|
end
|
|
108
108
|
|
|
109
109
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -111,10 +111,6 @@ module PulpContainerClient
|
|
|
111
111
|
def list_invalid_properties
|
|
112
112
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
113
113
|
invalid_properties = Array.new
|
|
114
|
-
if !@description.nil? && @description.to_s.length < 1
|
|
115
|
-
invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
|
|
116
|
-
end
|
|
117
|
-
|
|
118
114
|
if @name.nil?
|
|
119
115
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
|
120
116
|
end
|
|
@@ -127,6 +123,10 @@ module PulpContainerClient
|
|
|
127
123
|
invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
|
|
128
124
|
end
|
|
129
125
|
|
|
126
|
+
if !@description.nil? && @description.to_s.length < 1
|
|
127
|
+
invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
|
|
128
|
+
end
|
|
129
|
+
|
|
130
130
|
invalid_properties
|
|
131
131
|
end
|
|
132
132
|
|
|
@@ -134,23 +134,13 @@ module PulpContainerClient
|
|
|
134
134
|
# @return true if the model is valid
|
|
135
135
|
def valid?
|
|
136
136
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
137
|
-
return false if !@description.nil? && @description.to_s.length < 1
|
|
138
137
|
return false if @name.nil?
|
|
139
138
|
return false if @name.to_s.length < 1
|
|
140
139
|
return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
|
140
|
+
return false if !@description.nil? && @description.to_s.length < 1
|
|
141
141
|
true
|
|
142
142
|
end
|
|
143
143
|
|
|
144
|
-
# Custom attribute writer method with validation
|
|
145
|
-
# @param [Object] description Value to be assigned
|
|
146
|
-
def description=(description)
|
|
147
|
-
if !description.nil? && description.to_s.length < 1
|
|
148
|
-
fail ArgumentError, 'invalid value for "description", the character length must be great than or equal to 1.'
|
|
149
|
-
end
|
|
150
|
-
|
|
151
|
-
@description = description
|
|
152
|
-
end
|
|
153
|
-
|
|
154
144
|
# Custom attribute writer method with validation
|
|
155
145
|
# @param [Object] name Value to be assigned
|
|
156
146
|
def name=(name)
|
|
@@ -175,16 +165,26 @@ module PulpContainerClient
|
|
|
175
165
|
@retain_repo_versions = retain_repo_versions
|
|
176
166
|
end
|
|
177
167
|
|
|
168
|
+
# Custom attribute writer method with validation
|
|
169
|
+
# @param [Object] description Value to be assigned
|
|
170
|
+
def description=(description)
|
|
171
|
+
if !description.nil? && description.to_s.length < 1
|
|
172
|
+
fail ArgumentError, 'invalid value for "description", the character length must be great than or equal to 1.'
|
|
173
|
+
end
|
|
174
|
+
|
|
175
|
+
@description = description
|
|
176
|
+
end
|
|
177
|
+
|
|
178
178
|
# Checks equality by comparing each attribute.
|
|
179
179
|
# @param [Object] Object to be compared
|
|
180
180
|
def ==(o)
|
|
181
181
|
return true if self.equal?(o)
|
|
182
182
|
self.class == o.class &&
|
|
183
|
-
pulp_labels == o.pulp_labels &&
|
|
184
|
-
description == o.description &&
|
|
185
183
|
manifest_signing_service == o.manifest_signing_service &&
|
|
186
184
|
name == o.name &&
|
|
187
|
-
retain_repo_versions == o.retain_repo_versions
|
|
185
|
+
retain_repo_versions == o.retain_repo_versions &&
|
|
186
|
+
description == o.description &&
|
|
187
|
+
pulp_labels == o.pulp_labels
|
|
188
188
|
end
|
|
189
189
|
|
|
190
190
|
# @see the `==` method
|
|
@@ -196,7 +196,7 @@ module PulpContainerClient
|
|
|
196
196
|
# Calculates hash code according to all attributes.
|
|
197
197
|
# @return [Integer] Hash code
|
|
198
198
|
def hash
|
|
199
|
-
[
|
|
199
|
+
[manifest_signing_service, name, retain_repo_versions, description, pulp_labels].hash
|
|
200
200
|
end
|
|
201
201
|
|
|
202
202
|
# Builds the object from hash
|
|
@@ -16,49 +16,49 @@ require 'time'
|
|
|
16
16
|
module PulpContainerClient
|
|
17
17
|
# Serializer for Container Push Repositories.
|
|
18
18
|
class ContainerContainerPushRepositoryResponse
|
|
19
|
-
|
|
19
|
+
# Timestamp of creation.
|
|
20
|
+
attr_accessor :pulp_created
|
|
21
|
+
|
|
22
|
+
attr_accessor :pulp_href
|
|
20
23
|
|
|
21
24
|
# The Pulp Resource Name (PRN).
|
|
22
25
|
attr_accessor :prn
|
|
23
26
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
attr_accessor :pulp_href
|
|
27
|
-
|
|
28
|
-
# An optional description.
|
|
29
|
-
attr_accessor :description
|
|
27
|
+
# 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.
|
|
28
|
+
attr_accessor :pulp_last_updated
|
|
30
29
|
|
|
31
30
|
# A reference to an associated signing service.
|
|
32
31
|
attr_accessor :manifest_signing_service
|
|
33
32
|
|
|
34
33
|
attr_accessor :versions_href
|
|
35
34
|
|
|
36
|
-
# Timestamp of creation.
|
|
37
|
-
attr_accessor :pulp_created
|
|
38
|
-
|
|
39
35
|
# A unique name for this repository.
|
|
40
36
|
attr_accessor :name
|
|
41
37
|
|
|
42
38
|
# Retain X versions of the repository. Default is null which retains all versions.
|
|
43
39
|
attr_accessor :retain_repo_versions
|
|
44
40
|
|
|
45
|
-
#
|
|
46
|
-
attr_accessor :
|
|
41
|
+
# An optional description.
|
|
42
|
+
attr_accessor :description
|
|
43
|
+
|
|
44
|
+
attr_accessor :pulp_labels
|
|
45
|
+
|
|
46
|
+
attr_accessor :latest_version_href
|
|
47
47
|
|
|
48
48
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
49
49
|
def self.attribute_map
|
|
50
50
|
{
|
|
51
|
-
:'
|
|
52
|
-
:'prn' => :'prn',
|
|
53
|
-
:'latest_version_href' => :'latest_version_href',
|
|
51
|
+
:'pulp_created' => :'pulp_created',
|
|
54
52
|
:'pulp_href' => :'pulp_href',
|
|
55
|
-
:'
|
|
53
|
+
:'prn' => :'prn',
|
|
54
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
|
56
55
|
:'manifest_signing_service' => :'manifest_signing_service',
|
|
57
56
|
:'versions_href' => :'versions_href',
|
|
58
|
-
:'pulp_created' => :'pulp_created',
|
|
59
57
|
:'name' => :'name',
|
|
60
58
|
:'retain_repo_versions' => :'retain_repo_versions',
|
|
61
|
-
:'
|
|
59
|
+
:'description' => :'description',
|
|
60
|
+
:'pulp_labels' => :'pulp_labels',
|
|
61
|
+
:'latest_version_href' => :'latest_version_href'
|
|
62
62
|
}
|
|
63
63
|
end
|
|
64
64
|
|
|
@@ -70,26 +70,26 @@ module PulpContainerClient
|
|
|
70
70
|
# Attribute type mapping.
|
|
71
71
|
def self.openapi_types
|
|
72
72
|
{
|
|
73
|
-
:'
|
|
74
|
-
:'prn' => :'String',
|
|
75
|
-
:'latest_version_href' => :'String',
|
|
73
|
+
:'pulp_created' => :'Time',
|
|
76
74
|
:'pulp_href' => :'String',
|
|
77
|
-
:'
|
|
75
|
+
:'prn' => :'String',
|
|
76
|
+
:'pulp_last_updated' => :'Time',
|
|
78
77
|
:'manifest_signing_service' => :'String',
|
|
79
78
|
:'versions_href' => :'String',
|
|
80
|
-
:'pulp_created' => :'Time',
|
|
81
79
|
:'name' => :'String',
|
|
82
80
|
:'retain_repo_versions' => :'Integer',
|
|
83
|
-
:'
|
|
81
|
+
:'description' => :'String',
|
|
82
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
83
|
+
:'latest_version_href' => :'String'
|
|
84
84
|
}
|
|
85
85
|
end
|
|
86
86
|
|
|
87
87
|
# List of attributes with nullable: true
|
|
88
88
|
def self.openapi_nullable
|
|
89
89
|
Set.new([
|
|
90
|
-
:'description',
|
|
91
90
|
:'manifest_signing_service',
|
|
92
91
|
:'retain_repo_versions',
|
|
92
|
+
:'description',
|
|
93
93
|
])
|
|
94
94
|
end
|
|
95
95
|
|
|
@@ -108,26 +108,20 @@ module PulpContainerClient
|
|
|
108
108
|
h[k.to_sym] = v
|
|
109
109
|
}
|
|
110
110
|
|
|
111
|
-
if attributes.key?(:'
|
|
112
|
-
|
|
113
|
-
self.pulp_labels = value
|
|
114
|
-
end
|
|
115
|
-
end
|
|
116
|
-
|
|
117
|
-
if attributes.key?(:'prn')
|
|
118
|
-
self.prn = attributes[:'prn']
|
|
119
|
-
end
|
|
120
|
-
|
|
121
|
-
if attributes.key?(:'latest_version_href')
|
|
122
|
-
self.latest_version_href = attributes[:'latest_version_href']
|
|
111
|
+
if attributes.key?(:'pulp_created')
|
|
112
|
+
self.pulp_created = attributes[:'pulp_created']
|
|
123
113
|
end
|
|
124
114
|
|
|
125
115
|
if attributes.key?(:'pulp_href')
|
|
126
116
|
self.pulp_href = attributes[:'pulp_href']
|
|
127
117
|
end
|
|
128
118
|
|
|
129
|
-
if attributes.key?(:'
|
|
130
|
-
self.
|
|
119
|
+
if attributes.key?(:'prn')
|
|
120
|
+
self.prn = attributes[:'prn']
|
|
121
|
+
end
|
|
122
|
+
|
|
123
|
+
if attributes.key?(:'pulp_last_updated')
|
|
124
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
131
125
|
end
|
|
132
126
|
|
|
133
127
|
if attributes.key?(:'manifest_signing_service')
|
|
@@ -138,10 +132,6 @@ module PulpContainerClient
|
|
|
138
132
|
self.versions_href = attributes[:'versions_href']
|
|
139
133
|
end
|
|
140
134
|
|
|
141
|
-
if attributes.key?(:'pulp_created')
|
|
142
|
-
self.pulp_created = attributes[:'pulp_created']
|
|
143
|
-
end
|
|
144
|
-
|
|
145
135
|
if attributes.key?(:'name')
|
|
146
136
|
self.name = attributes[:'name']
|
|
147
137
|
else
|
|
@@ -152,8 +142,18 @@ module PulpContainerClient
|
|
|
152
142
|
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
|
153
143
|
end
|
|
154
144
|
|
|
155
|
-
if attributes.key?(:'
|
|
156
|
-
self.
|
|
145
|
+
if attributes.key?(:'description')
|
|
146
|
+
self.description = attributes[:'description']
|
|
147
|
+
end
|
|
148
|
+
|
|
149
|
+
if attributes.key?(:'pulp_labels')
|
|
150
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
151
|
+
self.pulp_labels = value
|
|
152
|
+
end
|
|
153
|
+
end
|
|
154
|
+
|
|
155
|
+
if attributes.key?(:'latest_version_href')
|
|
156
|
+
self.latest_version_href = attributes[:'latest_version_href']
|
|
157
157
|
end
|
|
158
158
|
end
|
|
159
159
|
|
|
@@ -197,17 +197,17 @@ module PulpContainerClient
|
|
|
197
197
|
def ==(o)
|
|
198
198
|
return true if self.equal?(o)
|
|
199
199
|
self.class == o.class &&
|
|
200
|
-
|
|
201
|
-
prn == o.prn &&
|
|
202
|
-
latest_version_href == o.latest_version_href &&
|
|
200
|
+
pulp_created == o.pulp_created &&
|
|
203
201
|
pulp_href == o.pulp_href &&
|
|
204
|
-
|
|
202
|
+
prn == o.prn &&
|
|
203
|
+
pulp_last_updated == o.pulp_last_updated &&
|
|
205
204
|
manifest_signing_service == o.manifest_signing_service &&
|
|
206
205
|
versions_href == o.versions_href &&
|
|
207
|
-
pulp_created == o.pulp_created &&
|
|
208
206
|
name == o.name &&
|
|
209
207
|
retain_repo_versions == o.retain_repo_versions &&
|
|
210
|
-
|
|
208
|
+
description == o.description &&
|
|
209
|
+
pulp_labels == o.pulp_labels &&
|
|
210
|
+
latest_version_href == o.latest_version_href
|
|
211
211
|
end
|
|
212
212
|
|
|
213
213
|
# @see the `==` method
|
|
@@ -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_created, pulp_href, prn, pulp_last_updated, manifest_signing_service, versions_href, name, retain_repo_versions, description, pulp_labels, latest_version_href].hash
|
|
223
223
|
end
|
|
224
224
|
|
|
225
225
|
# Builds the object from hash
|
|
@@ -19,20 +19,20 @@ module PulpContainerClient
|
|
|
19
19
|
# Whether this distribution should be shown in the content app.
|
|
20
20
|
attr_accessor :hidden
|
|
21
21
|
|
|
22
|
-
#
|
|
23
|
-
attr_accessor :
|
|
22
|
+
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
23
|
+
attr_accessor :base_path
|
|
24
24
|
|
|
25
25
|
attr_accessor :pulp_labels
|
|
26
26
|
|
|
27
27
|
# The latest RepositoryVersion for this Repository will be served.
|
|
28
28
|
attr_accessor :repository
|
|
29
29
|
|
|
30
|
-
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
31
|
-
attr_accessor :base_path
|
|
32
|
-
|
|
33
30
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
34
31
|
attr_accessor :name
|
|
35
32
|
|
|
33
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
|
34
|
+
attr_accessor :content_guard
|
|
35
|
+
|
|
36
36
|
# RepositoryVersion to be served
|
|
37
37
|
attr_accessor :repository_version
|
|
38
38
|
|
|
@@ -46,11 +46,11 @@ module PulpContainerClient
|
|
|
46
46
|
def self.attribute_map
|
|
47
47
|
{
|
|
48
48
|
:'hidden' => :'hidden',
|
|
49
|
-
:'
|
|
49
|
+
:'base_path' => :'base_path',
|
|
50
50
|
:'pulp_labels' => :'pulp_labels',
|
|
51
51
|
:'repository' => :'repository',
|
|
52
|
-
:'base_path' => :'base_path',
|
|
53
52
|
:'name' => :'name',
|
|
53
|
+
:'content_guard' => :'content_guard',
|
|
54
54
|
:'repository_version' => :'repository_version',
|
|
55
55
|
:'private' => :'private',
|
|
56
56
|
:'description' => :'description'
|
|
@@ -66,11 +66,11 @@ module PulpContainerClient
|
|
|
66
66
|
def self.openapi_types
|
|
67
67
|
{
|
|
68
68
|
:'hidden' => :'Boolean',
|
|
69
|
-
:'
|
|
69
|
+
:'base_path' => :'String',
|
|
70
70
|
:'pulp_labels' => :'Hash<String, String>',
|
|
71
71
|
:'repository' => :'String',
|
|
72
|
-
:'base_path' => :'String',
|
|
73
72
|
:'name' => :'String',
|
|
73
|
+
:'content_guard' => :'String',
|
|
74
74
|
:'repository_version' => :'String',
|
|
75
75
|
:'private' => :'Boolean',
|
|
76
76
|
:'description' => :'String'
|
|
@@ -107,8 +107,8 @@ module PulpContainerClient
|
|
|
107
107
|
self.hidden = false
|
|
108
108
|
end
|
|
109
109
|
|
|
110
|
-
if attributes.key?(:'
|
|
111
|
-
self.
|
|
110
|
+
if attributes.key?(:'base_path')
|
|
111
|
+
self.base_path = attributes[:'base_path']
|
|
112
112
|
end
|
|
113
113
|
|
|
114
114
|
if attributes.key?(:'pulp_labels')
|
|
@@ -121,14 +121,14 @@ module PulpContainerClient
|
|
|
121
121
|
self.repository = attributes[:'repository']
|
|
122
122
|
end
|
|
123
123
|
|
|
124
|
-
if attributes.key?(:'base_path')
|
|
125
|
-
self.base_path = attributes[:'base_path']
|
|
126
|
-
end
|
|
127
|
-
|
|
128
124
|
if attributes.key?(:'name')
|
|
129
125
|
self.name = attributes[:'name']
|
|
130
126
|
end
|
|
131
127
|
|
|
128
|
+
if attributes.key?(:'content_guard')
|
|
129
|
+
self.content_guard = attributes[:'content_guard']
|
|
130
|
+
end
|
|
131
|
+
|
|
132
132
|
if attributes.key?(:'repository_version')
|
|
133
133
|
self.repository_version = attributes[:'repository_version']
|
|
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
|
hidden == o.hidden &&
|
|
219
|
-
|
|
219
|
+
base_path == o.base_path &&
|
|
220
220
|
pulp_labels == o.pulp_labels &&
|
|
221
221
|
repository == o.repository &&
|
|
222
|
-
base_path == o.base_path &&
|
|
223
222
|
name == o.name &&
|
|
223
|
+
content_guard == o.content_guard &&
|
|
224
224
|
repository_version == o.repository_version &&
|
|
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
|
-
[hidden,
|
|
238
|
+
[hidden, base_path, pulp_labels, repository, name, content_guard, repository_version, 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
|
# Whether this distribution should be shown in the content app.
|
|
20
20
|
attr_accessor :hidden
|
|
21
21
|
|
|
22
|
-
#
|
|
23
|
-
attr_accessor :
|
|
22
|
+
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
23
|
+
attr_accessor :base_path
|
|
24
24
|
|
|
25
25
|
attr_accessor :pulp_labels
|
|
26
26
|
|
|
27
27
|
# The latest RepositoryVersion for this Repository will be served.
|
|
28
28
|
attr_accessor :repository
|
|
29
29
|
|
|
30
|
-
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
31
|
-
attr_accessor :base_path
|
|
32
|
-
|
|
33
30
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
34
31
|
attr_accessor :name
|
|
35
32
|
|
|
33
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
|
34
|
+
attr_accessor :content_guard
|
|
35
|
+
|
|
36
36
|
# Remote that can be used to fetch content when using pull-through caching.
|
|
37
37
|
attr_accessor :remote
|
|
38
38
|
|
|
@@ -49,11 +49,11 @@ module PulpContainerClient
|
|
|
49
49
|
def self.attribute_map
|
|
50
50
|
{
|
|
51
51
|
:'hidden' => :'hidden',
|
|
52
|
-
:'
|
|
52
|
+
:'base_path' => :'base_path',
|
|
53
53
|
:'pulp_labels' => :'pulp_labels',
|
|
54
54
|
:'repository' => :'repository',
|
|
55
|
-
:'base_path' => :'base_path',
|
|
56
55
|
:'name' => :'name',
|
|
56
|
+
:'content_guard' => :'content_guard',
|
|
57
57
|
:'remote' => :'remote',
|
|
58
58
|
:'distributions' => :'distributions',
|
|
59
59
|
:'private' => :'private',
|
|
@@ -70,11 +70,11 @@ module PulpContainerClient
|
|
|
70
70
|
def self.openapi_types
|
|
71
71
|
{
|
|
72
72
|
:'hidden' => :'Boolean',
|
|
73
|
-
:'
|
|
73
|
+
:'base_path' => :'String',
|
|
74
74
|
:'pulp_labels' => :'Hash<String, String>',
|
|
75
75
|
:'repository' => :'String',
|
|
76
|
-
:'base_path' => :'String',
|
|
77
76
|
:'name' => :'String',
|
|
77
|
+
:'content_guard' => :'String',
|
|
78
78
|
:'remote' => :'String',
|
|
79
79
|
:'distributions' => :'Array<String>',
|
|
80
80
|
:'private' => :'Boolean',
|
|
@@ -111,8 +111,8 @@ module PulpContainerClient
|
|
|
111
111
|
self.hidden = false
|
|
112
112
|
end
|
|
113
113
|
|
|
114
|
-
if attributes.key?(:'
|
|
115
|
-
self.
|
|
114
|
+
if attributes.key?(:'base_path')
|
|
115
|
+
self.base_path = attributes[:'base_path']
|
|
116
116
|
end
|
|
117
117
|
|
|
118
118
|
if attributes.key?(:'pulp_labels')
|
|
@@ -125,14 +125,14 @@ module PulpContainerClient
|
|
|
125
125
|
self.repository = attributes[:'repository']
|
|
126
126
|
end
|
|
127
127
|
|
|
128
|
-
if attributes.key?(:'base_path')
|
|
129
|
-
self.base_path = attributes[:'base_path']
|
|
130
|
-
end
|
|
131
|
-
|
|
132
128
|
if attributes.key?(:'name')
|
|
133
129
|
self.name = attributes[:'name']
|
|
134
130
|
end
|
|
135
131
|
|
|
132
|
+
if attributes.key?(:'content_guard')
|
|
133
|
+
self.content_guard = attributes[:'content_guard']
|
|
134
|
+
end
|
|
135
|
+
|
|
136
136
|
if attributes.key?(:'remote')
|
|
137
137
|
self.remote = attributes[:'remote']
|
|
138
138
|
end
|
|
@@ -226,11 +226,11 @@ module PulpContainerClient
|
|
|
226
226
|
return true if self.equal?(o)
|
|
227
227
|
self.class == o.class &&
|
|
228
228
|
hidden == o.hidden &&
|
|
229
|
-
|
|
229
|
+
base_path == o.base_path &&
|
|
230
230
|
pulp_labels == o.pulp_labels &&
|
|
231
231
|
repository == o.repository &&
|
|
232
|
-
base_path == o.base_path &&
|
|
233
232
|
name == o.name &&
|
|
233
|
+
content_guard == o.content_guard &&
|
|
234
234
|
remote == o.remote &&
|
|
235
235
|
distributions == o.distributions &&
|
|
236
236
|
private == o.private &&
|
|
@@ -246,7 +246,7 @@ module PulpContainerClient
|
|
|
246
246
|
# Calculates hash code according to all attributes.
|
|
247
247
|
# @return [Integer] Hash code
|
|
248
248
|
def hash
|
|
249
|
-
[hidden,
|
|
249
|
+
[hidden, base_path, pulp_labels, repository, name, content_guard, remote, distributions, private, description].hash
|
|
250
250
|
end
|
|
251
251
|
|
|
252
252
|
# Builds the object from hash
|