pulp_maven_client 0.3.1 → 0.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (144) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -5
  3. data/docs/ContentArtifactApi.md +1 -1
  4. data/docs/DistributionsMavenApi.md +1 -1
  5. data/docs/MavenMavenRemote.md +8 -6
  6. data/docs/MavenMavenRemoteResponse.md +8 -6
  7. data/docs/MavenMavenRepository.md +3 -3
  8. data/docs/MavenMavenRepositoryResponse.md +3 -3
  9. data/docs/PatchedmavenMavenRemote.md +8 -6
  10. data/docs/PatchedmavenMavenRepository.md +3 -3
  11. data/docs/RemotesMavenApi.md +1 -1
  12. data/docs/RepositoriesMavenApi.md +1 -1
  13. data/docs/RepositoriesMavenVersionsApi.md +1 -1
  14. data/lib/pulp_maven_client/configuration.rb +2 -2
  15. data/lib/pulp_maven_client/models/maven_maven_artifact.rb +19 -0
  16. data/lib/pulp_maven_client/models/maven_maven_distribution.rb +38 -0
  17. data/lib/pulp_maven_client/models/maven_maven_remote.rb +177 -7
  18. data/lib/pulp_maven_client/models/maven_maven_remote_response.rb +19 -7
  19. data/lib/pulp_maven_client/models/maven_maven_repository.rb +51 -16
  20. data/lib/pulp_maven_client/models/maven_maven_repository_response.rb +17 -16
  21. data/lib/pulp_maven_client/models/patchedmaven_maven_distribution.rb +30 -0
  22. data/lib/pulp_maven_client/models/patchedmaven_maven_remote.rb +169 -7
  23. data/lib/pulp_maven_client/models/patchedmaven_maven_repository.rb +47 -16
  24. data/lib/pulp_maven_client/version.rb +1 -1
  25. data/spec/configuration_spec.rb +3 -3
  26. data/spec/models/maven_maven_remote_response_spec.rb +6 -0
  27. data/spec/models/maven_maven_remote_spec.rb +6 -0
  28. data/spec/models/maven_maven_repository_response_spec.rb +1 -1
  29. data/spec/models/maven_maven_repository_spec.rb +1 -1
  30. data/spec/models/patchedmaven_maven_remote_spec.rb +6 -0
  31. data/spec/models/patchedmaven_maven_repository_spec.rb +1 -1
  32. metadata +20 -132
  33. data/build/lib/pulpcore/__init__.py +0 -2
  34. data/build/lib/pulpcore/client/__init__.py +0 -2
  35. data/build/lib/pulpcore/client/pulp_maven/__init__.py +0 -58
  36. data/build/lib/pulpcore/client/pulp_maven/api/__init__.py +0 -10
  37. data/build/lib/pulpcore/client/pulp_maven/api/content_artifact_api.py +0 -445
  38. data/build/lib/pulpcore/client/pulp_maven/api/distributions_maven_api.py +0 -830
  39. data/build/lib/pulpcore/client/pulp_maven/api/remotes_maven_api.py +0 -840
  40. data/build/lib/pulpcore/client/pulp_maven/api/repositories_maven_api.py +0 -809
  41. data/build/lib/pulpcore/client/pulp_maven/api/repositories_maven_versions_api.py +0 -614
  42. data/build/lib/pulpcore/client/pulp_maven/api_client.py +0 -667
  43. data/build/lib/pulpcore/client/pulp_maven/configuration.py +0 -427
  44. data/build/lib/pulpcore/client/pulp_maven/exceptions.py +0 -121
  45. data/build/lib/pulpcore/client/pulp_maven/models/__init__.py +0 -39
  46. data/build/lib/pulpcore/client/pulp_maven/models/async_operation_response.py +0 -124
  47. data/build/lib/pulpcore/client/pulp_maven/models/content_summary.py +0 -176
  48. data/build/lib/pulpcore/client/pulp_maven/models/content_summary_response.py +0 -176
  49. data/build/lib/pulpcore/client/pulp_maven/models/maven_maven_artifact.py +0 -153
  50. data/build/lib/pulpcore/client/pulp_maven/models/maven_maven_artifact_response.py +0 -290
  51. data/build/lib/pulpcore/client/pulp_maven/models/maven_maven_distribution.py +0 -260
  52. data/build/lib/pulpcore/client/pulp_maven/models/maven_maven_distribution_response.py +0 -342
  53. data/build/lib/pulpcore/client/pulp_maven/models/maven_maven_remote.py +0 -657
  54. data/build/lib/pulpcore/client/pulp_maven/models/maven_maven_remote_response.py +0 -604
  55. data/build/lib/pulpcore/client/pulp_maven/models/maven_maven_repository.py +0 -232
  56. data/build/lib/pulpcore/client/pulp_maven/models/maven_maven_repository_response.py +0 -338
  57. data/build/lib/pulpcore/client/pulp_maven/models/paginated_repository_version_response_list.py +0 -197
  58. data/build/lib/pulpcore/client/pulp_maven/models/paginatedmaven_maven_artifact_response_list.py +0 -197
  59. data/build/lib/pulpcore/client/pulp_maven/models/paginatedmaven_maven_distribution_response_list.py +0 -197
  60. data/build/lib/pulpcore/client/pulp_maven/models/paginatedmaven_maven_remote_response_list.py +0 -197
  61. data/build/lib/pulpcore/client/pulp_maven/models/paginatedmaven_maven_repository_response_list.py +0 -197
  62. data/build/lib/pulpcore/client/pulp_maven/models/patchedmaven_maven_distribution.py +0 -258
  63. data/build/lib/pulpcore/client/pulp_maven/models/patchedmaven_maven_remote.py +0 -655
  64. data/build/lib/pulpcore/client/pulp_maven/models/patchedmaven_maven_repository.py +0 -231
  65. data/build/lib/pulpcore/client/pulp_maven/models/policy_enum.py +0 -101
  66. data/build/lib/pulpcore/client/pulp_maven/models/repository_version.py +0 -123
  67. data/build/lib/pulpcore/client/pulp_maven/models/repository_version_response.py +0 -257
  68. data/build/lib/pulpcore/client/pulp_maven/rest.py +0 -292
  69. data/dist/pulp_maven-client-0.3.1.tar.gz +0 -0
  70. data/dist/pulp_maven_client-0.3.1-py3-none-any.whl +0 -0
  71. data/pulp_maven_client.egg-info/PKG-INFO +0 -15
  72. data/pulp_maven_client.egg-info/SOURCES.txt +0 -71
  73. data/pulp_maven_client.egg-info/dependency_links.txt +0 -1
  74. data/pulp_maven_client.egg-info/requires.txt +0 -4
  75. data/pulp_maven_client.egg-info/top_level.txt +0 -1
  76. data/pulpcore/__init__.py +0 -2
  77. data/pulpcore/client/__init__.py +0 -2
  78. data/pulpcore/client/pulp_maven/__init__.py +0 -58
  79. data/pulpcore/client/pulp_maven/api/__init__.py +0 -10
  80. data/pulpcore/client/pulp_maven/api/content_artifact_api.py +0 -445
  81. data/pulpcore/client/pulp_maven/api/distributions_maven_api.py +0 -830
  82. data/pulpcore/client/pulp_maven/api/remotes_maven_api.py +0 -840
  83. data/pulpcore/client/pulp_maven/api/repositories_maven_api.py +0 -809
  84. data/pulpcore/client/pulp_maven/api/repositories_maven_versions_api.py +0 -614
  85. data/pulpcore/client/pulp_maven/api_client.py +0 -667
  86. data/pulpcore/client/pulp_maven/configuration.py +0 -427
  87. data/pulpcore/client/pulp_maven/exceptions.py +0 -121
  88. data/pulpcore/client/pulp_maven/models/__init__.py +0 -39
  89. data/pulpcore/client/pulp_maven/models/async_operation_response.py +0 -124
  90. data/pulpcore/client/pulp_maven/models/content_summary.py +0 -176
  91. data/pulpcore/client/pulp_maven/models/content_summary_response.py +0 -176
  92. data/pulpcore/client/pulp_maven/models/maven_maven_artifact.py +0 -153
  93. data/pulpcore/client/pulp_maven/models/maven_maven_artifact_response.py +0 -290
  94. data/pulpcore/client/pulp_maven/models/maven_maven_distribution.py +0 -260
  95. data/pulpcore/client/pulp_maven/models/maven_maven_distribution_response.py +0 -342
  96. data/pulpcore/client/pulp_maven/models/maven_maven_remote.py +0 -657
  97. data/pulpcore/client/pulp_maven/models/maven_maven_remote_response.py +0 -604
  98. data/pulpcore/client/pulp_maven/models/maven_maven_repository.py +0 -232
  99. data/pulpcore/client/pulp_maven/models/maven_maven_repository_response.py +0 -338
  100. data/pulpcore/client/pulp_maven/models/paginated_repository_version_response_list.py +0 -197
  101. data/pulpcore/client/pulp_maven/models/paginatedmaven_maven_artifact_response_list.py +0 -197
  102. data/pulpcore/client/pulp_maven/models/paginatedmaven_maven_distribution_response_list.py +0 -197
  103. data/pulpcore/client/pulp_maven/models/paginatedmaven_maven_remote_response_list.py +0 -197
  104. data/pulpcore/client/pulp_maven/models/paginatedmaven_maven_repository_response_list.py +0 -197
  105. data/pulpcore/client/pulp_maven/models/patchedmaven_maven_distribution.py +0 -258
  106. data/pulpcore/client/pulp_maven/models/patchedmaven_maven_remote.py +0 -655
  107. data/pulpcore/client/pulp_maven/models/patchedmaven_maven_repository.py +0 -231
  108. data/pulpcore/client/pulp_maven/models/policy_enum.py +0 -101
  109. data/pulpcore/client/pulp_maven/models/repository_version.py +0 -123
  110. data/pulpcore/client/pulp_maven/models/repository_version_response.py +0 -257
  111. data/pulpcore/client/pulp_maven/rest.py +0 -292
  112. data/requirements.txt +0 -6
  113. data/setup.cfg +0 -2
  114. data/setup.py +0 -42
  115. data/test/__init__.py +0 -0
  116. data/test/test_async_operation_response.py +0 -54
  117. data/test/test_content_artifact_api.py +0 -55
  118. data/test/test_content_summary.py +0 -70
  119. data/test/test_content_summary_response.py +0 -70
  120. data/test/test_distributions_maven_api.py +0 -76
  121. data/test/test_maven_maven_artifact.py +0 -56
  122. data/test/test_maven_maven_artifact_response.py +0 -60
  123. data/test/test_maven_maven_distribution.py +0 -60
  124. data/test/test_maven_maven_distribution_response.py +0 -63
  125. data/test/test_maven_maven_remote.py +0 -76
  126. data/test/test_maven_maven_remote_response.py +0 -74
  127. data/test/test_maven_maven_repository.py +0 -58
  128. data/test/test_maven_maven_repository_response.py +0 -62
  129. data/test/test_paginated_repository_version_response_list.py +0 -64
  130. data/test/test_paginatedmaven_maven_artifact_response_list.py +0 -65
  131. data/test/test_paginatedmaven_maven_distribution_response_list.py +0 -67
  132. data/test/test_paginatedmaven_maven_remote_response_list.py +0 -78
  133. data/test/test_paginatedmaven_maven_repository_response_list.py +0 -67
  134. data/test/test_patchedmaven_maven_distribution.py +0 -58
  135. data/test/test_patchedmaven_maven_remote.py +0 -74
  136. data/test/test_patchedmaven_maven_repository.py +0 -57
  137. data/test/test_policy_enum.py +0 -52
  138. data/test/test_remotes_maven_api.py +0 -76
  139. data/test/test_repositories_maven_api.py +0 -76
  140. data/test/test_repositories_maven_versions_api.py +0 -61
  141. data/test/test_repository_version.py +0 -53
  142. data/test/test_repository_version_response.py +0 -58
  143. data/test-requirements.txt +0 -3
  144. data/tox.ini +0 -9
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4ea38b26a6d586ff1e981f565b19cf892d0d94937be2a84780c295c851536a5e
4
- data.tar.gz: 10aff883672a2d6866920c648256f06e730582bd31b377316ebb59e953c0b94a
3
+ metadata.gz: 80303bab934bcb6c53393d49aa1c5f62174b246aafba2d3dc9a921d4a00a56cc
4
+ data.tar.gz: 6bd1e469f58ac4d381bdf1a4da92251b9e603c15d15024c51f9649a721b67bb2
5
5
  SHA512:
