pulp_maven_client 0.3.0 → 0.3.3

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 (194) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -1
  3. data/README.md +6 -7
  4. data/docs/ContentArtifactApi.md +3 -3
  5. data/docs/DistributionsMavenApi.md +3 -3
  6. data/docs/MavenMavenRemote.md +10 -8
  7. data/docs/MavenMavenRemoteResponse.md +8 -6
  8. data/docs/MavenMavenRepository.md +3 -1
  9. data/docs/MavenMavenRepositoryResponse.md +3 -1
  10. data/docs/PatchedmavenMavenRemote.md +10 -8
  11. data/docs/PatchedmavenMavenRepository.md +3 -1
  12. data/docs/RemotesMavenApi.md +3 -3
  13. data/docs/Repair.md +17 -0
  14. data/docs/RepositoriesMavenApi.md +3 -3
  15. data/docs/RepositoriesMavenVersionsApi.md +7 -7
  16. data/docs/RepositoryVersionResponse.md +2 -0
  17. data/lib/pulp_maven_client/api/content_artifact_api.rb +8 -4
  18. data/lib/pulp_maven_client/api/distributions_maven_api.rb +8 -4
  19. data/lib/pulp_maven_client/api/remotes_maven_api.rb +8 -4
  20. data/lib/pulp_maven_client/api/repositories_maven_api.rb +8 -4
  21. data/lib/pulp_maven_client/api/repositories_maven_versions_api.rb +17 -13
  22. data/lib/pulp_maven_client/api_client.rb +13 -12
  23. data/lib/pulp_maven_client/api_error.rb +1 -1
  24. data/lib/pulp_maven_client/configuration.rb +11 -3
  25. data/lib/pulp_maven_client/models/async_operation_response.rb +1 -1
  26. data/lib/pulp_maven_client/models/content_summary_response.rb +1 -1
  27. data/lib/pulp_maven_client/models/maven_maven_artifact.rb +20 -1
  28. data/lib/pulp_maven_client/models/maven_maven_artifact_response.rb +1 -1
  29. data/lib/pulp_maven_client/models/maven_maven_distribution.rb +39 -1
  30. data/lib/pulp_maven_client/models/maven_maven_distribution_response.rb +1 -1
  31. data/lib/pulp_maven_client/models/maven_maven_remote.rb +180 -10
  32. data/lib/pulp_maven_client/models/maven_maven_remote_response.rb +20 -8
  33. data/lib/pulp_maven_client/models/maven_maven_repository.rb +63 -2
  34. data/lib/pulp_maven_client/models/maven_maven_repository_response.rb +29 -2
  35. data/lib/pulp_maven_client/models/paginated_repository_version_response_list.rb +1 -1
  36. data/lib/pulp_maven_client/models/paginatedmaven_maven_artifact_response_list.rb +1 -1
  37. data/lib/pulp_maven_client/models/paginatedmaven_maven_distribution_response_list.rb +1 -1
  38. data/lib/pulp_maven_client/models/paginatedmaven_maven_remote_response_list.rb +1 -1
  39. data/lib/pulp_maven_client/models/paginatedmaven_maven_repository_response_list.rb +1 -1
  40. data/lib/pulp_maven_client/models/patchedmaven_maven_distribution.rb +31 -1
  41. data/lib/pulp_maven_client/models/patchedmaven_maven_remote.rb +172 -10
  42. data/lib/pulp_maven_client/models/patchedmaven_maven_repository.rb +59 -2
  43. data/lib/pulp_maven_client/models/policy_enum.rb +1 -1
  44. data/lib/pulp_maven_client/models/{repository_version.rb → repair.rb} +14 -13
  45. data/lib/pulp_maven_client/models/repository_version_response.rb +11 -2
  46. data/lib/pulp_maven_client/version.rb +2 -2
  47. data/lib/pulp_maven_client.rb +2 -3
  48. data/pulp_maven_client.gemspec +2 -2
  49. data/spec/api/content_artifact_api_spec.rb +2 -2
  50. data/spec/api/distributions_maven_api_spec.rb +2 -2
  51. data/spec/api/remotes_maven_api_spec.rb +2 -2
  52. data/spec/api/repositories_maven_api_spec.rb +2 -2
  53. data/spec/api/repositories_maven_versions_api_spec.rb +3 -3
  54. data/spec/api_client_spec.rb +2 -2
  55. data/spec/configuration_spec.rb +4 -4
  56. data/spec/models/async_operation_response_spec.rb +1 -1
  57. data/spec/models/content_summary_response_spec.rb +1 -1
  58. data/spec/models/maven_maven_artifact_response_spec.rb +1 -1
  59. data/spec/models/maven_maven_artifact_spec.rb +1 -1
  60. data/spec/models/maven_maven_distribution_response_spec.rb +1 -1
  61. data/spec/models/maven_maven_distribution_spec.rb +1 -1
  62. data/spec/models/maven_maven_remote_response_spec.rb +7 -1
  63. data/spec/models/maven_maven_remote_spec.rb +7 -1
  64. data/spec/models/maven_maven_repository_response_spec.rb +7 -1
  65. data/spec/models/maven_maven_repository_spec.rb +7 -1
  66. data/spec/models/paginated_repository_version_response_list_spec.rb +1 -1
  67. data/spec/models/paginatedmaven_maven_artifact_response_list_spec.rb +1 -1
  68. data/spec/models/paginatedmaven_maven_distribution_response_list_spec.rb +1 -1
  69. data/spec/models/paginatedmaven_maven_remote_response_list_spec.rb +1 -1
  70. data/spec/models/paginatedmaven_maven_repository_response_list_spec.rb +1 -1
  71. data/spec/models/patchedmaven_maven_distribution_spec.rb +1 -1
  72. data/spec/models/patchedmaven_maven_remote_spec.rb +7 -1
  73. data/spec/models/patchedmaven_maven_repository_spec.rb +7 -1
  74. data/spec/models/policy_enum_spec.rb +1 -1
  75. data/spec/models/{repository_version_spec.rb → repair_spec.rb} +8 -8
  76. data/spec/models/repository_version_response_spec.rb +7 -1
  77. data/spec/spec_helper.rb +1 -1
  78. metadata +31 -141
  79. data/build/lib/pulpcore/__init__.py +0 -2
  80. data/build/lib/pulpcore/client/__init__.py +0 -2
  81. data/build/lib/pulpcore/client/pulp_maven/__init__.py +0 -58
  82. data/build/lib/pulpcore/client/pulp_maven/api/__init__.py +0 -10
  83. data/build/lib/pulpcore/client/pulp_maven/api/content_artifact_api.py +0 -445
  84. data/build/lib/pulpcore/client/pulp_maven/api/distributions_maven_api.py +0 -830
  85. data/build/lib/pulpcore/client/pulp_maven/api/remotes_maven_api.py +0 -840
  86. data/build/lib/pulpcore/client/pulp_maven/api/repositories_maven_api.py +0 -809
  87. data/build/lib/pulpcore/client/pulp_maven/api/repositories_maven_versions_api.py +0 -614
  88. data/build/lib/pulpcore/client/pulp_maven/api_client.py +0 -667
  89. data/build/lib/pulpcore/client/pulp_maven/configuration.py +0 -427
  90. data/build/lib/pulpcore/client/pulp_maven/exceptions.py +0 -121
  91. data/build/lib/pulpcore/client/pulp_maven/models/__init__.py +0 -39
  92. data/build/lib/pulpcore/client/pulp_maven/models/async_operation_response.py +0 -124
  93. data/build/lib/pulpcore/client/pulp_maven/models/content_summary.py +0 -176
  94. data/build/lib/pulpcore/client/pulp_maven/models/content_summary_response.py +0 -176
  95. data/build/lib/pulpcore/client/pulp_maven/models/maven_maven_artifact.py +0 -153
  96. data/build/lib/pulpcore/client/pulp_maven/models/maven_maven_artifact_response.py +0 -290
  97. data/build/lib/pulpcore/client/pulp_maven/models/maven_maven_distribution.py +0 -260
  98. data/build/lib/pulpcore/client/pulp_maven/models/maven_maven_distribution_response.py +0 -342
  99. data/build/lib/pulpcore/client/pulp_maven/models/maven_maven_remote.py +0 -657
  100. data/build/lib/pulpcore/client/pulp_maven/models/maven_maven_remote_response.py +0 -604
  101. data/build/lib/pulpcore/client/pulp_maven/models/maven_maven_repository.py +0 -202
  102. data/build/lib/pulpcore/client/pulp_maven/models/maven_maven_repository_response.py +0 -308
  103. data/build/lib/pulpcore/client/pulp_maven/models/paginated_repository_version_response_list.py +0 -197
  104. data/build/lib/pulpcore/client/pulp_maven/models/paginatedmaven_maven_artifact_response_list.py +0 -197
  105. data/build/lib/pulpcore/client/pulp_maven/models/paginatedmaven_maven_distribution_response_list.py +0 -197
  106. data/build/lib/pulpcore/client/pulp_maven/models/paginatedmaven_maven_remote_response_list.py +0 -197
  107. data/build/lib/pulpcore/client/pulp_maven/models/paginatedmaven_maven_repository_response_list.py +0 -197
  108. data/build/lib/pulpcore/client/pulp_maven/models/patchedmaven_maven_distribution.py +0 -258
  109. data/build/lib/pulpcore/client/pulp_maven/models/patchedmaven_maven_remote.py +0 -655
  110. data/build/lib/pulpcore/client/pulp_maven/models/patchedmaven_maven_repository.py +0 -201
  111. data/build/lib/pulpcore/client/pulp_maven/models/policy_enum.py +0 -101
  112. data/build/lib/pulpcore/client/pulp_maven/models/repository_version.py +0 -123
  113. data/build/lib/pulpcore/client/pulp_maven/models/repository_version_response.py +0 -231
  114. data/build/lib/pulpcore/client/pulp_maven/rest.py +0 -292
  115. data/dist/pulp_maven-client-0.3.0.tar.gz +0 -0
  116. data/dist/pulp_maven_client-0.3.0-py3-none-any.whl +0 -0
  117. data/docs/ContentSummary.md +0 -21
  118. data/docs/RepositoryVersion.md +0 -17
  119. data/lib/pulp_maven_client/models/content_summary.rb +0 -246
  120. data/pulp_maven_client.egg-info/PKG-INFO +0 -15
  121. data/pulp_maven_client.egg-info/SOURCES.txt +0 -71
  122. data/pulp_maven_client.egg-info/dependency_links.txt +0 -1
  123. data/pulp_maven_client.egg-info/requires.txt +0 -4
  124. data/pulp_maven_client.egg-info/top_level.txt +0 -1
  125. data/pulpcore/__init__.py +0 -2
  126. data/pulpcore/client/__init__.py +0 -2
  127. data/pulpcore/client/pulp_maven/__init__.py +0 -58
  128. data/pulpcore/client/pulp_maven/api/__init__.py +0 -10
  129. data/pulpcore/client/pulp_maven/api/content_artifact_api.py +0 -445
  130. data/pulpcore/client/pulp_maven/api/distributions_maven_api.py +0 -830
  131. data/pulpcore/client/pulp_maven/api/remotes_maven_api.py +0 -840
  132. data/pulpcore/client/pulp_maven/api/repositories_maven_api.py +0 -809
  133. data/pulpcore/client/pulp_maven/api/repositories_maven_versions_api.py +0 -614
  134. data/pulpcore/client/pulp_maven/api_client.py +0 -667
  135. data/pulpcore/client/pulp_maven/configuration.py +0 -427
  136. data/pulpcore/client/pulp_maven/exceptions.py +0 -121
  137. data/pulpcore/client/pulp_maven/models/__init__.py +0 -39
  138. data/pulpcore/client/pulp_maven/models/async_operation_response.py +0 -124
  139. data/pulpcore/client/pulp_maven/models/content_summary.py +0 -176
  140. data/pulpcore/client/pulp_maven/models/content_summary_response.py +0 -176
  141. data/pulpcore/client/pulp_maven/models/maven_maven_artifact.py +0 -153
  142. data/pulpcore/client/pulp_maven/models/maven_maven_artifact_response.py +0 -290
  143. data/pulpcore/client/pulp_maven/models/maven_maven_distribution.py +0 -260
  144. data/pulpcore/client/pulp_maven/models/maven_maven_distribution_response.py +0 -342
  145. data/pulpcore/client/pulp_maven/models/maven_maven_remote.py +0 -657
  146. data/pulpcore/client/pulp_maven/models/maven_maven_remote_response.py +0 -604
  147. data/pulpcore/client/pulp_maven/models/maven_maven_repository.py +0 -202
  148. data/pulpcore/client/pulp_maven/models/maven_maven_repository_response.py +0 -308
  149. data/pulpcore/client/pulp_maven/models/paginated_repository_version_response_list.py +0 -197
  150. data/pulpcore/client/pulp_maven/models/paginatedmaven_maven_artifact_response_list.py +0 -197
  151. data/pulpcore/client/pulp_maven/models/paginatedmaven_maven_distribution_response_list.py +0 -197
  152. data/pulpcore/client/pulp_maven/models/paginatedmaven_maven_remote_response_list.py +0 -197
  153. data/pulpcore/client/pulp_maven/models/paginatedmaven_maven_repository_response_list.py +0 -197
  154. data/pulpcore/client/pulp_maven/models/patchedmaven_maven_distribution.py +0 -258
  155. data/pulpcore/client/pulp_maven/models/patchedmaven_maven_remote.py +0 -655
  156. data/pulpcore/client/pulp_maven/models/patchedmaven_maven_repository.py +0 -201
  157. data/pulpcore/client/pulp_maven/models/policy_enum.py +0 -101
  158. data/pulpcore/client/pulp_maven/models/repository_version.py +0 -123
  159. data/pulpcore/client/pulp_maven/models/repository_version_response.py +0 -231
  160. data/pulpcore/client/pulp_maven/rest.py +0 -292
  161. data/requirements.txt +0 -6
  162. data/setup.cfg +0 -2
  163. data/setup.py +0 -42
  164. data/spec/models/content_summary_spec.rb +0 -53
  165. data/test/__init__.py +0 -0
  166. data/test/test_async_operation_response.py +0 -54
  167. data/test/test_content_artifact_api.py +0 -55
  168. data/test/test_content_summary.py +0 -70
  169. data/test/test_content_summary_response.py +0 -70
  170. data/test/test_distributions_maven_api.py +0 -76
  171. data/test/test_maven_maven_artifact.py +0 -56
  172. data/test/test_maven_maven_artifact_response.py +0 -60
  173. data/test/test_maven_maven_distribution.py +0 -60
  174. data/test/test_maven_maven_distribution_response.py +0 -63
  175. data/test/test_maven_maven_remote.py +0 -76
  176. data/test/test_maven_maven_remote_response.py +0 -74
  177. data/test/test_maven_maven_repository.py +0 -57
  178. data/test/test_maven_maven_repository_response.py +0 -61
  179. data/test/test_paginated_repository_version_response_list.py +0 -63
  180. data/test/test_paginatedmaven_maven_artifact_response_list.py +0 -65
  181. data/test/test_paginatedmaven_maven_distribution_response_list.py +0 -67
  182. data/test/test_paginatedmaven_maven_remote_response_list.py +0 -78
  183. data/test/test_paginatedmaven_maven_repository_response_list.py +0 -66
  184. data/test/test_patchedmaven_maven_distribution.py +0 -58
  185. data/test/test_patchedmaven_maven_remote.py +0 -74
  186. data/test/test_patchedmaven_maven_repository.py +0 -56
  187. data/test/test_policy_enum.py +0 -52
  188. data/test/test_remotes_maven_api.py +0 -76
  189. data/test/test_repositories_maven_api.py +0 -76
  190. data/test/test_repositories_maven_versions_api.py +0 -61
  191. data/test/test_repository_version.py +0 -53
  192. data/test/test_repository_version_response.py +0 -57
  193. data/test-requirements.txt +0 -3
  194. data/tox.ini +0 -9
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 421fa595c8a8faa0b47d86454f1f5f80721216edd203ffb1c1d20263ef93cb46
4
- data.tar.gz: 2a3fb5076900f5c3814651761d59ba92100c50896311969dfb0057eda674db00
3
+ metadata.gz: 5f49c339b5ad7c1705e11e6dd6702cbb0882ba6fc1de6dde1d34e90502a52e1f
4
+ data.tar.gz: cea28224fdb24aa34e1b6da1e1925831a7012814499c0d7bf3e9dbf0eecdca1d
5
5
  SHA512:
