pulp_rpm_client 3.28.0 → 3.29.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 +27 -4
- data/docs/ContentAdvisoriesApi.md +152 -2
- data/docs/ContentDistributionTreesApi.md +148 -0
- data/docs/ContentModulemdDefaultsApi.md +150 -2
- data/docs/ContentModulemdObsoletesApi.md +148 -0
- data/docs/ContentModulemdsApi.md +150 -2
- data/docs/ContentPackagecategoriesApi.md +148 -0
- data/docs/ContentPackageenvironmentsApi.md +148 -0
- data/docs/ContentPackagegroupsApi.md +148 -0
- data/docs/ContentPackagelangpacksApi.md +148 -0
- data/docs/ContentPackagesApi.md +152 -2
- data/docs/ContentRepoMetadataFilesApi.md +148 -0
- data/docs/LayoutEnum.md +15 -0
- data/docs/PatchedrpmRpmRepository.md +3 -1
- data/docs/RpmModulemd.md +2 -0
- data/docs/RpmModulemdDefaults.md +2 -0
- data/docs/RpmModulemdDefaultsResponse.md +2 -0
- data/docs/RpmModulemdObsolete.md +2 -0
- data/docs/RpmModulemdObsoleteResponse.md +2 -0
- data/docs/RpmModulemdResponse.md +2 -0
- data/docs/RpmPackageCategoryResponse.md +2 -0
- data/docs/RpmPackageEnvironmentResponse.md +2 -0
- data/docs/RpmPackageGroupResponse.md +2 -0
- data/docs/RpmPackageLangpacksResponse.md +2 -0
- data/docs/RpmPackageResponse.md +2 -0
- data/docs/RpmRepoMetadataFileResponse.md +2 -0
- data/docs/RpmRpmPublication.md +3 -1
- data/docs/RpmRpmPublicationResponse.md +3 -1
- data/docs/RpmRpmRepository.md +3 -1
- data/docs/RpmRpmRepositoryResponse.md +3 -1
- data/docs/RpmUpdateRecordResponse.md +2 -0
- data/lib/pulp_rpm_client/api/content_advisories_api.rb +157 -3
- data/lib/pulp_rpm_client/api/content_distribution_trees_api.rb +151 -0
- data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +154 -3
- data/lib/pulp_rpm_client/api/content_modulemd_obsoletes_api.rb +151 -0
- data/lib/pulp_rpm_client/api/content_modulemds_api.rb +154 -3
- data/lib/pulp_rpm_client/api/content_packagecategories_api.rb +151 -0
- data/lib/pulp_rpm_client/api/content_packageenvironments_api.rb +151 -0
- data/lib/pulp_rpm_client/api/content_packagegroups_api.rb +151 -0
- data/lib/pulp_rpm_client/api/content_packagelangpacks_api.rb +151 -0
- data/lib/pulp_rpm_client/api/content_packages_api.rb +157 -3
- data/lib/pulp_rpm_client/api/content_repo_metadata_files_api.rb +151 -0
- data/lib/pulp_rpm_client/models/layout_enum.rb +40 -0
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_repository.rb +16 -5
- data/lib/pulp_rpm_client/models/rpm_modulemd.rb +13 -1
- data/lib/pulp_rpm_client/models/rpm_modulemd_defaults.rb +13 -1
- data/lib/pulp_rpm_client/models/rpm_modulemd_defaults_response.rb +13 -1
- data/lib/pulp_rpm_client/models/rpm_modulemd_obsolete.rb +13 -1
- data/lib/pulp_rpm_client/models/rpm_modulemd_obsolete_response.rb +13 -1
- data/lib/pulp_rpm_client/models/rpm_modulemd_response.rb +13 -1
- data/lib/pulp_rpm_client/models/rpm_package_category_response.rb +13 -1
- data/lib/pulp_rpm_client/models/rpm_package_environment_response.rb +13 -1
- data/lib/pulp_rpm_client/models/rpm_package_group_response.rb +13 -1
- data/lib/pulp_rpm_client/models/rpm_package_langpacks_response.rb +13 -1
- data/lib/pulp_rpm_client/models/rpm_package_response.rb +13 -1
- data/lib/pulp_rpm_client/models/rpm_repo_metadata_file_response.rb +13 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_publication.rb +15 -4
- data/lib/pulp_rpm_client/models/rpm_rpm_publication_response.rb +15 -4
- data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +16 -5
- data/lib/pulp_rpm_client/models/rpm_rpm_repository_response.rb +16 -5
- data/lib/pulp_rpm_client/models/rpm_update_record_response.rb +13 -1
- data/lib/pulp_rpm_client/models/unset_label.rb +1 -1
- data/lib/pulp_rpm_client/models/unset_label_response.rb +1 -1
- data/lib/pulp_rpm_client/version.rb +1 -1
- data/lib/pulp_rpm_client.rb +1 -0
- data/spec/api/content_advisories_api_spec.rb +29 -1
- data/spec/api/content_distribution_trees_api_spec.rb +27 -0
- data/spec/api/content_modulemd_defaults_api_spec.rb +28 -1
- data/spec/api/content_modulemd_obsoletes_api_spec.rb +27 -0
- data/spec/api/content_modulemds_api_spec.rb +28 -1
- data/spec/api/content_packagecategories_api_spec.rb +27 -0
- data/spec/api/content_packageenvironments_api_spec.rb +27 -0
- data/spec/api/content_packagegroups_api_spec.rb +27 -0
- data/spec/api/content_packagelangpacks_api_spec.rb +27 -0
- data/spec/api/content_packages_api_spec.rb +29 -1
- data/spec/api/content_repo_metadata_files_api_spec.rb +27 -0
- data/spec/models/layout_enum_spec.rb +30 -0
- data/spec/models/patchedrpm_rpm_repository_spec.rb +6 -0
- data/spec/models/rpm_modulemd_defaults_response_spec.rb +6 -0
- data/spec/models/rpm_modulemd_defaults_spec.rb +6 -0
- data/spec/models/rpm_modulemd_obsolete_response_spec.rb +6 -0
- data/spec/models/rpm_modulemd_obsolete_spec.rb +6 -0
- data/spec/models/rpm_modulemd_response_spec.rb +6 -0
- data/spec/models/rpm_modulemd_spec.rb +6 -0
- data/spec/models/rpm_package_category_response_spec.rb +6 -0
- data/spec/models/rpm_package_environment_response_spec.rb +6 -0
- data/spec/models/rpm_package_group_response_spec.rb +6 -0
- data/spec/models/rpm_package_langpacks_response_spec.rb +6 -0
- data/spec/models/rpm_package_response_spec.rb +6 -0
- data/spec/models/rpm_repo_metadata_file_response_spec.rb +6 -0
- data/spec/models/rpm_rpm_publication_response_spec.rb +6 -0
- data/spec/models/rpm_rpm_publication_spec.rb +6 -0
- data/spec/models/rpm_rpm_repository_response_spec.rb +6 -0
- data/spec/models/rpm_rpm_repository_spec.rb +6 -0
- data/spec/models/rpm_update_record_response_spec.rb +6 -0
- metadata +83 -79
@@ -0,0 +1,40 @@
|
|
1
|
+
=begin
|
2
|
+
#Pulp 3 API
|
3
|
+
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
Contact: pulp-list@redhat.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
Generator version: 7.10.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'date'
|
14
|
+
require 'time'
|
15
|
+
|
16
|
+
module PulpRpmClient
|
17
|
+
class LayoutEnum
|
18
|
+
NESTED_ALPHABETICALLY = "nested_alphabetically".freeze
|
19
|
+
FLAT = "flat".freeze
|
20
|
+
|
21
|
+
def self.all_vars
|
22
|
+
@all_vars ||= [NESTED_ALPHABETICALLY, FLAT].freeze
|
23
|
+
end
|
24
|
+
|
25
|
+
# Builds the enum from string
|
26
|
+
# @param [String] The enum value in the form of the string
|
27
|
+
# @return [String] The enum value
|
28
|
+
def self.build_from_hash(value)
|
29
|
+
new.build_from_hash(value)
|
30
|
+
end
|
31
|
+
|
32
|
+
# Builds the enum from string
|
33
|
+
# @param [String] The enum value in the form of the string
|
34
|
+
# @return [String] The enum value
|
35
|
+
def build_from_hash(value)
|
36
|
+
return value if LayoutEnum.all_vars.include?(value)
|
37
|
+
raise "Invalid ENUM value #{value} for class #LayoutEnum"
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
@@ -66,6 +66,9 @@ module PulpRpmClient
|
|
66
66
|
# The compression type to use for metadata files. * `zstd` - zstd * `gz` - gz
|
67
67
|
attr_accessor :compression_type
|
68
68
|
|
69
|
+
# How to layout the packages within the published repository. * `nested_alphabetically` - nested_alphabetically * `flat` - flat
|
70
|
+
attr_accessor :layout
|
71
|
+
|
69
72
|
class EnumAttributeValidator
|
70
73
|
attr_reader :datatype
|
71
74
|
attr_reader :allowable_values
|
@@ -107,7 +110,8 @@ module PulpRpmClient
|
|
107
110
|
:'gpgcheck' => :'gpgcheck',
|
108
111
|
:'repo_gpgcheck' => :'repo_gpgcheck',
|
109
112
|
:'repo_config' => :'repo_config',
|
110
|
-
:'compression_type' => :'compression_type'
|
113
|
+
:'compression_type' => :'compression_type',
|
114
|
+
:'layout' => :'layout'
|
111
115
|
}
|
112
116
|
end
|
113
117
|
|
@@ -135,7 +139,8 @@ module PulpRpmClient
|
|
135
139
|
:'gpgcheck' => :'Integer',
|
136
140
|
:'repo_gpgcheck' => :'Integer',
|
137
141
|
:'repo_config' => :'Object',
|
138
|
-
:'compression_type' => :'CompressionTypeEnum'
|
142
|
+
:'compression_type' => :'CompressionTypeEnum',
|
143
|
+
:'layout' => :'LayoutEnum'
|
139
144
|
}
|
140
145
|
end
|
141
146
|
|
@@ -153,7 +158,8 @@ module PulpRpmClient
|
|
153
158
|
:'gpgcheck',
|
154
159
|
:'repo_gpgcheck',
|
155
160
|
:'repo_config',
|
156
|
-
:'compression_type'
|
161
|
+
:'compression_type',
|
162
|
+
:'layout'
|
157
163
|
])
|
158
164
|
end
|
159
165
|
|
@@ -245,6 +251,10 @@ module PulpRpmClient
|
|
245
251
|
if attributes.key?(:'compression_type')
|
246
252
|
self.compression_type = attributes[:'compression_type']
|
247
253
|
end
|
254
|
+
|
255
|
+
if attributes.key?(:'layout')
|
256
|
+
self.layout = attributes[:'layout']
|
257
|
+
end
|
248
258
|
end
|
249
259
|
|
250
260
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -418,7 +428,8 @@ module PulpRpmClient
|
|
418
428
|
gpgcheck == o.gpgcheck &&
|
419
429
|
repo_gpgcheck == o.repo_gpgcheck &&
|
420
430
|
repo_config == o.repo_config &&
|
421
|
-
compression_type == o.compression_type
|
431
|
+
compression_type == o.compression_type &&
|
432
|
+
layout == o.layout
|
422
433
|
end
|
423
434
|
|
424
435
|
# @see the `==` method
|
@@ -430,7 +441,7 @@ module PulpRpmClient
|
|
430
441
|
# Calculates hash code according to all attributes.
|
431
442
|
# @return [Integer] Hash code
|
432
443
|
def hash
|
433
|
-
[pulp_labels, name, description, retain_repo_versions, remote, autopublish, metadata_signing_service, package_signing_service, package_signing_fingerprint, retain_package_versions, checksum_type, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck, repo_config, compression_type].hash
|
444
|
+
[pulp_labels, name, description, retain_repo_versions, remote, autopublish, metadata_signing_service, package_signing_service, package_signing_fingerprint, retain_package_versions, checksum_type, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck, repo_config, compression_type, layout].hash
|
434
445
|
end
|
435
446
|
|
436
447
|
# Builds the object from hash
|
@@ -19,6 +19,9 @@ module PulpRpmClient
|
|
19
19
|
# A URI of a repository the new content unit should be associated with.
|
20
20
|
attr_accessor :repository
|
21
21
|
|
22
|
+
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
23
|
+
attr_accessor :pulp_labels
|
24
|
+
|
22
25
|
# Modulemd name.
|
23
26
|
attr_accessor :name
|
24
27
|
|
@@ -59,6 +62,7 @@ module PulpRpmClient
|
|
59
62
|
def self.attribute_map
|
60
63
|
{
|
61
64
|
:'repository' => :'repository',
|
65
|
+
:'pulp_labels' => :'pulp_labels',
|
62
66
|
:'name' => :'name',
|
63
67
|
:'stream' => :'stream',
|
64
68
|
:'version' => :'version',
|
@@ -83,6 +87,7 @@ module PulpRpmClient
|
|
83
87
|
def self.openapi_types
|
84
88
|
{
|
85
89
|
:'repository' => :'String',
|
90
|
+
:'pulp_labels' => :'Hash<String, String>',
|
86
91
|
:'name' => :'String',
|
87
92
|
:'stream' => :'String',
|
88
93
|
:'version' => :'String',
|
@@ -126,6 +131,12 @@ module PulpRpmClient
|
|
126
131
|
self.repository = attributes[:'repository']
|
127
132
|
end
|
128
133
|
|
134
|
+
if attributes.key?(:'pulp_labels')
|
135
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
136
|
+
self.pulp_labels = value
|
137
|
+
end
|
138
|
+
end
|
139
|
+
|
129
140
|
if attributes.key?(:'name')
|
130
141
|
self.name = attributes[:'name']
|
131
142
|
else
|
@@ -386,6 +397,7 @@ module PulpRpmClient
|
|
386
397
|
return true if self.equal?(o)
|
387
398
|
self.class == o.class &&
|
388
399
|
repository == o.repository &&
|
400
|
+
pulp_labels == o.pulp_labels &&
|
389
401
|
name == o.name &&
|
390
402
|
stream == o.stream &&
|
391
403
|
version == o.version &&
|
@@ -409,7 +421,7 @@ module PulpRpmClient
|
|
409
421
|
# Calculates hash code according to all attributes.
|
410
422
|
# @return [Integer] Hash code
|
411
423
|
def hash
|
412
|
-
[repository, name, stream, version, static_context, context, arch, artifacts, dependencies, packages, snippet, profiles, description].hash
|
424
|
+
[repository, pulp_labels, name, stream, version, static_context, context, arch, artifacts, dependencies, packages, snippet, profiles, description].hash
|
413
425
|
end
|
414
426
|
|
415
427
|
# Builds the object from hash
|
@@ -19,6 +19,9 @@ module PulpRpmClient
|
|
19
19
|
# A URI of a repository the new content unit should be associated with.
|
20
20
|
attr_accessor :repository
|
21
21
|
|
22
|
+
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
23
|
+
attr_accessor :pulp_labels
|
24
|
+
|
22
25
|
# Modulemd name.
|
23
26
|
attr_accessor :_module
|
24
27
|
|
@@ -35,6 +38,7 @@ module PulpRpmClient
|
|
35
38
|
def self.attribute_map
|
36
39
|
{
|
37
40
|
:'repository' => :'repository',
|
41
|
+
:'pulp_labels' => :'pulp_labels',
|
38
42
|
:'_module' => :'module',
|
39
43
|
:'stream' => :'stream',
|
40
44
|
:'profiles' => :'profiles',
|
@@ -51,6 +55,7 @@ module PulpRpmClient
|
|
51
55
|
def self.openapi_types
|
52
56
|
{
|
53
57
|
:'repository' => :'String',
|
58
|
+
:'pulp_labels' => :'Hash<String, String>',
|
54
59
|
:'_module' => :'String',
|
55
60
|
:'stream' => :'String',
|
56
61
|
:'profiles' => :'Object',
|
@@ -84,6 +89,12 @@ module PulpRpmClient
|
|
84
89
|
self.repository = attributes[:'repository']
|
85
90
|
end
|
86
91
|
|
92
|
+
if attributes.key?(:'pulp_labels')
|
93
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
94
|
+
self.pulp_labels = value
|
95
|
+
end
|
96
|
+
end
|
97
|
+
|
87
98
|
if attributes.key?(:'_module')
|
88
99
|
self._module = attributes[:'_module']
|
89
100
|
else
|
@@ -202,6 +213,7 @@ module PulpRpmClient
|
|
202
213
|
return true if self.equal?(o)
|
203
214
|
self.class == o.class &&
|
204
215
|
repository == o.repository &&
|
216
|
+
pulp_labels == o.pulp_labels &&
|
205
217
|
_module == o._module &&
|
206
218
|
stream == o.stream &&
|
207
219
|
profiles == o.profiles &&
|
@@ -217,7 +229,7 @@ module PulpRpmClient
|
|
217
229
|
# Calculates hash code according to all attributes.
|
218
230
|
# @return [Integer] Hash code
|
219
231
|
def hash
|
220
|
-
[repository, _module, stream, profiles, snippet].hash
|
232
|
+
[repository, pulp_labels, _module, stream, profiles, snippet].hash
|
221
233
|
end
|
222
234
|
|
223
235
|
# Builds the object from hash
|
@@ -27,6 +27,9 @@ module PulpRpmClient
|
|
27
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
28
|
attr_accessor :pulp_last_updated
|
29
29
|
|
30
|
+
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
31
|
+
attr_accessor :pulp_labels
|
32
|
+
|
30
33
|
# Modulemd name.
|
31
34
|
attr_accessor :_module
|
32
35
|
|
@@ -43,6 +46,7 @@ module PulpRpmClient
|
|
43
46
|
:'prn' => :'prn',
|
44
47
|
:'pulp_created' => :'pulp_created',
|
45
48
|
:'pulp_last_updated' => :'pulp_last_updated',
|
49
|
+
:'pulp_labels' => :'pulp_labels',
|
46
50
|
:'_module' => :'module',
|
47
51
|
:'stream' => :'stream',
|
48
52
|
:'profiles' => :'profiles'
|
@@ -61,6 +65,7 @@ module PulpRpmClient
|
|
61
65
|
:'prn' => :'String',
|
62
66
|
:'pulp_created' => :'Time',
|
63
67
|
:'pulp_last_updated' => :'Time',
|
68
|
+
:'pulp_labels' => :'Hash<String, String>',
|
64
69
|
:'_module' => :'String',
|
65
70
|
:'stream' => :'String',
|
66
71
|
:'profiles' => :'Object'
|
@@ -105,6 +110,12 @@ module PulpRpmClient
|
|
105
110
|
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
106
111
|
end
|
107
112
|
|
113
|
+
if attributes.key?(:'pulp_labels')
|
114
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
115
|
+
self.pulp_labels = value
|
116
|
+
end
|
117
|
+
end
|
118
|
+
|
108
119
|
if attributes.key?(:'_module')
|
109
120
|
self._module = attributes[:'_module']
|
110
121
|
else
|
@@ -158,6 +169,7 @@ module PulpRpmClient
|
|
158
169
|
prn == o.prn &&
|
159
170
|
pulp_created == o.pulp_created &&
|
160
171
|
pulp_last_updated == o.pulp_last_updated &&
|
172
|
+
pulp_labels == o.pulp_labels &&
|
161
173
|
_module == o._module &&
|
162
174
|
stream == o.stream &&
|
163
175
|
profiles == o.profiles
|
@@ -172,7 +184,7 @@ module PulpRpmClient
|
|
172
184
|
# Calculates hash code according to all attributes.
|
173
185
|
# @return [Integer] Hash code
|
174
186
|
def hash
|
175
|
-
[pulp_href, prn, pulp_created, pulp_last_updated, _module, stream, profiles].hash
|
187
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, _module, stream, profiles].hash
|
176
188
|
end
|
177
189
|
|
178
190
|
# Builds the object from hash
|
@@ -19,6 +19,9 @@ module PulpRpmClient
|
|
19
19
|
# A URI of a repository the new content unit should be associated with.
|
20
20
|
attr_accessor :repository
|
21
21
|
|
22
|
+
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
23
|
+
attr_accessor :pulp_labels
|
24
|
+
|
22
25
|
# Obsolete modified time.
|
23
26
|
attr_accessor :modified
|
24
27
|
|
@@ -53,6 +56,7 @@ module PulpRpmClient
|
|
53
56
|
def self.attribute_map
|
54
57
|
{
|
55
58
|
:'repository' => :'repository',
|
59
|
+
:'pulp_labels' => :'pulp_labels',
|
56
60
|
:'modified' => :'modified',
|
57
61
|
:'module_name' => :'module_name',
|
58
62
|
:'module_stream' => :'module_stream',
|
@@ -75,6 +79,7 @@ module PulpRpmClient
|
|
75
79
|
def self.openapi_types
|
76
80
|
{
|
77
81
|
:'repository' => :'String',
|
82
|
+
:'pulp_labels' => :'Hash<String, String>',
|
78
83
|
:'modified' => :'String',
|
79
84
|
:'module_name' => :'String',
|
80
85
|
:'module_stream' => :'String',
|
@@ -118,6 +123,12 @@ module PulpRpmClient
|
|
118
123
|
self.repository = attributes[:'repository']
|
119
124
|
end
|
120
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
|
+
|
121
132
|
if attributes.key?(:'modified')
|
122
133
|
self.modified = attributes[:'modified']
|
123
134
|
else
|
@@ -395,6 +406,7 @@ module PulpRpmClient
|
|
395
406
|
return true if self.equal?(o)
|
396
407
|
self.class == o.class &&
|
397
408
|
repository == o.repository &&
|
409
|
+
pulp_labels == o.pulp_labels &&
|
398
410
|
modified == o.modified &&
|
399
411
|
module_name == o.module_name &&
|
400
412
|
module_stream == o.module_stream &&
|
@@ -416,7 +428,7 @@ module PulpRpmClient
|
|
416
428
|
# Calculates hash code according to all attributes.
|
417
429
|
# @return [Integer] Hash code
|
418
430
|
def hash
|
419
|
-
[repository, modified, module_name, module_stream, message, override_previous, module_context, eol_date, obsoleted_by_module_name, obsoleted_by_module_stream, snippet].hash
|
431
|
+
[repository, pulp_labels, modified, module_name, module_stream, message, override_previous, module_context, eol_date, obsoleted_by_module_name, obsoleted_by_module_stream, snippet].hash
|
420
432
|
end
|
421
433
|
|
422
434
|
# Builds the object from hash
|
@@ -27,6 +27,9 @@ module PulpRpmClient
|
|
27
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
28
|
attr_accessor :pulp_last_updated
|
29
29
|
|
30
|
+
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
31
|
+
attr_accessor :pulp_labels
|
32
|
+
|
30
33
|
# Obsolete modified time.
|
31
34
|
attr_accessor :modified
|
32
35
|
|
@@ -61,6 +64,7 @@ module PulpRpmClient
|
|
61
64
|
:'prn' => :'prn',
|
62
65
|
:'pulp_created' => :'pulp_created',
|
63
66
|
:'pulp_last_updated' => :'pulp_last_updated',
|
67
|
+
:'pulp_labels' => :'pulp_labels',
|
64
68
|
:'modified' => :'modified',
|
65
69
|
:'module_name' => :'module_name',
|
66
70
|
:'module_stream' => :'module_stream',
|
@@ -85,6 +89,7 @@ module PulpRpmClient
|
|
85
89
|
:'prn' => :'String',
|
86
90
|
:'pulp_created' => :'Time',
|
87
91
|
:'pulp_last_updated' => :'Time',
|
92
|
+
:'pulp_labels' => :'Hash<String, String>',
|
88
93
|
:'modified' => :'String',
|
89
94
|
:'module_name' => :'String',
|
90
95
|
:'module_stream' => :'String',
|
@@ -139,6 +144,12 @@ module PulpRpmClient
|
|
139
144
|
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
140
145
|
end
|
141
146
|
|
147
|
+
if attributes.key?(:'pulp_labels')
|
148
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
149
|
+
self.pulp_labels = value
|
150
|
+
end
|
151
|
+
end
|
152
|
+
|
142
153
|
if attributes.key?(:'modified')
|
143
154
|
self.modified = attributes[:'modified']
|
144
155
|
else
|
@@ -238,6 +249,7 @@ module PulpRpmClient
|
|
238
249
|
prn == o.prn &&
|
239
250
|
pulp_created == o.pulp_created &&
|
240
251
|
pulp_last_updated == o.pulp_last_updated &&
|
252
|
+
pulp_labels == o.pulp_labels &&
|
241
253
|
modified == o.modified &&
|
242
254
|
module_name == o.module_name &&
|
243
255
|
module_stream == o.module_stream &&
|
@@ -258,7 +270,7 @@ module PulpRpmClient
|
|
258
270
|
# Calculates hash code according to all attributes.
|
259
271
|
# @return [Integer] Hash code
|
260
272
|
def hash
|
261
|
-
[pulp_href, prn, pulp_created, pulp_last_updated, modified, module_name, module_stream, message, override_previous, module_context, eol_date, obsoleted_by_module_name, obsoleted_by_module_stream].hash
|
273
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, modified, module_name, module_stream, message, override_previous, module_context, eol_date, obsoleted_by_module_name, obsoleted_by_module_stream].hash
|
262
274
|
end
|
263
275
|
|
264
276
|
# Builds the object from hash
|
@@ -27,6 +27,9 @@ module PulpRpmClient
|
|
27
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
28
|
attr_accessor :pulp_last_updated
|
29
29
|
|
30
|
+
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
31
|
+
attr_accessor :pulp_labels
|
32
|
+
|
30
33
|
# Modulemd name.
|
31
34
|
attr_accessor :name
|
32
35
|
|
@@ -67,6 +70,7 @@ module PulpRpmClient
|
|
67
70
|
:'prn' => :'prn',
|
68
71
|
:'pulp_created' => :'pulp_created',
|
69
72
|
:'pulp_last_updated' => :'pulp_last_updated',
|
73
|
+
:'pulp_labels' => :'pulp_labels',
|
70
74
|
:'name' => :'name',
|
71
75
|
:'stream' => :'stream',
|
72
76
|
:'version' => :'version',
|
@@ -93,6 +97,7 @@ module PulpRpmClient
|
|
93
97
|
:'prn' => :'String',
|
94
98
|
:'pulp_created' => :'Time',
|
95
99
|
:'pulp_last_updated' => :'Time',
|
100
|
+
:'pulp_labels' => :'Hash<String, String>',
|
96
101
|
:'name' => :'String',
|
97
102
|
:'stream' => :'String',
|
98
103
|
:'version' => :'String',
|
@@ -147,6 +152,12 @@ module PulpRpmClient
|
|
147
152
|
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
148
153
|
end
|
149
154
|
|
155
|
+
if attributes.key?(:'pulp_labels')
|
156
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
157
|
+
self.pulp_labels = value
|
158
|
+
end
|
159
|
+
end
|
160
|
+
|
150
161
|
if attributes.key?(:'name')
|
151
162
|
self.name = attributes[:'name']
|
152
163
|
else
|
@@ -266,6 +277,7 @@ module PulpRpmClient
|
|
266
277
|
prn == o.prn &&
|
267
278
|
pulp_created == o.pulp_created &&
|
268
279
|
pulp_last_updated == o.pulp_last_updated &&
|
280
|
+
pulp_labels == o.pulp_labels &&
|
269
281
|
name == o.name &&
|
270
282
|
stream == o.stream &&
|
271
283
|
version == o.version &&
|
@@ -288,7 +300,7 @@ module PulpRpmClient
|
|
288
300
|
# Calculates hash code according to all attributes.
|
289
301
|
# @return [Integer] Hash code
|
290
302
|
def hash
|
291
|
-
[pulp_href, prn, pulp_created, pulp_last_updated, name, stream, version, static_context, context, arch, artifacts, dependencies, packages, profiles, description].hash
|
303
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, name, stream, version, static_context, context, arch, artifacts, dependencies, packages, profiles, description].hash
|
292
304
|
end
|
293
305
|
|
294
306
|
# Builds the object from hash
|
@@ -27,6 +27,9 @@ module PulpRpmClient
|
|
27
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
28
|
attr_accessor :pulp_last_updated
|
29
29
|
|
30
|
+
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
31
|
+
attr_accessor :pulp_labels
|
32
|
+
|
30
33
|
# Category id.
|
31
34
|
attr_accessor :id
|
32
35
|
|
@@ -58,6 +61,7 @@ module PulpRpmClient
|
|
58
61
|
:'prn' => :'prn',
|
59
62
|
:'pulp_created' => :'pulp_created',
|
60
63
|
:'pulp_last_updated' => :'pulp_last_updated',
|
64
|
+
:'pulp_labels' => :'pulp_labels',
|
61
65
|
:'id' => :'id',
|
62
66
|
:'name' => :'name',
|
63
67
|
:'description' => :'description',
|
@@ -81,6 +85,7 @@ module PulpRpmClient
|
|
81
85
|
:'prn' => :'String',
|
82
86
|
:'pulp_created' => :'Time',
|
83
87
|
:'pulp_last_updated' => :'Time',
|
88
|
+
:'pulp_labels' => :'Hash<String, String>',
|
84
89
|
:'id' => :'String',
|
85
90
|
:'name' => :'String',
|
86
91
|
:'description' => :'String',
|
@@ -133,6 +138,12 @@ module PulpRpmClient
|
|
133
138
|
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
134
139
|
end
|
135
140
|
|
141
|
+
if attributes.key?(:'pulp_labels')
|
142
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
143
|
+
self.pulp_labels = value
|
144
|
+
end
|
145
|
+
end
|
146
|
+
|
136
147
|
if attributes.key?(:'id')
|
137
148
|
self.id = attributes[:'id']
|
138
149
|
else
|
@@ -226,6 +237,7 @@ module PulpRpmClient
|
|
226
237
|
prn == o.prn &&
|
227
238
|
pulp_created == o.pulp_created &&
|
228
239
|
pulp_last_updated == o.pulp_last_updated &&
|
240
|
+
pulp_labels == o.pulp_labels &&
|
229
241
|
id == o.id &&
|
230
242
|
name == o.name &&
|
231
243
|
description == o.description &&
|
@@ -245,7 +257,7 @@ module PulpRpmClient
|
|
245
257
|
# Calculates hash code according to all attributes.
|
246
258
|
# @return [Integer] Hash code
|
247
259
|
def hash
|
248
|
-
[pulp_href, prn, pulp_created, pulp_last_updated, id, name, description, display_order, group_ids, desc_by_lang, name_by_lang, digest].hash
|
260
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, id, name, description, display_order, group_ids, desc_by_lang, name_by_lang, digest].hash
|
249
261
|
end
|
250
262
|
|
251
263
|
# Builds the object from hash
|
@@ -27,6 +27,9 @@ module PulpRpmClient
|
|
27
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
28
|
attr_accessor :pulp_last_updated
|
29
29
|
|
30
|
+
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
31
|
+
attr_accessor :pulp_labels
|
32
|
+
|
30
33
|
# Environment id.
|
31
34
|
attr_accessor :id
|
32
35
|
|
@@ -61,6 +64,7 @@ module PulpRpmClient
|
|
61
64
|
:'prn' => :'prn',
|
62
65
|
:'pulp_created' => :'pulp_created',
|
63
66
|
:'pulp_last_updated' => :'pulp_last_updated',
|
67
|
+
:'pulp_labels' => :'pulp_labels',
|
64
68
|
:'id' => :'id',
|
65
69
|
:'name' => :'name',
|
66
70
|
:'description' => :'description',
|
@@ -85,6 +89,7 @@ module PulpRpmClient
|
|
85
89
|
:'prn' => :'String',
|
86
90
|
:'pulp_created' => :'Time',
|
87
91
|
:'pulp_last_updated' => :'Time',
|
92
|
+
:'pulp_labels' => :'Hash<String, String>',
|
88
93
|
:'id' => :'String',
|
89
94
|
:'name' => :'String',
|
90
95
|
:'description' => :'String',
|
@@ -139,6 +144,12 @@ module PulpRpmClient
|
|
139
144
|
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
140
145
|
end
|
141
146
|
|
147
|
+
if attributes.key?(:'pulp_labels')
|
148
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
149
|
+
self.pulp_labels = value
|
150
|
+
end
|
151
|
+
end
|
152
|
+
|
142
153
|
if attributes.key?(:'id')
|
143
154
|
self.id = attributes[:'id']
|
144
155
|
else
|
@@ -238,6 +249,7 @@ module PulpRpmClient
|
|
238
249
|
prn == o.prn &&
|
239
250
|
pulp_created == o.pulp_created &&
|
240
251
|
pulp_last_updated == o.pulp_last_updated &&
|
252
|
+
pulp_labels == o.pulp_labels &&
|
241
253
|
id == o.id &&
|
242
254
|
name == o.name &&
|
243
255
|
description == o.description &&
|
@@ -258,7 +270,7 @@ module PulpRpmClient
|
|
258
270
|
# Calculates hash code according to all attributes.
|
259
271
|
# @return [Integer] Hash code
|
260
272
|
def hash
|
261
|
-
[pulp_href, prn, pulp_created, pulp_last_updated, id, name, description, display_order, group_ids, option_ids, desc_by_lang, name_by_lang, digest].hash
|
273
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, id, name, description, display_order, group_ids, option_ids, desc_by_lang, name_by_lang, digest].hash
|
262
274
|
end
|
263
275
|
|
264
276
|
# Builds the object from hash
|
@@ -27,6 +27,9 @@ module PulpRpmClient
|
|
27
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
28
|
attr_accessor :pulp_last_updated
|
29
29
|
|
30
|
+
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
31
|
+
attr_accessor :pulp_labels
|
32
|
+
|
30
33
|
# PackageGroup id.
|
31
34
|
attr_accessor :id
|
32
35
|
|
@@ -67,6 +70,7 @@ module PulpRpmClient
|
|
67
70
|
:'prn' => :'prn',
|
68
71
|
:'pulp_created' => :'pulp_created',
|
69
72
|
:'pulp_last_updated' => :'pulp_last_updated',
|
73
|
+
:'pulp_labels' => :'pulp_labels',
|
70
74
|
:'id' => :'id',
|
71
75
|
:'default' => :'default',
|
72
76
|
:'user_visible' => :'user_visible',
|
@@ -93,6 +97,7 @@ module PulpRpmClient
|
|
93
97
|
:'prn' => :'String',
|
94
98
|
:'pulp_created' => :'Time',
|
95
99
|
:'pulp_last_updated' => :'Time',
|
100
|
+
:'pulp_labels' => :'Hash<String, String>',
|
96
101
|
:'id' => :'String',
|
97
102
|
:'default' => :'Boolean',
|
98
103
|
:'user_visible' => :'Boolean',
|
@@ -148,6 +153,12 @@ module PulpRpmClient
|
|
148
153
|
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
149
154
|
end
|
150
155
|
|
156
|
+
if attributes.key?(:'pulp_labels')
|
157
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
158
|
+
self.pulp_labels = value
|
159
|
+
end
|
160
|
+
end
|
161
|
+
|
151
162
|
if attributes.key?(:'id')
|
152
163
|
self.id = attributes[:'id']
|
153
164
|
else
|
@@ -253,6 +264,7 @@ module PulpRpmClient
|
|
253
264
|
prn == o.prn &&
|
254
265
|
pulp_created == o.pulp_created &&
|
255
266
|
pulp_last_updated == o.pulp_last_updated &&
|
267
|
+
pulp_labels == o.pulp_labels &&
|
256
268
|
id == o.id &&
|
257
269
|
default == o.default &&
|
258
270
|
user_visible == o.user_visible &&
|
@@ -275,7 +287,7 @@ module PulpRpmClient
|
|
275
287
|
# Calculates hash code according to all attributes.
|
276
288
|
# @return [Integer] Hash code
|
277
289
|
def hash
|
278
|
-
[pulp_href, prn, pulp_created, pulp_last_updated, id, default, user_visible, display_order, name, description, packages, biarch_only, desc_by_lang, name_by_lang, digest].hash
|
290
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, id, default, user_visible, display_order, name, description, packages, biarch_only, desc_by_lang, name_by_lang, digest].hash
|
279
291
|
end
|
280
292
|
|
281
293
|
# Builds the object from hash
|
@@ -27,6 +27,9 @@ module PulpRpmClient
|
|
27
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
28
|
attr_accessor :pulp_last_updated
|
29
29
|
|
30
|
+
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
31
|
+
attr_accessor :pulp_labels
|
32
|
+
|
30
33
|
# Langpacks matches.
|
31
34
|
attr_accessor :matches
|
32
35
|
|
@@ -40,6 +43,7 @@ module PulpRpmClient
|
|
40
43
|
:'prn' => :'prn',
|
41
44
|
:'pulp_created' => :'pulp_created',
|
42
45
|
:'pulp_last_updated' => :'pulp_last_updated',
|
46
|
+
:'pulp_labels' => :'pulp_labels',
|
43
47
|
:'matches' => :'matches',
|
44
48
|
:'digest' => :'digest'
|
45
49
|
}
|
@@ -57,6 +61,7 @@ module PulpRpmClient
|
|
57
61
|
:'prn' => :'String',
|
58
62
|
:'pulp_created' => :'Time',
|
59
63
|
:'pulp_last_updated' => :'Time',
|
64
|
+
:'pulp_labels' => :'Hash<String, String>',
|
60
65
|
:'matches' => :'Object',
|
61
66
|
:'digest' => :'String'
|
62
67
|
}
|
@@ -101,6 +106,12 @@ module PulpRpmClient
|
|
101
106
|
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
102
107
|
end
|
103
108
|
|
109
|
+
if attributes.key?(:'pulp_labels')
|
110
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
111
|
+
self.pulp_labels = value
|
112
|
+
end
|
113
|
+
end
|
114
|
+
|
104
115
|
if attributes.key?(:'matches')
|
105
116
|
self.matches = attributes[:'matches']
|
106
117
|
else
|
@@ -138,6 +149,7 @@ module PulpRpmClient
|
|
138
149
|
prn == o.prn &&
|
139
150
|
pulp_created == o.pulp_created &&
|
140
151
|
pulp_last_updated == o.pulp_last_updated &&
|
152
|
+
pulp_labels == o.pulp_labels &&
|
141
153
|
matches == o.matches &&
|
142
154
|
digest == o.digest
|
143
155
|
end
|
@@ -151,7 +163,7 @@ module PulpRpmClient
|
|
151
163
|
# Calculates hash code according to all attributes.
|
152
164
|
# @return [Integer] Hash code
|
153
165
|
def hash
|
154
|
-
[pulp_href, prn, pulp_created, pulp_last_updated, matches, digest].hash
|
166
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, matches, digest].hash
|
155
167
|
end
|
156
168
|
|
157
169
|
# Builds the object from hash
|