pulp_rpm_client 3.14.9 → 3.16.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -5
  3. data/docs/ContentAdvisoriesApi.md +1 -1
  4. data/docs/ContentDistributionTreesApi.md +1 -1
  5. data/docs/ContentModulemdDefaultsApi.md +1 -1
  6. data/docs/ContentModulemdsApi.md +1 -1
  7. data/docs/ContentPackagecategoriesApi.md +1 -1
  8. data/docs/ContentPackageenvironmentsApi.md +1 -1
  9. data/docs/ContentPackagegroupsApi.md +1 -1
  10. data/docs/ContentPackagelangpacksApi.md +1 -1
  11. data/docs/ContentPackagesApi.md +1 -1
  12. data/docs/ContentRepoMetadataFilesApi.md +1 -1
  13. data/docs/DistributionsRpmApi.md +1 -1
  14. data/docs/PatchedrpmRpmRemote.md +1 -1
  15. data/docs/PatchedrpmRpmRepository.md +3 -3
  16. data/docs/PatchedrpmUlnRemote.md +1 -1
  17. data/docs/PublicationsRpmApi.md +1 -1
  18. data/docs/RemotesRpmApi.md +1 -1
  19. data/docs/RemotesUlnApi.md +1 -1
  20. data/docs/RepositoriesRpmApi.md +1 -1
  21. data/docs/RepositoriesRpmVersionsApi.md +1 -1
  22. data/docs/RpmCopyApi.md +1 -1
  23. data/docs/RpmRpmRemote.md +1 -1
  24. data/docs/RpmRpmRemoteResponse.md +1 -1
  25. data/docs/RpmRpmRepository.md +3 -3
  26. data/docs/RpmRpmRepositoryResponse.md +3 -3
  27. data/docs/RpmUlnRemote.md +1 -1
  28. data/docs/RpmUlnRemoteResponse.md +1 -1
  29. data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +12 -0
  30. data/lib/pulp_rpm_client/api/content_modulemds_api.rb +24 -0
  31. data/lib/pulp_rpm_client/api/content_packages_api.rb +4 -0
  32. data/lib/pulp_rpm_client/configuration.rb +2 -2
  33. data/lib/pulp_rpm_client/models/patchedrpm_rpm_distribution.rb +30 -0
  34. data/lib/pulp_rpm_client/models/patchedrpm_rpm_remote.rb +166 -1
  35. data/lib/pulp_rpm_client/models/patchedrpm_rpm_repository.rb +47 -16
  36. data/lib/pulp_rpm_client/models/patchedrpm_uln_remote.rb +166 -1
  37. data/lib/pulp_rpm_client/models/rpm_modulemd.rb +114 -0
  38. data/lib/pulp_rpm_client/models/rpm_modulemd_defaults.rb +57 -0
  39. data/lib/pulp_rpm_client/models/rpm_package.rb +19 -0
  40. data/lib/pulp_rpm_client/models/rpm_rpm_distribution.rb +38 -0
  41. data/lib/pulp_rpm_client/models/rpm_rpm_remote.rb +174 -1
  42. data/lib/pulp_rpm_client/models/rpm_rpm_remote_response.rb +1 -1
  43. data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +51 -16
  44. data/lib/pulp_rpm_client/models/rpm_rpm_repository_response.rb +17 -16
  45. data/lib/pulp_rpm_client/models/rpm_uln_remote.rb +182 -1
  46. data/lib/pulp_rpm_client/models/rpm_uln_remote_response.rb +1 -1
  47. data/lib/pulp_rpm_client/version.rb +1 -1
  48. data/spec/configuration_spec.rb +3 -3
  49. data/spec/models/patchedrpm_rpm_repository_spec.rb +1 -1
  50. data/spec/models/rpm_rpm_repository_response_spec.rb +1 -1
  51. data/spec/models/rpm_rpm_repository_spec.rb +1 -1
  52. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5992d79021f35e96a57c4d947b4c71d13348260050db6b4b5e656c744b7eec5e
4
- data.tar.gz: 63e035be41f91592b7efb9edabc29a2f714d84399399ec11781c3743f0ad2501
3
+ metadata.gz: e5f273804c182714b4c5fed58af498e075f24a95213b9dff1285909b5396ae29
4
+ data.tar.gz: dcc5850f0777ab59a735a2b9f608032022c2996fe08c4c79b4cea88e56b01735
5
5
  SHA512:
