pulp_rpm_client 3.25.5 → 3.25.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -5
- data/docs/AcsRpmApi.md +5 -3
- data/docs/ArtifactResponse.md +4 -0
- data/docs/ContentAdvisoriesApi.md +14 -10
- data/docs/ContentDistributionTreesApi.md +11 -9
- data/docs/ContentModulemdDefaultsApi.md +11 -9
- data/docs/ContentModulemdObsoletesApi.md +11 -9
- data/docs/ContentModulemdsApi.md +11 -9
- data/docs/ContentPackagecategoriesApi.md +11 -9
- data/docs/ContentPackageenvironmentsApi.md +11 -9
- data/docs/ContentPackagegroupsApi.md +11 -9
- data/docs/ContentPackagelangpacksApi.md +11 -9
- data/docs/ContentPackagesApi.md +14 -10
- data/docs/ContentRepoMetadataFilesApi.md +11 -9
- data/docs/Copy.md +1 -1
- data/docs/DistributionsRpmApi.md +5 -3
- data/docs/PaginatedRepositoryVersionResponseList.md +2 -2
- data/docs/PaginatedrpmDistributionTreeResponseList.md +2 -2
- data/docs/PaginatedrpmModulemdDefaultsResponseList.md +2 -2
- data/docs/PaginatedrpmModulemdObsoleteResponseList.md +2 -2
- data/docs/PaginatedrpmModulemdResponseList.md +2 -2
- data/docs/PaginatedrpmPackageCategoryResponseList.md +2 -2
- data/docs/PaginatedrpmPackageEnvironmentResponseList.md +2 -2
- data/docs/PaginatedrpmPackageGroupResponseList.md +2 -2
- data/docs/PaginatedrpmPackageLangpacksResponseList.md +2 -2
- data/docs/PaginatedrpmPackageResponseList.md +2 -2
- data/docs/PaginatedrpmRepoMetadataFileResponseList.md +2 -2
- data/docs/PaginatedrpmRpmAlternateContentSourceResponseList.md +2 -2
- data/docs/PaginatedrpmRpmDistributionResponseList.md +2 -2
- data/docs/PaginatedrpmRpmPublicationResponseList.md +2 -2
- data/docs/PaginatedrpmRpmRemoteResponseList.md +2 -2
- data/docs/PaginatedrpmRpmRepositoryResponseList.md +2 -2
- data/docs/PaginatedrpmUlnRemoteResponseList.md +2 -2
- data/docs/PaginatedrpmUpdateRecordResponseList.md +2 -2
- data/docs/PatchedrpmRpmRepository.md +1 -1
- data/docs/PublicationsRpmApi.md +13 -11
- data/docs/RemotesRpmApi.md +5 -3
- data/docs/RemotesUlnApi.md +5 -3
- data/docs/RepositoriesRpmApi.md +9 -7
- data/docs/RepositoriesRpmVersionsApi.md +9 -7
- data/docs/RepositoryVersionResponse.md +4 -0
- data/docs/RpmCompsApi.md +1 -1
- data/docs/RpmCopyApi.md +1 -1
- data/docs/RpmModulemd.md +3 -3
- data/docs/RpmModulemdDefaults.md +1 -1
- data/docs/RpmModulemdDefaultsResponse.md +5 -1
- data/docs/RpmModulemdObsoleteResponse.md +4 -0
- data/docs/RpmModulemdResponse.md +7 -3
- data/docs/RpmPackage.md +3 -1
- data/docs/RpmPackageCategoryResponse.md +7 -3
- data/docs/RpmPackageEnvironmentResponse.md +8 -4
- data/docs/RpmPackageGroupResponse.md +7 -3
- data/docs/RpmPackageLangpacksResponse.md +5 -1
- data/docs/RpmPackageResponse.md +14 -10
- data/docs/RpmRepoMetadataFileResponse.md +4 -0
- data/docs/RpmRpmAlternateContentSourceResponse.md +4 -0
- data/docs/RpmRpmDistributionResponse.md +6 -0
- data/docs/RpmRpmPublication.md +1 -1
- data/docs/RpmRpmPublicationResponse.md +5 -1
- data/docs/RpmRpmRemoteResponse.md +4 -2
- data/docs/RpmRpmRemoteResponseHiddenFields.md +2 -2
- data/docs/RpmRpmRepository.md +1 -1
- data/docs/RpmRpmRepositoryResponse.md +5 -1
- data/docs/RpmUlnRemoteResponse.md +4 -2
- data/docs/RpmUpdateCollection.md +1 -1
- data/docs/RpmUpdateCollectionResponse.md +1 -1
- data/docs/RpmUpdateRecord.md +3 -1
- data/docs/RpmUpdateRecordResponse.md +4 -0
- data/lib/pulp_rpm_client/api/acs_rpm_api.rb +5 -2
- data/lib/pulp_rpm_client/api/content_advisories_api.rb +18 -8
- data/lib/pulp_rpm_client/api/content_distribution_trees_api.rb +11 -8
- data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +11 -8
- data/lib/pulp_rpm_client/api/content_modulemd_obsoletes_api.rb +11 -8
- data/lib/pulp_rpm_client/api/content_modulemds_api.rb +11 -8
- data/lib/pulp_rpm_client/api/content_packagecategories_api.rb +11 -8
- data/lib/pulp_rpm_client/api/content_packageenvironments_api.rb +11 -8
- data/lib/pulp_rpm_client/api/content_packagegroups_api.rb +11 -8
- data/lib/pulp_rpm_client/api/content_packagelangpacks_api.rb +11 -8
- data/lib/pulp_rpm_client/api/content_packages_api.rb +18 -8
- data/lib/pulp_rpm_client/api/content_repo_metadata_files_api.rb +11 -8
- data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +5 -2
- data/lib/pulp_rpm_client/api/publications_rpm_api.rb +14 -11
- data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +5 -2
- data/lib/pulp_rpm_client/api/remotes_uln_api.rb +5 -2
- data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +9 -6
- data/lib/pulp_rpm_client/api/repositories_rpm_versions_api.rb +10 -7
- data/lib/pulp_rpm_client/configuration.rb +2 -2
- data/lib/pulp_rpm_client/models/artifact_response.rb +22 -2
- data/lib/pulp_rpm_client/models/copy.rb +1 -1
- data/lib/pulp_rpm_client/models/paginated_repository_version_response_list.rb +10 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_distribution_tree_response_list.rb +10 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_modulemd_defaults_response_list.rb +10 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_modulemd_obsolete_response_list.rb +10 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_modulemd_response_list.rb +10 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_package_category_response_list.rb +10 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_package_environment_response_list.rb +10 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_package_group_response_list.rb +10 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_package_langpacks_response_list.rb +10 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_package_response_list.rb +10 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_repo_metadata_file_response_list.rb +10 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_rpm_alternate_content_source_response_list.rb +10 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_rpm_distribution_response_list.rb +10 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_rpm_publication_response_list.rb +10 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_rpm_remote_response_list.rb +10 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_rpm_repository_response_list.rb +10 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_uln_remote_response_list.rb +10 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_update_record_response_list.rb +10 -0
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_remote.rb +20 -20
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_repository.rb +1 -1
- data/lib/pulp_rpm_client/models/patchedrpm_uln_remote.rb +20 -20
- data/lib/pulp_rpm_client/models/repository_add_remove_content.rb +1 -1
- data/lib/pulp_rpm_client/models/repository_version_response.rb +22 -2
- data/lib/pulp_rpm_client/models/rpm_modulemd.rb +3 -3
- data/lib/pulp_rpm_client/models/rpm_modulemd_defaults.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_modulemd_defaults_response.rb +22 -2
- data/lib/pulp_rpm_client/models/rpm_modulemd_obsolete_response.rb +21 -1
- data/lib/pulp_rpm_client/models/rpm_modulemd_response.rb +24 -4
- data/lib/pulp_rpm_client/models/rpm_package.rb +29 -4
- data/lib/pulp_rpm_client/models/rpm_package_category_response.rb +24 -4
- data/lib/pulp_rpm_client/models/rpm_package_environment_response.rb +25 -5
- data/lib/pulp_rpm_client/models/rpm_package_group_response.rb +24 -4
- data/lib/pulp_rpm_client/models/rpm_package_langpacks_response.rb +22 -2
- data/lib/pulp_rpm_client/models/rpm_package_response.rb +31 -11
- data/lib/pulp_rpm_client/models/rpm_repo_metadata_file_response.rb +21 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_alternate_content_source_response.rb +21 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_distribution_response.rb +31 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_publication.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_publication_response.rb +22 -2
- data/lib/pulp_rpm_client/models/rpm_rpm_remote.rb +20 -20
- data/lib/pulp_rpm_client/models/rpm_rpm_remote_response.rb +41 -31
- data/lib/pulp_rpm_client/models/rpm_rpm_remote_response_hidden_fields.rb +10 -0
- data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_repository_response.rb +22 -2
- data/lib/pulp_rpm_client/models/rpm_uln_remote.rb +20 -20
- data/lib/pulp_rpm_client/models/rpm_uln_remote_response.rb +41 -31
- data/lib/pulp_rpm_client/models/rpm_update_collection.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_update_collection_response.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_update_record.rb +29 -4
- data/lib/pulp_rpm_client/models/rpm_update_record_response.rb +21 -1
- data/lib/pulp_rpm_client/version.rb +1 -1
- data/spec/api/acs_rpm_api_spec.rb +2 -1
- data/spec/api/content_advisories_api_spec.rb +6 -4
- data/spec/api/content_distribution_trees_api_spec.rb +5 -4
- data/spec/api/content_modulemd_defaults_api_spec.rb +5 -4
- data/spec/api/content_modulemd_obsoletes_api_spec.rb +5 -4
- data/spec/api/content_modulemds_api_spec.rb +5 -4
- data/spec/api/content_packagecategories_api_spec.rb +5 -4
- data/spec/api/content_packageenvironments_api_spec.rb +5 -4
- data/spec/api/content_packagegroups_api_spec.rb +5 -4
- data/spec/api/content_packagelangpacks_api_spec.rb +5 -4
- data/spec/api/content_packages_api_spec.rb +6 -4
- data/spec/api/content_repo_metadata_files_api_spec.rb +5 -4
- data/spec/api/distributions_rpm_api_spec.rb +2 -1
- data/spec/api/publications_rpm_api_spec.rb +6 -5
- data/spec/api/remotes_rpm_api_spec.rb +2 -1
- data/spec/api/remotes_uln_api_spec.rb +2 -1
- data/spec/api/repositories_rpm_api_spec.rb +4 -3
- data/spec/api/repositories_rpm_versions_api_spec.rb +4 -3
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/artifact_response_spec.rb +12 -0
- data/spec/models/repository_version_response_spec.rb +12 -0
- data/spec/models/rpm_modulemd_defaults_response_spec.rb +12 -0
- data/spec/models/rpm_modulemd_obsolete_response_spec.rb +12 -0
- data/spec/models/rpm_modulemd_response_spec.rb +12 -0
- data/spec/models/rpm_package_category_response_spec.rb +12 -0
- data/spec/models/rpm_package_environment_response_spec.rb +12 -0
- data/spec/models/rpm_package_group_response_spec.rb +12 -0
- data/spec/models/rpm_package_langpacks_response_spec.rb +12 -0
- data/spec/models/rpm_package_response_spec.rb +12 -0
- data/spec/models/rpm_package_spec.rb +6 -0
- data/spec/models/rpm_repo_metadata_file_response_spec.rb +12 -0
- data/spec/models/rpm_rpm_alternate_content_source_response_spec.rb +12 -0
- data/spec/models/rpm_rpm_distribution_response_spec.rb +18 -0
- data/spec/models/rpm_rpm_publication_response_spec.rb +12 -0
- data/spec/models/rpm_rpm_remote_response_spec.rb +12 -6
- data/spec/models/rpm_rpm_repository_response_spec.rb +12 -0
- data/spec/models/rpm_uln_remote_response_spec.rb +12 -6
- data/spec/models/rpm_update_record_response_spec.rb +12 -0
- data/spec/models/rpm_update_record_spec.rb +6 -0
- metadata +96 -96
@@ -312,20 +312,20 @@ module PulpRpmClient
|
|
312
312
|
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
313
313
|
end
|
314
314
|
|
315
|
-
if !@total_timeout.nil? && @total_timeout < 0
|
316
|
-
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.
|
315
|
+
if !@total_timeout.nil? && @total_timeout < 0
|
316
|
+
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.')
|
317
317
|
end
|
318
318
|
|
319
|
-
if !@connect_timeout.nil? && @connect_timeout < 0
|
320
|
-
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.
|
319
|
+
if !@connect_timeout.nil? && @connect_timeout < 0
|
320
|
+
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.')
|
321
321
|
end
|
322
322
|
|
323
|
-
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
324
|
-
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.
|
323
|
+
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
324
|
+
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.')
|
325
325
|
end
|
326
326
|
|
327
|
-
if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
328
|
-
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.
|
327
|
+
if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
328
|
+
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.')
|
329
329
|
end
|
330
330
|
|
331
331
|
if !@uln_server_base_url.nil? && @uln_server_base_url.to_s.length < 1
|
@@ -349,10 +349,10 @@ module PulpRpmClient
|
|
349
349
|
return false if !@username.nil? && @username.to_s.length < 1
|
350
350
|
return false if !@password.nil? && @password.to_s.length < 1
|
351
351
|
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
352
|
-
return false if !@total_timeout.nil? && @total_timeout < 0
|
353
|
-
return false if !@connect_timeout.nil? && @connect_timeout < 0
|
354
|
-
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
355
|
-
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
352
|
+
return false if !@total_timeout.nil? && @total_timeout < 0
|
353
|
+
return false if !@connect_timeout.nil? && @connect_timeout < 0
|
354
|
+
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
355
|
+
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
356
356
|
return false if !@uln_server_base_url.nil? && @uln_server_base_url.to_s.length < 1
|
357
357
|
true
|
358
358
|
end
|
@@ -470,8 +470,8 @@ module PulpRpmClient
|
|
470
470
|
# Custom attribute writer method with validation
|
471
471
|
# @param [Object] total_timeout Value to be assigned
|
472
472
|
def total_timeout=(total_timeout)
|
473
|
-
if !total_timeout.nil? && total_timeout < 0
|
474
|
-
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.
|
473
|
+
if !total_timeout.nil? && total_timeout < 0
|
474
|
+
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.'
|
475
475
|
end
|
476
476
|
|
477
477
|
@total_timeout = total_timeout
|
@@ -480,8 +480,8 @@ module PulpRpmClient
|
|
480
480
|
# Custom attribute writer method with validation
|
481
481
|
# @param [Object] connect_timeout Value to be assigned
|
482
482
|
def connect_timeout=(connect_timeout)
|
483
|
-
if !connect_timeout.nil? && connect_timeout < 0
|
484
|
-
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.
|
483
|
+
if !connect_timeout.nil? && connect_timeout < 0
|
484
|
+
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.'
|
485
485
|
end
|
486
486
|
|
487
487
|
@connect_timeout = connect_timeout
|
@@ -490,8 +490,8 @@ module PulpRpmClient
|
|
490
490
|
# Custom attribute writer method with validation
|
491
491
|
# @param [Object] sock_connect_timeout Value to be assigned
|
492
492
|
def sock_connect_timeout=(sock_connect_timeout)
|
493
|
-
if !sock_connect_timeout.nil? && sock_connect_timeout < 0
|
494
|
-
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.
|
493
|
+
if !sock_connect_timeout.nil? && sock_connect_timeout < 0
|
494
|
+
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.'
|
495
495
|
end
|
496
496
|
|
497
497
|
@sock_connect_timeout = sock_connect_timeout
|
@@ -500,8 +500,8 @@ module PulpRpmClient
|
|
500
500
|
# Custom attribute writer method with validation
|
501
501
|
# @param [Object] sock_read_timeout Value to be assigned
|
502
502
|
def sock_read_timeout=(sock_read_timeout)
|
503
|
-
if !sock_read_timeout.nil? && sock_read_timeout < 0
|
504
|
-
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.
|
503
|
+
if !sock_read_timeout.nil? && sock_read_timeout < 0
|
504
|
+
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.'
|
505
505
|
end
|
506
506
|
|
507
507
|
@sock_read_timeout = sock_read_timeout
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.3.1
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module PulpRpmClient
|
16
|
-
# Base serializer for use with
|
16
|
+
# Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the ``ref_name`` attribute in the ModelSerializers's ``Meta`` class. This ensures that the OpenAPI definitions of plugins are namespaced properly.
|
17
17
|
class RepositoryAddRemoveContent
|
18
18
|
# A list of content units to add to a new repository version. This content is added after remove_content_units are removed.
|
19
19
|
attr_accessor :add_content_units
|
@@ -13,13 +13,19 @@ OpenAPI Generator version: 4.3.1
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module PulpRpmClient
|
16
|
-
# Base serializer for use with
|
16
|
+
# Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the ``ref_name`` attribute in the ModelSerializers's ``Meta`` class. This ensures that the OpenAPI definitions of plugins are namespaced properly.
|
17
17
|
class RepositoryVersionResponse
|
18
18
|
attr_accessor :pulp_href
|
19
19
|
|
20
|
+
# The Pulp Resource Name (PRN).
|
21
|
+
attr_accessor :prn
|
22
|
+
|
20
23
|
# Timestamp of creation.
|
21
24
|
attr_accessor :pulp_created
|
22
25
|
|
26
|
+
# 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.
|
27
|
+
attr_accessor :pulp_last_updated
|
28
|
+
|
23
29
|
attr_accessor :number
|
24
30
|
|
25
31
|
attr_accessor :repository
|
@@ -34,7 +40,9 @@ module PulpRpmClient
|
|
34
40
|
def self.attribute_map
|
35
41
|
{
|
36
42
|
:'pulp_href' => :'pulp_href',
|
43
|
+
:'prn' => :'prn',
|
37
44
|
:'pulp_created' => :'pulp_created',
|
45
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
38
46
|
:'number' => :'number',
|
39
47
|
:'repository' => :'repository',
|
40
48
|
:'base_version' => :'base_version',
|
@@ -46,7 +54,9 @@ module PulpRpmClient
|
|
46
54
|
def self.openapi_types
|
47
55
|
{
|
48
56
|
:'pulp_href' => :'String',
|
57
|
+
:'prn' => :'String',
|
49
58
|
:'pulp_created' => :'DateTime',
|
59
|
+
:'pulp_last_updated' => :'DateTime',
|
50
60
|
:'number' => :'Integer',
|
51
61
|
:'repository' => :'String',
|
52
62
|
:'base_version' => :'String',
|
@@ -79,10 +89,18 @@ module PulpRpmClient
|
|
79
89
|
self.pulp_href = attributes[:'pulp_href']
|
80
90
|
end
|
81
91
|
|
92
|
+
if attributes.key?(:'prn')
|
93
|
+
self.prn = attributes[:'prn']
|
94
|
+
end
|
95
|
+
|
82
96
|
if attributes.key?(:'pulp_created')
|
83
97
|
self.pulp_created = attributes[:'pulp_created']
|
84
98
|
end
|
85
99
|
|
100
|
+
if attributes.key?(:'pulp_last_updated')
|
101
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
102
|
+
end
|
103
|
+
|
86
104
|
if attributes.key?(:'number')
|
87
105
|
self.number = attributes[:'number']
|
88
106
|
end
|
@@ -119,7 +137,9 @@ module PulpRpmClient
|
|
119
137
|
return true if self.equal?(o)
|
120
138
|
self.class == o.class &&
|
121
139
|
pulp_href == o.pulp_href &&
|
140
|
+
prn == o.prn &&
|
122
141
|
pulp_created == o.pulp_created &&
|
142
|
+
pulp_last_updated == o.pulp_last_updated &&
|
123
143
|
number == o.number &&
|
124
144
|
repository == o.repository &&
|
125
145
|
base_version == o.base_version &&
|
@@ -135,7 +155,7 @@ module PulpRpmClient
|
|
135
155
|
# Calculates hash code according to all attributes.
|
136
156
|
# @return [Integer] Hash code
|
137
157
|
def hash
|
138
|
-
[pulp_href, pulp_created, number, repository, base_version, content_summary].hash
|
158
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, number, repository, base_version, content_summary].hash
|
139
159
|
end
|
140
160
|
|
141
161
|
# Builds the object from hash
|
@@ -83,11 +83,11 @@ module PulpRpmClient
|
|
83
83
|
:'static_context' => :'Boolean',
|
84
84
|
:'context' => :'String',
|
85
85
|
:'arch' => :'String',
|
86
|
-
:'artifacts' => :'
|
87
|
-
:'dependencies' => :'
|
86
|
+
:'artifacts' => :'AnyType',
|
87
|
+
:'dependencies' => :'AnyType',
|
88
88
|
:'packages' => :'Array<String>',
|
89
89
|
:'snippet' => :'String',
|
90
|
-
:'profiles' => :'
|
90
|
+
:'profiles' => :'AnyType',
|
91
91
|
:'description' => :'String'
|
92
92
|
}
|
93
93
|
end
|
@@ -17,9 +17,15 @@ module PulpRpmClient
|
|
17
17
|
class RpmModulemdDefaultsResponse
|
18
18
|
attr_accessor :pulp_href
|
19
19
|
|
20
|
+
# The Pulp Resource Name (PRN).
|
21
|
+
attr_accessor :prn
|
22
|
+
|
20
23
|
# Timestamp of creation.
|
21
24
|
attr_accessor :pulp_created
|
22
25
|
|
26
|
+
# 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.
|
27
|
+
attr_accessor :pulp_last_updated
|
28
|
+
|
23
29
|
# Modulemd name.
|
24
30
|
attr_accessor :_module
|
25
31
|
|
@@ -33,7 +39,9 @@ module PulpRpmClient
|
|
33
39
|
def self.attribute_map
|
34
40
|
{
|
35
41
|
:'pulp_href' => :'pulp_href',
|
42
|
+
:'prn' => :'prn',
|
36
43
|
:'pulp_created' => :'pulp_created',
|
44
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
37
45
|
:'_module' => :'module',
|
38
46
|
:'stream' => :'stream',
|
39
47
|
:'profiles' => :'profiles'
|
@@ -44,10 +52,12 @@ module PulpRpmClient
|
|
44
52
|
def self.openapi_types
|
45
53
|
{
|
46
54
|
:'pulp_href' => :'String',
|
55
|
+
:'prn' => :'String',
|
47
56
|
:'pulp_created' => :'DateTime',
|
57
|
+
:'pulp_last_updated' => :'DateTime',
|
48
58
|
:'_module' => :'String',
|
49
59
|
:'stream' => :'String',
|
50
|
-
:'profiles' => :'
|
60
|
+
:'profiles' => :'AnyType'
|
51
61
|
}
|
52
62
|
end
|
53
63
|
|
@@ -76,10 +86,18 @@ module PulpRpmClient
|
|
76
86
|
self.pulp_href = attributes[:'pulp_href']
|
77
87
|
end
|
78
88
|
|
89
|
+
if attributes.key?(:'prn')
|
90
|
+
self.prn = attributes[:'prn']
|
91
|
+
end
|
92
|
+
|
79
93
|
if attributes.key?(:'pulp_created')
|
80
94
|
self.pulp_created = attributes[:'pulp_created']
|
81
95
|
end
|
82
96
|
|
97
|
+
if attributes.key?(:'pulp_last_updated')
|
98
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
99
|
+
end
|
100
|
+
|
83
101
|
if attributes.key?(:'_module')
|
84
102
|
self._module = attributes[:'_module']
|
85
103
|
end
|
@@ -127,7 +145,9 @@ module PulpRpmClient
|
|
127
145
|
return true if self.equal?(o)
|
128
146
|
self.class == o.class &&
|
129
147
|
pulp_href == o.pulp_href &&
|
148
|
+
prn == o.prn &&
|
130
149
|
pulp_created == o.pulp_created &&
|
150
|
+
pulp_last_updated == o.pulp_last_updated &&
|
131
151
|
_module == o._module &&
|
132
152
|
stream == o.stream &&
|
133
153
|
profiles == o.profiles
|
@@ -142,7 +162,7 @@ module PulpRpmClient
|
|
142
162
|
# Calculates hash code according to all attributes.
|
143
163
|
# @return [Integer] Hash code
|
144
164
|
def hash
|
145
|
-
[pulp_href, pulp_created, _module, stream, profiles].hash
|
165
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, _module, stream, profiles].hash
|
146
166
|
end
|
147
167
|
|
148
168
|
# Builds the object from hash
|
@@ -17,9 +17,15 @@ module PulpRpmClient
|
|
17
17
|
class RpmModulemdObsoleteResponse
|
18
18
|
attr_accessor :pulp_href
|
19
19
|
|
20
|
+
# The Pulp Resource Name (PRN).
|
21
|
+
attr_accessor :prn
|
22
|
+
|
20
23
|
# Timestamp of creation.
|
21
24
|
attr_accessor :pulp_created
|
22
25
|
|
26
|
+
# 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.
|
27
|
+
attr_accessor :pulp_last_updated
|
28
|
+
|
23
29
|
# Obsolete modified time.
|
24
30
|
attr_accessor :modified
|
25
31
|
|
@@ -51,7 +57,9 @@ module PulpRpmClient
|
|
51
57
|
def self.attribute_map
|
52
58
|
{
|
53
59
|
:'pulp_href' => :'pulp_href',
|
60
|
+
:'prn' => :'prn',
|
54
61
|
:'pulp_created' => :'pulp_created',
|
62
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
55
63
|
:'modified' => :'modified',
|
56
64
|
:'module_name' => :'module_name',
|
57
65
|
:'module_stream' => :'module_stream',
|
@@ -68,7 +76,9 @@ module PulpRpmClient
|
|
68
76
|
def self.openapi_types
|
69
77
|
{
|
70
78
|
:'pulp_href' => :'String',
|
79
|
+
:'prn' => :'String',
|
71
80
|
:'pulp_created' => :'DateTime',
|
81
|
+
:'pulp_last_updated' => :'DateTime',
|
72
82
|
:'modified' => :'String',
|
73
83
|
:'module_name' => :'String',
|
74
84
|
:'module_stream' => :'String',
|
@@ -111,10 +121,18 @@ module PulpRpmClient
|
|
111
121
|
self.pulp_href = attributes[:'pulp_href']
|
112
122
|
end
|
113
123
|
|
124
|
+
if attributes.key?(:'prn')
|
125
|
+
self.prn = attributes[:'prn']
|
126
|
+
end
|
127
|
+
|
114
128
|
if attributes.key?(:'pulp_created')
|
115
129
|
self.pulp_created = attributes[:'pulp_created']
|
116
130
|
end
|
117
131
|
|
132
|
+
if attributes.key?(:'pulp_last_updated')
|
133
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
134
|
+
end
|
135
|
+
|
118
136
|
if attributes.key?(:'modified')
|
119
137
|
self.modified = attributes[:'modified']
|
120
138
|
end
|
@@ -191,7 +209,9 @@ module PulpRpmClient
|
|
191
209
|
return true if self.equal?(o)
|
192
210
|
self.class == o.class &&
|
193
211
|
pulp_href == o.pulp_href &&
|
212
|
+
prn == o.prn &&
|
194
213
|
pulp_created == o.pulp_created &&
|
214
|
+
pulp_last_updated == o.pulp_last_updated &&
|
195
215
|
modified == o.modified &&
|
196
216
|
module_name == o.module_name &&
|
197
217
|
module_stream == o.module_stream &&
|
@@ -212,7 +232,7 @@ module PulpRpmClient
|
|
212
232
|
# Calculates hash code according to all attributes.
|
213
233
|
# @return [Integer] Hash code
|
214
234
|
def hash
|
215
|
-
[pulp_href, pulp_created, modified, module_name, module_stream, message, override_previous, module_context, eol_date, obsoleted_by_module_name, obsoleted_by_module_stream].hash
|
235
|
+
[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
|
216
236
|
end
|
217
237
|
|
218
238
|
# Builds the object from hash
|
@@ -17,9 +17,15 @@ module PulpRpmClient
|
|
17
17
|
class RpmModulemdResponse
|
18
18
|
attr_accessor :pulp_href
|
19
19
|
|
20
|
+
# The Pulp Resource Name (PRN).
|
21
|
+
attr_accessor :prn
|
22
|
+
|
20
23
|
# Timestamp of creation.
|
21
24
|
attr_accessor :pulp_created
|
22
25
|
|
26
|
+
# 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.
|
27
|
+
attr_accessor :pulp_last_updated
|
28
|
+
|
23
29
|
# Modulemd name.
|
24
30
|
attr_accessor :name
|
25
31
|
|
@@ -57,7 +63,9 @@ module PulpRpmClient
|
|
57
63
|
def self.attribute_map
|
58
64
|
{
|
59
65
|
:'pulp_href' => :'pulp_href',
|
66
|
+
:'prn' => :'prn',
|
60
67
|
:'pulp_created' => :'pulp_created',
|
68
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
61
69
|
:'name' => :'name',
|
62
70
|
:'stream' => :'stream',
|
63
71
|
:'version' => :'version',
|
@@ -76,17 +84,19 @@ module PulpRpmClient
|
|
76
84
|
def self.openapi_types
|
77
85
|
{
|
78
86
|
:'pulp_href' => :'String',
|
87
|
+
:'prn' => :'String',
|
79
88
|
:'pulp_created' => :'DateTime',
|
89
|
+
:'pulp_last_updated' => :'DateTime',
|
80
90
|
:'name' => :'String',
|
81
91
|
:'stream' => :'String',
|
82
92
|
:'version' => :'String',
|
83
93
|
:'static_context' => :'Boolean',
|
84
94
|
:'context' => :'String',
|
85
95
|
:'arch' => :'String',
|
86
|
-
:'artifacts' => :'
|
87
|
-
:'dependencies' => :'
|
96
|
+
:'artifacts' => :'AnyType',
|
97
|
+
:'dependencies' => :'AnyType',
|
88
98
|
:'packages' => :'Array<String>',
|
89
|
-
:'profiles' => :'
|
99
|
+
:'profiles' => :'AnyType',
|
90
100
|
:'description' => :'String'
|
91
101
|
}
|
92
102
|
end
|
@@ -119,10 +129,18 @@ module PulpRpmClient
|
|
119
129
|
self.pulp_href = attributes[:'pulp_href']
|
120
130
|
end
|
121
131
|
|
132
|
+
if attributes.key?(:'prn')
|
133
|
+
self.prn = attributes[:'prn']
|
134
|
+
end
|
135
|
+
|
122
136
|
if attributes.key?(:'pulp_created')
|
123
137
|
self.pulp_created = attributes[:'pulp_created']
|
124
138
|
end
|
125
139
|
|
140
|
+
if attributes.key?(:'pulp_last_updated')
|
141
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
142
|
+
end
|
143
|
+
|
126
144
|
if attributes.key?(:'name')
|
127
145
|
self.name = attributes[:'name']
|
128
146
|
end
|
@@ -219,7 +237,9 @@ module PulpRpmClient
|
|
219
237
|
return true if self.equal?(o)
|
220
238
|
self.class == o.class &&
|
221
239
|
pulp_href == o.pulp_href &&
|
240
|
+
prn == o.prn &&
|
222
241
|
pulp_created == o.pulp_created &&
|
242
|
+
pulp_last_updated == o.pulp_last_updated &&
|
223
243
|
name == o.name &&
|
224
244
|
stream == o.stream &&
|
225
245
|
version == o.version &&
|
@@ -242,7 +262,7 @@ module PulpRpmClient
|
|
242
262
|
# Calculates hash code according to all attributes.
|
243
263
|
# @return [Integer] Hash code
|
244
264
|
def hash
|
245
|
-
[pulp_href, pulp_created, name, stream, version, static_context, context, arch, artifacts, dependencies, packages, profiles, description].hash
|
265
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, name, stream, version, static_context, context, arch, artifacts, dependencies, packages, profiles, description].hash
|
246
266
|
end
|
247
267
|
|
248
268
|
# Builds the object from hash
|
@@ -30,6 +30,9 @@ module PulpRpmClient
|
|
30
30
|
# An uncommitted upload that may be turned into the content unit.
|
31
31
|
attr_accessor :upload
|
32
32
|
|
33
|
+
# A url that Pulp can download and turn into the content unit.
|
34
|
+
attr_accessor :file_url
|
35
|
+
|
33
36
|
# Attribute mapping from ruby-style variable name to JSON key.
|
34
37
|
def self.attribute_map
|
35
38
|
{
|
@@ -37,7 +40,8 @@ module PulpRpmClient
|
|
37
40
|
:'artifact' => :'artifact',
|
38
41
|
:'relative_path' => :'relative_path',
|
39
42
|
:'file' => :'file',
|
40
|
-
:'upload' => :'upload'
|
43
|
+
:'upload' => :'upload',
|
44
|
+
:'file_url' => :'file_url'
|
41
45
|
}
|
42
46
|
end
|
43
47
|
|
@@ -48,7 +52,8 @@ module PulpRpmClient
|
|
48
52
|
:'artifact' => :'String',
|
49
53
|
:'relative_path' => :'String',
|
50
54
|
:'file' => :'File',
|
51
|
-
:'upload' => :'String'
|
55
|
+
:'upload' => :'String',
|
56
|
+
:'file_url' => :'String'
|
52
57
|
}
|
53
58
|
end
|
54
59
|
|
@@ -92,6 +97,10 @@ module PulpRpmClient
|
|
92
97
|
if attributes.key?(:'upload')
|
93
98
|
self.upload = attributes[:'upload']
|
94
99
|
end
|
100
|
+
|
101
|
+
if attributes.key?(:'file_url')
|
102
|
+
self.file_url = attributes[:'file_url']
|
103
|
+
end
|
95
104
|
end
|
96
105
|
|
97
106
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -102,6 +111,10 @@ module PulpRpmClient
|
|
102
111
|
invalid_properties.push('invalid value for "relative_path", the character length must be great than or equal to 1.')
|
103
112
|
end
|
104
113
|
|
114
|
+
if !@file_url.nil? && @file_url.to_s.length < 1
|
115
|
+
invalid_properties.push('invalid value for "file_url", the character length must be great than or equal to 1.')
|
116
|
+
end
|
117
|
+
|
105
118
|
invalid_properties
|
106
119
|
end
|
107
120
|
|
@@ -109,6 +122,7 @@ module PulpRpmClient
|
|
109
122
|
# @return true if the model is valid
|
110
123
|
def valid?
|
111
124
|
return false if !@relative_path.nil? && @relative_path.to_s.length < 1
|
125
|
+
return false if !@file_url.nil? && @file_url.to_s.length < 1
|
112
126
|
true
|
113
127
|
end
|
114
128
|
|
@@ -122,6 +136,16 @@ module PulpRpmClient
|
|
122
136
|
@relative_path = relative_path
|
123
137
|
end
|
124
138
|
|
139
|
+
# Custom attribute writer method with validation
|
140
|
+
# @param [Object] file_url Value to be assigned
|
141
|
+
def file_url=(file_url)
|
142
|
+
if !file_url.nil? && file_url.to_s.length < 1
|
143
|
+
fail ArgumentError, 'invalid value for "file_url", the character length must be great than or equal to 1.'
|
144
|
+
end
|
145
|
+
|
146
|
+
@file_url = file_url
|
147
|
+
end
|
148
|
+
|
125
149
|
# Checks equality by comparing each attribute.
|
126
150
|
# @param [Object] Object to be compared
|
127
151
|
def ==(o)
|
@@ -131,7 +155,8 @@ module PulpRpmClient
|
|
131
155
|
artifact == o.artifact &&
|
132
156
|
relative_path == o.relative_path &&
|
133
157
|
file == o.file &&
|
134
|
-
upload == o.upload
|
158
|
+
upload == o.upload &&
|
159
|
+
file_url == o.file_url
|
135
160
|
end
|
136
161
|
|
137
162
|
# @see the `==` method
|
@@ -143,7 +168,7 @@ module PulpRpmClient
|
|
143
168
|
# Calculates hash code according to all attributes.
|
144
169
|
# @return [Integer] Hash code
|
145
170
|
def hash
|
146
|
-
[repository, artifact, relative_path, file, upload].hash
|
171
|
+
[repository, artifact, relative_path, file, upload, file_url].hash
|
147
172
|
end
|
148
173
|
|
149
174
|
# Builds the object from hash
|
@@ -17,9 +17,15 @@ module PulpRpmClient
|
|
17
17
|
class RpmPackageCategoryResponse
|
18
18
|
attr_accessor :pulp_href
|
19
19
|
|
20
|
+
# The Pulp Resource Name (PRN).
|
21
|
+
attr_accessor :prn
|
22
|
+
|
20
23
|
# Timestamp of creation.
|
21
24
|
attr_accessor :pulp_created
|
22
25
|
|
26
|
+
# 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.
|
27
|
+
attr_accessor :pulp_last_updated
|
28
|
+
|
23
29
|
# Category id.
|
24
30
|
attr_accessor :id
|
25
31
|
|
@@ -48,7 +54,9 @@ module PulpRpmClient
|
|
48
54
|
def self.attribute_map
|
49
55
|
{
|
50
56
|
:'pulp_href' => :'pulp_href',
|
57
|
+
:'prn' => :'prn',
|
51
58
|
:'pulp_created' => :'pulp_created',
|
59
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
52
60
|
:'id' => :'id',
|
53
61
|
:'name' => :'name',
|
54
62
|
:'description' => :'description',
|
@@ -64,14 +72,16 @@ module PulpRpmClient
|
|
64
72
|
def self.openapi_types
|
65
73
|
{
|
66
74
|
:'pulp_href' => :'String',
|
75
|
+
:'prn' => :'String',
|
67
76
|
:'pulp_created' => :'DateTime',
|
77
|
+
:'pulp_last_updated' => :'DateTime',
|
68
78
|
:'id' => :'String',
|
69
79
|
:'name' => :'String',
|
70
80
|
:'description' => :'String',
|
71
81
|
:'display_order' => :'Integer',
|
72
|
-
:'group_ids' => :'
|
73
|
-
:'desc_by_lang' => :'
|
74
|
-
:'name_by_lang' => :'
|
82
|
+
:'group_ids' => :'AnyType',
|
83
|
+
:'desc_by_lang' => :'AnyType',
|
84
|
+
:'name_by_lang' => :'AnyType',
|
75
85
|
:'digest' => :'String'
|
76
86
|
}
|
77
87
|
end
|
@@ -105,10 +115,18 @@ module PulpRpmClient
|
|
105
115
|
self.pulp_href = attributes[:'pulp_href']
|
106
116
|
end
|
107
117
|
|
118
|
+
if attributes.key?(:'prn')
|
119
|
+
self.prn = attributes[:'prn']
|
120
|
+
end
|
121
|
+
|
108
122
|
if attributes.key?(:'pulp_created')
|
109
123
|
self.pulp_created = attributes[:'pulp_created']
|
110
124
|
end
|
111
125
|
|
126
|
+
if attributes.key?(:'pulp_last_updated')
|
127
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
128
|
+
end
|
129
|
+
|
112
130
|
if attributes.key?(:'id')
|
113
131
|
self.id = attributes[:'id']
|
114
132
|
end
|
@@ -181,7 +199,9 @@ module PulpRpmClient
|
|
181
199
|
return true if self.equal?(o)
|
182
200
|
self.class == o.class &&
|
183
201
|
pulp_href == o.pulp_href &&
|
202
|
+
prn == o.prn &&
|
184
203
|
pulp_created == o.pulp_created &&
|
204
|
+
pulp_last_updated == o.pulp_last_updated &&
|
185
205
|
id == o.id &&
|
186
206
|
name == o.name &&
|
187
207
|
description == o.description &&
|
@@ -201,7 +221,7 @@ module PulpRpmClient
|
|
201
221
|
# Calculates hash code according to all attributes.
|
202
222
|
# @return [Integer] Hash code
|
203
223
|
def hash
|
204
|
-
[pulp_href, pulp_created, id, name, description, display_order, group_ids, desc_by_lang, name_by_lang, digest].hash
|
224
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, id, name, description, display_order, group_ids, desc_by_lang, name_by_lang, digest].hash
|
205
225
|
end
|
206
226
|
|
207
227
|
# Builds the object from hash
|