pulp_deb_client 2.9.3 → 2.10.0
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 +4 -4
- data/docs/ContentGenericContentsApi.md +10 -10
- data/docs/ContentInstallerFileIndicesApi.md +14 -14
- data/docs/ContentInstallerPackagesApi.md +40 -40
- data/docs/ContentPackageIndicesApi.md +14 -14
- data/docs/ContentPackageReleaseComponentsApi.md +10 -10
- data/docs/ContentPackagesApi.md +42 -42
- data/docs/ContentReleaseArchitecturesApi.md +10 -10
- data/docs/ContentReleaseComponentsApi.md +10 -10
- data/docs/ContentReleaseFilesApi.md +14 -14
- data/docs/ContentReleasesApi.md +12 -12
- data/docs/DebAptDistribution.md +2 -0
- data/docs/DebAptDistributionResponse.md +2 -0
- data/docs/DebAptRemote.md +11 -1
- data/docs/DebAptRemoteResponse.md +7 -7
- data/docs/DebAptRepository.md +3 -1
- data/docs/DebAptRepositoryResponse.md +2 -0
- data/docs/DistributionsAptApi.md +20 -12
- data/docs/PatcheddebAptDistribution.md +2 -0
- data/docs/PatcheddebAptRemote.md +11 -1
- data/docs/PatcheddebAptRepository.md +3 -1
- data/docs/PublicationsAptApi.md +14 -14
- data/docs/PublicationsVerbatimApi.md +14 -14
- data/docs/RemotesAptApi.md +24 -16
- data/docs/RepositoriesAptApi.md +12 -4
- data/docs/RepositoriesDebVersionsApi.md +28 -28
- data/docs/RepositoryAddRemoveContent.md +2 -2
- data/lib/pulp_deb_client/api/content_generic_contents_api.rb +11 -11
- data/lib/pulp_deb_client/api/content_installer_file_indices_api.rb +15 -15
- data/lib/pulp_deb_client/api/content_installer_packages_api.rb +52 -44
- data/lib/pulp_deb_client/api/content_package_indices_api.rb +15 -15
- data/lib/pulp_deb_client/api/content_package_release_components_api.rb +11 -11
- data/lib/pulp_deb_client/api/content_packages_api.rb +54 -46
- data/lib/pulp_deb_client/api/content_release_architectures_api.rb +11 -11
- data/lib/pulp_deb_client/api/content_release_components_api.rb +11 -11
- data/lib/pulp_deb_client/api/content_release_files_api.rb +15 -15
- data/lib/pulp_deb_client/api/content_releases_api.rb +13 -13
- data/lib/pulp_deb_client/api/distributions_apt_api.rb +27 -15
- data/lib/pulp_deb_client/api/publications_apt_api.rb +16 -16
- data/lib/pulp_deb_client/api/publications_verbatim_api.rb +16 -16
- data/lib/pulp_deb_client/api/remotes_apt_api.rb +31 -19
- data/lib/pulp_deb_client/api/repositories_apt_api.rb +18 -6
- data/lib/pulp_deb_client/api/repositories_deb_versions_api.rb +51 -31
- data/lib/pulp_deb_client/api_client.rb +8 -12
- data/lib/pulp_deb_client/api_error.rb +1 -1
- data/lib/pulp_deb_client/configuration.rb +1 -8
- data/lib/pulp_deb_client/models/async_operation_response.rb +1 -1
- data/lib/pulp_deb_client/models/content_summary.rb +1 -1
- data/lib/pulp_deb_client/models/content_summary_response.rb +1 -1
- data/lib/pulp_deb_client/models/deb_apt_distribution.rb +11 -2
- data/lib/pulp_deb_client/models/deb_apt_distribution_response.rb +11 -2
- data/lib/pulp_deb_client/models/deb_apt_publication.rb +1 -1
- data/lib/pulp_deb_client/models/deb_apt_publication_response.rb +1 -1
- data/lib/pulp_deb_client/models/deb_apt_remote.rb +57 -3
- data/lib/pulp_deb_client/models/deb_apt_remote_response.rb +32 -33
- data/lib/pulp_deb_client/models/deb_apt_repository.rb +11 -2
- data/lib/pulp_deb_client/models/deb_apt_repository_response.rb +11 -2
- data/lib/pulp_deb_client/models/deb_base_package.rb +1 -1
- data/lib/pulp_deb_client/models/deb_base_package_response.rb +1 -1
- data/lib/pulp_deb_client/models/deb_generic_content.rb +1 -1
- data/lib/pulp_deb_client/models/deb_generic_content_response.rb +1 -1
- data/lib/pulp_deb_client/models/deb_installer_file_index.rb +1 -1
- data/lib/pulp_deb_client/models/deb_installer_file_index_response.rb +1 -1
- data/lib/pulp_deb_client/models/deb_package_index.rb +1 -1
- data/lib/pulp_deb_client/models/deb_package_index_response.rb +1 -1
- data/lib/pulp_deb_client/models/deb_package_release_component.rb +1 -1
- data/lib/pulp_deb_client/models/deb_package_release_component_response.rb +1 -1
- data/lib/pulp_deb_client/models/deb_release.rb +1 -1
- data/lib/pulp_deb_client/models/deb_release_architecture.rb +1 -1
- data/lib/pulp_deb_client/models/deb_release_architecture_response.rb +1 -1
- data/lib/pulp_deb_client/models/deb_release_component.rb +1 -1
- data/lib/pulp_deb_client/models/deb_release_component_response.rb +1 -1
- data/lib/pulp_deb_client/models/deb_release_file.rb +1 -1
- data/lib/pulp_deb_client/models/deb_release_file_response.rb +1 -1
- data/lib/pulp_deb_client/models/deb_release_response.rb +1 -1
- data/lib/pulp_deb_client/models/deb_verbatim_publication.rb +1 -1
- data/lib/pulp_deb_client/models/deb_verbatim_publication_response.rb +1 -1
- data/lib/pulp_deb_client/models/paginated_repository_version_response_list.rb +1 -1
- data/lib/pulp_deb_client/models/paginateddeb_apt_distribution_response_list.rb +1 -1
- data/lib/pulp_deb_client/models/paginateddeb_apt_publication_response_list.rb +1 -1
- data/lib/pulp_deb_client/models/paginateddeb_apt_remote_response_list.rb +1 -1
- data/lib/pulp_deb_client/models/paginateddeb_apt_repository_response_list.rb +1 -1
- data/lib/pulp_deb_client/models/paginateddeb_base_package_response_list.rb +1 -1
- data/lib/pulp_deb_client/models/paginateddeb_generic_content_response_list.rb +1 -1
- data/lib/pulp_deb_client/models/paginateddeb_installer_file_index_response_list.rb +1 -1
- data/lib/pulp_deb_client/models/paginateddeb_package_index_response_list.rb +1 -1
- data/lib/pulp_deb_client/models/paginateddeb_package_release_component_response_list.rb +1 -1
- data/lib/pulp_deb_client/models/paginateddeb_release_architecture_response_list.rb +1 -1
- data/lib/pulp_deb_client/models/paginateddeb_release_component_response_list.rb +1 -1
- data/lib/pulp_deb_client/models/paginateddeb_release_file_response_list.rb +1 -1
- data/lib/pulp_deb_client/models/paginateddeb_release_response_list.rb +1 -1
- data/lib/pulp_deb_client/models/paginateddeb_verbatim_publication_response_list.rb +1 -1
- data/lib/pulp_deb_client/models/patcheddeb_apt_distribution.rb +11 -2
- data/lib/pulp_deb_client/models/patcheddeb_apt_remote.rb +57 -3
- data/lib/pulp_deb_client/models/patcheddeb_apt_repository.rb +11 -2
- data/lib/pulp_deb_client/models/policy_enum.rb +1 -1
- data/lib/pulp_deb_client/models/repository_add_remove_content.rb +3 -3
- data/lib/pulp_deb_client/models/repository_sync_url.rb +1 -1
- data/lib/pulp_deb_client/models/repository_version.rb +1 -1
- data/lib/pulp_deb_client/models/repository_version_response.rb +1 -1
- data/lib/pulp_deb_client/version.rb +2 -2
- data/lib/pulp_deb_client.rb +1 -1
- data/pulp_deb_client.gemspec +1 -1
- data/spec/api/content_generic_contents_api_spec.rb +6 -6
- data/spec/api/content_installer_file_indices_api_spec.rb +8 -8
- data/spec/api/content_installer_packages_api_spec.rb +21 -21
- data/spec/api/content_package_indices_api_spec.rb +8 -8
- data/spec/api/content_package_release_components_api_spec.rb +6 -6
- data/spec/api/content_packages_api_spec.rb +22 -22
- data/spec/api/content_release_architectures_api_spec.rb +6 -6
- data/spec/api/content_release_components_api_spec.rb +6 -6
- data/spec/api/content_release_files_api_spec.rb +8 -8
- data/spec/api/content_releases_api_spec.rb +7 -7
- data/spec/api/distributions_apt_api_spec.rb +11 -7
- data/spec/api/publications_apt_api_spec.rb +8 -8
- data/spec/api/publications_verbatim_api_spec.rb +8 -8
- data/spec/api/remotes_apt_api_spec.rb +13 -9
- data/spec/api/repositories_apt_api_spec.rb +7 -3
- data/spec/api/repositories_deb_versions_api_spec.rb +15 -15
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/async_operation_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/deb_apt_distribution_response_spec.rb +7 -1
- data/spec/models/deb_apt_distribution_spec.rb +7 -1
- data/spec/models/deb_apt_publication_response_spec.rb +1 -1
- data/spec/models/deb_apt_publication_spec.rb +1 -1
- data/spec/models/deb_apt_remote_response_spec.rb +13 -13
- data/spec/models/deb_apt_remote_spec.rb +31 -1
- data/spec/models/deb_apt_repository_response_spec.rb +7 -1
- data/spec/models/deb_apt_repository_spec.rb +7 -1
- data/spec/models/deb_base_package_response_spec.rb +1 -1
- data/spec/models/deb_base_package_spec.rb +1 -1
- data/spec/models/deb_generic_content_response_spec.rb +1 -1
- data/spec/models/deb_generic_content_spec.rb +1 -1
- data/spec/models/deb_installer_file_index_response_spec.rb +1 -1
- data/spec/models/deb_installer_file_index_spec.rb +1 -1
- data/spec/models/deb_package_index_response_spec.rb +1 -1
- data/spec/models/deb_package_index_spec.rb +1 -1
- data/spec/models/deb_package_release_component_response_spec.rb +1 -1
- data/spec/models/deb_package_release_component_spec.rb +1 -1
- data/spec/models/deb_release_architecture_response_spec.rb +1 -1
- data/spec/models/deb_release_architecture_spec.rb +1 -1
- data/spec/models/deb_release_component_response_spec.rb +1 -1
- data/spec/models/deb_release_component_spec.rb +1 -1
- data/spec/models/deb_release_file_response_spec.rb +1 -1
- data/spec/models/deb_release_file_spec.rb +1 -1
- data/spec/models/deb_release_response_spec.rb +1 -1
- data/spec/models/deb_release_spec.rb +1 -1
- data/spec/models/deb_verbatim_publication_response_spec.rb +1 -1
- data/spec/models/deb_verbatim_publication_spec.rb +1 -1
- data/spec/models/paginated_repository_version_response_list_spec.rb +1 -1
- data/spec/models/paginateddeb_apt_distribution_response_list_spec.rb +1 -1
- data/spec/models/paginateddeb_apt_publication_response_list_spec.rb +1 -1
- data/spec/models/paginateddeb_apt_remote_response_list_spec.rb +1 -1
- data/spec/models/paginateddeb_apt_repository_response_list_spec.rb +1 -1
- data/spec/models/paginateddeb_base_package_response_list_spec.rb +1 -1
- data/spec/models/paginateddeb_generic_content_response_list_spec.rb +1 -1
- data/spec/models/paginateddeb_installer_file_index_response_list_spec.rb +1 -1
- data/spec/models/paginateddeb_package_index_response_list_spec.rb +1 -1
- data/spec/models/paginateddeb_package_release_component_response_list_spec.rb +1 -1
- data/spec/models/paginateddeb_release_architecture_response_list_spec.rb +1 -1
- data/spec/models/paginateddeb_release_component_response_list_spec.rb +1 -1
- data/spec/models/paginateddeb_release_file_response_list_spec.rb +1 -1
- data/spec/models/paginateddeb_release_response_list_spec.rb +1 -1
- data/spec/models/paginateddeb_verbatim_publication_response_list_spec.rb +1 -1
- data/spec/models/patcheddeb_apt_distribution_spec.rb +7 -1
- data/spec/models/patcheddeb_apt_remote_spec.rb +31 -1
- data/spec/models/patcheddeb_apt_repository_spec.rb +7 -1
- data/spec/models/policy_enum_spec.rb +1 -1
- data/spec/models/repository_add_remove_content_spec.rb +1 -1
- data/spec/models/repository_sync_url_spec.rb +1 -1
- data/spec/models/repository_version_response_spec.rb +1 -1
- data/spec/models/repository_version_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +55 -55
@@ -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.3
|
9
|
+
OpenAPI Generator version: 4.2.3
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -22,6 +22,8 @@ module PulpDebClient
|
|
22
22
|
|
23
23
|
attr_accessor :versions_href
|
24
24
|
|
25
|
+
attr_accessor :pulp_labels
|
26
|
+
|
25
27
|
attr_accessor :latest_version_href
|
26
28
|
|
27
29
|
# A unique name for this repository.
|
@@ -38,6 +40,7 @@ module PulpDebClient
|
|
38
40
|
:'pulp_href' => :'pulp_href',
|
39
41
|
:'pulp_created' => :'pulp_created',
|
40
42
|
:'versions_href' => :'versions_href',
|
43
|
+
:'pulp_labels' => :'pulp_labels',
|
41
44
|
:'latest_version_href' => :'latest_version_href',
|
42
45
|
:'name' => :'name',
|
43
46
|
:'description' => :'description',
|
@@ -51,6 +54,7 @@ module PulpDebClient
|
|
51
54
|
:'pulp_href' => :'String',
|
52
55
|
:'pulp_created' => :'DateTime',
|
53
56
|
:'versions_href' => :'String',
|
57
|
+
:'pulp_labels' => :'Object',
|
54
58
|
:'latest_version_href' => :'String',
|
55
59
|
:'name' => :'String',
|
56
60
|
:'description' => :'String',
|
@@ -93,6 +97,10 @@ module PulpDebClient
|
|
93
97
|
self.versions_href = attributes[:'versions_href']
|
94
98
|
end
|
95
99
|
|
100
|
+
if attributes.key?(:'pulp_labels')
|
101
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
102
|
+
end
|
103
|
+
|
96
104
|
if attributes.key?(:'latest_version_href')
|
97
105
|
self.latest_version_href = attributes[:'latest_version_href']
|
98
106
|
end
|
@@ -136,6 +144,7 @@ module PulpDebClient
|
|
136
144
|
pulp_href == o.pulp_href &&
|
137
145
|
pulp_created == o.pulp_created &&
|
138
146
|
versions_href == o.versions_href &&
|
147
|
+
pulp_labels == o.pulp_labels &&
|
139
148
|
latest_version_href == o.latest_version_href &&
|
140
149
|
name == o.name &&
|
141
150
|
description == o.description &&
|
@@ -151,7 +160,7 @@ module PulpDebClient
|
|
151
160
|
# Calculates hash code according to all attributes.
|
152
161
|
# @return [Integer] Hash code
|
153
162
|
def hash
|
154
|
-
[pulp_href, pulp_created, versions_href, latest_version_href, name, description, remote].hash
|
163
|
+
[pulp_href, pulp_created, versions_href, pulp_labels, latest_version_href, name, description, remote].hash
|
155
164
|
end
|
156
165
|
|
157
166
|
# 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.3
|
9
|
+
OpenAPI Generator version: 4.2.3
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -21,6 +21,8 @@ module PulpDebClient
|
|
21
21
|
# An optional content-guard.
|
22
22
|
attr_accessor :content_guard
|
23
23
|
|
24
|
+
attr_accessor :pulp_labels
|
25
|
+
|
24
26
|
# A unique name. Ex, `rawhide` and `stable`.
|
25
27
|
attr_accessor :name
|
26
28
|
|
@@ -32,6 +34,7 @@ module PulpDebClient
|
|
32
34
|
{
|
33
35
|
:'base_path' => :'base_path',
|
34
36
|
:'content_guard' => :'content_guard',
|
37
|
+
:'pulp_labels' => :'pulp_labels',
|
35
38
|
:'name' => :'name',
|
36
39
|
:'publication' => :'publication'
|
37
40
|
}
|
@@ -42,6 +45,7 @@ module PulpDebClient
|
|
42
45
|
{
|
43
46
|
:'base_path' => :'String',
|
44
47
|
:'content_guard' => :'String',
|
48
|
+
:'pulp_labels' => :'Object',
|
45
49
|
:'name' => :'String',
|
46
50
|
:'publication' => :'String'
|
47
51
|
}
|
@@ -78,6 +82,10 @@ module PulpDebClient
|
|
78
82
|
self.content_guard = attributes[:'content_guard']
|
79
83
|
end
|
80
84
|
|
85
|
+
if attributes.key?(:'pulp_labels')
|
86
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
87
|
+
end
|
88
|
+
|
81
89
|
if attributes.key?(:'name')
|
82
90
|
self.name = attributes[:'name']
|
83
91
|
end
|
@@ -107,6 +115,7 @@ module PulpDebClient
|
|
107
115
|
self.class == o.class &&
|
108
116
|
base_path == o.base_path &&
|
109
117
|
content_guard == o.content_guard &&
|
118
|
+
pulp_labels == o.pulp_labels &&
|
110
119
|
name == o.name &&
|
111
120
|
publication == o.publication
|
112
121
|
end
|
@@ -120,7 +129,7 @@ module PulpDebClient
|
|
120
129
|
# Calculates hash code according to all attributes.
|
121
130
|
# @return [Integer] Hash code
|
122
131
|
def hash
|
123
|
-
[base_path, content_guard, name, publication].hash
|
132
|
+
[base_path, content_guard, pulp_labels, name, publication].hash
|
124
133
|
end
|
125
134
|
|
126
135
|
# 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.3
|
9
|
+
OpenAPI Generator version: 4.2.3
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -33,15 +33,23 @@ module PulpDebClient
|
|
33
33
|
# If True, TLS peer validation must be performed.
|
34
34
|
attr_accessor :tls_validation
|
35
35
|
|
36
|
-
# The proxy URL. Format: scheme://
|
36
|
+
# The proxy URL. Format: scheme://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
|
+
|
39
45
|
# The username to be used for authentication when syncing.
|
40
46
|
attr_accessor :username
|
41
47
|
|
42
48
|
# The password to be used for authentication when syncing.
|
43
49
|
attr_accessor :password
|
44
50
|
|
51
|
+
attr_accessor :pulp_labels
|
52
|
+
|
45
53
|
# Total number of simultaneous connections.
|
46
54
|
attr_accessor :download_concurrency
|
47
55
|
|
@@ -60,6 +68,12 @@ module PulpDebClient
|
|
60
68
|
# aiohttp.ClientTimeout.sock_read (q.v.) for download-connections.
|
61
69
|
attr_accessor :sock_read_timeout
|
62
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
|
+
|
63
77
|
# Whitespace separated list of distributions to sync. The distribution is the path from the repository root to the \"Release\" file you want to access. This is often, but not always, equal to either the codename or the suite of the release you want to sync. If the repository you are trying to sync uses \"flat repository format\", the distribution must end with a \"/\". Based on \"/etc/apt/sources.list\" syntax.
|
64
78
|
attr_accessor :distributions
|
65
79
|
|
@@ -94,14 +108,19 @@ module PulpDebClient
|
|
94
108
|
:'client_key' => :'client_key',
|
95
109
|
:'tls_validation' => :'tls_validation',
|
96
110
|
:'proxy_url' => :'proxy_url',
|
111
|
+
:'proxy_username' => :'proxy_username',
|
112
|
+
:'proxy_password' => :'proxy_password',
|
97
113
|
:'username' => :'username',
|
98
114
|
:'password' => :'password',
|
115
|
+
:'pulp_labels' => :'pulp_labels',
|
99
116
|
:'download_concurrency' => :'download_concurrency',
|
100
117
|
:'policy' => :'policy',
|
101
118
|
:'total_timeout' => :'total_timeout',
|
102
119
|
:'connect_timeout' => :'connect_timeout',
|
103
120
|
:'sock_connect_timeout' => :'sock_connect_timeout',
|
104
121
|
:'sock_read_timeout' => :'sock_read_timeout',
|
122
|
+
:'headers' => :'headers',
|
123
|
+
:'rate_limit' => :'rate_limit',
|
105
124
|
:'distributions' => :'distributions',
|
106
125
|
:'components' => :'components',
|
107
126
|
:'architectures' => :'architectures',
|
@@ -123,14 +142,19 @@ module PulpDebClient
|
|
123
142
|
:'client_key' => :'String',
|
124
143
|
:'tls_validation' => :'Boolean',
|
125
144
|
:'proxy_url' => :'String',
|
145
|
+
:'proxy_username' => :'String',
|
146
|
+
:'proxy_password' => :'String',
|
126
147
|
:'username' => :'String',
|
127
148
|
:'password' => :'String',
|
149
|
+
:'pulp_labels' => :'Object',
|
128
150
|
:'download_concurrency' => :'Integer',
|
129
151
|
:'policy' => :'PolicyEnum',
|
130
152
|
:'total_timeout' => :'Float',
|
131
153
|
:'connect_timeout' => :'Float',
|
132
154
|
:'sock_connect_timeout' => :'Float',
|
133
155
|
:'sock_read_timeout' => :'Float',
|
156
|
+
:'headers' => :'Array<Object>',
|
157
|
+
:'rate_limit' => :'Integer',
|
134
158
|
:'distributions' => :'String',
|
135
159
|
:'components' => :'String',
|
136
160
|
:'architectures' => :'String',
|
@@ -149,12 +173,15 @@ module PulpDebClient
|
|
149
173
|
:'client_cert',
|
150
174
|
:'client_key',
|
151
175
|
:'proxy_url',
|
176
|
+
:'proxy_username',
|
177
|
+
:'proxy_password',
|
152
178
|
:'username',
|
153
179
|
:'password',
|
154
180
|
:'total_timeout',
|
155
181
|
:'connect_timeout',
|
156
182
|
:'sock_connect_timeout',
|
157
183
|
:'sock_read_timeout',
|
184
|
+
:'rate_limit',
|
158
185
|
:'components',
|
159
186
|
:'architectures',
|
160
187
|
:'gpgkey',
|
@@ -204,6 +231,14 @@ module PulpDebClient
|
|
204
231
|
self.proxy_url = attributes[:'proxy_url']
|
205
232
|
end
|
206
233
|
|
234
|
+
if attributes.key?(:'proxy_username')
|
235
|
+
self.proxy_username = attributes[:'proxy_username']
|
236
|
+
end
|
237
|
+
|
238
|
+
if attributes.key?(:'proxy_password')
|
239
|
+
self.proxy_password = attributes[:'proxy_password']
|
240
|
+
end
|
241
|
+
|
207
242
|
if attributes.key?(:'username')
|
208
243
|
self.username = attributes[:'username']
|
209
244
|
end
|
@@ -212,6 +247,10 @@ module PulpDebClient
|
|
212
247
|
self.password = attributes[:'password']
|
213
248
|
end
|
214
249
|
|
250
|
+
if attributes.key?(:'pulp_labels')
|
251
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
252
|
+
end
|
253
|
+
|
215
254
|
if attributes.key?(:'download_concurrency')
|
216
255
|
self.download_concurrency = attributes[:'download_concurrency']
|
217
256
|
end
|
@@ -236,6 +275,16 @@ module PulpDebClient
|
|
236
275
|
self.sock_read_timeout = attributes[:'sock_read_timeout']
|
237
276
|
end
|
238
277
|
|
278
|
+
if attributes.key?(:'headers')
|
279
|
+
if (value = attributes[:'headers']).is_a?(Array)
|
280
|
+
self.headers = value
|
281
|
+
end
|
282
|
+
end
|
283
|
+
|
284
|
+
if attributes.key?(:'rate_limit')
|
285
|
+
self.rate_limit = attributes[:'rate_limit']
|
286
|
+
end
|
287
|
+
|
239
288
|
if attributes.key?(:'distributions')
|
240
289
|
self.distributions = attributes[:'distributions']
|
241
290
|
end
|
@@ -369,14 +418,19 @@ module PulpDebClient
|
|
369
418
|
client_key == o.client_key &&
|
370
419
|
tls_validation == o.tls_validation &&
|
371
420
|
proxy_url == o.proxy_url &&
|
421
|
+
proxy_username == o.proxy_username &&
|
422
|
+
proxy_password == o.proxy_password &&
|
372
423
|
username == o.username &&
|
373
424
|
password == o.password &&
|
425
|
+
pulp_labels == o.pulp_labels &&
|
374
426
|
download_concurrency == o.download_concurrency &&
|
375
427
|
policy == o.policy &&
|
376
428
|
total_timeout == o.total_timeout &&
|
377
429
|
connect_timeout == o.connect_timeout &&
|
378
430
|
sock_connect_timeout == o.sock_connect_timeout &&
|
379
431
|
sock_read_timeout == o.sock_read_timeout &&
|
432
|
+
headers == o.headers &&
|
433
|
+
rate_limit == o.rate_limit &&
|
380
434
|
distributions == o.distributions &&
|
381
435
|
components == o.components &&
|
382
436
|
architectures == o.architectures &&
|
@@ -396,7 +450,7 @@ module PulpDebClient
|
|
396
450
|
# Calculates hash code according to all attributes.
|
397
451
|
# @return [Integer] Hash code
|
398
452
|
def hash
|
399
|
-
[name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, username, password, download_concurrency, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, distributions, components, architectures, sync_sources, sync_udebs, sync_installer, gpgkey, ignore_missing_package_indices].hash
|
453
|
+
[name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, proxy_username, proxy_password, username, password, pulp_labels, download_concurrency, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, distributions, components, architectures, sync_sources, sync_udebs, sync_installer, gpgkey, ignore_missing_package_indices].hash
|
400
454
|
end
|
401
455
|
|
402
456
|
# Builds the object from hash
|