6
- metadata.gz: 21108a4572fb47d2e99de832e461ef7fdbc3937b648edf53779836797b39192365261ca19f3f1bcf21c961e5343e3b9aeab5a5f7900517319de6a40958ff89a7
7
- data.tar.gz: dba853457f2960d5f7da0863d0cdb32886ede58f159de29d3cd2d6d6b2d2395292e39fcc9a032bc7e1ef9e25d1d3fae625f4a6a90ee751e54d5cf5124f99ff34
6
+ metadata.gz: 7fd99990a484ab5af125c05df5247fc3cba3539614277c9049b36a178d331639f85619a31b8d2220ea3efad9c7150761f2ecaa22cba1caba9e77746090bb95f1
7
+ data.tar.gz: 7aee1cc3d3c6556eab07500bc5d2a4fd3dd6cfac967adb9ddefb3ed54906de3db8415ae2470cbbf1edbbcb4df6eed87b086bf0b957fd6ccc2e4c9980aef05f8a
data/README.md CHANGED
@@ -7,7 +7,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
7
7
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
8
 
9
9
  - API version: v3
10
- - Package version: 3.14.9
10
+ - Package version: 3.16.2
11
11
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
12
  For more information, please visit [https://pulpproject.org](https://pulpproject.org)
13
13
 
@@ -24,16 +24,16 @@ gem build pulp_rpm_client.gemspec
24
24
  Then either install the gem locally:
25
25
 
26
26
  ```shell
27
- gem install ./pulp_rpm_client-3.14.9.gem
27
+ gem install ./pulp_rpm_client-3.16.2.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulp_rpm_client-3.14.9.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulp_rpm_client-3.16.2.gem` to install the development dependencies)
31
31
 
32
32
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
33
33
 
34
34
  Finally add this to the Gemfile:
35
35
 
36
- gem 'pulp_rpm_client', '~> 3.14.9'
36
+ gem 'pulp_rpm_client', '~> 3.16.2'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -82,7 +82,7 @@ end
82
82
 
83
83
  ## Documentation for API Endpoints
84
84
 
85
- All URIs are relative to *http://pulp*
85
+ All URIs are relative to *https://pulp*
86
86
 
87
87
  Class | Method | HTTP request | Description
88
88
  ------------ | ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpRpmClient::ContentAdvisoriesApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *https://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpRpmClient::ContentDistributionTreesApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *https://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpRpmClient::ContentModulemdDefaultsApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *https://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpRpmClient::ContentModulemdsApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *https://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpRpmClient::ContentPackagecategoriesApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *https://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpRpmClient::ContentPackageenvironmentsApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *https://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpRpmClient::ContentPackagegroupsApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *https://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpRpmClient::ContentPackagelangpacksApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *https://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpRpmClient::ContentPackagesApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *https://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpRpmClient::ContentRepoMetadataFilesApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *https://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpRpmClient::DistributionsRpmApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *https://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -24,7 +24,7 @@ Name | Type | Description | Notes
24
24
  **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
25
25
  **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
26
26
  **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
27
- **rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
27
+ **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
28
28
  **sles_auth_token** | **String** | Authentication token for SLES repositories. | [optional]
29
29
 
30
30
  ## Code Sample
@@ -7,8 +7,8 @@ Name | Type | Description | Notes
7
7
  **pulp_labels** | [**Object**](.md) | | [optional]
8
8
  **name** | **String** | A unique name for this repository. | [optional]
9
9
  **description** | **String** | An optional description. | [optional]
10
- **retained_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
11
- **remote** | **String** | | [optional]
10
+ **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
11
+ **remote** | **String** | An optional remote to use by default when syncing. | [optional]
12
12
  **autopublish** | **Boolean** | Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository. | [optional] [default to false]
13
13
  **metadata_signing_service** | **String** | A reference to an associated signing service. | [optional]
14
14
  **retain_package_versions** | **Integer** | The number of versions of each package to keep in the repository; older versions will be purged. The default is '0', which will disable this feature and keep all versions of each package. | [optional]