6
- metadata.gz: 9c779584e1f396a37e32d5286f34867ef19c7a9ee5453cf9f75955d50b09b6df510c20e429edf9a82cfe903183977f4d1326a57e3c7ab9d11411f63a79990da8
7
- data.tar.gz: 2e8366b5956d7c75b91d8a3bba58b9acea0d1cee58d4a05d09e057dce554a72b75e3246abf4865bf7d1277bab277dff4d9dd1ef3c080cee09d4af716c89865c8
6
+ metadata.gz: 89a6fbef49de90991122b65d4b735230e2ec2a777a3804f39f48febff578ea40f7e41797910e1ed848015b2a5de92338aa1ee0e7b76b01adb8f0faf904de96d5
7
+ data.tar.gz: 0cb46b7529cfb551ae4b69dba581eb21ae84110056a28378ace083b86859ffaa041421df62f4af4d35eb594b123900b72290d252a7ab301c18f83b3950ccf3dc
data/Gemfile CHANGED
@@ -3,7 +3,7 @@ source 'https://rubygems.org'
3
3
  gemspec
4
4
 
5
5
  group :development, :test do
6
- gem 'rake', '~> 12.0.0'
6
+ gem 'rake', '~> 13.0.1'
7
7
  gem 'pry-byebug'
8
8
  gem 'rubocop', '~> 0.66.0'