6
- metadata.gz: 3524be4a037ef917194346051066bb164a8f3b0ab47426d9582ced6fe5c6a311907815ae9e5df5d35eff244540a6d537c4edeb8a50e132562d941c5f15fc4ad3
7
- data.tar.gz: a5e332547a3639885a7171a5bffe4172902c37b161638d23e00c0bf7adcf98b618e58676155317dbc8d2c6b3e7bf30d3cbae6c67c512354e0b20db545537a228
6
+ metadata.gz: e27f2c91aa885539a1e22d7855d31cbddf989174230efc6ec5759fa39a32d3358eaf4b68e510084b8e5f19a40160f0d4c8ff86e6f90f824bf1767c3cfa772c7b
7
+ data.tar.gz: ff82ed4674baf15cc8577b71343177200a5c3979c75fa93f291535d7530bb8077aec0661dc5745a23a11a30460542537a756b636a8cd74000c6c85b8fb3d1f81
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: 0.3.1
10
+ - Package version: 0.3.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_maven_client.gemspec
24
24
  Then either install the gem locally:
25
25
 
26
26
  ```shell
27
- gem install ./pulp_maven_client-0.3.1.gem
27
+ gem install ./pulp_maven_client-0.3.2.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulp_maven_client-0.3.1.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulp_maven_client-0.3.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_maven_client', '~> 0.3.1'
36
+ gem 'pulp_maven_client', '~> 0.3.2'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -79,7 +79,7 @@ end
79
79
 
80
80
  ## Documentation for API Endpoints
81
81
 
82
- All URIs are relative to *http://pulp*
82
+ All URIs are relative to *https://pulp*
83
83
 
84
84
  Class | Method | HTTP request | Description
85
85
  ------------ | ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpMavenClient::ContentArtifactApi
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
  # PulpMavenClient::DistributionsMavenApi
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
  ------------- | ------------- | -------------
@@ -16,14 +16,15 @@ Name | Type | Description | Notes
16
16
  **username** | **String** | The username to be used for authentication when syncing. | [optional]
17
17
  **password** | **String** | The password to be used for authentication when syncing. | [optional]
18
18
  **pulp_labels** | [**Object**](.md) | | [optional]
19
- **download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
19
+ **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
20
+ **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
20
21
  **policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. | [optional]
21
- **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. | [optional]
22
- **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. | [optional]
23
- **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. | [optional]
24
- **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. | [optional]
22
+ **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
23
+ **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
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
+ **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]
25
26
  **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
26
- **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]
27
28
 
28
29
  ## Code Sample
29
30
 
@@ -43,6 +44,7 @@ instance = PulpMavenClient::MavenMavenRemote.new(name: null,
43
44
  password: null,
44
45
  pulp_labels: null,
45
46
  download_concurrency: null,
47
+ max_retries: null,
46
48
  policy: null,
47
49
  total_timeout: null,
48
50
  connect_timeout: null,
@@ -14,14 +14,15 @@ Name | Type | Description | Notes
14
14
  **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
15
15
  **pulp_labels** | [**Object**](.md) | | [optional]
16
16
  **pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
17
- **download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
17
+ **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
18
+ **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
18
19
  **policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. | [optional]
19
- **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. | [optional]
20
- **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. | [optional]
21
- **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. | [optional]
22
- **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. | [optional]
20
+ **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
21
+ **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
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
+ **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]
23
24
  **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
24
- **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]
25
26
 
26
27
  ## Code Sample
27
28
 
@@ -39,6 +40,7 @@ instance = PulpMavenClient::MavenMavenRemoteResponse.new(pulp_href: null,
39
40
  pulp_labels: null,
40
41
  pulp_last_updated: null,
41
42
  download_concurrency: null,
43
+ max_retries: null,
42
44
  policy: null,
43
45
  total_timeout: null,
44
46
  connect_timeout: null,
@@ -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
 
13
13
  ## Code Sample
14
14
 
@@ -18,7 +18,7 @@ require 'PulpMavenClient'
18
18
  instance = PulpMavenClient::MavenMavenRepository.new(pulp_labels: null,
19
19
  name: null,
20
20
  description: null,
21
- retained_versions: null,
21
+ retain_repo_versions: null,
22
22
  remote: null)
23
23
  ```