@@ -26,7 +26,7 @@ require 'PulpRpmClient'
26
26
  instance = PulpRpmClient::PatchedrpmRpmRepository.new(pulp_labels: null,
27
27
  name: null,
28
28
  description: null,
29
- retained_versions: null,
29
+ retain_repo_versions: null,
30
30
  remote: null,
31
31
  autopublish: null,
32
32
  metadata_signing_service: null,
@@ -24,7 +24,7 @@ Name | Type | Description | Notes
24
24
  **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
25
25
  **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
26
26
  **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
27
- **rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
27
+ **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
28
28
  **uln_server_base_url** | **String** | Base URL of the ULN server. If the uln_server_base_url is not provided pulp_rpm willuse the contents of the DEFAULT_ULN_SERVER_BASE_URL setting instead. | [optional]
29
29
 
30
30
  ## Code Sample
@@ -1,6 +1,6 @@
1
1
  # PulpRpmClient::PublicationsRpmApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *https://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpRpmClient::RemotesRpmApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *https://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpRpmClient::RemotesUlnApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *https://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpRpmClient::RepositoriesRpmApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *https://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpRpmClient::RepositoriesRpmVersionsApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *https://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
data/docs/RpmCopyApi.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # PulpRpmClient::RpmCopyApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *https://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
data/docs/RpmRpmRemote.md CHANGED
@@ -24,7 +24,7 @@ Name | Type | Description | Notes
24
24
  **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
25
25
  **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
26
26
  **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
27
- **rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
27
+ **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
28
28
  **sles_auth_token** | **String** | Authentication token for SLES repositories. | [optional]
29
29
 
30
30
  ## Code Sample
@@ -22,7 +22,7 @@ Name | Type | Description | Notes
22
22
  **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
23
23
  **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
24
24
  **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
25
- **rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
25
+ **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
26
26
  **sles_auth_token** | **String** | Authentication token for SLES repositories. | [optional]
27
27
 
28
28
  ## Code Sample
@@ -7,8 +7,8 @@ Name | Type | Description | Notes
7
7
  **pulp_labels** | [**Object**](.md) | | [optional]
8
8
  **name** | **String** | A unique name for this repository. |
9
9
  **description** | **String** | An optional description. | [optional]
10
- **retained_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
11
- **remote** | **String** | | [optional]
10
+ **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
11
+ **remote** | **String** | An optional remote to use by default when syncing. | [optional]
12
12
  **autopublish** | **Boolean** | Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository. | [optional] [default to false]
13
13
  **metadata_signing_service** | **String** | A reference to an associated signing service. | [optional]
14
14
  **retain_package_versions** | **Integer** | The number of versions of each package to keep in the repository; older versions will be purged. The default is '0', which will disable this feature and keep all versions of each package. | [optional]
@@ -26,7 +26,7 @@ require 'PulpRpmClient'
26
26
  instance = PulpRpmClient::RpmRpmRepository.new(pulp_labels: null,
27
27
  name: null,
28
28
  description: null,
29
- retained_versions: null,
29
+ retain_repo_versions: null,
30
30
  remote: null,
31
31
  autopublish: null,
32
32
  metadata_signing_service: null,
@@ -11,8 +11,8 @@ Name | Type | Description | Notes
11
11
  **latest_version_href** | **String** | | [optional] [readonly]
12
12
  **name** | **String** | A unique name for this repository. |
13
13
  **description** | **String** | An optional description. | [optional]
14
- **retained_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
15
- **remote** | **String** | | [optional]
14
+ **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
15
+ **remote** | **String** | An optional remote to use by default when syncing. | [optional]
16
16
  **autopublish** | **Boolean** | Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository. | [optional] [default to false]
17
17
  **metadata_signing_service** | **String** | A reference to an associated signing service. | [optional]
18
18
  **retain_package_versions** | **Integer** | The number of versions of each package to keep in the repository; older versions will be purged. The default is '0', which will disable this feature and keep all versions of each package. | [optional]
@@ -34,7 +34,7 @@ instance = PulpRpmClient::RpmRpmRepositoryResponse.new(pulp_href: null,
34
34
  latest_version_href: null,
35
35
  name: null,
36
36
  description: null,
37
- retained_versions: null,
37
+ retain_repo_versions: null,
38
38
  remote: null,
39
39
  autopublish: null,
40
40
  metadata_signing_service: null,
data/docs/RpmUlnRemote.md CHANGED
@@ -24,7 +24,7 @@ Name | Type | Description | Notes
24
24
  **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
25
25
  **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
26
26
  **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
27
- **rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
27
+ **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
28
28
  **uln_server_base_url** | **String** | Base URL of the ULN server. If the uln_server_base_url is not provided pulp_rpm willuse the contents of the DEFAULT_ULN_SERVER_BASE_URL setting instead. | [optional]
29
29
 
30
30
  ## Code Sample
@@ -24,7 +24,7 @@ Name | Type | Description | Notes
24
24
  **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
25
25
  **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
26
26
  **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
27
- **rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
27
+ **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
28
28
  **uln_server_base_url** | **String** | Base URL of the ULN server. If the uln_server_base_url is not provided pulp_rpm willuse the contents of the DEFAULT_ULN_SERVER_BASE_URL setting instead. | [optional]
29
29
 
30
30
  ## Code Sample
@@ -54,14 +54,26 @@ module PulpRpmClient
54
54
  if @api_client.config.client_side_validation && relative_path.nil?
55
55
  fail ArgumentError, "Missing the required parameter 'relative_path' when calling ContentModulemdDefaultsApi.create"
56
56
  end
57
+ if @api_client.config.client_side_validation && relative_path.to_s.length < 1
58
+ fail ArgumentError, 'invalid value for "relative_path" when calling ContentModulemdDefaultsApi.create, the character length must be great than or equal to 1.'
59
+ end
60
+
57
61
  # verify the required parameter '_module' is set
58
62
  if @api_client.config.client_side_validation && _module.nil?
59
63
  fail ArgumentError, "Missing the required parameter '_module' when calling ContentModulemdDefaultsApi.create"
60
64
  end
65
+ if @api_client.config.client_side_validation && _module.to_s.length < 1
66
+ fail ArgumentError, 'invalid value for "_module" when calling ContentModulemdDefaultsApi.create, the character length must be great than or equal to 1.'
67
+ end
68
+
61
69
  # verify the required parameter 'stream' is set
62
70
  if @api_client.config.client_side_validation && stream.nil?
63
71
  fail ArgumentError, "Missing the required parameter 'stream' when calling ContentModulemdDefaultsApi.create"
64
72
  end
73
+ if @api_client.config.client_side_validation && stream.to_s.length < 1
74
+ fail ArgumentError, 'invalid value for "stream" when calling ContentModulemdDefaultsApi.create, the character length must be great than or equal to 1.'
75
+ end
76
+
65
77
  # verify the required parameter 'profiles' is set
66
78
  if @api_client.config.client_side_validation && profiles.nil?
67
79
  fail ArgumentError, "Missing the required parameter 'profiles' when calling ContentModulemdDefaultsApi.create"
@@ -66,26 +66,50 @@ module PulpRpmClient
66
66
  if @api_client.config.client_side_validation && relative_path.nil?
67
67
  fail ArgumentError, "Missing the required parameter 'relative_path' when calling ContentModulemdsApi.create"
68
68
  end
69
+ if @api_client.config.client_side_validation && relative_path.to_s.length < 1
70
+ fail ArgumentError, 'invalid value for "relative_path" when calling ContentModulemdsApi.create, the character length must be great than or equal to 1.'
71
+ end
72
+
69
73
  # verify the required parameter 'name' is set
70
74
  if @api_client.config.client_side_validation && name.nil?
71
75
  fail ArgumentError, "Missing the required parameter 'name' when calling ContentModulemdsApi.create"
72
76
  end
77
+ if @api_client.config.client_side_validation && name.to_s.length < 1
78
+ fail ArgumentError, 'invalid value for "name" when calling ContentModulemdsApi.create, the character length must be great than or equal to 1.'
79
+ end
80
+
73
81
  # verify the required parameter 'stream' is set
74
82
  if @api_client.config.client_side_validation && stream.nil?
75
83
  fail ArgumentError, "Missing the required parameter 'stream' when calling ContentModulemdsApi.create"
76
84
  end
85
+ if @api_client.config.client_side_validation && stream.to_s.length < 1
86
+ fail ArgumentError, 'invalid value for "stream" when calling ContentModulemdsApi.create, the character length must be great than or equal to 1.'
87
+ end
88
+
77
89
  # verify the required parameter 'version' is set
78
90
  if @api_client.config.client_side_validation && version.nil?
79
91
  fail ArgumentError, "Missing the required parameter 'version' when calling ContentModulemdsApi.create"
80
92
  end
93
+ if @api_client.config.client_side_validation && version.to_s.length < 1
94
+ fail ArgumentError, 'invalid value for "version" when calling ContentModulemdsApi.create, the character length must be great than or equal to 1.'
95
+ end
96
+
81
97
  # verify the required parameter 'context' is set
82
98
  if @api_client.config.client_side_validation && context.nil?
83
99
  fail ArgumentError, "Missing the required parameter 'context' when calling ContentModulemdsApi.create"
84
100
  end
101
+ if @api_client.config.client_side_validation && context.to_s.length < 1
102
+ fail ArgumentError, 'invalid value for "context" when calling ContentModulemdsApi.create, the character length must be great than or equal to 1.'
103
+ end
104
+
85
105
  # verify the required parameter 'arch' is set
86
106
  if @api_client.config.client_side_validation && arch.nil?
87
107
  fail ArgumentError, "Missing the required parameter 'arch' when calling ContentModulemdsApi.create"
88
108
  end
109
+ if @api_client.config.client_side_validation && arch.to_s.length < 1
110
+ fail ArgumentError, 'invalid value for "arch" when calling ContentModulemdsApi.create, the character length must be great than or equal to 1.'
111
+ end
112
+
89
113
  # resource path
90
114
  local_var_path = '/pulp/api/v3/content/rpm/modulemds/'
91
115
 
@@ -48,6 +48,10 @@ module PulpRpmClient
48
48
  if @api_client.config.client_side_validation && relative_path.nil?
49
49
  fail ArgumentError, "Missing the required parameter 'relative_path' when calling ContentPackagesApi.create"
50
50
  end
51
+ if @api_client.config.client_side_validation && relative_path.to_s.length < 1
52
+ fail ArgumentError, 'invalid value for "relative_path" when calling ContentPackagesApi.create, the character length must be great than or equal to 1.'
53
+ end
54
+
51
55
  # resource path
52
56
  local_var_path = '/pulp/api/v3/content/rpm/packages/'
53
57
 
@@ -127,7 +127,7 @@ module PulpRpmClient
127
127
  attr_accessor :force_ending_format
128
128
 
129
129
  def initialize
130
- @scheme = 'http'
130
+ @scheme = 'https'
131
131
  @host = 'pulp'
132
132
  @base_path = ''
133
133
  @api_key = {}
@@ -209,7 +209,7 @@ module PulpRpmClient
209
209
  def server_settings
210
210
  [
211
211
  {
212
- url: "http://pulp/",
212
+ url: "https://pulp/",
213
213
  description: "No description provided",
214
214
  }
215
215
  ]
@@ -109,15 +109,45 @@ module PulpRpmClient
109
109
  # @return Array for valid properties with the reasons
110
110
  def list_invalid_properties
111
111
  invalid_properties = Array.new
112
+ if !@base_path.nil? && @base_path.to_s.length < 1
113
+ invalid_properties.push('invalid value for "base_path", the character length must be great than or equal to 1.')
114
+ end
115
+
116
+ if !@name.nil? && @name.to_s.length < 1
117
+ invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
118
+ end
119
+
112
120
  invalid_properties
113
121
  end
114
122
 
115
123
  # Check to see if the all the properties in the model are valid
116
124
  # @return true if the model is valid
117
125
  def valid?
126
+ return false if !@base_path.nil? && @base_path.to_s.length < 1
127
+ return false if !@name.nil? && @name.to_s.length < 1
118
128
  true
119
129
  end
120
130
 
131
+ # Custom attribute writer method with validation
132
+ # @param [Object] base_path Value to be assigned
133
+ def base_path=(base_path)
134
+ if !base_path.nil? && base_path.to_s.length < 1
135
+ fail ArgumentError, 'invalid value for "base_path", the character length must be great than or equal to 1.'
136
+ end
137
+
138
+ @base_path = base_path
139
+ end
140
+
141
+ # Custom attribute writer method with validation
142
+ # @param [Object] name Value to be assigned
143
+ def name=(name)
144
+ if !name.nil? && name.to_s.length < 1
145
+ fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
146
+ end
147
+
148
+ @name = name
149
+ end
150
+
121
151
  # Checks equality by comparing each attribute.
122
152
  # @param [Object] Object to be compared
123
153
  def ==(o)