pulp_rpm_client 3.0.0rc1 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/RepositoriesRpmVersionsApi.md +4 -4
- data/docs/RpmPackageCategory.md +5 -1
- data/docs/RpmPackageEnvironment.md +5 -1
- data/docs/RpmPackageGroup.md +5 -1
- data/docs/RpmPackageLangpacks.md +5 -1
- data/docs/RpmRpmPublication.md +0 -2
- data/lib/pulp_rpm_client.rb +1 -1
- data/lib/pulp_rpm_client/api/content_advisories_api.rb +1 -1
- data/lib/pulp_rpm_client/api/content_distribution_trees_api.rb +1 -1
- data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +1 -1
- data/lib/pulp_rpm_client/api/content_modulemds_api.rb +1 -1
- data/lib/pulp_rpm_client/api/content_packagecategories_api.rb +1 -1
- data/lib/pulp_rpm_client/api/content_packageenvironments_api.rb +1 -1
- data/lib/pulp_rpm_client/api/content_packagegroups_api.rb +1 -1
- data/lib/pulp_rpm_client/api/content_packagelangpacks_api.rb +1 -1
- data/lib/pulp_rpm_client/api/content_packages_api.rb +1 -1
- data/lib/pulp_rpm_client/api/content_repo_metadata_files_api.rb +1 -1
- data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +1 -1
- data/lib/pulp_rpm_client/api/publications_rpm_api.rb +1 -1
- data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +1 -1
- data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +1 -1
- data/lib/pulp_rpm_client/api/repositories_rpm_versions_api.rb +10 -10
- data/lib/pulp_rpm_client/api_client.rb +1 -1
- data/lib/pulp_rpm_client/api_error.rb +1 -1
- data/lib/pulp_rpm_client/configuration.rb +2 -2
- data/lib/pulp_rpm_client/models/addon.rb +1 -1
- data/lib/pulp_rpm_client/models/artifact.rb +1 -1
- data/lib/pulp_rpm_client/models/async_operation_response.rb +1 -1
- data/lib/pulp_rpm_client/models/checksum.rb +1 -1
- data/lib/pulp_rpm_client/models/content_summary.rb +1 -1
- data/lib/pulp_rpm_client/models/image.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response200.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response2001.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response20010.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response20011.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response20012.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response20013.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response20014.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response2002.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response2003.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response2004.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response2005.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response2006.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response2007.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response2008.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response2009.rb +1 -1
- data/lib/pulp_rpm_client/models/repository_add_remove_content.rb +1 -1
- data/lib/pulp_rpm_client/models/repository_sync_url.rb +1 -1
- data/lib/pulp_rpm_client/models/repository_version.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_distribution_tree.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_modulemd.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_modulemd_defaults.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_package.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_package_category.rb +21 -40
- data/lib/pulp_rpm_client/models/rpm_package_environment.rb +21 -40
- data/lib/pulp_rpm_client/models/rpm_package_group.rb +21 -40
- data/lib/pulp_rpm_client/models/rpm_package_langpacks.rb +21 -2
- data/lib/pulp_rpm_client/models/rpm_repo_metadata_file.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_distribution.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_publication.rb +2 -12
- data/lib/pulp_rpm_client/models/rpm_rpm_remote.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_update_collection.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_update_record.rb +1 -1
- data/lib/pulp_rpm_client/models/variant.rb +1 -1
- data/lib/pulp_rpm_client/version.rb +2 -2
- data/pulp_rpm_client.gemspec +1 -1
- data/spec/api/content_advisories_api_spec.rb +1 -1
- data/spec/api/content_distribution_trees_api_spec.rb +1 -1
- data/spec/api/content_modulemd_defaults_api_spec.rb +1 -1
- data/spec/api/content_modulemds_api_spec.rb +1 -1
- data/spec/api/content_packagecategories_api_spec.rb +1 -1
- data/spec/api/content_packageenvironments_api_spec.rb +1 -1
- data/spec/api/content_packagegroups_api_spec.rb +1 -1
- data/spec/api/content_packagelangpacks_api_spec.rb +1 -1
- data/spec/api/content_packages_api_spec.rb +1 -1
- data/spec/api/content_repo_metadata_files_api_spec.rb +1 -1
- data/spec/api/distributions_rpm_api_spec.rb +1 -1
- data/spec/api/publications_rpm_api_spec.rb +1 -1
- data/spec/api/remotes_rpm_api_spec.rb +1 -1
- data/spec/api/repositories_rpm_api_spec.rb +1 -1
- data/spec/api/repositories_rpm_versions_api_spec.rb +2 -2
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/addon_spec.rb +1 -1
- data/spec/models/artifact_spec.rb +1 -1
- data/spec/models/async_operation_response_spec.rb +1 -1
- data/spec/models/checksum_spec.rb +1 -1
- data/spec/models/content_summary_spec.rb +1 -1
- data/spec/models/image_spec.rb +1 -1
- data/spec/models/inline_response20010_spec.rb +1 -1
- data/spec/models/inline_response20011_spec.rb +1 -1
- data/spec/models/inline_response20012_spec.rb +1 -1
- data/spec/models/inline_response20013_spec.rb +1 -1
- data/spec/models/inline_response20014_spec.rb +1 -1
- data/spec/models/inline_response2001_spec.rb +1 -1
- data/spec/models/inline_response2002_spec.rb +1 -1
- data/spec/models/inline_response2003_spec.rb +1 -1
- data/spec/models/inline_response2004_spec.rb +1 -1
- data/spec/models/inline_response2005_spec.rb +1 -1
- data/spec/models/inline_response2006_spec.rb +1 -1
- data/spec/models/inline_response2007_spec.rb +1 -1
- data/spec/models/inline_response2008_spec.rb +1 -1
- data/spec/models/inline_response2009_spec.rb +1 -1
- data/spec/models/inline_response200_spec.rb +1 -1
- data/spec/models/repository_add_remove_content_spec.rb +1 -1
- data/spec/models/repository_sync_url_spec.rb +1 -1
- data/spec/models/repository_version_spec.rb +1 -1
- data/spec/models/rpm_distribution_tree_spec.rb +1 -1
- data/spec/models/rpm_modulemd_defaults_spec.rb +1 -1
- data/spec/models/rpm_modulemd_spec.rb +1 -1
- data/spec/models/rpm_package_category_spec.rb +13 -1
- data/spec/models/rpm_package_environment_spec.rb +13 -1
- data/spec/models/rpm_package_group_spec.rb +13 -1
- data/spec/models/rpm_package_langpacks_spec.rb +13 -1
- data/spec/models/rpm_package_spec.rb +1 -1
- data/spec/models/rpm_repo_metadata_file_spec.rb +1 -1
- data/spec/models/rpm_rpm_distribution_spec.rb +1 -1
- data/spec/models/rpm_rpm_publication_spec.rb +1 -7
- data/spec/models/rpm_rpm_remote_spec.rb +1 -1
- data/spec/models/rpm_rpm_repository_spec.rb +1 -1
- data/spec/models/rpm_update_collection_spec.rb +1 -1
- data/spec/models/rpm_update_record_spec.rb +1 -1
- data/spec/models/variant_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +4 -4
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.2.
|
9
|
+
OpenAPI Generator version: 4.2.3-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -14,6 +14,11 @@ require 'date'
|
|
14
14
|
|
15
15
|
module PulpRpmClient
|
16
16
|
class RpmPackageGroup
|
17
|
+
attr_accessor :pulp_href
|
18
|
+
|
19
|
+
# Timestamp of creation.
|
20
|
+
attr_accessor :pulp_created
|
21
|
+
|
17
22
|
# PackageGroup id.
|
18
23
|
attr_accessor :id
|
19
24
|
|
@@ -53,6 +58,8 @@ module PulpRpmClient
|
|
53
58
|
# Attribute mapping from ruby-style variable name to JSON key.
|
54
59
|
def self.attribute_map
|
55
60
|
{
|
61
|
+
:'pulp_href' => :'pulp_href',
|
62
|
+
:'pulp_created' => :'pulp_created',
|
56
63
|
:'id' => :'id',
|
57
64
|
:'default' => :'default',
|
58
65
|
:'user_visible' => :'user_visible',
|
@@ -71,6 +78,8 @@ module PulpRpmClient
|
|
71
78
|
# Attribute type mapping.
|
72
79
|
def self.openapi_types
|
73
80
|
{
|
81
|
+
:'pulp_href' => :'String',
|
82
|
+
:'pulp_created' => :'DateTime',
|
74
83
|
:'id' => :'String',
|
75
84
|
:'default' => :'Boolean',
|
76
85
|
:'user_visible' => :'Boolean',
|
@@ -107,6 +116,14 @@ module PulpRpmClient
|
|
107
116
|
h[k.to_sym] = v
|
108
117
|
}
|
109
118
|
|
119
|
+
if attributes.key?(:'pulp_href')
|
120
|
+
self.pulp_href = attributes[:'pulp_href']
|
121
|
+
end
|
122
|
+
|
123
|
+
if attributes.key?(:'pulp_created')
|
124
|
+
self.pulp_created = attributes[:'pulp_created']
|
125
|
+
end
|
126
|
+
|
110
127
|
if attributes.key?(:'id')
|
111
128
|
self.id = attributes[:'id']
|
112
129
|
end
|
@@ -178,18 +195,10 @@ module PulpRpmClient
|
|
178
195
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
179
196
|
end
|
180
197
|
|
181
|
-
if @name.to_s.length < 1
|
182
|
-
invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
|
183
|
-
end
|
184
|
-
|
185
198
|
if @description.nil?
|
186
199
|
invalid_properties.push('invalid value for "description", description cannot be nil.')
|
187
200
|
end
|
188
201
|
|
189
|
-
if @description.to_s.length < 1
|
190
|
-
invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
|
191
|
-
end
|
192
|
-
|
193
202
|
if @packages.nil?
|
194
203
|
invalid_properties.push('invalid value for "packages", packages cannot be nil.')
|
195
204
|
end
|
@@ -220,9 +229,7 @@ module PulpRpmClient
|
|
220
229
|
return false if @id.to_s.length < 1
|
221
230
|
return false if @display_order.nil?
|
222
231
|
return false if @name.nil?
|
223
|
-
return false if @name.to_s.length < 1
|
224
232
|
return false if @description.nil?
|
225
|
-
return false if @description.to_s.length < 1
|
226
233
|
return false if @packages.nil?
|
227
234
|
return false if @desc_by_lang.nil?
|
228
235
|
return false if @name_by_lang.nil?
|
@@ -245,34 +252,6 @@ module PulpRpmClient
|
|
245
252
|
@id = id
|
246
253
|
end
|
247
254
|
|
248
|
-
# Custom attribute writer method with validation
|
249
|
-
# @param [Object] name Value to be assigned
|
250
|
-
def name=(name)
|
251
|
-
if name.nil?
|
252
|
-
fail ArgumentError, 'name cannot be nil'
|
253
|
-
end
|
254
|
-
|
255
|
-
if name.to_s.length < 1
|
256
|
-
fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
|
257
|
-
end
|
258
|
-
|
259
|
-
@name = name
|
260
|
-
end
|
261
|
-
|
262
|
-
# Custom attribute writer method with validation
|
263
|
-
# @param [Object] description Value to be assigned
|
264
|
-
def description=(description)
|
265
|
-
if description.nil?
|
266
|
-
fail ArgumentError, 'description cannot be nil'
|
267
|
-
end
|
268
|
-
|
269
|
-
if description.to_s.length < 1
|
270
|
-
fail ArgumentError, 'invalid value for "description", the character length must be great than or equal to 1.'
|
271
|
-
end
|
272
|
-
|
273
|
-
@description = description
|
274
|
-
end
|
275
|
-
|
276
255
|
# Custom attribute writer method with validation
|
277
256
|
# @param [Object] digest Value to be assigned
|
278
257
|
def digest=(digest)
|
@@ -292,6 +271,8 @@ module PulpRpmClient
|
|
292
271
|
def ==(o)
|
293
272
|
return true if self.equal?(o)
|
294
273
|
self.class == o.class &&
|
274
|
+
pulp_href == o.pulp_href &&
|
275
|
+
pulp_created == o.pulp_created &&
|
295
276
|
id == o.id &&
|
296
277
|
default == o.default &&
|
297
278
|
user_visible == o.user_visible &&
|
@@ -315,7 +296,7 @@ module PulpRpmClient
|
|
315
296
|
# Calculates hash code according to all attributes.
|
316
297
|
# @return [Integer] Hash code
|
317
298
|
def hash
|
318
|
-
[id, default, user_visible, display_order, name, description, packages, biarch_only, desc_by_lang, name_by_lang, digest, related_packages].hash
|
299
|
+
[pulp_href, pulp_created, id, default, user_visible, display_order, name, description, packages, biarch_only, desc_by_lang, name_by_lang, digest, related_packages].hash
|
319
300
|
end
|
320
301
|
|
321
302
|
# Builds the object from hash
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.2.
|
9
|
+
OpenAPI Generator version: 4.2.3-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -14,6 +14,11 @@ require 'date'
|
|
14
14
|
|
15
15
|
module PulpRpmClient
|
16
16
|
class RpmPackageLangpacks
|
17
|
+
attr_accessor :pulp_href
|
18
|
+
|
19
|
+
# Timestamp of creation.
|
20
|
+
attr_accessor :pulp_created
|
21
|
+
|
17
22
|
# Langpacks matches.
|
18
23
|
attr_accessor :matches
|
19
24
|
|
@@ -23,6 +28,8 @@ module PulpRpmClient
|
|
23
28
|
# Attribute mapping from ruby-style variable name to JSON key.
|
24
29
|
def self.attribute_map
|
25
30
|
{
|
31
|
+
:'pulp_href' => :'pulp_href',
|
32
|
+
:'pulp_created' => :'pulp_created',
|
26
33
|
:'matches' => :'matches',
|
27
34
|
:'digest' => :'digest'
|
28
35
|
}
|
@@ -31,6 +38,8 @@ module PulpRpmClient
|
|
31
38
|
# Attribute type mapping.
|
32
39
|
def self.openapi_types
|
33
40
|
{
|
41
|
+
:'pulp_href' => :'String',
|
42
|
+
:'pulp_created' => :'DateTime',
|
34
43
|
:'matches' => :'Object',
|
35
44
|
:'digest' => :'String'
|
36
45
|
}
|
@@ -57,6 +66,14 @@ module PulpRpmClient
|
|
57
66
|
h[k.to_sym] = v
|
58
67
|
}
|
59
68
|
|
69
|
+
if attributes.key?(:'pulp_href')
|
70
|
+
self.pulp_href = attributes[:'pulp_href']
|
71
|
+
end
|
72
|
+
|
73
|
+
if attributes.key?(:'pulp_created')
|
74
|
+
self.pulp_created = attributes[:'pulp_created']
|
75
|
+
end
|
76
|
+
|
60
77
|
if attributes.key?(:'matches')
|
61
78
|
self.matches = attributes[:'matches']
|
62
79
|
end
|
@@ -113,6 +130,8 @@ module PulpRpmClient
|
|
113
130
|
def ==(o)
|
114
131
|
return true if self.equal?(o)
|
115
132
|
self.class == o.class &&
|
133
|
+
pulp_href == o.pulp_href &&
|
134
|
+
pulp_created == o.pulp_created &&
|
116
135
|
matches == o.matches &&
|
117
136
|
digest == o.digest
|
118
137
|
end
|
@@ -126,7 +145,7 @@ module PulpRpmClient
|
|
126
145
|
# Calculates hash code according to all attributes.
|
127
146
|
# @return [Integer] Hash code
|
128
147
|
def hash
|
129
|
-
[matches, digest].hash
|
148
|
+
[pulp_href, pulp_created, matches, digest].hash
|
130
149
|
end
|
131
150
|
|
132
151
|
# Builds the object from hash
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.2.
|
9
|
+
OpenAPI Generator version: 4.2.3-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -19,8 +19,6 @@ module PulpRpmClient
|
|
19
19
|
# Timestamp of creation.
|
20
20
|
attr_accessor :pulp_created
|
21
21
|
|
22
|
-
attr_accessor :publisher
|
23
|
-
|
24
22
|
attr_accessor :repository_version
|
25
23
|
|
26
24
|
# A URI of the repository to be published.
|
@@ -31,7 +29,6 @@ module PulpRpmClient
|
|
31
29
|
{
|
32
30
|
:'pulp_href' => :'pulp_href',
|
33
31
|
:'pulp_created' => :'pulp_created',
|
34
|
-
:'publisher' => :'publisher',
|
35
32
|
:'repository_version' => :'repository_version',
|
36
33
|
:'repository' => :'repository'
|
37
34
|
}
|
@@ -42,7 +39,6 @@ module PulpRpmClient
|
|
42
39
|
{
|
43
40
|
:'pulp_href' => :'String',
|
44
41
|
:'pulp_created' => :'DateTime',
|
45
|
-
:'publisher' => :'String',
|
46
42
|
:'repository_version' => :'String',
|
47
43
|
:'repository' => :'String'
|
48
44
|
}
|
@@ -51,7 +47,6 @@ module PulpRpmClient
|
|
51
47
|
# List of attributes with nullable: true
|
52
48
|
def self.openapi_nullable
|
53
49
|
Set.new([
|
54
|
-
:'publisher',
|
55
50
|
])
|
56
51
|
end
|
57
52
|
|
@@ -78,10 +73,6 @@ module PulpRpmClient
|
|
78
73
|
self.pulp_created = attributes[:'pulp_created']
|
79
74
|
end
|
80
75
|
|
81
|
-
if attributes.key?(:'publisher')
|
82
|
-
self.publisher = attributes[:'publisher']
|
83
|
-
end
|
84
|
-
|
85
76
|
if attributes.key?(:'repository_version')
|
86
77
|
self.repository_version = attributes[:'repository_version']
|
87
78
|
end
|
@@ -111,7 +102,6 @@ module PulpRpmClient
|
|
111
102
|
self.class == o.class &&
|
112
103
|
pulp_href == o.pulp_href &&
|
113
104
|
pulp_created == o.pulp_created &&
|
114
|
-
publisher == o.publisher &&
|
115
105
|
repository_version == o.repository_version &&
|
116
106
|
repository == o.repository
|
117
107
|
end
|
@@ -125,7 +115,7 @@ module PulpRpmClient
|
|
125
115
|
# Calculates hash code according to all attributes.
|
126
116
|
# @return [Integer] Hash code
|
127
117
|
def hash
|
128
|
-
[pulp_href, pulp_created,
|
118
|
+
[pulp_href, pulp_created, repository_version, repository].hash
|
129
119
|
end
|
130
120
|
|
131
121
|
# Builds the object from hash
|
@@ -6,10 +6,10 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.2.
|
9
|
+
OpenAPI Generator version: 4.2.3-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
module PulpRpmClient
|
14
|
-
VERSION = '3.0.
|
14
|
+
VERSION = '3.0.0'
|
15
15
|
end
|
data/pulp_rpm_client.gemspec
CHANGED