9
9
  end
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.0
10
+ - Package version: 0.3.3
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.0.gem
27
+ gem install ./pulp_maven_client-0.3.3.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulp_maven_client-0.3.0.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulp_maven_client-0.3.3.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.0'
36
+ gem 'pulp_maven_client', '~> 0.3.3'
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
  ------------ | ------------- | ------------- | -------------
@@ -113,7 +113,6 @@ Class | Method | HTTP request | Description
113
113
  ## Documentation for Models
114
114
 
115
115
  - [PulpMavenClient::AsyncOperationResponse](docs/AsyncOperationResponse.md)
116
- - [PulpMavenClient::ContentSummary](docs/ContentSummary.md)
117
116
  - [PulpMavenClient::ContentSummaryResponse](docs/ContentSummaryResponse.md)
118
117
  - [PulpMavenClient::MavenMavenArtifact](docs/MavenMavenArtifact.md)
119
118
  - [PulpMavenClient::MavenMavenArtifactResponse](docs/MavenMavenArtifactResponse.md)
@@ -132,7 +131,7 @@ Class | Method | HTTP request | Description
132
131
  - [PulpMavenClient::PatchedmavenMavenRemote](docs/PatchedmavenMavenRemote.md)
133
132
  - [PulpMavenClient::PatchedmavenMavenRepository](docs/PatchedmavenMavenRepository.md)