24
24
 
@@ -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
 
17
17
  ## Code Sample
18
18
 
@@ -26,7 +26,7 @@ instance = PulpMavenClient::MavenMavenRepositoryResponse.new(pulp_href: null,
26
26
  latest_version_href: null,
27
27
  name: null,
28
28
  description: null,
29
- retained_versions: null,
29
+ retain_repo_versions: null,
30
30
  remote: null)
31
31
  ```
32
32
 
@@ -16,14 +16,15 @@ Name | Type | Description | Notes
16
16
  **username** | **String** | The username to be used for authentication when syncing. | [optional]
17
17
  **password** | **String** | The password to be used for authentication when syncing. | [optional]
18
18
  **pulp_labels** | [**Object**](.md) | | [optional]
19
- **download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
19
+ **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
20
+ **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
20
21
  **policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. | [optional]
21
- **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. | [optional]
22
- **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. | [optional]
23
- **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. | [optional]
24
- **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. | [optional]
22
+ **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
23
+ **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
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
+ **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]
25
26
  **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
26
- **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]
27
28
 
28
29
  ## Code Sample
29
30
 
@@ -43,6 +44,7 @@ instance = PulpMavenClient::PatchedmavenMavenRemote.new(name: null,
43
44
  password: null,
44
45
  pulp_labels: null,
45
46
  download_concurrency: null,
47
+ max_retries: null,
46
48
  policy: null,
47
49
  total_timeout: null,
48
50
  connect_timeout: null,
@@ -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
 
13
13
  ## Code Sample
14
14
 
@@ -18,7 +18,7 @@ require 'PulpMavenClient'
18
18
  instance = PulpMavenClient::PatchedmavenMavenRepository.new(pulp_labels: null,
19
19
  name: null,
20
20
  description: null,
21
- retained_versions: null,
21
+ retain_repo_versions: null,
22
22
  remote: null)
23
23
  ```
