pulp_rpm_client 3.11.1 → 3.11.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/README.md +19 -20
- data/docs/ContentAdvisoriesApi.md +30 -30
- data/docs/ContentDistributionTreesApi.md +8 -8
- data/docs/ContentModulemdDefaultsApi.md +18 -18
- data/docs/ContentModulemdsApi.md +18 -18
- data/docs/ContentPackagecategoriesApi.md +8 -8
- data/docs/ContentPackageenvironmentsApi.md +8 -8
- data/docs/ContentPackagegroupsApi.md +8 -8
- data/docs/ContentPackagelangpacksApi.md +8 -8
- data/docs/ContentPackagesApi.md +50 -50
- data/docs/ContentRepoMetadataFilesApi.md +8 -8
- data/docs/ContentSummary.md +3 -3
- data/docs/ContentSummaryResponse.md +3 -3
- data/docs/DistributionsRpmApi.md +14 -22
- data/docs/{PaginatedrpmUpdateRecordResponseList.md → InlineResponse200.md} +4 -4
- data/docs/{PaginatedrpmDistributionTreeResponseList.md → InlineResponse2001.md} +4 -4
- data/docs/{PaginatedrpmRpmDistributionResponseList.md → InlineResponse20010.md} +4 -4
- data/docs/{PaginatedrpmRpmPublicationResponseList.md → InlineResponse20011.md} +4 -4
- data/docs/{PaginatedrpmRpmRemoteResponseList.md → InlineResponse20012.md} +4 -4
- data/docs/{PaginatedrpmRpmRepositoryResponseList.md → InlineResponse20013.md} +4 -4
- data/docs/{PaginatedRepositoryVersionResponseList.md → InlineResponse20014.md} +4 -4
- data/docs/{PaginatedrpmModulemdDefaultsResponseList.md → InlineResponse2002.md} +4 -4
- data/docs/{PaginatedrpmModulemdResponseList.md → InlineResponse2003.md} +4 -4
- data/docs/{PaginatedrpmPackageCategoryResponseList.md → InlineResponse2004.md} +4 -4
- data/docs/{PaginatedrpmPackageEnvironmentResponseList.md → InlineResponse2005.md} +4 -4
- data/docs/{PaginatedrpmPackageGroupResponseList.md → InlineResponse2006.md} +4 -4
- data/docs/{PaginatedrpmPackageLangpacksResponseList.md → InlineResponse2007.md} +4 -4
- data/docs/{PaginatedrpmPackageResponseList.md → InlineResponse2008.md} +4 -4
- data/docs/{PaginatedrpmRepoMetadataFileResponseList.md → InlineResponse2009.md} +4 -4
- data/docs/PatchedrpmRpmDistribution.md +0 -2
- data/docs/PatchedrpmRpmRemote.md +1 -19
- data/docs/PatchedrpmRpmRepository.md +1 -3
- data/docs/PublicationsRpmApi.md +16 -16
- data/docs/RemotesRpmApi.md +18 -26
- data/docs/RepositoriesRpmApi.md +6 -14
- data/docs/RepositoriesRpmVersionsApi.md +32 -32
- data/docs/RepositoryAddRemoveContent.md +2 -2
- data/docs/RpmRepositorySyncURL.md +1 -1
- data/docs/RpmRpmDistribution.md +0 -2
- data/docs/RpmRpmDistributionResponse.md +0 -2
- data/docs/RpmRpmRemote.md +1 -19
- data/docs/RpmRpmRemoteResponse.md +7 -15
- data/docs/RpmRpmRepository.md +1 -3
- data/docs/RpmRpmRepositoryResponse.md +0 -2
- data/lib/pulp_rpm_client/api/content_advisories_api.rb +36 -36
- data/lib/pulp_rpm_client/api/content_distribution_trees_api.rb +10 -10
- data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +22 -22
- data/lib/pulp_rpm_client/api/content_modulemds_api.rb +22 -22
- data/lib/pulp_rpm_client/api/content_packagecategories_api.rb +10 -10
- data/lib/pulp_rpm_client/api/content_packageenvironments_api.rb +10 -10
- data/lib/pulp_rpm_client/api/content_packagegroups_api.rb +10 -10
- data/lib/pulp_rpm_client/api/content_packagelangpacks_api.rb +10 -10
- data/lib/pulp_rpm_client/api/content_packages_api.rb +60 -60
- data/lib/pulp_rpm_client/api/content_repo_metadata_files_api.rb +10 -10
- data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +18 -30
- data/lib/pulp_rpm_client/api/publications_rpm_api.rb +19 -19
- data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +22 -34
- data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +9 -21
- data/lib/pulp_rpm_client/api/repositories_rpm_versions_api.rb +38 -38
- data/lib/pulp_rpm_client/api/rpm_copy_api.rb +1 -1
- data/lib/pulp_rpm_client/api_client.rb +12 -8
- data/lib/pulp_rpm_client/api_error.rb +1 -1
- data/lib/pulp_rpm_client/configuration.rb +8 -1
- data/lib/pulp_rpm_client/models/addon_response.rb +1 -1
- data/lib/pulp_rpm_client/models/artifact_response.rb +1 -1
- data/lib/pulp_rpm_client/models/async_operation_response.rb +1 -1
- data/lib/pulp_rpm_client/models/checksum_response.rb +1 -1
- data/lib/pulp_rpm_client/models/content_summary.rb +7 -13
- data/lib/pulp_rpm_client/models/content_summary_response.rb +7 -13
- data/lib/pulp_rpm_client/models/copy.rb +1 -1
- data/lib/pulp_rpm_client/models/image_response.rb +1 -1
- data/lib/pulp_rpm_client/models/{paginatedrpm_update_record_response_list.rb → inline_response200.rb} +4 -4
- data/lib/pulp_rpm_client/models/{paginatedrpm_distribution_tree_response_list.rb → inline_response2001.rb} +4 -4
- data/lib/pulp_rpm_client/models/{paginatedrpm_rpm_distribution_response_list.rb → inline_response20010.rb} +4 -4
- data/lib/pulp_rpm_client/models/{paginatedrpm_rpm_publication_response_list.rb → inline_response20011.rb} +4 -4
- data/lib/pulp_rpm_client/models/{paginatedrpm_rpm_remote_response_list.rb → inline_response20012.rb} +4 -4
- data/lib/pulp_rpm_client/models/{paginatedrpm_rpm_repository_response_list.rb → inline_response20013.rb} +4 -4
- data/lib/pulp_rpm_client/models/{paginated_repository_version_response_list.rb → inline_response20014.rb} +4 -4
- data/lib/pulp_rpm_client/models/{paginatedrpm_modulemd_defaults_response_list.rb → inline_response2002.rb} +4 -4
- data/lib/pulp_rpm_client/models/{paginatedrpm_modulemd_response_list.rb → inline_response2003.rb} +4 -4
- data/lib/pulp_rpm_client/models/{paginatedrpm_package_category_response_list.rb → inline_response2004.rb} +4 -4
- data/lib/pulp_rpm_client/models/{paginatedrpm_package_environment_response_list.rb → inline_response2005.rb} +4 -4
- data/lib/pulp_rpm_client/models/{paginatedrpm_package_group_response_list.rb → inline_response2006.rb} +4 -4
- data/lib/pulp_rpm_client/models/{paginatedrpm_package_langpacks_response_list.rb → inline_response2007.rb} +4 -4
- data/lib/pulp_rpm_client/models/{paginatedrpm_package_response_list.rb → inline_response2008.rb} +4 -4
- data/lib/pulp_rpm_client/models/{paginatedrpm_repo_metadata_file_response_list.rb → inline_response2009.rb} +4 -4
- data/lib/pulp_rpm_client/models/metadata_checksum_type_enum.rb +1 -1
- data/lib/pulp_rpm_client/models/package_checksum_type_enum.rb +1 -1
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_distribution.rb +2 -11
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_remote.rb +3 -161
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_repository.rb +2 -11
- data/lib/pulp_rpm_client/models/policy_enum.rb +1 -1
- data/lib/pulp_rpm_client/models/repository_add_remove_content.rb +3 -3
- data/lib/pulp_rpm_client/models/repository_version.rb +1 -1
- data/lib/pulp_rpm_client/models/repository_version_response.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_distribution_tree_response.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_modulemd_defaults_response.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_modulemd_response.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_package.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_package_category_response.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_package_environment_response.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_package_group_response.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_package_langpacks_response.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_package_response.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_repo_metadata_file_response.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_repository_sync_url.rb +2 -2
- data/lib/pulp_rpm_client/models/rpm_rpm_distribution.rb +2 -11
- data/lib/pulp_rpm_client/models/rpm_rpm_distribution_response.rb +2 -11
- data/lib/pulp_rpm_client/models/rpm_rpm_publication.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_publication_response.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_remote.rb +3 -161
- data/lib/pulp_rpm_client/models/rpm_rpm_remote_response.rb +33 -136
- data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +2 -11
- data/lib/pulp_rpm_client/models/rpm_rpm_repository_response.rb +2 -11
- 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 +1 -1
- data/lib/pulp_rpm_client/models/rpm_update_record_response.rb +1 -1
- data/lib/pulp_rpm_client/models/variant_response.rb +1 -1
- data/lib/pulp_rpm_client/version.rb +2 -2
- data/lib/pulp_rpm_client.rb +16 -17
- data/pulp_rpm_client.gemspec +1 -1
- data/spec/api/content_advisories_api_spec.rb +16 -16
- data/spec/api/content_distribution_trees_api_spec.rb +5 -5
- data/spec/api/content_modulemd_defaults_api_spec.rb +10 -10
- data/spec/api/content_modulemds_api_spec.rb +10 -10
- data/spec/api/content_packagecategories_api_spec.rb +5 -5
- data/spec/api/content_packageenvironments_api_spec.rb +5 -5
- data/spec/api/content_packagegroups_api_spec.rb +5 -5
- data/spec/api/content_packagelangpacks_api_spec.rb +5 -5
- data/spec/api/content_packages_api_spec.rb +26 -26
- data/spec/api/content_repo_metadata_files_api_spec.rb +5 -5
- data/spec/api/distributions_rpm_api_spec.rb +8 -12
- data/spec/api/publications_rpm_api_spec.rb +9 -9
- data/spec/api/remotes_rpm_api_spec.rb +10 -14
- data/spec/api/repositories_rpm_api_spec.rb +4 -8
- data/spec/api/repositories_rpm_versions_api_spec.rb +18 -18
- data/spec/api/rpm_copy_api_spec.rb +1 -1
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/addon_response_spec.rb +1 -1
- data/spec/models/artifact_response_spec.rb +1 -1
- data/spec/models/async_operation_response_spec.rb +1 -1
- data/spec/models/checksum_response_spec.rb +1 -1
- data/spec/models/content_summary_response_spec.rb +1 -1
- data/spec/models/content_summary_spec.rb +1 -1
- data/spec/models/copy_spec.rb +1 -1
- data/spec/models/image_response_spec.rb +1 -1
- data/spec/models/{paginatedrpm_package_response_list_spec.rb → inline_response20010_spec.rb} +7 -7
- data/spec/models/{paginatedrpm_modulemd_response_list_spec.rb → inline_response20011_spec.rb} +7 -7
- data/spec/models/{paginatedrpm_rpm_remote_response_list_spec.rb → inline_response20012_spec.rb} +7 -7
- data/spec/models/{paginatedrpm_package_group_response_list_spec.rb → inline_response20013_spec.rb} +7 -7
- data/spec/models/inline_response20014_spec.rb +59 -0
- data/spec/models/inline_response2001_spec.rb +59 -0
- data/spec/models/inline_response2002_spec.rb +59 -0
- data/spec/models/inline_response2003_spec.rb +59 -0
- data/spec/models/inline_response2004_spec.rb +59 -0
- data/spec/models/inline_response2005_spec.rb +59 -0
- data/spec/models/inline_response2006_spec.rb +59 -0
- data/spec/models/inline_response2007_spec.rb +59 -0
- data/spec/models/inline_response2008_spec.rb +59 -0
- data/spec/models/inline_response2009_spec.rb +59 -0
- data/spec/models/inline_response200_spec.rb +59 -0
- data/spec/models/metadata_checksum_type_enum_spec.rb +1 -1
- data/spec/models/package_checksum_type_enum_spec.rb +1 -1
- data/spec/models/patchedrpm_rpm_distribution_spec.rb +1 -7
- data/spec/models/patchedrpm_rpm_remote_spec.rb +1 -55
- data/spec/models/patchedrpm_rpm_repository_spec.rb +1 -7
- data/spec/models/policy_enum_spec.rb +1 -1
- data/spec/models/repository_add_remove_content_spec.rb +1 -1
- data/spec/models/repository_version_response_spec.rb +1 -1
- data/spec/models/repository_version_spec.rb +1 -1
- data/spec/models/rpm_distribution_tree_response_spec.rb +1 -1
- data/spec/models/rpm_modulemd_defaults_response_spec.rb +1 -1
- data/spec/models/rpm_modulemd_defaults_spec.rb +1 -1
- data/spec/models/rpm_modulemd_response_spec.rb +1 -1
- data/spec/models/rpm_modulemd_spec.rb +1 -1
- data/spec/models/rpm_package_category_response_spec.rb +1 -1
- data/spec/models/rpm_package_environment_response_spec.rb +1 -1
- data/spec/models/rpm_package_group_response_spec.rb +1 -1
- data/spec/models/rpm_package_langpacks_response_spec.rb +1 -1
- data/spec/models/rpm_package_response_spec.rb +1 -1
- data/spec/models/rpm_package_spec.rb +1 -1
- data/spec/models/rpm_repo_metadata_file_response_spec.rb +1 -1
- data/spec/models/rpm_repository_sync_url_spec.rb +1 -1
- data/spec/models/rpm_rpm_distribution_response_spec.rb +1 -7
- data/spec/models/rpm_rpm_distribution_spec.rb +1 -7
- data/spec/models/rpm_rpm_publication_response_spec.rb +1 -1
- data/spec/models/rpm_rpm_publication_spec.rb +1 -1
- data/spec/models/rpm_rpm_remote_response_spec.rb +9 -33
- data/spec/models/rpm_rpm_remote_spec.rb +1 -55
- data/spec/models/rpm_rpm_repository_response_spec.rb +1 -7
- data/spec/models/rpm_rpm_repository_spec.rb +1 -7
- data/spec/models/rpm_update_collection_response_spec.rb +1 -1
- data/spec/models/rpm_update_collection_spec.rb +1 -1
- data/spec/models/rpm_update_record_response_spec.rb +1 -1
- data/spec/models/rpm_update_record_spec.rb +1 -1
- data/spec/models/variant_response_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +104 -108
- data/docs/SkipTypesEnum.md +0 -16
- data/lib/pulp_rpm_client/models/skip_types_enum.rb +0 -35
- data/spec/models/paginated_repository_version_response_list_spec.rb +0 -59
- data/spec/models/paginatedrpm_distribution_tree_response_list_spec.rb +0 -59
- data/spec/models/paginatedrpm_modulemd_defaults_response_list_spec.rb +0 -59
- data/spec/models/paginatedrpm_package_category_response_list_spec.rb +0 -59
- data/spec/models/paginatedrpm_package_environment_response_list_spec.rb +0 -59
- data/spec/models/paginatedrpm_package_langpacks_response_list_spec.rb +0 -59
- data/spec/models/paginatedrpm_repo_metadata_file_response_list_spec.rb +0 -59
- data/spec/models/paginatedrpm_rpm_distribution_response_list_spec.rb +0 -59
- data/spec/models/paginatedrpm_rpm_publication_response_list_spec.rb +0 -59
- data/spec/models/paginatedrpm_rpm_repository_response_list_spec.rb +0 -59
- data/spec/models/paginatedrpm_update_record_response_list_spec.rb +0 -59
- data/spec/models/skip_types_enum_spec.rb +0 -35
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -32,13 +32,20 @@ module PulpRpmClient
|
|
32
32
|
# A PEM encoded client certificate used for authentication.
|
33
33
|
attr_accessor :client_cert
|
34
34
|
|
35
|
+
# A PEM encoded private key used for authentication.
|
36
|
+
attr_accessor :client_key
|
37
|
+
|
35
38
|
# If True, TLS peer validation must be performed.
|
36
39
|
attr_accessor :tls_validation
|
37
40
|
|
38
|
-
# The proxy URL. Format: scheme://host:port
|
41
|
+
# The proxy URL. Format: scheme://user:password@host:port
|
39
42
|
attr_accessor :proxy_url
|
40
43
|
|
41
|
-
|
44
|
+
# The username to be used for authentication when syncing.
|
45
|
+
attr_accessor :username
|
46
|
+
|
47
|
+
# The password to be used for authentication when syncing.
|
48
|
+
attr_accessor :password
|
42
49
|
|
43
50
|
# Timestamp of the most recent update of the remote.
|
44
51
|
attr_accessor :pulp_last_updated
|
@@ -49,24 +56,6 @@ module PulpRpmClient
|
|
49
56
|
# The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default.
|
50
57
|
attr_accessor :policy
|
51
58
|
|
52
|
-
# aiohttp.ClientTimeout.total (q.v.) for download-connections.
|
53
|
-
attr_accessor :total_timeout
|
54
|
-
|
55
|
-
# aiohttp.ClientTimeout.connect (q.v.) for download-connections.
|
56
|
-
attr_accessor :connect_timeout
|
57
|
-
|
58
|
-
# aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections.
|
59
|
-
attr_accessor :sock_connect_timeout
|
60
|
-
|
61
|
-
# aiohttp.ClientTimeout.sock_read (q.v.) for download-connections.
|
62
|
-
attr_accessor :sock_read_timeout
|
63
|
-
|
64
|
-
# Headers for aiohttp.Clientsession
|
65
|
-
attr_accessor :headers
|
66
|
-
|
67
|
-
# Limits total download rate in requests per second
|
68
|
-
attr_accessor :rate_limit
|
69
|
-
|
70
59
|
# Authentication token for SLES repositories.
|
71
60
|
attr_accessor :sles_auth_token
|
72
61
|
|
@@ -79,18 +68,14 @@ module PulpRpmClient
|
|
79
68
|
:'url' => :'url',
|
80
69
|
:'ca_cert' => :'ca_cert',
|
81
70
|
:'client_cert' => :'client_cert',
|
71
|
+
:'client_key' => :'client_key',
|
82
72
|
:'tls_validation' => :'tls_validation',
|
83
73
|
:'proxy_url' => :'proxy_url',
|
84
|
-
:'
|
74
|
+
:'username' => :'username',
|
75
|
+
:'password' => :'password',
|
85
76
|
:'pulp_last_updated' => :'pulp_last_updated',
|
86
77
|
:'download_concurrency' => :'download_concurrency',
|
87
78
|
:'policy' => :'policy',
|
88
|
-
:'total_timeout' => :'total_timeout',
|
89
|
-
:'connect_timeout' => :'connect_timeout',
|
90
|
-
:'sock_connect_timeout' => :'sock_connect_timeout',
|
91
|
-
:'sock_read_timeout' => :'sock_read_timeout',
|
92
|
-
:'headers' => :'headers',
|
93
|
-
:'rate_limit' => :'rate_limit',
|
94
79
|
:'sles_auth_token' => :'sles_auth_token'
|
95
80
|
}
|
96
81
|
end
|
@@ -104,18 +89,14 @@ module PulpRpmClient
|
|
104
89
|
:'url' => :'String',
|
105
90
|
:'ca_cert' => :'String',
|
106
91
|
:'client_cert' => :'String',
|
92
|
+
:'client_key' => :'String',
|
107
93
|
:'tls_validation' => :'Boolean',
|
108
94
|
:'proxy_url' => :'String',
|
109
|
-
:'
|
95
|
+
:'username' => :'String',
|
96
|
+
:'password' => :'String',
|
110
97
|
:'pulp_last_updated' => :'DateTime',
|
111
98
|
:'download_concurrency' => :'Integer',
|
112
99
|
:'policy' => :'PolicyEnum',
|
113
|
-
:'total_timeout' => :'Float',
|
114
|
-
:'connect_timeout' => :'Float',
|
115
|
-
:'sock_connect_timeout' => :'Float',
|
116
|
-
:'sock_read_timeout' => :'Float',
|
117
|
-
:'headers' => :'Array<Object>',
|
118
|
-
:'rate_limit' => :'Integer',
|
119
100
|
:'sles_auth_token' => :'String'
|
120
101
|
}
|
121
102
|
end
|
@@ -125,12 +106,10 @@ module PulpRpmClient
|
|
125
106
|
Set.new([
|
126
107
|
:'ca_cert',
|
127
108
|
:'client_cert',
|
109
|
+
:'client_key',
|
128
110
|
:'proxy_url',
|
129
|
-
:'
|
130
|
-
:'
|
131
|
-
:'sock_connect_timeout',
|
132
|
-
:'sock_read_timeout',
|
133
|
-
:'rate_limit',
|
111
|
+
:'username',
|
112
|
+
:'password',
|
134
113
|
:'sles_auth_token'
|
135
114
|
])
|
136
115
|
end
|
@@ -174,6 +153,10 @@ module PulpRpmClient
|
|
174
153
|
self.client_cert = attributes[:'client_cert']
|
175
154
|
end
|
176
155
|
|
156
|
+
if attributes.key?(:'client_key')
|
157
|
+
self.client_key = attributes[:'client_key']
|
158
|
+
end
|
159
|
+
|
177
160
|
if attributes.key?(:'tls_validation')
|
178
161
|
self.tls_validation = attributes[:'tls_validation']
|
179
162
|
end
|
@@ -182,8 +165,12 @@ module PulpRpmClient
|
|
182
165
|
self.proxy_url = attributes[:'proxy_url']
|
183
166
|
end
|
184
167
|
|
185
|
-
if attributes.key?(:'
|
186
|
-
self.
|
168
|
+
if attributes.key?(:'username')
|
169
|
+
self.username = attributes[:'username']
|
170
|
+
end
|
171
|
+
|
172
|
+
if attributes.key?(:'password')
|
173
|
+
self.password = attributes[:'password']
|
187
174
|
end
|
188
175
|
|
189
176
|
if attributes.key?(:'pulp_last_updated')
|
@@ -198,32 +185,6 @@ module PulpRpmClient
|
|
198
185
|
self.policy = attributes[:'policy']
|
199
186
|
end
|
200
187
|
|
201
|
-
if attributes.key?(:'total_timeout')
|
202
|
-
self.total_timeout = attributes[:'total_timeout']
|
203
|
-
end
|
204
|
-
|
205
|
-
if attributes.key?(:'connect_timeout')
|
206
|
-
self.connect_timeout = attributes[:'connect_timeout']
|
207
|
-
end
|
208
|
-
|
209
|
-
if attributes.key?(:'sock_connect_timeout')
|
210
|
-
self.sock_connect_timeout = attributes[:'sock_connect_timeout']
|
211
|
-
end
|
212
|
-
|
213
|
-
if attributes.key?(:'sock_read_timeout')
|
214
|
-
self.sock_read_timeout = attributes[:'sock_read_timeout']
|
215
|
-
end
|
216
|
-
|
217
|
-
if attributes.key?(:'headers')
|
218
|
-
if (value = attributes[:'headers']).is_a?(Array)
|
219
|
-
self.headers = value
|
220
|
-
end
|
221
|
-
end
|
222
|
-
|
223
|
-
if attributes.key?(:'rate_limit')
|
224
|
-
self.rate_limit = attributes[:'rate_limit']
|
225
|
-
end
|
226
|
-
|
227
188
|
if attributes.key?(:'sles_auth_token')
|
228
189
|
self.sles_auth_token = attributes[:'sles_auth_token']
|
229
190
|
end
|
@@ -245,22 +206,6 @@ module PulpRpmClient
|
|
245
206
|
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
246
207
|
end
|
247
208
|
|
248
|
-
if !@total_timeout.nil? && @total_timeout < 0.0
|
249
|
-
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
|
250
|
-
end
|
251
|
-
|
252
|
-
if !@connect_timeout.nil? && @connect_timeout < 0.0
|
253
|
-
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
|
254
|
-
end
|
255
|
-
|
256
|
-
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
257
|
-
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
|
258
|
-
end
|
259
|
-
|
260
|
-
if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
261
|
-
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
|
262
|
-
end
|
263
|
-
|
264
209
|
invalid_properties
|
265
210
|
end
|
266
211
|
|
@@ -270,10 +215,6 @@ module PulpRpmClient
|
|
270
215
|
return false if @name.nil?
|
271
216
|
return false if @url.nil?
|
272
217
|
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
273
|
-
return false if !@total_timeout.nil? && @total_timeout < 0.0
|
274
|
-
return false if !@connect_timeout.nil? && @connect_timeout < 0.0
|
275
|
-
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
276
|
-
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
277
218
|
true
|
278
219
|
end
|
279
220
|
|
@@ -287,46 +228,6 @@ module PulpRpmClient
|
|
287
228
|
@download_concurrency = download_concurrency
|
288
229
|
end
|
289
230
|
|
290
|
-
# Custom attribute writer method with validation
|
291
|
-
# @param [Object] total_timeout Value to be assigned
|
292
|
-
def total_timeout=(total_timeout)
|
293
|
-
if !total_timeout.nil? && total_timeout < 0.0
|
294
|
-
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
|
295
|
-
end
|
296
|
-
|
297
|
-
@total_timeout = total_timeout
|
298
|
-
end
|
299
|
-
|
300
|
-
# Custom attribute writer method with validation
|
301
|
-
# @param [Object] connect_timeout Value to be assigned
|
302
|
-
def connect_timeout=(connect_timeout)
|
303
|
-
if !connect_timeout.nil? && connect_timeout < 0.0
|
304
|
-
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
|
305
|
-
end
|
306
|
-
|
307
|
-
@connect_timeout = connect_timeout
|
308
|
-
end
|
309
|
-
|
310
|
-
# Custom attribute writer method with validation
|
311
|
-
# @param [Object] sock_connect_timeout Value to be assigned
|
312
|
-
def sock_connect_timeout=(sock_connect_timeout)
|
313
|
-
if !sock_connect_timeout.nil? && sock_connect_timeout < 0.0
|
314
|
-
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.'
|
315
|
-
end
|
316
|
-
|
317
|
-
@sock_connect_timeout = sock_connect_timeout
|
318
|
-
end
|
319
|
-
|
320
|
-
# Custom attribute writer method with validation
|
321
|
-
# @param [Object] sock_read_timeout Value to be assigned
|
322
|
-
def sock_read_timeout=(sock_read_timeout)
|
323
|
-
if !sock_read_timeout.nil? && sock_read_timeout < 0.0
|
324
|
-
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
|
325
|
-
end
|
326
|
-
|
327
|
-
@sock_read_timeout = sock_read_timeout
|
328
|
-
end
|
329
|
-
|
330
231
|
# Checks equality by comparing each attribute.
|
331
232
|
# @param [Object] Object to be compared
|
332
233
|
def ==(o)
|
@@ -338,18 +239,14 @@ module PulpRpmClient
|
|
338
239
|
url == o.url &&
|
339
240
|
ca_cert == o.ca_cert &&
|
340
241
|
client_cert == o.client_cert &&
|
242
|
+
client_key == o.client_key &&
|
341
243
|
tls_validation == o.tls_validation &&
|
342
244
|
proxy_url == o.proxy_url &&
|
343
|
-
|
245
|
+
username == o.username &&
|
246
|
+
password == o.password &&
|
344
247
|
pulp_last_updated == o.pulp_last_updated &&
|
345
248
|
download_concurrency == o.download_concurrency &&
|
346
249
|
policy == o.policy &&
|
347
|
-
total_timeout == o.total_timeout &&
|
348
|
-
connect_timeout == o.connect_timeout &&
|
349
|
-
sock_connect_timeout == o.sock_connect_timeout &&
|
350
|
-
sock_read_timeout == o.sock_read_timeout &&
|
351
|
-
headers == o.headers &&
|
352
|
-
rate_limit == o.rate_limit &&
|
353
250
|
sles_auth_token == o.sles_auth_token
|
354
251
|
end
|
355
252
|
|
@@ -362,7 +259,7 @@ module PulpRpmClient
|
|
362
259
|
# Calculates hash code according to all attributes.
|
363
260
|
# @return [Integer] Hash code
|
364
261
|
def hash
|
365
|
-
[pulp_href, pulp_created, name, url, ca_cert, client_cert, tls_validation, proxy_url,
|
262
|
+
[pulp_href, pulp_created, name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, username, password, pulp_last_updated, download_concurrency, policy, sles_auth_token].hash
|
366
263
|
end
|
367
264
|
|
368
265
|
# Builds the object from hash
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -15,8 +15,6 @@ require 'date'
|
|
15
15
|
module PulpRpmClient
|
16
16
|
# Serializer for Rpm Repositories.
|
17
17
|
class RpmRpmRepository
|
18
|
-
attr_accessor :pulp_labels
|
19
|
-
|
20
18
|
# A unique name for this repository.
|
21
19
|
attr_accessor :name
|
22
20
|
|
@@ -34,7 +32,6 @@ module PulpRpmClient
|
|
34
32
|
# Attribute mapping from ruby-style variable name to JSON key.
|
35
33
|
def self.attribute_map
|
36
34
|
{
|
37
|
-
:'pulp_labels' => :'pulp_labels',
|
38
35
|
:'name' => :'name',
|
39
36
|
:'description' => :'description',
|
40
37
|
:'remote' => :'remote',
|
@@ -46,7 +43,6 @@ module PulpRpmClient
|
|
46
43
|
# Attribute type mapping.
|
47
44
|
def self.openapi_types
|
48
45
|
{
|
49
|
-
:'pulp_labels' => :'Object',
|
50
46
|
:'name' => :'String',
|
51
47
|
:'description' => :'String',
|
52
48
|
:'remote' => :'String',
|
@@ -79,10 +75,6 @@ module PulpRpmClient
|
|
79
75
|
h[k.to_sym] = v
|
80
76
|
}
|
81
77
|
|
82
|
-
if attributes.key?(:'pulp_labels')
|
83
|
-
self.pulp_labels = attributes[:'pulp_labels']
|
84
|
-
end
|
85
|
-
|
86
78
|
if attributes.key?(:'name')
|
87
79
|
self.name = attributes[:'name']
|
88
80
|
end
|
@@ -142,7 +134,6 @@ module PulpRpmClient
|
|
142
134
|
def ==(o)
|
143
135
|
return true if self.equal?(o)
|
144
136
|
self.class == o.class &&
|
145
|
-
pulp_labels == o.pulp_labels &&
|
146
137
|
name == o.name &&
|
147
138
|
description == o.description &&
|
148
139
|
remote == o.remote &&
|
@@ -159,7 +150,7 @@ module PulpRpmClient
|
|
159
150
|
# Calculates hash code according to all attributes.
|
160
151
|
# @return [Integer] Hash code
|
161
152
|
def hash
|
162
|
-
[
|
153
|
+
[name, description, remote, metadata_signing_service, retain_package_versions].hash
|
163
154
|
end
|
164
155
|
|
165
156
|
# Builds the object from hash
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -22,8 +22,6 @@ module PulpRpmClient
|
|
22
22
|
|
23
23
|
attr_accessor :versions_href
|
24
24
|
|
25
|
-
attr_accessor :pulp_labels
|
26
|
-
|
27
25
|
attr_accessor :latest_version_href
|
28
26
|
|
29
27
|
# A unique name for this repository.
|
@@ -46,7 +44,6 @@ module PulpRpmClient
|
|
46
44
|
:'pulp_href' => :'pulp_href',
|
47
45
|
:'pulp_created' => :'pulp_created',
|
48
46
|
:'versions_href' => :'versions_href',
|
49
|
-
:'pulp_labels' => :'pulp_labels',
|
50
47
|
:'latest_version_href' => :'latest_version_href',
|
51
48
|
:'name' => :'name',
|
52
49
|
:'description' => :'description',
|
@@ -62,7 +59,6 @@ module PulpRpmClient
|
|
62
59
|
:'pulp_href' => :'String',
|
63
60
|
:'pulp_created' => :'DateTime',
|
64
61
|
:'versions_href' => :'String',
|
65
|
-
:'pulp_labels' => :'Object',
|
66
62
|
:'latest_version_href' => :'String',
|
67
63
|
:'name' => :'String',
|
68
64
|
:'description' => :'String',
|
@@ -108,10 +104,6 @@ module PulpRpmClient
|
|
108
104
|
self.versions_href = attributes[:'versions_href']
|
109
105
|
end
|
110
106
|
|
111
|
-
if attributes.key?(:'pulp_labels')
|
112
|
-
self.pulp_labels = attributes[:'pulp_labels']
|
113
|
-
end
|
114
|
-
|
115
107
|
if attributes.key?(:'latest_version_href')
|
116
108
|
self.latest_version_href = attributes[:'latest_version_href']
|
117
109
|
end
|
@@ -178,7 +170,6 @@ module PulpRpmClient
|
|
178
170
|
pulp_href == o.pulp_href &&
|
179
171
|
pulp_created == o.pulp_created &&
|
180
172
|
versions_href == o.versions_href &&
|
181
|
-
pulp_labels == o.pulp_labels &&
|
182
173
|
latest_version_href == o.latest_version_href &&
|
183
174
|
name == o.name &&
|
184
175
|
description == o.description &&
|
@@ -196,7 +187,7 @@ module PulpRpmClient
|
|
196
187
|
# Calculates hash code according to all attributes.
|
197
188
|
# @return [Integer] Hash code
|
198
189
|
def hash
|
199
|
-
[pulp_href, pulp_created, versions_href,
|
190
|
+
[pulp_href, pulp_created, versions_href, latest_version_href, name, description, remote, metadata_signing_service, retain_package_versions].hash
|
200
191
|
end
|
201
192
|
|
202
193
|
# Builds the object from hash
|