pulp_deb_client 2.0.0b4 → 2.2.0b1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +31 -11
- data/docs/{ContentInstallerFileIndexApi.md → ContentInstallerFileIndicesApi.md} +12 -12
- data/docs/{ContentPackageIndexApi.md → ContentPackageIndicesApi.md} +12 -12
- data/docs/ContentPackageReleaseComponentsApi.md +194 -0
- data/docs/ContentReleaseArchitecturesApi.md +194 -0
- data/docs/ContentReleaseComponentsApi.md +194 -0
- data/docs/ContentReleaseFilesApi.md +2 -2
- data/docs/ContentReleasesApi.md +196 -0
- data/docs/DebDebRemote.md +6 -4
- data/docs/DebPackageReleaseComponent.md +23 -0
- data/docs/DebRelease.md +25 -0
- data/docs/DebReleaseArchitecture.md +23 -0
- data/docs/DebReleaseComponent.md +23 -0
- data/docs/DistributionsAptApi.md +2 -2
- data/docs/InlineResponse20010.md +1 -1
- data/docs/InlineResponse20011.md +23 -0
- data/docs/InlineResponse20012.md +23 -0
- data/docs/InlineResponse20013.md +23 -0
- data/docs/InlineResponse20014.md +23 -0
- data/docs/InlineResponse2004.md +1 -1
- data/docs/InlineResponse2005.md +1 -1
- data/docs/InlineResponse2006.md +1 -1
- data/docs/InlineResponse2007.md +1 -1
- data/docs/InlineResponse2008.md +1 -1
- data/docs/InlineResponse2009.md +1 -1
- data/docs/PublicationsAptApi.md +16 -2
- data/docs/PublicationsVerbatimApi.md +16 -2
- data/docs/RemotesAptApi.md +2 -2
- data/docs/RepositoriesAptApi.md +5 -4
- data/docs/RepositoriesDebVersionsApi.md +2 -2
- data/lib/pulp_deb_client/api/content_generic_contents_api.rb +1 -1
- data/lib/pulp_deb_client/api/{content_installer_file_index_api.rb → content_installer_file_indices_api.rb} +14 -14
- data/lib/pulp_deb_client/api/content_installer_packages_api.rb +1 -1
- data/lib/pulp_deb_client/api/{content_package_index_api.rb → content_package_indices_api.rb} +14 -14
- data/lib/pulp_deb_client/api/content_package_release_components_api.rb +237 -0
- data/lib/pulp_deb_client/api/content_packages_api.rb +1 -1
- data/lib/pulp_deb_client/api/content_release_architectures_api.rb +237 -0
- data/lib/pulp_deb_client/api/content_release_components_api.rb +237 -0
- data/lib/pulp_deb_client/api/content_release_files_api.rb +4 -4
- data/lib/pulp_deb_client/api/content_releases_api.rb +240 -0
- data/lib/pulp_deb_client/api/distributions_apt_api.rb +4 -4
- data/lib/pulp_deb_client/api/publications_apt_api.rb +25 -4
- data/lib/pulp_deb_client/api/publications_verbatim_api.rb +25 -4
- data/lib/pulp_deb_client/api/remotes_apt_api.rb +4 -4
- data/lib/pulp_deb_client/api/repositories_apt_api.rb +6 -4
- data/lib/pulp_deb_client/api/repositories_deb_versions_api.rb +4 -4
- data/lib/pulp_deb_client/api_client.rb +1 -1
- data/lib/pulp_deb_client/api_error.rb +1 -1
- data/lib/pulp_deb_client/configuration.rb +1 -1
- 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/deb_base_package.rb +1 -1
- data/lib/pulp_deb_client/models/deb_deb_distribution.rb +1 -1
- data/lib/pulp_deb_client/models/deb_deb_publication.rb +1 -1
- data/lib/pulp_deb_client/models/deb_deb_remote.rb +33 -8
- data/lib/pulp_deb_client/models/deb_deb_repository.rb +1 -1
- data/lib/pulp_deb_client/models/deb_generic_content.rb +1 -1
- data/lib/pulp_deb_client/models/deb_installer_file_index.rb +1 -1
- data/lib/pulp_deb_client/models/deb_package_index.rb +1 -1
- data/lib/pulp_deb_client/models/deb_package_release_component.rb +246 -0
- data/lib/pulp_deb_client/models/deb_release.rb +315 -0
- data/lib/pulp_deb_client/models/deb_release_architecture.rb +265 -0
- data/lib/pulp_deb_client/models/deb_release_component.rb +265 -0
- data/lib/pulp_deb_client/models/deb_release_file.rb +1 -1
- data/lib/pulp_deb_client/models/deb_verbatim_publication.rb +1 -1
- data/lib/pulp_deb_client/models/inline_response200.rb +1 -1
- data/lib/pulp_deb_client/models/inline_response2001.rb +1 -1
- data/lib/pulp_deb_client/models/inline_response20010.rb +2 -2
- data/lib/pulp_deb_client/models/inline_response20011.rb +247 -0
- data/lib/pulp_deb_client/models/inline_response20012.rb +247 -0
- data/lib/pulp_deb_client/models/inline_response20013.rb +247 -0
- data/lib/pulp_deb_client/models/inline_response20014.rb +247 -0
- data/lib/pulp_deb_client/models/inline_response2002.rb +1 -1
- data/lib/pulp_deb_client/models/inline_response2003.rb +1 -1
- data/lib/pulp_deb_client/models/inline_response2004.rb +2 -2
- data/lib/pulp_deb_client/models/inline_response2005.rb +2 -2
- data/lib/pulp_deb_client/models/inline_response2006.rb +2 -2
- data/lib/pulp_deb_client/models/inline_response2007.rb +2 -2
- data/lib/pulp_deb_client/models/inline_response2008.rb +2 -2
- data/lib/pulp_deb_client/models/inline_response2009.rb +2 -2
- data/lib/pulp_deb_client/models/repository_add_remove_content.rb +1 -1
- 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/version.rb +2 -2
- data/lib/pulp_deb_client.rb +15 -3
- data/pulp_deb_client.gemspec +1 -1
- data/spec/api/content_generic_contents_api_spec.rb +1 -1
- data/spec/api/{content_installer_file_index_api_spec.rb → content_installer_file_indices_api_spec.rb} +8 -8
- data/spec/api/content_installer_packages_api_spec.rb +1 -1
- data/spec/api/{content_package_index_api_spec.rb → content_package_indices_api_spec.rb} +8 -8
- data/spec/api/content_package_release_components_api_spec.rb +81 -0
- data/spec/api/content_packages_api_spec.rb +1 -1
- data/spec/api/content_release_architectures_api_spec.rb +81 -0
- data/spec/api/content_release_components_api_spec.rb +81 -0
- data/spec/api/content_release_files_api_spec.rb +2 -2
- data/spec/api/content_releases_api_spec.rb +82 -0
- data/spec/api/distributions_apt_api_spec.rb +2 -2
- data/spec/api/publications_apt_api_spec.rb +9 -2
- data/spec/api/publications_verbatim_api_spec.rb +9 -2
- data/spec/api/remotes_apt_api_spec.rb +2 -2
- data/spec/api/repositories_apt_api_spec.rb +3 -2
- data/spec/api/repositories_deb_versions_api_spec.rb +2 -2
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/async_operation_response_spec.rb +1 -1
- data/spec/models/content_summary_spec.rb +1 -1
- data/spec/models/deb_base_package_spec.rb +1 -1
- data/spec/models/deb_deb_distribution_spec.rb +1 -1
- data/spec/models/deb_deb_publication_spec.rb +1 -1
- data/spec/models/deb_deb_remote_spec.rb +7 -1
- data/spec/models/deb_deb_repository_spec.rb +1 -1
- data/spec/models/deb_generic_content_spec.rb +1 -1
- data/spec/models/deb_installer_file_index_spec.rb +1 -1
- data/spec/models/deb_package_index_spec.rb +1 -1
- data/spec/models/deb_package_release_component_spec.rb +59 -0
- data/spec/models/deb_release_architecture_spec.rb +59 -0
- data/spec/models/deb_release_component_spec.rb +59 -0
- data/spec/models/deb_release_file_spec.rb +1 -1
- data/spec/models/deb_release_spec.rb +65 -0
- data/spec/models/deb_verbatim_publication_spec.rb +1 -1
- data/spec/models/inline_response20010_spec.rb +1 -1
- data/spec/models/inline_response20011_spec.rb +59 -0
- data/spec/models/inline_response20012_spec.rb +59 -0
- data/spec/models/inline_response20013_spec.rb +59 -0
- data/spec/models/inline_response20014_spec.rb +59 -0
- data/spec/models/inline_response2001_spec.rb +1 -1
- data/spec/models/inline_response2002_spec.rb +1 -1
- data/spec/models/inline_response2003_spec.rb +1 -1
- data/spec/models/inline_response2004_spec.rb +1 -1
- data/spec/models/inline_response2005_spec.rb +1 -1
- data/spec/models/inline_response2006_spec.rb +1 -1
- data/spec/models/inline_response2007_spec.rb +1 -1
- data/spec/models/inline_response2008_spec.rb +1 -1
- data/spec/models/inline_response2009_spec.rb +1 -1
- data/spec/models/inline_response200_spec.rb +1 -1
- data/spec/models/repository_add_remove_content_spec.rb +1 -1
- data/spec/models/repository_sync_url_spec.rb +1 -1
- data/spec/models/repository_version_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +79 -31
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.2.
|
9
|
+
OpenAPI Generator version: 4.2.2
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -147,11 +147,18 @@ module PulpDebClient
|
|
147
147
|
# A ViewSet for VerbatimPublication.
|
148
148
|
# @param [Hash] opts the optional parameters
|
149
149
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
150
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF
|
151
|
+
# @option opts [String] :pulp_created__lt Filter results where pulp_created is less than value
|
152
|
+
# @option opts [String] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
153
|
+
# @option opts [String] :pulp_created__gt Filter results where pulp_created is greater than value
|
154
|
+
# @option opts [String] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
155
|
+
# @option opts [String] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
156
|
+
# @option opts [String] :pulp_created ISO 8601 formatted dates are supported
|
150
157
|
# @option opts [Integer] :limit Number of results to return per page.
|
151
158
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
152
159
|
# @option opts [String] :fields A list of fields to include in the response.
|
153
160
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
154
|
-
# @return [
|
161
|
+
# @return [InlineResponse20011]
|
155
162
|
def list(opts = {})
|
156
163
|
data, _status_code, _headers = list_with_http_info(opts)
|
157
164
|
data
|
@@ -161,11 +168,18 @@ module PulpDebClient
|
|
161
168
|
# A ViewSet for VerbatimPublication.
|
162
169
|
# @param [Hash] opts the optional parameters
|
163
170
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
171
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF
|
172
|
+
# @option opts [String] :pulp_created__lt Filter results where pulp_created is less than value
|
173
|
+
# @option opts [String] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
174
|
+
# @option opts [String] :pulp_created__gt Filter results where pulp_created is greater than value
|
175
|
+
# @option opts [String] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
176
|
+
# @option opts [String] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
177
|
+
# @option opts [String] :pulp_created ISO 8601 formatted dates are supported
|
164
178
|
# @option opts [Integer] :limit Number of results to return per page.
|
165
179
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
166
180
|
# @option opts [String] :fields A list of fields to include in the response.
|
167
181
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
168
|
-
# @return [Array<(
|
182
|
+
# @return [Array<(InlineResponse20011, Integer, Hash)>] InlineResponse20011 data, response status code and response headers
|
169
183
|
def list_with_http_info(opts = {})
|
170
184
|
if @api_client.config.debugging
|
171
185
|
@api_client.config.logger.debug 'Calling API: PublicationsVerbatimApi.list ...'
|
@@ -176,6 +190,13 @@ module PulpDebClient
|
|
176
190
|
# query parameters
|
177
191
|
query_params = opts[:query_params] || {}
|
178
192
|
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
193
|
+
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
194
|
+
query_params[:'pulp_created__lt'] = opts[:'pulp_created__lt'] if !opts[:'pulp_created__lt'].nil?
|
195
|
+
query_params[:'pulp_created__lte'] = opts[:'pulp_created__lte'] if !opts[:'pulp_created__lte'].nil?
|
196
|
+
query_params[:'pulp_created__gt'] = opts[:'pulp_created__gt'] if !opts[:'pulp_created__gt'].nil?
|
197
|
+
query_params[:'pulp_created__gte'] = opts[:'pulp_created__gte'] if !opts[:'pulp_created__gte'].nil?
|
198
|
+
query_params[:'pulp_created__range'] = opts[:'pulp_created__range'] if !opts[:'pulp_created__range'].nil?
|
199
|
+
query_params[:'pulp_created'] = opts[:'pulp_created'] if !opts[:'pulp_created'].nil?
|
179
200
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
180
201
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
181
202
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
@@ -193,7 +214,7 @@ module PulpDebClient
|
|
193
214
|
post_body = opts[:body]
|
194
215
|
|
195
216
|
# return_type
|
196
|
-
return_type = opts[:return_type] || '
|
217
|
+
return_type = opts[:return_type] || 'InlineResponse20011'
|
197
218
|
|
198
219
|
# auth_names
|
199
220
|
auth_names = opts[:auth_names] || ['Basic']
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.2.
|
9
|
+
OpenAPI Generator version: 4.2.2
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -160,7 +160,7 @@ module PulpDebClient
|
|
160
160
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
161
161
|
# @option opts [String] :fields A list of fields to include in the response.
|
162
162
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
163
|
-
# @return [
|
163
|
+
# @return [InlineResponse20012]
|
164
164
|
def list(opts = {})
|
165
165
|
data, _status_code, _headers = list_with_http_info(opts)
|
166
166
|
data
|
@@ -181,7 +181,7 @@ module PulpDebClient
|
|
181
181
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
182
182
|
# @option opts [String] :fields A list of fields to include in the response.
|
183
183
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
184
|
-
# @return [Array<(
|
184
|
+
# @return [Array<(InlineResponse20012, Integer, Hash)>] InlineResponse20012 data, response status code and response headers
|
185
185
|
def list_with_http_info(opts = {})
|
186
186
|
if @api_client.config.debugging
|
187
187
|
@api_client.config.logger.debug 'Calling API: RemotesAptApi.list ...'
|
@@ -216,7 +216,7 @@ module PulpDebClient
|
|
216
216
|
post_body = opts[:body]
|
217
217
|
|
218
218
|
# return_type
|
219
|
-
return_type = opts[:return_type] || '
|
219
|
+
return_type = opts[:return_type] || 'InlineResponse20012'
|
220
220
|
|
221
221
|
# auth_names
|
222
222
|
auth_names = opts[:auth_names] || ['Basic']
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.2.
|
9
|
+
OpenAPI Generator version: 4.2.2
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -154,7 +154,7 @@ module PulpDebClient
|
|
154
154
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
155
155
|
# @option opts [String] :fields A list of fields to include in the response.
|
156
156
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
157
|
-
# @return [
|
157
|
+
# @return [InlineResponse20013]
|
158
158
|
def list(opts = {})
|
159
159
|
data, _status_code, _headers = list_with_http_info(opts)
|
160
160
|
data
|
@@ -169,7 +169,7 @@ module PulpDebClient
|
|
169
169
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
170
170
|
# @option opts [String] :fields A list of fields to include in the response.
|
171
171
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
172
|
-
# @return [Array<(
|
172
|
+
# @return [Array<(InlineResponse20013, Integer, Hash)>] InlineResponse20013 data, response status code and response headers
|
173
173
|
def list_with_http_info(opts = {})
|
174
174
|
if @api_client.config.debugging
|
175
175
|
@api_client.config.logger.debug 'Calling API: RepositoriesAptApi.list ...'
|
@@ -198,7 +198,7 @@ module PulpDebClient
|
|
198
198
|
post_body = opts[:body]
|
199
199
|
|
200
200
|
# return_type
|
201
|
-
return_type = opts[:return_type] || '
|
201
|
+
return_type = opts[:return_type] || 'InlineResponse20013'
|
202
202
|
|
203
203
|
# auth_names
|
204
204
|
auth_names = opts[:auth_names] || ['Basic']
|
@@ -219,6 +219,7 @@ module PulpDebClient
|
|
219
219
|
return data, status_code, headers
|
220
220
|
end
|
221
221
|
|
222
|
+
# Modify Repository Content
|
222
223
|
# Trigger an asynchronous task to create a new repository version.
|
223
224
|
# @param deb_repository_href [String] URI of Deb Repository. e.g.: /pulp/api/v3/repositories/deb/apt/1/
|
224
225
|
# @param data [RepositoryAddRemoveContent]
|
@@ -229,6 +230,7 @@ module PulpDebClient
|
|
229
230
|
data
|
230
231
|
end
|
231
232
|
|
233
|
+
# Modify Repository Content
|
232
234
|
# Trigger an asynchronous task to create a new repository version.
|
233
235
|
# @param deb_repository_href [String] URI of Deb Repository. e.g.: /pulp/api/v3/repositories/deb/apt/1/
|
234
236
|
# @param data [RepositoryAddRemoveContent]
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.2.
|
9
|
+
OpenAPI Generator version: 4.2.2
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -103,7 +103,7 @@ module PulpDebClient
|
|
103
103
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
104
104
|
# @option opts [String] :fields A list of fields to include in the response.
|
105
105
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
106
|
-
# @return [
|
106
|
+
# @return [InlineResponse20014]
|
107
107
|
def list(deb_repository_href, opts = {})
|
108
108
|
data, _status_code, _headers = list_with_http_info(deb_repository_href, opts)
|
109
109
|
data
|
@@ -131,7 +131,7 @@ module PulpDebClient
|
|
131
131
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
132
132
|
# @option opts [String] :fields A list of fields to include in the response.
|
133
133
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
134
|
-
# @return [Array<(
|
134
|
+
# @return [Array<(InlineResponse20014, Integer, Hash)>] InlineResponse20014 data, response status code and response headers
|
135
135
|
def list_with_http_info(deb_repository_href, opts = {})
|
136
136
|
if @api_client.config.debugging
|
137
137
|
@api_client.config.logger.debug 'Calling API: RepositoriesDebVersionsApi.list ...'
|
@@ -176,7 +176,7 @@ module PulpDebClient
|
|
176
176
|
post_body = opts[:body]
|
177
177
|
|
178
178
|
# return_type
|
179
|
-
return_type = opts[:return_type] || '
|
179
|
+
return_type = opts[:return_type] || 'InlineResponse20014'
|
180
180
|
|
181
181
|
# auth_names
|
182
182
|
auth_names = opts[:auth_names] || ['Basic']
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.2.
|
9
|
+
OpenAPI Generator version: 4.2.2
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -25,13 +25,13 @@ module PulpDebClient
|
|
25
25
|
# The URL of an external content source.
|
26
26
|
attr_accessor :url
|
27
27
|
|
28
|
-
# A string containing the PEM encoded CA certificate used to validate the server certificate presented by the remote server. All new line characters must be escaped. Returns SHA256
|
28
|
+
# A string containing the PEM encoded CA certificate used to validate the server certificate presented by the remote server. All new line characters must be escaped. Returns SHA256 checksum of the certificate file on GET.
|
29
29
|
attr_accessor :ca_cert
|
30
30
|
|
31
|
-
# A string containing the PEM encoded client certificate used for authentication. All new line characters must be escaped. Returns SHA256
|
31
|
+
# A string containing the PEM encoded client certificate used for authentication. All new line characters must be escaped. Returns SHA256 checksum of the certificate file on GET.
|
32
32
|
attr_accessor :client_cert
|
33
33
|
|
34
|
-
# A PEM encoded private key used for authentication. Returns SHA256
|
34
|
+
# A PEM encoded private key used for authentication. Returns SHA256 checksum of the certificate file on GET.
|
35
35
|
attr_accessor :client_key
|
36
36
|
|
37
37
|
# If True, TLS peer validation must be performed.
|
@@ -67,6 +67,9 @@ module PulpDebClient
|
|
67
67
|
# Sync installer files
|
68
68
|
attr_accessor :sync_installer
|
69
69
|
|
70
|
+
# Gpg public key to verify origin releases against
|
71
|
+
attr_accessor :gpgkey
|
72
|
+
|
70
73
|
class EnumAttributeValidator
|
71
74
|
attr_reader :datatype
|
72
75
|
attr_reader :allowable_values
|
@@ -109,7 +112,8 @@ module PulpDebClient
|
|
109
112
|
:'architectures' => :'architectures',
|
110
113
|
:'sync_sources' => :'sync_sources',
|
111
114
|
:'sync_udebs' => :'sync_udebs',
|
112
|
-
:'sync_installer' => :'sync_installer'
|
115
|
+
:'sync_installer' => :'sync_installer',
|
116
|
+
:'gpgkey' => :'gpgkey'
|
113
117
|
}
|
114
118
|
end
|
115
119
|
|
@@ -133,7 +137,8 @@ module PulpDebClient
|
|
133
137
|
:'architectures' => :'String',
|
134
138
|
:'sync_sources' => :'Boolean',
|
135
139
|
:'sync_udebs' => :'Boolean',
|
136
|
-
:'sync_installer' => :'Boolean'
|
140
|
+
:'sync_installer' => :'Boolean',
|
141
|
+
:'gpgkey' => :'String'
|
137
142
|
}
|
138
143
|
end
|
139
144
|
|
@@ -235,6 +240,10 @@ module PulpDebClient
|
|
235
240
|
if attributes.key?(:'sync_installer')
|
236
241
|
self.sync_installer = attributes[:'sync_installer']
|
237
242
|
end
|
243
|
+
|
244
|
+
if attributes.key?(:'gpgkey')
|
245
|
+
self.gpgkey = attributes[:'gpgkey']
|
246
|
+
end
|
238
247
|
end
|
239
248
|
|
240
249
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -293,6 +302,10 @@ module PulpDebClient
|
|
293
302
|
invalid_properties.push('invalid value for "architectures", the character length must be great than or equal to 1.')
|
294
303
|
end
|
295
304
|
|
305
|
+
if !@gpgkey.nil? && @gpgkey.to_s.length < 1
|
306
|
+
invalid_properties.push('invalid value for "gpgkey", the character length must be great than or equal to 1.')
|
307
|
+
end
|
308
|
+
|
296
309
|
invalid_properties
|
297
310
|
end
|
298
311
|
|
@@ -314,6 +327,7 @@ module PulpDebClient
|
|
314
327
|
return false if @distributions.to_s.length < 1
|
315
328
|
return false if !@components.nil? && @components.to_s.length < 1
|
316
329
|
return false if !@architectures.nil? && @architectures.to_s.length < 1
|
330
|
+
return false if !@gpgkey.nil? && @gpgkey.to_s.length < 1
|
317
331
|
true
|
318
332
|
end
|
319
333
|
|
@@ -439,6 +453,16 @@ module PulpDebClient
|
|
439
453
|
@architectures = architectures
|
440
454
|
end
|
441
455
|
|
456
|
+
# Custom attribute writer method with validation
|
457
|
+
# @param [Object] gpgkey Value to be assigned
|
458
|
+
def gpgkey=(gpgkey)
|
459
|
+
if !gpgkey.nil? && gpgkey.to_s.length < 1
|
460
|
+
fail ArgumentError, 'invalid value for "gpgkey", the character length must be great than or equal to 1.'
|
461
|
+
end
|
462
|
+
|
463
|
+
@gpgkey = gpgkey
|
464
|
+
end
|
465
|
+
|
442
466
|
# Checks equality by comparing each attribute.
|
443
467
|
# @param [Object] Object to be compared
|
444
468
|
def ==(o)
|
@@ -461,7 +485,8 @@ module PulpDebClient
|
|
461
485
|
architectures == o.architectures &&
|
462
486
|
sync_sources == o.sync_sources &&
|
463
487
|
sync_udebs == o.sync_udebs &&
|
464
|
-
sync_installer == o.sync_installer
|
488
|
+
sync_installer == o.sync_installer &&
|
489
|
+
gpgkey == o.gpgkey
|
465
490
|
end
|
466
491
|
|
467
492
|
# @see the `==` method
|
@@ -473,7 +498,7 @@ module PulpDebClient
|
|
473
498
|
# Calculates hash code according to all attributes.
|
474
499
|
# @return [Integer] Hash code
|
475
500
|
def hash
|
476
|
-
[pulp_href, pulp_created, name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, pulp_last_updated, download_concurrency, policy, distributions, components, architectures, sync_sources, sync_udebs, sync_installer].hash
|
501
|
+
[pulp_href, pulp_created, name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, pulp_last_updated, download_concurrency, policy, distributions, components, architectures, sync_sources, sync_udebs, sync_installer, gpgkey].hash
|
477
502
|
end
|
478
503
|
|
479
504
|
# Builds the object from hash
|