24
24
 
@@ -1,6 +1,6 @@
1
1
  # PulpMavenClient::RemotesMavenApi
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
  # PulpMavenClient::RepositoriesMavenApi
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
  # PulpMavenClient::RepositoriesMavenVersionsApi
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
  ------------- | ------------- | -------------
@@ -127,7 +127,7 @@ module PulpMavenClient
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 PulpMavenClient
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
  ]
@@ -79,6 +79,10 @@ module PulpMavenClient
79
79
  invalid_properties.push('invalid value for "relative_path", relative_path cannot be nil.')
80
80
  end
81
81
 
82
+ if @relative_path.to_s.length < 1
83
+ invalid_properties.push('invalid value for "relative_path", the character length must be great than or equal to 1.')
84
+ end
85
+
82
86
  invalid_properties
83
87
  end
84
88
 
@@ -87,9 +91,24 @@ module PulpMavenClient
87
91
  def valid?
88
92
  return false if @artifact.nil?
89
93
  return false if @relative_path.nil?
94
+ return false if @relative_path.to_s.length < 1
90
95
  true
91
96
  end
92
97
 
98
+ # Custom attribute writer method with validation
99
+ # @param [Object] relative_path Value to be assigned
100
+ def relative_path=(relative_path)
101
+ if relative_path.nil?
102
+ fail ArgumentError, 'relative_path cannot be nil'
103
+ end
104
+
105
+ if relative_path.to_s.length < 1
106
+ fail ArgumentError, 'invalid value for "relative_path", the character length must be great than or equal to 1.'
107
+ end
108
+
109
+ @relative_path = relative_path
110
+ end
111
+
93
112
  # Checks equality by comparing each attribute.
