pulp_deb_client 2.16.0 → 2.17.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/DebAptRemote.md +1 -1
- data/docs/DebAptRemoteResponse.md +1 -1
- data/docs/PatcheddebAptRemote.md +1 -1
- data/lib/pulp_deb_client/api/content_generic_contents_api.rb +4 -0
- data/lib/pulp_deb_client/api/content_installer_packages_api.rb +4 -0
- data/lib/pulp_deb_client/api/content_packages_api.rb +4 -0
- data/lib/pulp_deb_client/api_client.rb +1 -4
- data/lib/pulp_deb_client/configuration.rb +1 -0
- data/lib/pulp_deb_client/models/deb_apt_distribution.rb +38 -0
- data/lib/pulp_deb_client/models/deb_apt_remote.rb +223 -1
- data/lib/pulp_deb_client/models/deb_apt_remote_response.rb +1 -1
- data/lib/pulp_deb_client/models/deb_apt_repository.rb +34 -0
- data/lib/pulp_deb_client/models/deb_base_package.rb +15 -0
- data/lib/pulp_deb_client/models/deb_generic_content.rb +19 -0
- data/lib/pulp_deb_client/models/deb_installer_file_index.rb +53 -0
- data/lib/pulp_deb_client/models/deb_package_index.rb +45 -0
- data/lib/pulp_deb_client/models/deb_release.rb +57 -0
- data/lib/pulp_deb_client/models/deb_release_architecture.rb +19 -0
- data/lib/pulp_deb_client/models/deb_release_component.rb +19 -0
- data/lib/pulp_deb_client/models/deb_release_file.rb +64 -0
- data/lib/pulp_deb_client/models/patcheddeb_apt_distribution.rb +30 -0
- data/lib/pulp_deb_client/models/patcheddeb_apt_remote.rb +211 -1
- data/lib/pulp_deb_client/models/patcheddeb_apt_repository.rb +30 -0
- data/lib/pulp_deb_client/version.rb +1 -1
- data/pulp_deb_client.gemspec +1 -1
- metadata +63 -57
@@ -100,6 +100,14 @@ module PulpDebClient
|
|
100
100
|
# @return Array for valid properties with the reasons
|
101
101
|
def list_invalid_properties
|
102
102
|
invalid_properties = Array.new
|
103
|
+
if !@name.nil? && @name.to_s.length < 1
|
104
|
+
invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
|
105
|
+
end
|
106
|
+
|
107
|
+
if !@description.nil? && @description.to_s.length < 1
|
108
|
+
invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
|
109
|
+
end
|
110
|
+
|
103
111
|
if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
104
112
|
invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
|
105
113
|
end
|
@@ -110,10 +118,32 @@ module PulpDebClient
|
|
110
118
|
# Check to see if the all the properties in the model are valid
|
111
119
|
# @return true if the model is valid
|
112
120
|
def valid?
|
121
|
+
return false if !@name.nil? && @name.to_s.length < 1
|
122
|
+
return false if !@description.nil? && @description.to_s.length < 1
|
113
123
|
return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
114
124
|
true
|
115
125
|
end
|
116
126
|
|
127
|
+
# Custom attribute writer method with validation
|
128
|
+
# @param [Object] name Value to be assigned
|
129
|
+
def name=(name)
|
130
|
+
if !name.nil? && name.to_s.length < 1
|
131
|
+
fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
|
132
|
+
end
|
133
|
+
|
134
|
+
@name = name
|
135
|
+
end
|
136
|
+
|
137
|
+
# Custom attribute writer method with validation
|
138
|
+
# @param [Object] description Value to be assigned
|
139
|
+
def description=(description)
|
140
|
+
if !description.nil? && description.to_s.length < 1
|
141
|
+
fail ArgumentError, 'invalid value for "description", the character length must be great than or equal to 1.'
|
142
|
+
end
|
143
|
+
|
144
|
+
@description = description
|
145
|
+
end
|
146
|
+
|
117
147
|
# Custom attribute writer method with validation
|
118
148
|
# @param [Object] retain_repo_versions Value to be assigned
|
119
149
|
def retain_repo_versions=(retain_repo_versions)
|
data/pulp_deb_client.gemspec
CHANGED
@@ -27,7 +27,7 @@ Gem::Specification.new do |s|
|
|
27
27
|
s.license = 'GPL-2.0+'
|
28
28
|
s.required_ruby_version = ">= 1.9"
|
29
29
|
|
30
|
-
s.add_runtime_dependency 'faraday', '
|
30
|
+
s.add_runtime_dependency 'faraday', '~> 0.17', '< 1.9.0'
|
31
31
|
s.add_runtime_dependency 'json', '~> 2.1', '>= 2.1.0'
|
32
32
|
|
33
33
|
s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
|
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pulp_deb_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.17.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-04-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: '0.17'
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 1.9.0
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - "~>"
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0.17'
|
30
|
+
- - "<"
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
32
|
+
version: 1.9.0
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: json
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -318,76 +324,76 @@ signing_key:
|
|
318
324
|
specification_version: 4
|
319
325
|
summary: Pulp 3 API Ruby Gem
|
320
326
|
test_files:
|
321
|
-
- spec/api/publications_verbatim_api_spec.rb
|
322
|
-
- spec/api/content_release_files_api_spec.rb
|
323
|
-
- spec/api/publications_apt_api_spec.rb
|
324
327
|
- spec/api/content_installer_packages_api_spec.rb
|
328
|
+
- spec/api/content_release_files_api_spec.rb
|
325
329
|
- spec/api/content_releases_api_spec.rb
|
326
|
-
- spec/api/
|
330
|
+
- spec/api/content_release_components_api_spec.rb
|
327
331
|
- spec/api/repositories_apt_api_spec.rb
|
328
|
-
- spec/api/
|
332
|
+
- spec/api/distributions_apt_api_spec.rb
|
329
333
|
- spec/api/repositories_apt_versions_api_spec.rb
|
330
|
-
- spec/api/
|
331
|
-
- spec/api/content_generic_contents_api_spec.rb
|
334
|
+
- spec/api/content_package_indices_api_spec.rb
|
332
335
|
- spec/api/content_release_architectures_api_spec.rb
|
336
|
+
- spec/api/content_package_release_components_api_spec.rb
|
333
337
|
- spec/api/content_packages_api_spec.rb
|
334
|
-
- spec/api/
|
335
|
-
- spec/api/
|
338
|
+
- spec/api/publications_verbatim_api_spec.rb
|
339
|
+
- spec/api/publications_apt_api_spec.rb
|
336
340
|
- spec/api/remotes_apt_api_spec.rb
|
341
|
+
- spec/api/content_generic_contents_api_spec.rb
|
342
|
+
- spec/api/content_installer_file_indices_api_spec.rb
|
337
343
|
- spec/api_client_spec.rb
|
338
344
|
- spec/configuration_spec.rb
|
339
|
-
- spec/models/deb_apt_distribution_response_spec.rb
|
340
|
-
- spec/models/content_summary_response_spec.rb
|
341
|
-
- spec/models/deb_apt_publication_response_spec.rb
|
342
|
-
- spec/models/deb_apt_distribution_spec.rb
|
343
|
-
- spec/models/paginateddeb_package_release_component_response_list_spec.rb
|
344
|
-
- spec/models/paginateddeb_verbatim_publication_response_list_spec.rb
|
345
|
-
- spec/models/deb_release_file_response_spec.rb
|
346
|
-
- spec/models/patcheddeb_apt_distribution_spec.rb
|
347
|
-
- spec/models/paginateddeb_apt_remote_response_list_spec.rb
|
348
|
-
- spec/models/async_operation_response_spec.rb
|
349
|
-
- spec/models/deb_package_release_component_spec.rb
|
350
|
-
- spec/models/paginateddeb_release_architecture_response_list_spec.rb
|
351
345
|
- spec/models/paginateddeb_release_component_response_list_spec.rb
|
352
|
-
- spec/models/deb_verbatim_publication_response_spec.rb
|
353
|
-
- spec/models/deb_release_response_spec.rb
|
354
|
-
- spec/models/deb_release_architecture_spec.rb
|
355
346
|
- spec/models/deb_release_architecture_response_spec.rb
|
356
|
-
- spec/models/deb_package_release_component_response_spec.rb
|
357
|
-
- spec/models/deb_generic_content_spec.rb
|
358
|
-
- spec/models/paginateddeb_release_file_response_list_spec.rb
|
359
|
-
- spec/models/content_summary_spec.rb
|
360
|
-
- spec/models/deb_release_spec.rb
|
361
347
|
- spec/models/deb_base_package_response_spec.rb
|
348
|
+
- spec/models/deb_apt_distribution_response_spec.rb
|
349
|
+
- spec/models/deb_apt_distribution_spec.rb
|
350
|
+
- spec/models/deb_verbatim_publication_response_spec.rb
|
362
351
|
- spec/models/deb_apt_remote_response_spec.rb
|
363
|
-
- spec/models/
|
364
|
-
- spec/models/
|
365
|
-
- spec/models/deb_release_file_spec.rb
|
366
|
-
- spec/models/policy_enum_spec.rb
|
367
|
-
- spec/models/deb_base_package_spec.rb
|
368
|
-
- spec/models/deb_apt_repository_response_spec.rb
|
369
|
-
- spec/models/repository_sync_url_spec.rb
|
370
|
-
- spec/models/deb_verbatim_publication_spec.rb
|
352
|
+
- spec/models/paginateddeb_apt_publication_response_list_spec.rb
|
353
|
+
- spec/models/deb_generic_content_response_spec.rb
|
371
354
|
- spec/models/repository_version_spec.rb
|
372
|
-
- spec/models/
|
373
|
-
- spec/models/
|
374
|
-
- spec/models/
|
375
|
-
- spec/models/
|
355
|
+
- spec/models/deb_apt_publication_response_spec.rb
|
356
|
+
- spec/models/patcheddeb_apt_repository_spec.rb
|
357
|
+
- spec/models/deb_verbatim_publication_spec.rb
|
358
|
+
- spec/models/paginateddeb_apt_remote_response_list_spec.rb
|
376
359
|
- spec/models/repository_add_remove_content_spec.rb
|
377
|
-
- spec/models/paginateddeb_apt_distribution_response_list_spec.rb
|
378
360
|
- spec/models/deb_installer_file_index_spec.rb
|
379
|
-
- spec/models/
|
380
|
-
- spec/models/
|
361
|
+
- spec/models/repository_sync_url_spec.rb
|
362
|
+
- spec/models/deb_base_package_spec.rb
|
363
|
+
- spec/models/deb_package_index_spec.rb
|
381
364
|
- spec/models/paginateddeb_apt_repository_response_list_spec.rb
|
365
|
+
- spec/models/content_summary_response_spec.rb
|
382
366
|
- spec/models/deb_installer_file_index_response_spec.rb
|
383
|
-
- spec/models/
|
384
|
-
- spec/models/
|
385
|
-
- spec/models/
|
386
|
-
- spec/models/repository_version_response_spec.rb
|
367
|
+
- spec/models/paginateddeb_release_architecture_response_list_spec.rb
|
368
|
+
- spec/models/paginateddeb_apt_distribution_response_list_spec.rb
|
369
|
+
- spec/models/deb_release_spec.rb
|
387
370
|
- spec/models/deb_apt_repository_spec.rb
|
388
|
-
- spec/models/patcheddeb_apt_repository_spec.rb
|
389
371
|
- spec/models/deb_release_component_spec.rb
|
390
|
-
- spec/models/
|
372
|
+
- spec/models/deb_package_release_component_response_spec.rb
|
373
|
+
- spec/models/async_operation_response_spec.rb
|
374
|
+
- spec/models/deb_apt_remote_spec.rb
|
375
|
+
- spec/models/deb_release_architecture_spec.rb
|
376
|
+
- spec/models/deb_package_release_component_spec.rb
|
377
|
+
- spec/models/policy_enum_spec.rb
|
378
|
+
- spec/models/deb_release_file_spec.rb
|
379
|
+
- spec/models/paginateddeb_release_file_response_list_spec.rb
|
380
|
+
- spec/models/deb_apt_publication_spec.rb
|
381
|
+
- spec/models/paginateddeb_package_index_response_list_spec.rb
|
382
|
+
- spec/models/paginateddeb_package_release_component_response_list_spec.rb
|
391
383
|
- spec/models/paginateddeb_installer_file_index_response_list_spec.rb
|
392
|
-
- spec/models/
|
384
|
+
- spec/models/deb_apt_repository_response_spec.rb
|
385
|
+
- spec/models/paginated_repository_version_response_list_spec.rb
|
386
|
+
- spec/models/deb_release_response_spec.rb
|
387
|
+
- spec/models/patcheddeb_apt_distribution_spec.rb
|
388
|
+
- spec/models/repository_version_response_spec.rb
|
389
|
+
- spec/models/patcheddeb_apt_remote_spec.rb
|
390
|
+
- spec/models/deb_package_index_response_spec.rb
|
391
|
+
- spec/models/content_summary_spec.rb
|
392
|
+
- spec/models/paginateddeb_base_package_response_list_spec.rb
|
393
|
+
- spec/models/paginateddeb_generic_content_response_list_spec.rb
|
394
|
+
- spec/models/deb_release_component_response_spec.rb
|
395
|
+
- spec/models/deb_generic_content_spec.rb
|
396
|
+
- spec/models/deb_release_file_response_spec.rb
|
397
|
+
- spec/models/paginateddeb_verbatim_publication_response_list_spec.rb
|
398
|
+
- spec/models/paginateddeb_release_response_list_spec.rb
|
393
399
|
- spec/spec_helper.rb
|