134
133
  - [PulpMavenClient::PolicyEnum](docs/PolicyEnum.md)
135
- - [PulpMavenClient::RepositoryVersion](docs/RepositoryVersion.md)
134
+ - [PulpMavenClient::Repair](docs/Repair.md)
136
135
  - [PulpMavenClient::RepositoryVersionResponse](docs/RepositoryVersionResponse.md)
137
136
 
138
137
 
@@ -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
  ------------- | ------------- | -------------
@@ -90,7 +90,7 @@ opts = {
90
90
  group_id: 'group_id_example', # String | Filter results where group_id matches value
91
91
  limit: 56, # Integer | Number of results to return per page.
92
92
  offset: 56, # Integer | The initial index from which to return the results.
93
- ordering: 'ordering_example', # String | Which field to use when ordering the results.
93
+ ordering: ['ordering_example'], # Array<String> | Ordering
94
94
  repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
95
95
  repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
96
96
  repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
@@ -118,7 +118,7 @@ Name | Type | Description | Notes
118
118
  **group_id** | **String**| Filter results where group_id matches value | [optional]
119
119
  **limit** | **Integer**| Number of results to return per page. | [optional]
120
120
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
121
- **ordering** | **String**| Which field to use when ordering the results. | [optional]
121
+ **ordering** | [**Array&lt;String&gt;**](String.md)| Ordering | [optional]
122
122
  **repository_version** | **String**| Repository Version referenced by HREF | [optional]
123
123
  **repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
124
124
  **repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
@@ -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
  ------------- | ------------- | -------------
@@ -152,7 +152,7 @@ opts = {
152
152
  name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
153
153
  name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
154
154
  offset: 56, # Integer | The initial index from which to return the results.
155
- ordering: 'ordering_example', # String | Which field to use when ordering the results.
155
+ ordering: ['ordering_example'], # Array<String> | Ordering
156
156
  pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
157
157
  fields: 'fields_example', # String | A list of fields to include in the response.
158
158
  exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
@@ -183,7 +183,7 @@ Name | Type | Description | Notes
183
183
  **name__in** | [**Array&lt;String&gt;**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
184
184
  **name__startswith** | **String**| Filter results where name starts with value | [optional]
185
185
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
186
- **ordering** | **String**| Which field to use when ordering the results. | [optional]
186
+ **ordering** | [**Array&lt;String&gt;**](String.md)| Ordering | [optional]
187
187
  **pulp_label_select** | **String**| Filter labels by search string | [optional]
188
188
  **fields** | **String**| A list of fields to include in the response. | [optional]
189
189
  **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
@@ -12,18 +12,19 @@ Name | Type | Description | Notes
12
12
  **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
13
13
  **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
14
14
  **proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
15
- **proxy_password** | **String** | The password to authenticte to the proxy. | [optional]
15
+ **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional]
16
16
  **username** | **String** | The username to be used for authentication when syncing. | [optional]
17
- **password** | **String** | The password to be used for authentication when syncing. | [optional]
17
+ **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [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&lt;Object&gt;** | 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&lt;Object&gt;** | 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,7 +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
- **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]
11
12
 
12
13
  ## Code Sample
13
14
 
@@ -17,6 +18,7 @@ require 'PulpMavenClient'
17
18
  instance = PulpMavenClient::MavenMavenRepository.new(pulp_labels: null,
18
19
  name: null,
19
20
  description: null,
21
+ retain_repo_versions: null,
20
22
  remote: null)
21
23
  ```
22
24
 
@@ -11,7 +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
- **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]
15
16
 
16
17
  ## Code Sample
17
18
 
@@ -25,6 +26,7 @@ instance = PulpMavenClient::MavenMavenRepositoryResponse.new(pulp_href: null,
25
26
  latest_version_href: null,
26
27
  name: null,
27
28
  description: null,
29
+ retain_repo_versions: null,
28
30
  remote: null)
29
31
  ```
30
32
 
@@ -12,18 +12,19 @@ Name | Type | Description | Notes
12
12
  **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
13
13
  **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
14
14
  **proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
15
- **proxy_password** | **String** | The password to authenticte to the proxy. | [optional]
15
+ **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional]
16
16
  **username** | **String** | The username to be used for authentication when syncing. | [optional]
17
- **password** | **String** | The password to be used for authentication when syncing. | [optional]
17
+ **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [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&lt;Object&gt;** | 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,7 +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
- **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]
11
12
 
12
13
  ## Code Sample
13
14
 
@@ -17,6 +18,7 @@ require 'PulpMavenClient'
17
18
  instance = PulpMavenClient::PatchedmavenMavenRepository.new(pulp_labels: null,
18
19
  name: null,
19
20
  description: null,
21
+ retain_repo_versions: null,
20
22
  remote: null)
21
23
  ```
22
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
  ------------- | ------------- | -------------
@@ -148,7 +148,7 @@ opts = {
148
148
  name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
149
149
  name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
150
150
  offset: 56, # Integer | The initial index from which to return the results.
151
- ordering: 'ordering_example', # String | Which field to use when ordering the results.
151
+ ordering: ['ordering_example'], # Array<String> | Ordering
152
152
  pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
153
153
  pulp_last_updated: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | ISO 8601 formatted dates are supported
154
154
  pulp_last_updated__gt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated is greater than value
@@ -181,7 +181,7 @@ Name | Type | Description | Notes
181
181
  **name__in** | [**Array&lt;String&gt;**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
182
182
  **name__startswith** | **String**| Filter results where name starts with value | [optional]
183
183
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
184
- **ordering** | **String**| Which field to use when ordering the results. | [optional]
184
+ **ordering** | [**Array&lt;String&gt;**](String.md)| Ordering | [optional]
185
185
  **pulp_label_select** | **String**| Filter labels by search string | [optional]
186
186
  **pulp_last_updated** | **DateTime**| ISO 8601 formatted dates are supported | [optional]
187
187
  **pulp_last_updated__gt** | **DateTime**| Filter results where pulp_last_updated is greater than value | [optional]
data/docs/Repair.md ADDED
@@ -0,0 +1,17 @@
1
+ # PulpMavenClient::Repair
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **verify_checksums** | **Boolean** | Will verify that the checksum of all stored files matches what saved in the database. Otherwise only the existence of the files will be checked. Enabled by default | [optional] [default to true]
8
+
9
+ ## Code Sample
10
+
11
+ ```ruby
12
+ require 'PulpMavenClient'
13
+
14
+ instance = PulpMavenClient::Repair.new(verify_checksums: null)
15
+ ```
16
+
17
+
@@ -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
  ------------- | ------------- | -------------
@@ -148,7 +148,7 @@ opts = {
148
148
  name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
149
149
  name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
150
150
  offset: 56, # Integer | The initial index from which to return the results.
151
- ordering: 'ordering_example', # String | Which field to use when ordering the results.
151
+ ordering: ['ordering_example'], # Array<String> | Ordering
152
152
  pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
153
153
  fields: 'fields_example', # String | A list of fields to include in the response.
154
154
  exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
@@ -175,7 +175,7 @@ Name | Type | Description | Notes
175
175
  **name__in** | [**Array&lt;String&gt;**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
176
176
  **name__startswith** | **String**| Filter results where name starts with value | [optional]
177
177
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
178
- **ordering** | **String**| Which field to use when ordering the results. | [optional]
178
+ **ordering** | [**Array&lt;String&gt;**](String.md)| Ordering | [optional]
179
179
  **pulp_label_select** | **String**| Filter labels by search string | [optional]
180
180
  **fields** | **String**| A list of fields to include in the response. | [optional]
181
181
  **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
@@ -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
  ------------- | ------------- | -------------
@@ -97,7 +97,7 @@ opts = {
97
97
  number__lte: 56, # Integer | Filter results where number is less than or equal to value
98
98
  number__range: [56], # Array<Integer> | Filter results where number is between two comma separated values
99
99
  offset: 56, # Integer | The initial index from which to return the results.
100
- ordering: 'ordering_example', # String | Which field to use when ordering the results.
100
+ ordering: ['ordering_example'], # Array<String> | Ordering
101
101
  pulp_created: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | ISO 8601 formatted dates are supported
102
102
  pulp_created__gt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is greater than value
103
103
  pulp_created__gte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is greater than or equal to value
@@ -133,7 +133,7 @@ Name | Type | Description | Notes
133
133
  **number__lte** | **Integer**| Filter results where number is less than or equal to value | [optional]
134
134
  **number__range** | [**Array&lt;Integer&gt;**](Integer.md)| Filter results where number is between two comma separated values | [optional]
135
135
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
136
- **ordering** | **String**| Which field to use when ordering the results. | [optional]
136
+ **ordering** | [**Array&lt;String&gt;**](String.md)| Ordering | [optional]
137
137
  **pulp_created** | **DateTime**| ISO 8601 formatted dates are supported | [optional]
138
138
  **pulp_created__gt** | **DateTime**| Filter results where pulp_created is greater than value | [optional]
139
139
  **pulp_created__gte** | **DateTime**| Filter results where pulp_created is greater than or equal to value | [optional]
@@ -218,7 +218,7 @@ Name | Type | Description | Notes
218
218
 
219
219
  ## repair
220
220
 
221
- > AsyncOperationResponse repair(maven_maven_repository_version_href, repository_version)
221
+ > AsyncOperationResponse repair(maven_maven_repository_version_href, repair)
222
222
 
223
223
 
224
224
 
@@ -238,10 +238,10 @@ end
238
238
 
239
239
  api_instance = PulpMavenClient::RepositoriesMavenVersionsApi.new
240
240
  maven_maven_repository_version_href = 'maven_maven_repository_version_href_example' # String |
241
- repository_version = PulpMavenClient::RepositoryVersion.new # RepositoryVersion |
241
+ repair = PulpMavenClient::Repair.new # Repair |
242
242
 
243
243
  begin
244
- result = api_instance.repair(maven_maven_repository_version_href, repository_version)
244
+ result = api_instance.repair(maven_maven_repository_version_href, repair)
245
245
  p result
246
246
  rescue PulpMavenClient::ApiError => e
247
247
  puts "Exception when calling RepositoriesMavenVersionsApi->repair: #{e}"
@@ -254,7 +254,7 @@ end
254
254
  Name | Type | Description | Notes
255
255
  ------------- | ------------- | ------------- | -------------
256
256
  **maven_maven_repository_version_href** | **String**| |
257
- **repository_version** | [**RepositoryVersion**](RepositoryVersion.md)| |
257
+ **repair** | [**Repair**](Repair.md)| |
258
258
 
259
259
  ### Return type
260
260
 
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
7
7
  **pulp_href** | **String** | | [optional] [readonly]
8
8
  **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
9
  **number** | **Integer** | | [optional] [readonly]
10
+ **repository** | **String** | | [optional] [readonly]
10
11
  **base_version** | **String** | A repository version whose content was used as the initial set of content for this repository version | [optional]
11
12
  **content_summary** | [**ContentSummaryResponse**](ContentSummaryResponse.md) | Various count summaries of the content in the version and the HREF to view them. | [optional] [readonly]
12
13
 
@@ -18,6 +19,7 @@ require 'PulpMavenClient'
18
19
  instance = PulpMavenClient::RepositoryVersionResponse.new(pulp_href: null,
19
20
  pulp_created: null,
20
21
  number: null,
22
+ repository: null,
21
23
  base_version: null,
22
24
  content_summary: null)
23
25
  ```
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -91,7 +91,7 @@ module PulpMavenClient
91
91
  # @option opts [String] :group_id Filter results where group_id matches value
92
92
  # @option opts [Integer] :limit Number of results to return per page.
93
93
  # @option opts [Integer] :offset The initial index from which to return the results.
94
- # @option opts [String] :ordering Which field to use when ordering the results.
94
+ # @option opts [Array<String>] :ordering Ordering
95
95
  # @option opts [String] :repository_version Repository Version referenced by HREF
96
96
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
97
97
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
@@ -112,7 +112,7 @@ module PulpMavenClient
112
112
  # @option opts [String] :group_id Filter results where group_id matches value
113
113
  # @option opts [Integer] :limit Number of results to return per page.
114
114
  # @option opts [Integer] :offset The initial index from which to return the results.
115
- # @option opts [String] :ordering Which field to use when ordering the results.
115
+ # @option opts [Array<String>] :ordering Ordering
116
116
  # @option opts [String] :repository_version Repository Version referenced by HREF
117
117
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
118
118
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
@@ -124,6 +124,10 @@ module PulpMavenClient
124
124
  if @api_client.config.debugging
125
125
  @api_client.config.logger.debug 'Calling API: ContentArtifactApi.list ...'
126
126
  end
127
+ allowable_values = ["-_artifacts", "-artifact_id", "-content_ptr", "-contentartifact", "-filename", "-group_id", "-group_roles", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-repositories", "-timestamp_of_interest", "-upstream_id", "-user_roles", "-version", "-version_memberships", "_artifacts", "artifact_id", "content_ptr", "contentartifact", "filename", "group_id", "group_roles", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "repositories", "timestamp_of_interest", "upstream_id", "user_roles", "version", "version_memberships"]
128
+ if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
129
+ fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
130
+ end
127
131
  # resource path
128
132
  local_var_path = '/pulp/api/v3/content/maven/artifact/'
129
133
 
@@ -134,7 +138,7 @@ module PulpMavenClient
134
138
  query_params[:'group_id'] = opts[:'group_id'] if !opts[:'group_id'].nil?
135
139
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
136
140
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
137
- query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
141
+ query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
138
142
  query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
139
143
  query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
140
144
  query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -159,7 +159,7 @@ module PulpMavenClient
159
159
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
160
160
  # @option opts [String] :name__startswith Filter results where name starts with value
161
161
  # @option opts [Integer] :offset The initial index from which to return the results.
162
- # @option opts [String] :ordering Which field to use when ordering the results.
162
+ # @option opts [Array<String>] :ordering Ordering
163
163
  # @option opts [String] :pulp_label_select Filter labels by search string
164
164
  # @option opts [String] :fields A list of fields to include in the response.
165
165
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
@@ -183,7 +183,7 @@ module PulpMavenClient
183
183
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
184
184
  # @option opts [String] :name__startswith Filter results where name starts with value
185
185
  # @option opts [Integer] :offset The initial index from which to return the results.
186
- # @option opts [String] :ordering Which field to use when ordering the results.
186
+ # @option opts [Array<String>] :ordering Ordering
187
187
  # @option opts [String] :pulp_label_select Filter labels by search string
188
188
  # @option opts [String] :fields A list of fields to include in the response.
189
189
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
@@ -192,6 +192,10 @@ module PulpMavenClient
192
192
  if @api_client.config.debugging
193
193
  @api_client.config.logger.debug 'Calling API: DistributionsMavenApi.list ...'
194
194
  end
195
+ allowable_values = ["-base_path", "-content_guard", "-group_roles", "-maven_mavendistribution", "-name", "-pk", "-publication", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-remote", "-repository", "-repository_version", "-user_roles", "base_path", "content_guard", "group_roles", "maven_mavendistribution", "name", "pk", "publication", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "remote", "repository", "repository_version", "user_roles"]
196
+ if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
197
+ fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
198
+ end
195
199
  # resource path
196
200
  local_var_path = '/pulp/api/v3/distributions/maven/maven/'
197
201
 
@@ -208,7 +212,7 @@ module PulpMavenClient
208
212
  query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
209
213
  query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
210
214
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
211
- query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
215
+ query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
212
216
  query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
213
217
  query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
214
218
  query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -155,7 +155,7 @@ module PulpMavenClient
155
155
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
156
156
  # @option opts [String] :name__startswith Filter results where name starts with value
157
157
  # @option opts [Integer] :offset The initial index from which to return the results.
158
- # @option opts [String] :ordering Which field to use when ordering the results.
158
+ # @option opts [Array<String>] :ordering Ordering
159
159
  # @option opts [String] :pulp_label_select Filter labels by search string
160
160
  # @option opts [DateTime] :pulp_last_updated ISO 8601 formatted dates are supported
161
161
  # @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
@@ -181,7 +181,7 @@ module PulpMavenClient
181
181
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
182
182
  # @option opts [String] :name__startswith Filter results where name starts with value
183
183
  # @option opts [Integer] :offset The initial index from which to return the results.
184
- # @option opts [String] :ordering Which field to use when ordering the results.
184
+ # @option opts [Array<String>] :ordering Ordering
185
185
  # @option opts [String] :pulp_label_select Filter labels by search string
186
186
  # @option opts [DateTime] :pulp_last_updated ISO 8601 formatted dates are supported
187
187
  # @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
@@ -196,6 +196,10 @@ module PulpMavenClient
196
196
  if @api_client.config.debugging
197
197
  @api_client.config.logger.debug 'Calling API: RemotesMavenApi.list ...'
198
198
  end
199
+ allowable_values = ["-alternatecontentsource", "-basedistribution", "-ca_cert", "-client_cert", "-client_key", "-connect_timeout", "-distribution", "-download_concurrency", "-group_roles", "-headers", "-maven_mavenremote", "-max_retries", "-name", "-password", "-pk", "-policy", "-proxy_password", "-proxy_url", "-proxy_username", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-rate_limit", "-remoteartifact", "-repository", "-sock_connect_timeout", "-sock_read_timeout", "-tls_validation", "-total_timeout", "-url", "-user_roles", "-username", "alternatecontentsource", "basedistribution", "ca_cert", "client_cert", "client_key", "connect_timeout", "distribution", "download_concurrency", "group_roles", "headers", "maven_mavenremote", "max_retries", "name", "password", "pk", "policy", "proxy_password", "proxy_url", "proxy_username", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "rate_limit", "remoteartifact", "repository", "sock_connect_timeout", "sock_read_timeout", "tls_validation", "total_timeout", "url", "user_roles", "username"]
200
+ if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
201
+ fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
202
+ end
199
203
  # resource path
200
204
  local_var_path = '/pulp/api/v3/remotes/maven/maven/'
201
205
 
@@ -208,7 +212,7 @@ module PulpMavenClient
208
212
  query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
209
213
  query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
210
214
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
211
- query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
215
+ query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
212
216
  query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
213
217
  query_params[:'pulp_last_updated'] = opts[:'pulp_last_updated'] if !opts[:'pulp_last_updated'].nil?
214
218
  query_params[:'pulp_last_updated__gt'] = opts[:'pulp_last_updated__gt'] if !opts[:'pulp_last_updated__gt'].nil?