94
113
  # @param [Object] Object to be compared
95
114
  def ==(o)
@@ -113,10 +113,18 @@ module PulpMavenClient
113
113
  invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
114
114
  end
115
115
 
116
+ if @base_path.to_s.length < 1
117
+ invalid_properties.push('invalid value for "base_path", the character length must be great than or equal to 1.')
118
+ end
119
+
116
120
  if @name.nil?
117
121
  invalid_properties.push('invalid value for "name", name cannot be nil.')
118
122
  end
119
123
 
124
+ if @name.to_s.length < 1
125
+ invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
126
+ end
127
+
120
128
  invalid_properties
121
129
  end
122
130
 
@@ -124,10 +132,40 @@ module PulpMavenClient
124
132
  # @return true if the model is valid
125
133
  def valid?
126
134
  return false if @base_path.nil?
135
+ return false if @base_path.to_s.length < 1
127
136
  return false if @name.nil?
137
+ return false if @name.to_s.length < 1
128
138
  true
129
139
  end
130
140
 
141
+ # Custom attribute writer method with validation
142
+ # @param [Object] base_path Value to be assigned
143
+ def base_path=(base_path)
144
+ if base_path.nil?
145
+ fail ArgumentError, 'base_path cannot be nil'
146
+ end
147
+
148
+ if base_path.to_s.length < 1
149
+ fail ArgumentError, 'invalid value for "base_path", the character length must be great than or equal to 1.'
150
+ end
151
+
152
+ @base_path = base_path
153
+ end
154
+
155
+ # Custom attribute writer method with validation
156
+ # @param [Object] name Value to be assigned
157
+ def name=(name)
158
+ if name.nil?
159
+ fail ArgumentError, 'name cannot be nil'
160
+ end
161
+
162
+ if name.to_s.length < 1
163
+ fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
164
+ end
165
+
166
+ @name = name
167
+ end
168
+
131
169
  # Checks equality by comparing each attribute.
