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
|
|
@@ -15,8 +15,6 @@ require 'date'
|
|
15
15
|
module PulpRpmClient
|
16
16
|
# Serializer for Rpm Repositories.
|
17
17
|
class PatchedrpmRpmRepository
|
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
|
@@ -137,7 +129,6 @@ module PulpRpmClient
|
|
137
129
|
def ==(o)
|
138
130
|
return true if self.equal?(o)
|
139
131
|
self.class == o.class &&
|
140
|
-
pulp_labels == o.pulp_labels &&
|
141
132
|
name == o.name &&
|
142
133
|
description == o.description &&
|
143
134
|
remote == o.remote &&
|
@@ -154,7 +145,7 @@ module PulpRpmClient
|
|
154
145
|
# Calculates hash code according to all attributes.
|
155
146
|
# @return [Integer] Hash code
|
156
147
|
def hash
|
157
|
-
[
|
148
|
+
[name, description, remote, metadata_signing_service, retain_package_versions].hash
|
158
149
|
end
|
159
150
|
|
160
151
|
# 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
|
|
@@ -36,8 +36,8 @@ module PulpRpmClient
|
|
36
36
|
# Attribute type mapping.
|
37
37
|
def self.openapi_types
|
38
38
|
{
|
39
|
-
:'add_content_units' => :'Array<
|
40
|
-
:'remove_content_units' => :'Array<
|
39
|
+
:'add_content_units' => :'Array<AnyType>',
|
40
|
+
:'remove_content_units' => :'Array<AnyType>',
|
41
41
|
:'base_version' => :'String'
|
42
42
|
}
|
43
43
|
end
|
@@ -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
|
|
@@ -42,7 +42,7 @@ module PulpRpmClient
|
|
42
42
|
{
|
43
43
|
:'remote' => :'String',
|
44
44
|
:'mirror' => :'Boolean',
|
45
|
-
:'skip_types' => :'Array<
|
45
|
+
:'skip_types' => :'Array<String>',
|
46
46
|
:'optimize' => :'Boolean'
|
47
47
|
}
|
48
48
|
end
|
@@ -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
|
|
@@ -21,8 +21,6 @@ module PulpRpmClient
|
|
21
21
|
# An optional content-guard.
|
22
22
|
attr_accessor :content_guard
|
23
23
|
|
24
|
-
attr_accessor :pulp_labels
|
25
|
-
|
26
24
|
# A unique name. Ex, `rawhide` and `stable`.
|
27
25
|
attr_accessor :name
|
28
26
|
|
@@ -34,7 +32,6 @@ module PulpRpmClient
|
|
34
32
|
{
|
35
33
|
:'base_path' => :'base_path',
|
36
34
|
:'content_guard' => :'content_guard',
|
37
|
-
:'pulp_labels' => :'pulp_labels',
|
38
35
|
:'name' => :'name',
|
39
36
|
:'publication' => :'publication'
|
40
37
|
}
|
@@ -45,7 +42,6 @@ module PulpRpmClient
|
|
45
42
|
{
|
46
43
|
:'base_path' => :'String',
|
47
44
|
:'content_guard' => :'String',
|
48
|
-
:'pulp_labels' => :'Object',
|
49
45
|
:'name' => :'String',
|
50
46
|
:'publication' => :'String'
|
51
47
|
}
|
@@ -82,10 +78,6 @@ module PulpRpmClient
|
|
82
78
|
self.content_guard = attributes[:'content_guard']
|
83
79
|
end
|
84
80
|
|
85
|
-
if attributes.key?(:'pulp_labels')
|
86
|
-
self.pulp_labels = attributes[:'pulp_labels']
|
87
|
-
end
|
88
|
-
|
89
81
|
if attributes.key?(:'name')
|
90
82
|
self.name = attributes[:'name']
|
91
83
|
end
|
@@ -125,7 +117,6 @@ module PulpRpmClient
|
|
125
117
|
self.class == o.class &&
|
126
118
|
base_path == o.base_path &&
|
127
119
|
content_guard == o.content_guard &&
|
128
|
-
pulp_labels == o.pulp_labels &&
|
129
120
|
name == o.name &&
|
130
121
|
publication == o.publication
|
131
122
|
end
|
@@ -139,7 +130,7 @@ module PulpRpmClient
|
|
139
130
|
# Calculates hash code according to all attributes.
|
140
131
|
# @return [Integer] Hash code
|
141
132
|
def hash
|
142
|
-
[base_path, content_guard,
|
133
|
+
[base_path, content_guard, name, publication].hash
|
143
134
|
end
|
144
135
|
|
145
136
|
# 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
|
|
@@ -29,8 +29,6 @@ module PulpRpmClient
|
|
29
29
|
# An optional content-guard.
|
30
30
|
attr_accessor :content_guard
|
31
31
|
|
32
|
-
attr_accessor :pulp_labels
|
33
|
-
|
34
32
|
# A unique name. Ex, `rawhide` and `stable`.
|
35
33
|
attr_accessor :name
|
36
34
|
|
@@ -45,7 +43,6 @@ module PulpRpmClient
|
|
45
43
|
:'base_path' => :'base_path',
|
46
44
|
:'base_url' => :'base_url',
|
47
45
|
:'content_guard' => :'content_guard',
|
48
|
-
:'pulp_labels' => :'pulp_labels',
|
49
46
|
:'name' => :'name',
|
50
47
|
:'publication' => :'publication'
|
51
48
|
}
|
@@ -59,7 +56,6 @@ module PulpRpmClient
|
|
59
56
|
:'base_path' => :'String',
|
60
57
|
:'base_url' => :'String',
|
61
58
|
:'content_guard' => :'String',
|
62
|
-
:'pulp_labels' => :'Object',
|
63
59
|
:'name' => :'String',
|
64
60
|
:'publication' => :'String'
|
65
61
|
}
|
@@ -108,10 +104,6 @@ module PulpRpmClient
|
|
108
104
|
self.content_guard = attributes[:'content_guard']
|
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?(:'name')
|
116
108
|
self.name = attributes[:'name']
|
117
109
|
end
|
@@ -154,7 +146,6 @@ module PulpRpmClient
|
|
154
146
|
base_path == o.base_path &&
|
155
147
|
base_url == o.base_url &&
|
156
148
|
content_guard == o.content_guard &&
|
157
|
-
pulp_labels == o.pulp_labels &&
|
158
149
|
name == o.name &&
|
159
150
|
publication == o.publication
|
160
151
|
end
|
@@ -168,7 +159,7 @@ module PulpRpmClient
|
|
168
159
|
# Calculates hash code according to all attributes.
|
169
160
|
# @return [Integer] Hash code
|
170
161
|
def hash
|
171
|
-
[pulp_href, pulp_created, base_path, base_url, content_guard,
|
162
|
+
[pulp_href, pulp_created, base_path, base_url, content_guard, name, publication].hash
|
172
163
|
end
|
173
164
|
|
174
165
|
# 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
|
|
@@ -33,47 +33,21 @@ module PulpRpmClient
|
|
33
33
|
# If True, TLS peer validation must be performed.
|
34
34
|
attr_accessor :tls_validation
|
35
35
|
|
36
|
-
# The proxy URL. Format: scheme://host:port
|
36
|
+
# The proxy URL. Format: scheme://user:password@host:port
|
37
37
|
attr_accessor :proxy_url
|
38
38
|
|
39
|
-
# The username to authenticte to the proxy.
|
40
|
-
attr_accessor :proxy_username
|
41
|
-
|
42
|
-
# The password to authenticte to the proxy.
|
43
|
-
attr_accessor :proxy_password
|
44
|
-
|
45
39
|
# The username to be used for authentication when syncing.
|
46
40
|
attr_accessor :username
|
47
41
|
|
48
42
|
# The password to be used for authentication when syncing.
|
49
43
|
attr_accessor :password
|
50
44
|
|
51
|
-
attr_accessor :pulp_labels
|
52
|
-
|
53
45
|
# Total number of simultaneous connections.
|
54
46
|
attr_accessor :download_concurrency
|
55
47
|
|
56
48
|
# The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default.
|
57
49
|
attr_accessor :policy
|
58
50
|
|
59
|
-
# aiohttp.ClientTimeout.total (q.v.) for download-connections.
|
60
|
-
attr_accessor :total_timeout
|
61
|
-
|
62
|
-
# aiohttp.ClientTimeout.connect (q.v.) for download-connections.
|
63
|
-
attr_accessor :connect_timeout
|
64
|
-
|
65
|
-
# aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections.
|
66
|
-
attr_accessor :sock_connect_timeout
|
67
|
-
|
68
|
-
# aiohttp.ClientTimeout.sock_read (q.v.) for download-connections.
|
69
|
-
attr_accessor :sock_read_timeout
|
70
|
-
|
71
|
-
# Headers for aiohttp.Clientsession
|
72
|
-
attr_accessor :headers
|
73
|
-
|
74
|
-
# Limits total download rate in requests per second
|
75
|
-
attr_accessor :rate_limit
|
76
|
-
|
77
51
|
# Authentication token for SLES repositories.
|
78
52
|
attr_accessor :sles_auth_token
|
79
53
|
|
@@ -87,19 +61,10 @@ module PulpRpmClient
|
|
87
61
|
:'client_key' => :'client_key',
|
88
62
|
:'tls_validation' => :'tls_validation',
|
89
63
|
:'proxy_url' => :'proxy_url',
|
90
|
-
:'proxy_username' => :'proxy_username',
|
91
|
-
:'proxy_password' => :'proxy_password',
|
92
64
|
:'username' => :'username',
|
93
65
|
:'password' => :'password',
|
94
|
-
:'pulp_labels' => :'pulp_labels',
|
95
66
|
:'download_concurrency' => :'download_concurrency',
|
96
67
|
:'policy' => :'policy',
|
97
|
-
:'total_timeout' => :'total_timeout',
|
98
|
-
:'connect_timeout' => :'connect_timeout',
|
99
|
-
:'sock_connect_timeout' => :'sock_connect_timeout',
|
100
|
-
:'sock_read_timeout' => :'sock_read_timeout',
|
101
|
-
:'headers' => :'headers',
|
102
|
-
:'rate_limit' => :'rate_limit',
|
103
68
|
:'sles_auth_token' => :'sles_auth_token'
|
104
69
|
}
|
105
70
|
end
|
@@ -114,19 +79,10 @@ module PulpRpmClient
|
|
114
79
|
:'client_key' => :'String',
|
115
80
|
:'tls_validation' => :'Boolean',
|
116
81
|
:'proxy_url' => :'String',
|
117
|
-
:'proxy_username' => :'String',
|
118
|
-
:'proxy_password' => :'String',
|
119
82
|
:'username' => :'String',
|
120
83
|
:'password' => :'String',
|
121
|
-
:'pulp_labels' => :'Object',
|
122
84
|
:'download_concurrency' => :'Integer',
|
123
85
|
:'policy' => :'PolicyEnum',
|
124
|
-
:'total_timeout' => :'Float',
|
125
|
-
:'connect_timeout' => :'Float',
|
126
|
-
:'sock_connect_timeout' => :'Float',
|
127
|
-
:'sock_read_timeout' => :'Float',
|
128
|
-
:'headers' => :'Array<Object>',
|
129
|
-
:'rate_limit' => :'Integer',
|
130
86
|
:'sles_auth_token' => :'String'
|
131
87
|
}
|
132
88
|
end
|
@@ -138,15 +94,8 @@ module PulpRpmClient
|
|
138
94
|
:'client_cert',
|
139
95
|
:'client_key',
|
140
96
|
:'proxy_url',
|
141
|
-
:'proxy_username',
|
142
|
-
:'proxy_password',
|
143
97
|
:'username',
|
144
98
|
:'password',
|
145
|
-
:'total_timeout',
|
146
|
-
:'connect_timeout',
|
147
|
-
:'sock_connect_timeout',
|
148
|
-
:'sock_read_timeout',
|
149
|
-
:'rate_limit',
|
150
99
|
:'sles_auth_token'
|
151
100
|
])
|
152
101
|
end
|
@@ -194,14 +143,6 @@ module PulpRpmClient
|
|
194
143
|
self.proxy_url = attributes[:'proxy_url']
|
195
144
|
end
|
196
145
|
|
197
|
-
if attributes.key?(:'proxy_username')
|
198
|
-
self.proxy_username = attributes[:'proxy_username']
|
199
|
-
end
|
200
|
-
|
201
|
-
if attributes.key?(:'proxy_password')
|
202
|
-
self.proxy_password = attributes[:'proxy_password']
|
203
|
-
end
|
204
|
-
|
205
146
|
if attributes.key?(:'username')
|
206
147
|
self.username = attributes[:'username']
|
207
148
|
end
|
@@ -210,10 +151,6 @@ module PulpRpmClient
|
|
210
151
|
self.password = attributes[:'password']
|
211
152
|
end
|
212
153
|
|
213
|
-
if attributes.key?(:'pulp_labels')
|
214
|
-
self.pulp_labels = attributes[:'pulp_labels']
|
215
|
-
end
|
216
|
-
|
217
154
|
if attributes.key?(:'download_concurrency')
|
218
155
|
self.download_concurrency = attributes[:'download_concurrency']
|
219
156
|
end
|
@@ -222,32 +159,6 @@ module PulpRpmClient
|
|
222
159
|
self.policy = attributes[:'policy']
|
223
160
|
end
|
224
161
|
|
225
|
-
if attributes.key?(:'total_timeout')
|
226
|
-
self.total_timeout = attributes[:'total_timeout']
|
227
|
-
end
|
228
|
-
|
229
|
-
if attributes.key?(:'connect_timeout')
|
230
|
-
self.connect_timeout = attributes[:'connect_timeout']
|
231
|
-
end
|
232
|
-
|
233
|
-
if attributes.key?(:'sock_connect_timeout')
|
234
|
-
self.sock_connect_timeout = attributes[:'sock_connect_timeout']
|
235
|
-
end
|
236
|
-
|
237
|
-
if attributes.key?(:'sock_read_timeout')
|
238
|
-
self.sock_read_timeout = attributes[:'sock_read_timeout']
|
239
|
-
end
|
240
|
-
|
241
|
-
if attributes.key?(:'headers')
|
242
|
-
if (value = attributes[:'headers']).is_a?(Array)
|
243
|
-
self.headers = value
|
244
|
-
end
|
245
|
-
end
|
246
|
-
|
247
|
-
if attributes.key?(:'rate_limit')
|
248
|
-
self.rate_limit = attributes[:'rate_limit']
|
249
|
-
end
|
250
|
-
|
251
162
|
if attributes.key?(:'sles_auth_token')
|
252
163
|
self.sles_auth_token = attributes[:'sles_auth_token']
|
253
164
|
end
|
@@ -269,22 +180,6 @@ module PulpRpmClient
|
|
269
180
|
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
270
181
|
end
|
271
182
|
|
272
|
-
if !@total_timeout.nil? && @total_timeout < 0.0
|
273
|
-
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
|
274
|
-
end
|
275
|
-
|
276
|
-
if !@connect_timeout.nil? && @connect_timeout < 0.0
|
277
|
-
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
|
278
|
-
end
|
279
|
-
|
280
|
-
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
281
|
-
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
|
282
|
-
end
|
283
|
-
|
284
|
-
if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
285
|
-
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
|
286
|
-
end
|
287
|
-
|
288
183
|
invalid_properties
|
289
184
|
end
|
290
185
|
|
@@ -294,10 +189,6 @@ module PulpRpmClient
|
|
294
189
|
return false if @name.nil?
|
295
190
|
return false if @url.nil?
|
296
191
|
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
297
|
-
return false if !@total_timeout.nil? && @total_timeout < 0.0
|
298
|
-
return false if !@connect_timeout.nil? && @connect_timeout < 0.0
|
299
|
-
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
300
|
-
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
301
192
|
true
|
302
193
|
end
|
303
194
|
|
@@ -311,46 +202,6 @@ module PulpRpmClient
|
|
311
202
|
@download_concurrency = download_concurrency
|
312
203
|
end
|
313
204
|
|
314
|
-
# Custom attribute writer method with validation
|
315
|
-
# @param [Object] total_timeout Value to be assigned
|
316
|
-
def total_timeout=(total_timeout)
|
317
|
-
if !total_timeout.nil? && total_timeout < 0.0
|
318
|
-
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
|
319
|
-
end
|
320
|
-
|
321
|
-
@total_timeout = total_timeout
|
322
|
-
end
|
323
|
-
|
324
|
-
# Custom attribute writer method with validation
|
325
|
-
# @param [Object] connect_timeout Value to be assigned
|
326
|
-
def connect_timeout=(connect_timeout)
|
327
|
-
if !connect_timeout.nil? && connect_timeout < 0.0
|
328
|
-
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
|
329
|
-
end
|
330
|
-
|
331
|
-
@connect_timeout = connect_timeout
|
332
|
-
end
|
333
|
-
|
334
|
-
# Custom attribute writer method with validation
|
335
|
-
# @param [Object] sock_connect_timeout Value to be assigned
|
336
|
-
def sock_connect_timeout=(sock_connect_timeout)
|
337
|
-
if !sock_connect_timeout.nil? && sock_connect_timeout < 0.0
|
338
|
-
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.'
|
339
|
-
end
|
340
|
-
|
341
|
-
@sock_connect_timeout = sock_connect_timeout
|
342
|
-
end
|
343
|
-
|
344
|
-
# Custom attribute writer method with validation
|
345
|
-
# @param [Object] sock_read_timeout Value to be assigned
|
346
|
-
def sock_read_timeout=(sock_read_timeout)
|
347
|
-
if !sock_read_timeout.nil? && sock_read_timeout < 0.0
|
348
|
-
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
|
349
|
-
end
|
350
|
-
|
351
|
-
@sock_read_timeout = sock_read_timeout
|
352
|
-
end
|
353
|
-
|
354
205
|
# Checks equality by comparing each attribute.
|
355
206
|
# @param [Object] Object to be compared
|
356
207
|
def ==(o)
|
@@ -363,19 +214,10 @@ module PulpRpmClient
|
|
363
214
|
client_key == o.client_key &&
|
364
215
|
tls_validation == o.tls_validation &&
|
365
216
|
proxy_url == o.proxy_url &&
|
366
|
-
proxy_username == o.proxy_username &&
|
367
|
-
proxy_password == o.proxy_password &&
|
368
217
|
username == o.username &&
|
369
218
|
password == o.password &&
|
370
|
-
pulp_labels == o.pulp_labels &&
|
371
219
|
download_concurrency == o.download_concurrency &&
|
372
220
|
policy == o.policy &&
|
373
|
-
total_timeout == o.total_timeout &&
|
374
|
-
connect_timeout == o.connect_timeout &&
|
375
|
-
sock_connect_timeout == o.sock_connect_timeout &&
|
376
|
-
sock_read_timeout == o.sock_read_timeout &&
|
377
|
-
headers == o.headers &&
|
378
|
-
rate_limit == o.rate_limit &&
|
379
221
|
sles_auth_token == o.sles_auth_token
|
380
222
|
end
|
381
223
|
|
@@ -388,7 +230,7 @@ module PulpRpmClient
|
|
388
230
|
# Calculates hash code according to all attributes.
|
389
231
|
# @return [Integer] Hash code
|
390
232
|
def hash
|
391
|
-
[name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url,
|
233
|
+
[name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, username, password, download_concurrency, policy, sles_auth_token].hash
|
392
234
|
end
|
393
235
|
|
394
236
|
# Builds the object from hash
|