132
170
  # @param [Object] Object to be compared
133
171
  def ==(o)
@@ -50,28 +50,31 @@ module PulpMavenClient
50
50
 
51
51
  attr_accessor :pulp_labels
52
52
 
53
- # Total number of simultaneous connections.
53
+ # Total number of simultaneous connections. If not set then the default value will be used.
54
54
  attr_accessor :download_concurrency
55
55
 
56
+ # Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
57
+ attr_accessor :max_retries
58
+
56
59
  # The policy to use when downloading content.
57
60
  attr_accessor :policy
58
61
 
59
- # aiohttp.ClientTimeout.total (q.v.) for download-connections.
62
+ # aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
60
63
  attr_accessor :total_timeout
61
64
 
62
- # aiohttp.ClientTimeout.connect (q.v.) for download-connections.
65
+ # aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
63
66
  attr_accessor :connect_timeout
64
67
 
65
- # aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections.
68
+ # 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.
66
69
  attr_accessor :sock_connect_timeout
67
70
 
68
- # aiohttp.ClientTimeout.sock_read (q.v.) for download-connections.
71
+ # 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.
69
72
  attr_accessor :sock_read_timeout
70
73
 
71
74
  # Headers for aiohttp.Clientsession
72
75
  attr_accessor :headers
73
76
 
74
- # Limits total download rate in requests per second
77
+ # Limits requests per second for each concurrent downloader
75
78
  attr_accessor :rate_limit
76
79
 
77
80
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -90,6 +93,7 @@ module PulpMavenClient
90
93
  :'password' => :'password',
91
94
  :'pulp_labels' => :'pulp_labels',
92
95
  :'download_concurrency' => :'download_concurrency',
96
+ :'max_retries' => :'max_retries',
93
97
  :'policy' => :'policy',
94
98
  :'total_timeout' => :'total_timeout',
95
99
  :'connect_timeout' => :'connect_timeout',
@@ -116,6 +120,7 @@ module PulpMavenClient
116
120
  :'password' => :'String',
117
121
  :'pulp_labels' => :'Object',
118
122
  :'download_concurrency' => :'Integer',
123
+ :'max_retries' => :'Integer',
119
124
  :'policy' => :'PolicyEnum',
120
125
  :'total_timeout' => :'Float',
121
126
  :'connect_timeout' => :'Float',
@@ -137,6 +142,8 @@ module PulpMavenClient
137
142
  :'proxy_password',
138
143
  :'username',
139
144
  :'password',
145
+ :'download_concurrency',
146
+ :'max_retries',
140
147
  :'total_timeout',
141
148
  :'connect_timeout',
142
149
  :'sock_connect_timeout',
@@ -212,6 +219,10 @@ module PulpMavenClient
212
219
  self.download_concurrency = attributes[:'download_concurrency']
213
220
  end
214
221
 
222
+ if attributes.key?(:'max_retries')
223
+ self.max_retries = attributes[:'max_retries']
224
+ end
225
+
215
226
  if attributes.key?(:'policy')
216
227
  self.policy = attributes[:'policy']
217
228
  end
@@ -251,10 +262,50 @@ module PulpMavenClient
251
262
  invalid_properties.push('invalid value for "name", name cannot be nil.')
252
263
  end
253
264
 
265
+ if @name.to_s.length < 1
266
+ invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
267
+ end
268
+
254
269
  if @url.nil?
255
270
  invalid_properties.push('invalid value for "url", url cannot be nil.')
256
271
  end
257
272
 
273
+ if @url.to_s.length < 1
274
+ invalid_properties.push('invalid value for "url", the character length must be great than or equal to 1.')
275
+ end
276
+
277
+ if !@ca_cert.nil? && @ca_cert.to_s.length < 1
278
+ invalid_properties.push('invalid value for "ca_cert", the character length must be great than or equal to 1.')
279
+ end
280
+
281
+ if !@client_cert.nil? && @client_cert.to_s.length < 1
282
+ invalid_properties.push('invalid value for "client_cert", the character length must be great than or equal to 1.')
283
+ end
284
+
285
+ if !@client_key.nil? && @client_key.to_s.length < 1
286
+ invalid_properties.push('invalid value for "client_key", the character length must be great than or equal to 1.')
287
+ end
288
+
289
+ if !@proxy_url.nil? && @proxy_url.to_s.length < 1
290
+ invalid_properties.push('invalid value for "proxy_url", the character length must be great than or equal to 1.')
291
+ end
292
+
293
+ if !@proxy_username.nil? && @proxy_username.to_s.length < 1
294
+ invalid_properties.push('invalid value for "proxy_username", the character length must be great than or equal to 1.')
295
+ end
296
+
297
+ if !@proxy_password.nil? && @proxy_password.to_s.length < 1
298
+ invalid_properties.push('invalid value for "proxy_password", the character length must be great than or equal to 1.')
299
+ end
300
+
301
+ if !@username.nil? && @username.to_s.length < 1
302
+ invalid_properties.push('invalid value for "username", the character length must be great than or equal to 1.')
303
+ end
304
+
305
+ if !@password.nil? && @password.to_s.length < 1
306
+ invalid_properties.push('invalid value for "password", the character length must be great than or equal to 1.')
307
+ end
308
+
258
309
  if !@download_concurrency.nil? && @download_concurrency < 1
259
310
  invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
260
311
  end
@@ -282,7 +333,17 @@ module PulpMavenClient
282
333
  # @return true if the model is valid
283
334
  def valid?
284
335
  return false if @name.nil?
336
+ return false if @name.to_s.length < 1
285
337
  return false if @url.nil?
338
+ return false if @url.to_s.length < 1
339
+ return false if !@ca_cert.nil? && @ca_cert.to_s.length < 1
340
+ return false if !@client_cert.nil? && @client_cert.to_s.length < 1
341
+ return false if !@client_key.nil? && @client_key.to_s.length < 1
342
+ return false if !@proxy_url.nil? && @proxy_url.to_s.length < 1
343
+ return false if !@proxy_username.nil? && @proxy_username.to_s.length < 1
344
+ return false if !@proxy_password.nil? && @proxy_password.to_s.length < 1
345
+ return false if !@username.nil? && @username.to_s.length < 1
346
+ return false if !@password.nil? && @password.to_s.length < 1
286
347
  return false if !@download_concurrency.nil? && @download_concurrency < 1
287
348
  return false if !@total_timeout.nil? && @total_timeout < 0.0
288
349
  return false if !@connect_timeout.nil? && @connect_timeout < 0.0
@@ -291,6 +352,114 @@ module PulpMavenClient
291
352
  true
292
353
  end
293
354
 
355
+ # Custom attribute writer method with validation
356
+ # @param [Object] name Value to be assigned
357
+ def name=(name)
358
+ if name.nil?
359
+ fail ArgumentError, 'name cannot be nil'
360
+ end
361
+
362
+ if name.to_s.length < 1
363
+ fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
364
+ end
365
+
366
+ @name = name
367
+ end
368
+
369
+ # Custom attribute writer method with validation
370
+ # @param [Object] url Value to be assigned
371
+ def url=(url)
372
+ if url.nil?
373
+ fail ArgumentError, 'url cannot be nil'
374
+ end
375
+
376
+ if url.to_s.length < 1
377
+ fail ArgumentError, 'invalid value for "url", the character length must be great than or equal to 1.'
378
+ end
379
+
380
+ @url = url
381
+ end
382
+
383
+ # Custom attribute writer method with validation
384
+ # @param [Object] ca_cert Value to be assigned
385
+ def ca_cert=(ca_cert)
386
+ if !ca_cert.nil? && ca_cert.to_s.length < 1
387
+ fail ArgumentError, 'invalid value for "ca_cert", the character length must be great than or equal to 1.'
388
+ end
389
+
390
+ @ca_cert = ca_cert
391
+ end
392
+
393
+ # Custom attribute writer method with validation
394
+ # @param [Object] client_cert Value to be assigned
395
+ def client_cert=(client_cert)
396
+ if !client_cert.nil? && client_cert.to_s.length < 1
397
+ fail ArgumentError, 'invalid value for "client_cert", the character length must be great than or equal to 1.'
398
+ end
399
+
400
+ @client_cert = client_cert
401
+ end
402
+
403
+ # Custom attribute writer method with validation
404
+ # @param [Object] client_key Value to be assigned
405
+ def client_key=(client_key)
406
+ if !client_key.nil? && client_key.to_s.length < 1
407
+ fail ArgumentError, 'invalid value for "client_key", the character length must be great than or equal to 1.'
408
+ end
409
+
410
+ @client_key = client_key
411
+ end
412
+
413
+ # Custom attribute writer method with validation
414
+ # @param [Object] proxy_url Value to be assigned
415
+ def proxy_url=(proxy_url)
416
+ if !proxy_url.nil? && proxy_url.to_s.length < 1
417
+ fail ArgumentError, 'invalid value for "proxy_url", the character length must be great than or equal to 1.'
418
+ end
419
+
420
+ @proxy_url = proxy_url
421
+ end
422
+
423
+ # Custom attribute writer method with validation
424
+ # @param [Object] proxy_username Value to be assigned
425
+ def proxy_username=(proxy_username)
426
+ if !proxy_username.nil? && proxy_username.to_s.length < 1
427
+ fail ArgumentError, 'invalid value for "proxy_username", the character length must be great than or equal to 1.'
428
+ end
429
+
430
+ @proxy_username = proxy_username
431
+ end
432
+
433
+ # Custom attribute writer method with validation
434
+ # @param [Object] proxy_password Value to be assigned
435
+ def proxy_password=(proxy_password)
436
+ if !proxy_password.nil? && proxy_password.to_s.length < 1
437
+ fail ArgumentError, 'invalid value for "proxy_password", the character length must be great than or equal to 1.'
438
+ end
439
+
440
+ @proxy_password = proxy_password
441
+ end
442
+
443
+ # Custom attribute writer method with validation
444
+ # @param [Object] username Value to be assigned
445
+ def username=(username)
446
+ if !username.nil? && username.to_s.length < 1
447
+ fail ArgumentError, 'invalid value for "username", the character length must be great than or equal to 1.'
448
+ end
449
+
450
+ @username = username
451
+ end
452
+
453
+ # Custom attribute writer method with validation
454
+ # @param [Object] password Value to be assigned
455
+ def password=(password)
456
+ if !password.nil? && password.to_s.length < 1
457
+ fail ArgumentError, 'invalid value for "password", the character length must be great than or equal to 1.'
458
+ end
459
+
460
+ @password = password
461
+ end
462
+
294
463
  # Custom attribute writer method with validation
295
464
  # @param [Object] download_concurrency Value to be assigned
296
465
  def download_concurrency=(download_concurrency)
@@ -359,6 +528,7 @@ module PulpMavenClient
359
528
  password == o.password &&
360
529
  pulp_labels == o.pulp_labels &&
361
530
  download_concurrency == o.download_concurrency &&
531
+ max_retries == o.max_retries &&
362
532
  policy == o.policy &&
363
533
  total_timeout == o.total_timeout &&
364
534
  connect_timeout == o.connect_timeout &&
@@ -377,7 +547,7 @@ module PulpMavenClient
377
547
  # Calculates hash code according to all attributes.
378
548
  # @return [Integer] Hash code
379
549
  def hash
380
- [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].hash
550
+ [name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, proxy_username, proxy_password, username, password, pulp_labels, download_concurrency, max_retries, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit].hash
381
551
  end
382
552
 
383
553
  # Builds the object from hash