pulp_python_client 3.12.6 → 3.13.0

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 (169) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +17 -16
  3. data/docs/AsyncOperationResponse.md +8 -7
  4. data/docs/ContentPackagesApi.md +170 -120
  5. data/docs/ContentSummaryResponse.md +12 -11
  6. data/docs/DistributionsPypiApi.md +385 -182
  7. data/docs/ExcludePlatformsEnum.md +4 -5
  8. data/docs/MyPermissionsResponse.md +8 -7
  9. data/docs/NestedRole.md +12 -11
  10. data/docs/NestedRoleResponse.md +12 -11
  11. data/docs/ObjectRolesResponse.md +8 -7
  12. data/docs/PackageMetadataResponse.md +14 -13
  13. data/docs/PackageTypesEnum.md +4 -5
  14. data/docs/PackageUploadTaskResponse.md +12 -11
  15. data/docs/PaginatedRepositoryVersionResponseList.md +14 -13
  16. data/docs/PaginatedpythonPythonDistributionResponseList.md +14 -13
  17. data/docs/PaginatedpythonPythonPackageContentResponseList.md +14 -13
  18. data/docs/PaginatedpythonPythonPublicationResponseList.md +14 -13
  19. data/docs/PaginatedpythonPythonRemoteResponseList.md +14 -13
  20. data/docs/PaginatedpythonPythonRepositoryResponseList.md +14 -13
  21. data/docs/PatchedpythonPythonDistribution.md +24 -23
  22. data/docs/PatchedpythonPythonRemote.md +60 -59
  23. data/docs/PatchedpythonPythonRepository.md +18 -17
  24. data/docs/PolicyEnum.md +4 -5
  25. data/docs/PublicationsPypiApi.md +267 -130
  26. data/docs/PypiApi.md +33 -17
  27. data/docs/PypiLegacyApi.md +34 -18
  28. data/docs/PypiMetadataApi.md +34 -18
  29. data/docs/PypiSimpleApi.md +95 -45
  30. data/docs/PythonPythonDistribution.md +24 -23
  31. data/docs/PythonPythonDistributionResponse.md +36 -35
  32. data/docs/PythonPythonPackageContentResponse.md +70 -69
  33. data/docs/PythonPythonPublication.md +10 -9
  34. data/docs/PythonPythonPublicationResponse.md +20 -19
  35. data/docs/PythonPythonRemote.md +60 -59
  36. data/docs/PythonPythonRemoteResponse.md +60 -59
  37. data/docs/PythonPythonRemoteResponseHiddenFieldsInner.md +20 -0
  38. data/docs/PythonPythonRepository.md +18 -17
  39. data/docs/PythonPythonRepositoryResponse.md +30 -29
  40. data/docs/RemotesPythonApi.md +420 -198
  41. data/docs/Repair.md +8 -7
  42. data/docs/RepositoriesPythonApi.md +444 -207
  43. data/docs/RepositoriesPythonVersionsApi.md +152 -82
  44. data/docs/RepositoryAddRemoveContent.md +12 -11
  45. data/docs/RepositorySyncURL.md +10 -9
  46. data/docs/RepositoryVersionResponse.md +22 -21
  47. data/docs/SetLabel.md +10 -9
  48. data/docs/SetLabelResponse.md +10 -9
  49. data/docs/SummaryResponse.md +12 -11
  50. data/docs/UnsetLabel.md +8 -7
  51. data/docs/UnsetLabelResponse.md +10 -9
  52. data/lib/pulp_python_client/api/content_packages_api.rb +21 -15
  53. data/lib/pulp_python_client/api/distributions_pypi_api.rb +89 -56
  54. data/lib/pulp_python_client/api/publications_pypi_api.rb +67 -47
  55. data/lib/pulp_python_client/api/pypi_api.rb +6 -5
  56. data/lib/pulp_python_client/api/pypi_legacy_api.rb +11 -7
  57. data/lib/pulp_python_client/api/pypi_metadata_api.rb +6 -5
  58. data/lib/pulp_python_client/api/pypi_simple_api.rb +19 -13
  59. data/lib/pulp_python_client/api/remotes_python_api.rb +113 -73
  60. data/lib/pulp_python_client/api/repositories_python_api.rb +107 -66
  61. data/lib/pulp_python_client/api/repositories_python_versions_api.rb +40 -30
  62. data/lib/pulp_python_client/api_client.rb +137 -102
  63. data/lib/pulp_python_client/api_error.rb +2 -1
  64. data/lib/pulp_python_client/configuration.rb +162 -21
  65. data/lib/pulp_python_client/models/async_operation_response.rb +32 -22
  66. data/lib/pulp_python_client/models/content_summary_response.rb +36 -22
  67. data/lib/pulp_python_client/models/exclude_platforms_enum.rb +8 -4
  68. data/lib/pulp_python_client/models/my_permissions_response.rb +32 -22
  69. data/lib/pulp_python_client/models/nested_role.rb +32 -22
  70. data/lib/pulp_python_client/models/nested_role_response.rb +32 -22
  71. data/lib/pulp_python_client/models/object_roles_response.rb +32 -22
  72. data/lib/pulp_python_client/models/package_metadata_response.rb +41 -37
  73. data/lib/pulp_python_client/models/package_types_enum.rb +8 -4
  74. data/lib/pulp_python_client/models/package_upload_task_response.rb +37 -23
  75. data/lib/pulp_python_client/models/paginated_repository_version_response_list.rb +34 -22
  76. data/lib/pulp_python_client/models/paginatedpython_python_distribution_response_list.rb +34 -22
  77. data/lib/pulp_python_client/models/paginatedpython_python_package_content_response_list.rb +34 -22
  78. data/lib/pulp_python_client/models/paginatedpython_python_publication_response_list.rb +34 -22
  79. data/lib/pulp_python_client/models/paginatedpython_python_remote_response_list.rb +34 -22
  80. data/lib/pulp_python_client/models/paginatedpython_python_repository_response_list.rb +34 -22
  81. data/lib/pulp_python_client/models/patchedpython_python_distribution.rb +40 -24
  82. data/lib/pulp_python_client/models/patchedpython_python_remote.rb +62 -24
  83. data/lib/pulp_python_client/models/patchedpython_python_repository.rb +35 -23
  84. data/lib/pulp_python_client/models/policy_enum.rb +8 -4
  85. data/lib/pulp_python_client/models/python_python_distribution.rb +34 -22
  86. data/lib/pulp_python_client/models/python_python_distribution_response.rb +36 -24
  87. data/lib/pulp_python_client/models/python_python_package_content_response.rb +38 -24
  88. data/lib/pulp_python_client/models/python_python_publication.rb +30 -22
  89. data/lib/pulp_python_client/models/python_python_publication_response.rb +32 -24
  90. data/lib/pulp_python_client/models/python_python_remote.rb +56 -22
  91. data/lib/pulp_python_client/models/python_python_remote_response.rb +59 -25
  92. data/lib/pulp_python_client/models/{python_python_remote_response_hidden_fields.rb → python_python_remote_response_hidden_fields_inner.rb} +37 -25
  93. data/lib/pulp_python_client/models/python_python_repository.rb +32 -22
  94. data/lib/pulp_python_client/models/python_python_repository_response.rb +34 -24
  95. data/lib/pulp_python_client/models/repair.rb +30 -22
  96. data/lib/pulp_python_client/models/repository_add_remove_content.rb +30 -22
  97. data/lib/pulp_python_client/models/repository_sync_url.rb +30 -22
  98. data/lib/pulp_python_client/models/repository_version_response.rb +32 -24
  99. data/lib/pulp_python_client/models/set_label.rb +34 -22
  100. data/lib/pulp_python_client/models/set_label_response.rb +34 -22
  101. data/lib/pulp_python_client/models/summary_response.rb +36 -22
  102. data/lib/pulp_python_client/models/unset_label.rb +32 -22
  103. data/lib/pulp_python_client/models/unset_label_response.rb +32 -22
  104. data/lib/pulp_python_client/version.rb +2 -2
  105. data/lib/pulp_python_client.rb +2 -5
  106. data/pulp_python_client.gemspec +9 -6
  107. data/spec/api/content_packages_api_spec.rb +4 -4
  108. data/spec/api/distributions_pypi_api_spec.rb +13 -13
  109. data/spec/api/publications_pypi_api_spec.rb +16 -15
  110. data/spec/api/pypi_api_spec.rb +2 -2
  111. data/spec/api/pypi_legacy_api_spec.rb +2 -2
  112. data/spec/api/pypi_metadata_api_spec.rb +2 -2
  113. data/spec/api/pypi_simple_api_spec.rb +4 -4
  114. data/spec/api/remotes_python_api_spec.rb +21 -20
  115. data/spec/api/repositories_python_api_spec.rb +15 -15
  116. data/spec/api/repositories_python_versions_api_spec.rb +12 -11
  117. data/spec/models/async_operation_response_spec.rb +7 -12
  118. data/spec/models/content_summary_response_spec.rb +9 -14
  119. data/spec/models/exclude_platforms_enum_spec.rb +6 -11
  120. data/spec/models/my_permissions_response_spec.rb +7 -12
  121. data/spec/models/nested_role_response_spec.rb +9 -14
  122. data/spec/models/nested_role_spec.rb +9 -14
  123. data/spec/models/object_roles_response_spec.rb +7 -12
  124. data/spec/models/package_metadata_response_spec.rb +10 -15
  125. data/spec/models/package_types_enum_spec.rb +6 -11
  126. data/spec/models/package_upload_task_response_spec.rb +9 -14
  127. data/spec/models/paginated_repository_version_response_list_spec.rb +10 -15
  128. data/spec/models/paginatedpython_python_distribution_response_list_spec.rb +10 -15
  129. data/spec/models/paginatedpython_python_package_content_response_list_spec.rb +10 -15
  130. data/spec/models/paginatedpython_python_publication_response_list_spec.rb +10 -15
  131. data/spec/models/paginatedpython_python_remote_response_list_spec.rb +10 -15
  132. data/spec/models/paginatedpython_python_repository_response_list_spec.rb +10 -15
  133. data/spec/models/patchedpython_python_distribution_spec.rb +15 -20
  134. data/spec/models/patchedpython_python_remote_spec.rb +33 -38
  135. data/spec/models/patchedpython_python_repository_spec.rb +12 -17
  136. data/spec/models/policy_enum_spec.rb +6 -11
  137. data/spec/models/python_python_distribution_response_spec.rb +21 -26
  138. data/spec/models/python_python_distribution_spec.rb +15 -20
  139. data/spec/models/python_python_package_content_response_spec.rb +38 -43
  140. data/spec/models/python_python_publication_response_spec.rb +13 -18
  141. data/spec/models/python_python_publication_spec.rb +8 -13
  142. data/spec/models/{python_python_remote_response_hidden_fields_spec.rb → python_python_remote_response_hidden_fields_inner_spec.rb} +11 -16
  143. data/spec/models/python_python_remote_response_spec.rb +33 -38
  144. data/spec/models/python_python_remote_spec.rb +33 -38
  145. data/spec/models/python_python_repository_response_spec.rb +18 -23
  146. data/spec/models/python_python_repository_spec.rb +12 -17
  147. data/spec/models/repair_spec.rb +7 -12
  148. data/spec/models/repository_add_remove_content_spec.rb +9 -14
  149. data/spec/models/repository_sync_url_spec.rb +8 -13
  150. data/spec/models/repository_version_response_spec.rb +14 -19
  151. data/spec/models/set_label_response_spec.rb +8 -13
  152. data/spec/models/set_label_spec.rb +8 -13
  153. data/spec/models/summary_response_spec.rb +9 -14
  154. data/spec/models/unset_label_response_spec.rb +8 -13
  155. data/spec/models/unset_label_spec.rb +7 -12
  156. data/spec/spec_helper.rb +1 -1
  157. metadata +79 -67
  158. data/docs/PackageUpload.md +0 -21
  159. data/docs/PythonBanderRemote.md +0 -21
  160. data/docs/PythonPythonPackageContent.md +0 -71
  161. data/docs/PythonPythonRemoteResponseHiddenFields.md +0 -19
  162. data/lib/pulp_python_client/models/package_upload.rb +0 -283
  163. data/lib/pulp_python_client/models/python_bander_remote.rb +0 -257
  164. data/lib/pulp_python_client/models/python_python_package_content.rb +0 -534
  165. data/spec/api_client_spec.rb +0 -188
  166. data/spec/configuration_spec.rb +0 -42
  167. data/spec/models/package_upload_spec.rb +0 -53
  168. data/spec/models/python_bander_remote_spec.rb +0 -53
  169. data/spec/models/python_python_package_content_spec.rb +0 -203
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 87c761dd5ffd1521e899c0e97fac18a759618bd29716a060072bdf2194edab94
4
- data.tar.gz: d39180657ce90f17579a17ec32be5f3d58b9521ce7ba7e4e839b6df5988fee35
3
+ metadata.gz: ea3247afef6bcc3b645cec68e8f63a721c6b07c2519de36afb5bf98c2e55b1cc
4
+ data.tar.gz: 0b5f8ab4b1d4a24b4fb064bae5efcee7580dfb6484b941f8314ed1daed16e9fd
5
5
  SHA512:
6
- metadata.gz: dd3eca48bcdcc38dcbf51df1a6d0a248deaa74e820ecad49e882c184af053ce9b0a5285bc81204e17733eb76e62b1a7752fd123e124cad2a435d9800bdb790f9
7
- data.tar.gz: e7645bc9f41e16a87f9a43824c5fd7b7cfe3a2e6f8190422ce7b995db70824915fcb38bcefd6607b0ef30face6ae247b57cc17c9eb5cf6399b0f3d8ed67a77d1
6
+ metadata.gz: 21df1e1aaa4e77bbae703962c970352ed599a678b74bf1161ad4cf9312a4713fdbc8daa4d9314e966e0351dd75216be644f0b5e748a07f6df0fef7680edf7535
7
+ data.tar.gz: 6463bccb88b33cffce4b2a82bef58ce3b038f46d73d610595bcc28643bb76da0e08f628499cb9cd722738f895c81b0276edec9ad5ac193690c653af8e1480a7e
data/README.md CHANGED
@@ -7,7 +7,8 @@ Fetch, Upload, Organize, and Distribute Software Packages
7
7
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
8
 
9
9
  - API version: v3
10
- - Package version: 3.12.6
10
+ - Package version: 3.13.0
11
+ - Generator version: 7.10.0
11
12
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
13
  For more information, please visit [https://pulpproject.org](https://pulpproject.org)
13
14
 
@@ -24,16 +25,16 @@ gem build pulp_python_client.gemspec
24
25
  Then either install the gem locally:
25
26
 
26
27
  ```shell
27
- gem install ./pulp_python_client-3.12.6.gem
28
+ gem install ./pulp_python_client-3.13.0.gem
28
29
  ```
29
30
 
30
- (for development, run `gem install --dev ./pulp_python_client-3.12.6.gem` to install the development dependencies)
31
+ (for development, run `gem install --dev ./pulp_python_client-3.13.0.gem` to install the development dependencies)
31
32
 
32
33
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
33
34
 
34
35
  Finally add this to the Gemfile:
35
36
 
36
- gem 'pulp_python_client', '~> 3.12.6'
37
+ gem 'pulp_python_client', '~> 3.13.0'
37
38
 
38
39
  ### Install from Git
39
40
 
@@ -62,6 +63,8 @@ PulpPythonClient.configure do |config|
62
63
  # Configure HTTP basic authorization: basicAuth
63
64
  config.username = 'YOUR_USERNAME'
64
65
  config.password = 'YOUR_PASSWORD'
66
+ # Configure faraday connection
67
+ config.configure_faraday_connection { |connection| 'YOUR CONNECTION CONFIG PROC' }
65
68
  end
66
69
 
67
70
  api_instance = PulpPythonClient::ContentPackagesApi.new
@@ -69,10 +72,10 @@ relative_path = 'relative_path_example' # String | Path where the artifact is lo
69
72
  opts = {
70
73
  repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
71
74
  artifact: 'artifact_example', # String | Artifact file representing the physical content
72
- file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the content unit.
75
+ file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
73
76
  upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
74
77
  file_url: 'file_url_example', # String | A url that Pulp can download and turn into the content unit.
75
- sha256: '', # String | The SHA256 digest of this package.
78
+ sha256: 'sha256_example', # String | The SHA256 digest of this package.
76
79
  summary: 'summary_example', # String | A one-line summary of what the package does.
77
80
  description: 'description_example', # String | A longer description of the package that can run to several paragraphs.
78
81
  description_content_type: 'description_content_type_example', # String | A string stating the markup syntax (if any) used in the distribution’s description, so that tools can intelligently render the description.
@@ -86,14 +89,14 @@ opts = {
86
89
  license: 'license_example', # String | Text indicating the license covering the distribution
87
90
  requires_python: 'requires_python_example', # String | The Python version(s) that the distribution is guaranteed to be compatible with.
88
91
  project_url: 'project_url_example', # String | A browsable URL for the project and a label for it, separated by a comma.
89
- project_urls: nil, # Object | A dictionary of labels and URLs for the project.
92
+ project_urls: TODO, # Object | A dictionary of labels and URLs for the project.
90
93
  platform: 'platform_example', # String | A comma-separated list of platform specifications, summarizing the operating systems supported by the package.
91
94
  supported_platform: 'supported_platform_example', # String | Field to specify the OS and CPU for which the binary package was compiled.
92
- requires_dist: nil, # Object | A JSON list containing names of some other distutils project required by this distribution.
93
- provides_dist: nil, # Object | A JSON list containing names of a Distutils project which is contained within this distribution.
94
- obsoletes_dist: nil, # Object | A JSON list containing names of a distutils project's distribution which this distribution renders obsolete, meaning that the two projects should not be installed at the same time.
95
- requires_external: nil, # Object | A JSON list containing some dependency in the system that the distribution is to be used.
96
- classifiers: nil # Object | A JSON list containing classification values for a Python package.
95
+ requires_dist: TODO, # Object | A JSON list containing names of some other distutils project required by this distribution.
96
+ provides_dist: TODO, # Object | A JSON list containing names of a Distutils project which is contained within this distribution.
97
+ obsoletes_dist: TODO, # Object | A JSON list containing names of a distutils project's distribution which this distribution renders obsolete, meaning that the two projects should not be installed at the same time.
98
+ requires_external: TODO, # Object | A JSON list containing some dependency in the system that the distribution is to be used.
99
+ classifiers: TODO # Object | A JSON list containing classification values for a Python package.
97
100
  }
98
101
 
99
102
  begin
@@ -185,7 +188,6 @@ Class | Method | HTTP request | Description
185
188
  - [PulpPythonClient::ObjectRolesResponse](docs/ObjectRolesResponse.md)
186
189
  - [PulpPythonClient::PackageMetadataResponse](docs/PackageMetadataResponse.md)
187
190
  - [PulpPythonClient::PackageTypesEnum](docs/PackageTypesEnum.md)
188
- - [PulpPythonClient::PackageUpload](docs/PackageUpload.md)
189
191
  - [PulpPythonClient::PackageUploadTaskResponse](docs/PackageUploadTaskResponse.md)
190
192
  - [PulpPythonClient::PaginatedRepositoryVersionResponseList](docs/PaginatedRepositoryVersionResponseList.md)
191
193
  - [PulpPythonClient::PaginatedpythonPythonDistributionResponseList](docs/PaginatedpythonPythonDistributionResponseList.md)
@@ -197,16 +199,14 @@ Class | Method | HTTP request | Description
197
199
  - [PulpPythonClient::PatchedpythonPythonRemote](docs/PatchedpythonPythonRemote.md)
198
200
  - [PulpPythonClient::PatchedpythonPythonRepository](docs/PatchedpythonPythonRepository.md)
199
201
  - [PulpPythonClient::PolicyEnum](docs/PolicyEnum.md)
200
- - [PulpPythonClient::PythonBanderRemote](docs/PythonBanderRemote.md)
201
202
  - [PulpPythonClient::PythonPythonDistribution](docs/PythonPythonDistribution.md)
202
203
  - [PulpPythonClient::PythonPythonDistributionResponse](docs/PythonPythonDistributionResponse.md)
203
- - [PulpPythonClient::PythonPythonPackageContent](docs/PythonPythonPackageContent.md)
204
204
  - [PulpPythonClient::PythonPythonPackageContentResponse](docs/PythonPythonPackageContentResponse.md)
205
205
  - [PulpPythonClient::PythonPythonPublication](docs/PythonPythonPublication.md)
206
206
  - [PulpPythonClient::PythonPythonPublicationResponse](docs/PythonPythonPublicationResponse.md)
207
207
  - [PulpPythonClient::PythonPythonRemote](docs/PythonPythonRemote.md)
208
208
  - [PulpPythonClient::PythonPythonRemoteResponse](docs/PythonPythonRemoteResponse.md)
209
- - [PulpPythonClient::PythonPythonRemoteResponseHiddenFields](docs/PythonPythonRemoteResponseHiddenFields.md)
209
+ - [PulpPythonClient::PythonPythonRemoteResponseHiddenFieldsInner](docs/PythonPythonRemoteResponseHiddenFieldsInner.md)
210
210
  - [PulpPythonClient::PythonPythonRepository](docs/PythonPythonRepository.md)
211
211
  - [PulpPythonClient::PythonPythonRepositoryResponse](docs/PythonPythonRepositoryResponse.md)
212
212
  - [PulpPythonClient::Repair](docs/Repair.md)
@@ -223,6 +223,7 @@ Class | Method | HTTP request | Description
223
223
  ## Documentation for Authorization
224
224
 
225
225
 
226
+ Authentication schemes defined for the API:
226
227
  ### basicAuth
227
228
 
228
229
  - **Type**: HTTP basic authentication
@@ -2,16 +2,17 @@
2
2
 
3
3
  ## Properties
4
4
 
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **task** | **String** | The href of the task. |
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **task** | **String** | The href of the task. | |
8
8
 
9
- ## Code Sample
9
+ ## Example
10
10
 
11
11
  ```ruby
12
- require 'PulpPythonClient'
12
+ require 'pulp_python_client'
13
13
 
14
- instance = PulpPythonClient::AsyncOperationResponse.new(task: null)
14
+ instance = PulpPythonClient::AsyncOperationResponse.new(
15
+ task: null
16
+ )
15
17
  ```
16
18
 
17
-
@@ -2,26 +2,25 @@
2
2
 
3
3
  All URIs are relative to *http://localhost:24817*
4
4
 
5
- Method | HTTP request | Description
6
- ------------- | ------------- | -------------
7
- [**create**](ContentPackagesApi.md#create) | **POST** /pulp/api/v3/content/python/packages/ | Create a python package content
8
- [**list**](ContentPackagesApi.md#list) | **GET** /pulp/api/v3/content/python/packages/ | List python package contents
9
- [**read**](ContentPackagesApi.md#read) | **GET** {python_python_package_content_href} | Inspect a python package content
10
-
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**create**](ContentPackagesApi.md#create) | **POST** /pulp/api/v3/content/python/packages/ | Create a python package content |
8
+ | [**list**](ContentPackagesApi.md#list) | **GET** /pulp/api/v3/content/python/packages/ | List python package contents |
9
+ | [**read**](ContentPackagesApi.md#read) | **GET** {python_python_package_content_href} | Inspect a python package content |
11
10
 
12
11
 
13
12
  ## create
14
13
 
15
- > AsyncOperationResponse create(relative_path, opts)
14
+ > <AsyncOperationResponse> create(relative_path, opts)
16
15
 
17
16
  Create a python package content
18
17
 
19
18
  Trigger an asynchronous task to create content,optionally create new repository version.
20
19
 
21
- ### Example
20
+ ### Examples
22
21
 
23
22
  ```ruby
24
- # load the gem
23
+ require 'time'
25
24
  require 'pulp_python_client'
26
25
  # setup authorization
27
26
  PulpPythonClient.configure do |config|
@@ -35,10 +34,10 @@ relative_path = 'relative_path_example' # String | Path where the artifact is lo
35
34
  opts = {
36
35
  repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
37
36
  artifact: 'artifact_example', # String | Artifact file representing the physical content
38
- file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the content unit.
37
+ file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
39
38
  upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
40
39
  file_url: 'file_url_example', # String | A url that Pulp can download and turn into the content unit.
41
- sha256: '', # String | The SHA256 digest of this package.
40
+ sha256: 'sha256_example', # String | The SHA256 digest of this package.
42
41
  summary: 'summary_example', # String | A one-line summary of what the package does.
43
42
  description: 'description_example', # String | A longer description of the package that can run to several paragraphs.
44
43
  description_content_type: 'description_content_type_example', # String | A string stating the markup syntax (if any) used in the distribution’s description, so that tools can intelligently render the description.
@@ -52,58 +51,75 @@ opts = {
52
51
  license: 'license_example', # String | Text indicating the license covering the distribution
53
52
  requires_python: 'requires_python_example', # String | The Python version(s) that the distribution is guaranteed to be compatible with.
54
53
  project_url: 'project_url_example', # String | A browsable URL for the project and a label for it, separated by a comma.
55
- project_urls: nil, # Object | A dictionary of labels and URLs for the project.
54
+ project_urls: TODO, # Object | A dictionary of labels and URLs for the project.
56
55
  platform: 'platform_example', # String | A comma-separated list of platform specifications, summarizing the operating systems supported by the package.
57
56
  supported_platform: 'supported_platform_example', # String | Field to specify the OS and CPU for which the binary package was compiled.
58
- requires_dist: nil, # Object | A JSON list containing names of some other distutils project required by this distribution.
59
- provides_dist: nil, # Object | A JSON list containing names of a Distutils project which is contained within this distribution.
60
- obsoletes_dist: nil, # Object | A JSON list containing names of a distutils project's distribution which this distribution renders obsolete, meaning that the two projects should not be installed at the same time.
61
- requires_external: nil, # Object | A JSON list containing some dependency in the system that the distribution is to be used.
62
- classifiers: nil # Object | A JSON list containing classification values for a Python package.
57
+ requires_dist: TODO, # Object | A JSON list containing names of some other distutils project required by this distribution.
58
+ provides_dist: TODO, # Object | A JSON list containing names of a Distutils project which is contained within this distribution.
59
+ obsoletes_dist: TODO, # Object | A JSON list containing names of a distutils project's distribution which this distribution renders obsolete, meaning that the two projects should not be installed at the same time.
60
+ requires_external: TODO, # Object | A JSON list containing some dependency in the system that the distribution is to be used.
61
+ classifiers: TODO # Object | A JSON list containing classification values for a Python package.
63
62
  }
64
63
 
65
64
  begin
66
- #Create a python package content
65
+ # Create a python package content
67
66
  result = api_instance.create(relative_path, opts)
68
67
  p result
69
68
  rescue PulpPythonClient::ApiError => e
70
- puts "Exception when calling ContentPackagesApi->create: #{e}"
69
+ puts "Error when calling ContentPackagesApi->create: #{e}"
71
70
  end
72
71
  ```
73
72
 
74
- ### Parameters
73
+ #### Using the create_with_http_info variant
74
+
75
+ This returns an Array which contains the response data, status code and headers.
76
+
77
+ > <Array(<AsyncOperationResponse>, Integer, Hash)> create_with_http_info(relative_path, opts)
78
+
79
+ ```ruby
80
+ begin
81
+ # Create a python package content
82
+ data, status_code, headers = api_instance.create_with_http_info(relative_path, opts)
83
+ p status_code # => 2xx
84
+ p headers # => { ... }
85
+ p data # => <AsyncOperationResponse>
86
+ rescue PulpPythonClient::ApiError => e
87
+ puts "Error when calling ContentPackagesApi->create_with_http_info: #{e}"
88
+ end
89
+ ```
75
90
 
91
+ ### Parameters
76
92
 
77
- Name | Type | Description | Notes
78
- ------------- | ------------- | ------------- | -------------
79
- **relative_path** | **String**| Path where the artifact is located relative to distributions base_path |
80
- **repository** | **String**| A URI of a repository the new content unit should be associated with. | [optional]
81
- **artifact** | **String**| Artifact file representing the physical content | [optional]
82
- **file** | **File**| An uploaded file that may be turned into the content unit. | [optional]
83
- **upload** | **String**| An uncommitted upload that may be turned into the content unit. | [optional]
84
- **file_url** | **String**| A url that Pulp can download and turn into the content unit. | [optional]
85
- **sha256** | **String**| The SHA256 digest of this package. | [optional] [default to &#39;&#39;]
86
- **summary** | **String**| A one-line summary of what the package does. | [optional]
87
- **description** | **String**| A longer description of the package that can run to several paragraphs. | [optional]
88
- **description_content_type** | **String**| A string stating the markup syntax (if any) used in the distribution’s description, so that tools can intelligently render the description. | [optional]
89
- **keywords** | **String**| Additional keywords to be used to assist searching for the package in a larger catalog. | [optional]
90
- **home_page** | **String**| The URL for the package&#39;s home page. | [optional]
91
- **download_url** | **String**| Legacy field denoting the URL from which this package can be downloaded. | [optional]
92
- **author** | **String**| Text containing the author&#39;s name. Contact information can also be added, separated with newlines. | [optional]
93
- **author_email** | **String**| The author&#39;s e-mail address. | [optional]
94
- **maintainer** | **String**| The maintainer&#39;s name at a minimum; additional contact information may be provided. | [optional]
95
- **maintainer_email** | **String**| The maintainer&#39;s e-mail address. | [optional]
96
- **license** | **String**| Text indicating the license covering the distribution | [optional]
97
- **requires_python** | **String**| The Python version(s) that the distribution is guaranteed to be compatible with. | [optional]
98
- **project_url** | **String**| A browsable URL for the project and a label for it, separated by a comma. | [optional]
99
- **project_urls** | [**Object**](Object.md)| A dictionary of labels and URLs for the project. | [optional]
100
- **platform** | **String**| A comma-separated list of platform specifications, summarizing the operating systems supported by the package. | [optional]
101
- **supported_platform** | **String**| Field to specify the OS and CPU for which the binary package was compiled. | [optional]
102
- **requires_dist** | [**Object**](Object.md)| A JSON list containing names of some other distutils project required by this distribution. | [optional]
103
- **provides_dist** | [**Object**](Object.md)| A JSON list containing names of a Distutils project which is contained within this distribution. | [optional]
104
- **obsoletes_dist** | [**Object**](Object.md)| A JSON list containing names of a distutils project&#39;s distribution which this distribution renders obsolete, meaning that the two projects should not be installed at the same time. | [optional]
105
- **requires_external** | [**Object**](Object.md)| A JSON list containing some dependency in the system that the distribution is to be used. | [optional]
106
- **classifiers** | [**Object**](Object.md)| A JSON list containing classification values for a Python package. | [optional]
93
+ | Name | Type | Description | Notes |
94
+ | ---- | ---- | ----------- | ----- |
95
+ | **relative_path** | **String** | Path where the artifact is located relative to distributions base_path | |
96
+ | **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
97
+ | **artifact** | **String** | Artifact file representing the physical content | [optional] |
98
+ | **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
99
+ | **upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional] |
100
+ | **file_url** | **String** | A url that Pulp can download and turn into the content unit. | [optional] |
101
+ | **sha256** | **String** | The SHA256 digest of this package. | [optional][default to &#39;&#39;] |
102
+ | **summary** | **String** | A one-line summary of what the package does. | [optional] |
103
+ | **description** | **String** | A longer description of the package that can run to several paragraphs. | [optional] |
104
+ | **description_content_type** | **String** | A string stating the markup syntax (if any) used in the distribution’s description, so that tools can intelligently render the description. | [optional] |
105
+ | **keywords** | **String** | Additional keywords to be used to assist searching for the package in a larger catalog. | [optional] |
106
+ | **home_page** | **String** | The URL for the package&#39;s home page. | [optional] |
107
+ | **download_url** | **String** | Legacy field denoting the URL from which this package can be downloaded. | [optional] |
108
+ | **author** | **String** | Text containing the author&#39;s name. Contact information can also be added, separated with newlines. | [optional] |
109
+ | **author_email** | **String** | The author&#39;s e-mail address. | [optional] |
110
+ | **maintainer** | **String** | The maintainer&#39;s name at a minimum; additional contact information may be provided. | [optional] |
111
+ | **maintainer_email** | **String** | The maintainer&#39;s e-mail address. | [optional] |
112
+ | **license** | **String** | Text indicating the license covering the distribution | [optional] |
113
+ | **requires_python** | **String** | The Python version(s) that the distribution is guaranteed to be compatible with. | [optional] |
114
+ | **project_url** | **String** | A browsable URL for the project and a label for it, separated by a comma. | [optional] |
115
+ | **project_urls** | [**Object**](Object.md) | A dictionary of labels and URLs for the project. | [optional] |
116
+ | **platform** | **String** | A comma-separated list of platform specifications, summarizing the operating systems supported by the package. | [optional] |
117
+ | **supported_platform** | **String** | Field to specify the OS and CPU for which the binary package was compiled. | [optional] |
118
+ | **requires_dist** | [**Object**](Object.md) | A JSON list containing names of some other distutils project required by this distribution. | [optional] |
119
+ | **provides_dist** | [**Object**](Object.md) | A JSON list containing names of a Distutils project which is contained within this distribution. | [optional] |
120
+ | **obsoletes_dist** | [**Object**](Object.md) | A JSON list containing names of a distutils project&#39;s distribution which this distribution renders obsolete, meaning that the two projects should not be installed at the same time. | [optional] |
121
+ | **requires_external** | [**Object**](Object.md) | A JSON list containing some dependency in the system that the distribution is to be used. | [optional] |
122
+ | **classifiers** | [**Object**](Object.md) | A JSON list containing classification values for a Python package. | [optional] |
107
123
 
108
124
  ### Return type
109
125
 
@@ -121,16 +137,16 @@ Name | Type | Description | Notes
121
137
 
122
138
  ## list
123
139
 
124
- > PaginatedpythonPythonPackageContentResponseList list(opts)
140
+ > <PaginatedpythonPythonPackageContentResponseList> list(opts)
125
141
 
126
142
  List python package contents
127
143
 
128
144
  PythonPackageContent represents each individually installable Python package. In the Python ecosystem, this is called a Python Distribution, sometimes (ambiguously) refered to as a package. In Pulp Python, we refer to it as PythonPackageContent. Each PythonPackageContent corresponds to a single filename, for example `pulpcore-3.0.0rc1-py3-none-any.whl` or `pulpcore-3.0.0rc1.tar.gz`.
129
145
 
130
- ### Example
146
+ ### Examples
131
147
 
132
148
  ```ruby
133
- # load the gem
149
+ require 'time'
134
150
  require 'pulp_python_client'
135
151
  # setup authorization
136
152
  PulpPythonClient.configure do |config|
@@ -142,89 +158,106 @@ end
142
158
  api_instance = PulpPythonClient::ContentPackagesApi.new
143
159
  opts = {
144
160
  author: 'author_example', # String | Filter results where author matches value
145
- author__in: ['author__in_example'], # Array<String> | Filter results where author is in a comma-separated list of values
161
+ author__in: ['inner_example'], # Array<String> | Filter results where author is in a comma-separated list of values
146
162
  filename: 'filename_example', # String | Filter results where filename matches value
147
163
  filename__contains: 'filename__contains_example', # String | Filter results where filename contains value
148
- filename__in: ['filename__in_example'], # Array<String> | Filter results where filename is in a comma-separated list of values
164
+ filename__in: ['inner_example'], # Array<String> | Filter results where filename is in a comma-separated list of values
149
165
  keywords__contains: 'keywords__contains_example', # String | Filter results where keywords contains value
150
- keywords__in: ['keywords__in_example'], # Array<String> | Filter results where keywords is in a comma-separated list of values
166
+ keywords__in: ['inner_example'], # Array<String> | Filter results where keywords is in a comma-separated list of values
151
167
  limit: 56, # Integer | Number of results to return per page.
152
168
  name: 'name_example', # String | Filter results where name matches value
153
- name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
169
+ name__in: ['inner_example'], # Array<String> | Filter results where name is in a comma-separated list of values
154
170
  offset: 56, # Integer | The initial index from which to return the results.
155
- ordering: ['ordering_example'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `filename` - Filename * `-filename` - Filename (descending) * `packagetype` - Packagetype * `-packagetype` - Packagetype (descending) * `name` - Name * `-name` - Name (descending) * `version` - Version * `-version` - Version (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `python_version` - Python version * `-python_version` - Python version (descending) * `metadata_version` - Metadata version * `-metadata_version` - Metadata version (descending) * `summary` - Summary * `-summary` - Summary (descending) * `description` - Description * `-description` - Description (descending) * `keywords` - Keywords * `-keywords` - Keywords (descending) * `home_page` - Home page * `-home_page` - Home page (descending) * `download_url` - Download url * `-download_url` - Download url (descending) * `author` - Author * `-author` - Author (descending) * `author_email` - Author email * `-author_email` - Author email (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `maintainer_email` - Maintainer email * `-maintainer_email` - Maintainer email (descending) * `license` - License * `-license` - License (descending) * `requires_python` - Requires python * `-requires_python` - Requires python (descending) * `project_url` - Project url * `-project_url` - Project url (descending) * `platform` - Platform * `-platform` - Platform (descending) * `supported_platform` - Supported platform * `-supported_platform` - Supported platform (descending) * `requires_dist` - Requires dist * `-requires_dist` - Requires dist (descending) * `provides_dist` - Provides dist * `-provides_dist` - Provides dist (descending) * `obsoletes_dist` - Obsoletes dist * `-obsoletes_dist` - Obsoletes dist (descending) * `requires_external` - Requires external * `-requires_external` - Requires external (descending) * `classifiers` - Classifiers * `-classifiers` - Classifiers (descending) * `project_urls` - Project urls * `-project_urls` - Project urls (descending) * `description_content_type` - Description content type * `-description_content_type` - Description content type (descending) * `pk` - Pk * `-pk` - Pk (descending)
156
- orphaned_for: 3.4, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
157
- packagetype: 'packagetype_example', # String | Filter results where packagetype matches value * `bdist_dmg` - bdist_dmg * `bdist_dumb` - bdist_dumb * `bdist_egg` - bdist_egg * `bdist_msi` - bdist_msi * `bdist_rpm` - bdist_rpm * `bdist_wheel` - bdist_wheel * `bdist_wininst` - bdist_wininst * `sdist` - sdist
158
- packagetype__in: ['packagetype__in_example'], # Array<String> | Filter results where packagetype is in a comma-separated list of values
159
- prn__in: ['prn__in_example'], # Array<String> | Multiple values may be separated by commas.
160
- pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
161
- pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
171
+ ordering: ['-author'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `filename` - Filename * `-filename` - Filename (descending) * `packagetype` - Packagetype * `-packagetype` - Packagetype (descending) * `name` - Name * `-name` - Name (descending) * `version` - Version * `-version` - Version (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `python_version` - Python version * `-python_version` - Python version (descending) * `metadata_version` - Metadata version * `-metadata_version` - Metadata version (descending) * `summary` - Summary * `-summary` - Summary (descending) * `description` - Description * `-description` - Description (descending) * `keywords` - Keywords * `-keywords` - Keywords (descending) * `home_page` - Home page * `-home_page` - Home page (descending) * `download_url` - Download url * `-download_url` - Download url (descending) * `author` - Author * `-author` - Author (descending) * `author_email` - Author email * `-author_email` - Author email (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `maintainer_email` - Maintainer email * `-maintainer_email` - Maintainer email (descending) * `license` - License * `-license` - License (descending) * `requires_python` - Requires python * `-requires_python` - Requires python (descending) * `project_url` - Project url * `-project_url` - Project url (descending) * `platform` - Platform * `-platform` - Platform (descending) * `supported_platform` - Supported platform * `-supported_platform` - Supported platform (descending) * `requires_dist` - Requires dist * `-requires_dist` - Requires dist (descending) * `provides_dist` - Provides dist * `-provides_dist` - Provides dist (descending) * `obsoletes_dist` - Obsoletes dist * `-obsoletes_dist` - Obsoletes dist (descending) * `requires_external` - Requires external * `-requires_external` - Requires external (descending) * `classifiers` - Classifiers * `-classifiers` - Classifiers (descending) * `project_urls` - Project urls * `-project_urls` - Project urls (descending) * `description_content_type` - Description content type * `-description_content_type` - Description content type (descending) * `pk` - Pk * `-pk` - Pk (descending)
172
+ orphaned_for: 8.14, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
173
+ packagetype: 'bdist_dmg', # String | Filter results where packagetype matches value * `bdist_dmg` - bdist_dmg * `bdist_dumb` - bdist_dumb * `bdist_egg` - bdist_egg * `bdist_msi` - bdist_msi * `bdist_rpm` - bdist_rpm * `bdist_wheel` - bdist_wheel * `bdist_wininst` - bdist_wininst * `sdist` - sdist
174
+ packagetype__in: ['inner_example'], # Array<String> | Filter results where packagetype is in a comma-separated list of values
175
+ prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
176
+ pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
177
+ pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
162
178
  q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
163
179
  repository_version: 'repository_version_example', # String | Repository Version referenced by HREF/PRN
164
180
  repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF/PRN
165
181
  repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF/PRN
166
182
  requires_python: 'requires_python_example', # String | Filter results where requires_python matches value
167
183
  requires_python__contains: 'requires_python__contains_example', # String | Filter results where requires_python contains value
168
- requires_python__in: ['requires_python__in_example'], # Array<String> | Filter results where requires_python is in a comma-separated list of values
184
+ requires_python__in: ['inner_example'], # Array<String> | Filter results where requires_python is in a comma-separated list of values
169
185
  sha256: 'sha256_example', # String | Filter results where sha256 matches value
170
- sha256__in: ['sha256__in_example'], # Array<String> | Filter results where sha256 is in a comma-separated list of values
186
+ sha256__in: ['inner_example'], # Array<String> | Filter results where sha256 is in a comma-separated list of values
171
187
  version: 'version_example', # String | Filter results where version matches value
172
188
  version__gt: 'version__gt_example', # String | Filter results where version is greater than value
173
189
  version__gte: 'version__gte_example', # String | Filter results where version is greater than or equal to value
174
190
  version__lt: 'version__lt_example', # String | Filter results where version is less than value
175
191
  version__lte: 'version__lte_example', # String | Filter results where version is less than or equal to value
176
- fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
177
- exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
192
+ fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
193
+ exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
178
194
  }
179
195
 
180
196
  begin
181
- #List python package contents
197
+ # List python package contents
182
198
  result = api_instance.list(opts)
183
199
  p result
184
200
  rescue PulpPythonClient::ApiError => e
185
- puts "Exception when calling ContentPackagesApi->list: #{e}"
201
+ puts "Error when calling ContentPackagesApi->list: #{e}"
186
202
  end
187
203
  ```
188
204
 
189
- ### Parameters
205
+ #### Using the list_with_http_info variant
190
206
 
207
+ This returns an Array which contains the response data, status code and headers.
191
208
 
192
- Name | Type | Description | Notes
193
- ------------- | ------------- | ------------- | -------------
194
- **author** | **String**| Filter results where author matches value | [optional]
195
- **author__in** | [**Array&lt;String&gt;**](String.md)| Filter results where author is in a comma-separated list of values | [optional]
196
- **filename** | **String**| Filter results where filename matches value | [optional]
197
- **filename__contains** | **String**| Filter results where filename contains value | [optional]
198
- **filename__in** | [**Array&lt;String&gt;**](String.md)| Filter results where filename is in a comma-separated list of values | [optional]
199
- **keywords__contains** | **String**| Filter results where keywords contains value | [optional]
200
- **keywords__in** | [**Array&lt;String&gt;**](String.md)| Filter results where keywords is in a comma-separated list of values | [optional]
201
- **limit** | **Integer**| Number of results to return per page. | [optional]
202
- **name** | **String**| Filter results where name matches value | [optional]
203
- **name__in** | [**Array&lt;String&gt;**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
204
- **offset** | **Integer**| The initial index from which to return the results. | [optional]
205
- **ordering** | [**Array&lt;String&gt;**](String.md)| Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;filename&#x60; - Filename * &#x60;-filename&#x60; - Filename (descending) * &#x60;packagetype&#x60; - Packagetype * &#x60;-packagetype&#x60; - Packagetype (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;version&#x60; - Version * &#x60;-version&#x60; - Version (descending) * &#x60;sha256&#x60; - Sha256 * &#x60;-sha256&#x60; - Sha256 (descending) * &#x60;python_version&#x60; - Python version * &#x60;-python_version&#x60; - Python version (descending) * &#x60;metadata_version&#x60; - Metadata version * &#x60;-metadata_version&#x60; - Metadata version (descending) * &#x60;summary&#x60; - Summary * &#x60;-summary&#x60; - Summary (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;keywords&#x60; - Keywords * &#x60;-keywords&#x60; - Keywords (descending) * &#x60;home_page&#x60; - Home page * &#x60;-home_page&#x60; - Home page (descending) * &#x60;download_url&#x60; - Download url * &#x60;-download_url&#x60; - Download url (descending) * &#x60;author&#x60; - Author * &#x60;-author&#x60; - Author (descending) * &#x60;author_email&#x60; - Author email * &#x60;-author_email&#x60; - Author email (descending) * &#x60;maintainer&#x60; - Maintainer * &#x60;-maintainer&#x60; - Maintainer (descending) * &#x60;maintainer_email&#x60; - Maintainer email * &#x60;-maintainer_email&#x60; - Maintainer email (descending) * &#x60;license&#x60; - License * &#x60;-license&#x60; - License (descending) * &#x60;requires_python&#x60; - Requires python * &#x60;-requires_python&#x60; - Requires python (descending) * &#x60;project_url&#x60; - Project url * &#x60;-project_url&#x60; - Project url (descending) * &#x60;platform&#x60; - Platform * &#x60;-platform&#x60; - Platform (descending) * &#x60;supported_platform&#x60; - Supported platform * &#x60;-supported_platform&#x60; - Supported platform (descending) * &#x60;requires_dist&#x60; - Requires dist * &#x60;-requires_dist&#x60; - Requires dist (descending) * &#x60;provides_dist&#x60; - Provides dist * &#x60;-provides_dist&#x60; - Provides dist (descending) * &#x60;obsoletes_dist&#x60; - Obsoletes dist * &#x60;-obsoletes_dist&#x60; - Obsoletes dist (descending) * &#x60;requires_external&#x60; - Requires external * &#x60;-requires_external&#x60; - Requires external (descending) * &#x60;classifiers&#x60; - Classifiers * &#x60;-classifiers&#x60; - Classifiers (descending) * &#x60;project_urls&#x60; - Project urls * &#x60;-project_urls&#x60; - Project urls (descending) * &#x60;description_content_type&#x60; - Description content type * &#x60;-description_content_type&#x60; - Description content type (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional]
206
- **orphaned_for** | **Float**| Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional]
207
- **packagetype** | **String**| Filter results where packagetype matches value * &#x60;bdist_dmg&#x60; - bdist_dmg * &#x60;bdist_dumb&#x60; - bdist_dumb * &#x60;bdist_egg&#x60; - bdist_egg * &#x60;bdist_msi&#x60; - bdist_msi * &#x60;bdist_rpm&#x60; - bdist_rpm * &#x60;bdist_wheel&#x60; - bdist_wheel * &#x60;bdist_wininst&#x60; - bdist_wininst * &#x60;sdist&#x60; - sdist | [optional]
208
- **packagetype__in** | [**Array&lt;String&gt;**](String.md)| Filter results where packagetype is in a comma-separated list of values | [optional]
209
- **prn__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
210
- **pulp_href__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
211
- **pulp_id__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
212
- **q** | **String**| Filter results by using NOT, AND and OR operations on other filters | [optional]
213
- **repository_version** | **String**| Repository Version referenced by HREF/PRN | [optional]
214
- **repository_version_added** | **String**| Repository Version referenced by HREF/PRN | [optional]
215
- **repository_version_removed** | **String**| Repository Version referenced by HREF/PRN | [optional]
216
- **requires_python** | **String**| Filter results where requires_python matches value | [optional]
217
- **requires_python__contains** | **String**| Filter results where requires_python contains value | [optional]
218
- **requires_python__in** | [**Array&lt;String&gt;**](String.md)| Filter results where requires_python is in a comma-separated list of values | [optional]
219
- **sha256** | **String**| Filter results where sha256 matches value | [optional]
220
- **sha256__in** | [**Array&lt;String&gt;**](String.md)| Filter results where sha256 is in a comma-separated list of values | [optional]
221
- **version** | **String**| Filter results where version matches value | [optional]
222
- **version__gt** | **String**| Filter results where version is greater than value | [optional]
223
- **version__gte** | **String**| Filter results where version is greater than or equal to value | [optional]
224
- **version__lt** | **String**| Filter results where version is less than value | [optional]
225
- **version__lte** | **String**| Filter results where version is less than or equal to value | [optional]
226
- **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
227
- **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
209
+ > <Array(<PaginatedpythonPythonPackageContentResponseList>, Integer, Hash)> list_with_http_info(opts)
210
+
211
+ ```ruby
212
+ begin
213
+ # List python package contents
214
+ data, status_code, headers = api_instance.list_with_http_info(opts)
215
+ p status_code # => 2xx
216
+ p headers # => { ... }
217
+ p data # => <PaginatedpythonPythonPackageContentResponseList>
218
+ rescue PulpPythonClient::ApiError => e
219
+ puts "Error when calling ContentPackagesApi->list_with_http_info: #{e}"
220
+ end
221
+ ```
222
+
223
+ ### Parameters
224
+
225
+ | Name | Type | Description | Notes |
226
+ | ---- | ---- | ----------- | ----- |
227
+ | **author** | **String** | Filter results where author matches value | [optional] |
228
+ | **author__in** | [**Array&lt;String&gt;**](String.md) | Filter results where author is in a comma-separated list of values | [optional] |
229
+ | **filename** | **String** | Filter results where filename matches value | [optional] |
230
+ | **filename__contains** | **String** | Filter results where filename contains value | [optional] |
231
+ | **filename__in** | [**Array&lt;String&gt;**](String.md) | Filter results where filename is in a comma-separated list of values | [optional] |
232
+ | **keywords__contains** | **String** | Filter results where keywords contains value | [optional] |
233
+ | **keywords__in** | [**Array&lt;String&gt;**](String.md) | Filter results where keywords is in a comma-separated list of values | [optional] |
234
+ | **limit** | **Integer** | Number of results to return per page. | [optional] |
235
+ | **name** | **String** | Filter results where name matches value | [optional] |
236
+ | **name__in** | [**Array&lt;String&gt;**](String.md) | Filter results where name is in a comma-separated list of values | [optional] |
237
+ | **offset** | **Integer** | The initial index from which to return the results. | [optional] |
238
+ | **ordering** | [**Array&lt;String&gt;**](String.md) | Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;filename&#x60; - Filename * &#x60;-filename&#x60; - Filename (descending) * &#x60;packagetype&#x60; - Packagetype * &#x60;-packagetype&#x60; - Packagetype (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;version&#x60; - Version * &#x60;-version&#x60; - Version (descending) * &#x60;sha256&#x60; - Sha256 * &#x60;-sha256&#x60; - Sha256 (descending) * &#x60;python_version&#x60; - Python version * &#x60;-python_version&#x60; - Python version (descending) * &#x60;metadata_version&#x60; - Metadata version * &#x60;-metadata_version&#x60; - Metadata version (descending) * &#x60;summary&#x60; - Summary * &#x60;-summary&#x60; - Summary (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;keywords&#x60; - Keywords * &#x60;-keywords&#x60; - Keywords (descending) * &#x60;home_page&#x60; - Home page * &#x60;-home_page&#x60; - Home page (descending) * &#x60;download_url&#x60; - Download url * &#x60;-download_url&#x60; - Download url (descending) * &#x60;author&#x60; - Author * &#x60;-author&#x60; - Author (descending) * &#x60;author_email&#x60; - Author email * &#x60;-author_email&#x60; - Author email (descending) * &#x60;maintainer&#x60; - Maintainer * &#x60;-maintainer&#x60; - Maintainer (descending) * &#x60;maintainer_email&#x60; - Maintainer email * &#x60;-maintainer_email&#x60; - Maintainer email (descending) * &#x60;license&#x60; - License * &#x60;-license&#x60; - License (descending) * &#x60;requires_python&#x60; - Requires python * &#x60;-requires_python&#x60; - Requires python (descending) * &#x60;project_url&#x60; - Project url * &#x60;-project_url&#x60; - Project url (descending) * &#x60;platform&#x60; - Platform * &#x60;-platform&#x60; - Platform (descending) * &#x60;supported_platform&#x60; - Supported platform * &#x60;-supported_platform&#x60; - Supported platform (descending) * &#x60;requires_dist&#x60; - Requires dist * &#x60;-requires_dist&#x60; - Requires dist (descending) * &#x60;provides_dist&#x60; - Provides dist * &#x60;-provides_dist&#x60; - Provides dist (descending) * &#x60;obsoletes_dist&#x60; - Obsoletes dist * &#x60;-obsoletes_dist&#x60; - Obsoletes dist (descending) * &#x60;requires_external&#x60; - Requires external * &#x60;-requires_external&#x60; - Requires external (descending) * &#x60;classifiers&#x60; - Classifiers * &#x60;-classifiers&#x60; - Classifiers (descending) * &#x60;project_urls&#x60; - Project urls * &#x60;-project_urls&#x60; - Project urls (descending) * &#x60;description_content_type&#x60; - Description content type * &#x60;-description_content_type&#x60; - Description content type (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional] |
239
+ | **orphaned_for** | **Float** | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional] |
240
+ | **packagetype** | **String** | Filter results where packagetype matches value * &#x60;bdist_dmg&#x60; - bdist_dmg * &#x60;bdist_dumb&#x60; - bdist_dumb * &#x60;bdist_egg&#x60; - bdist_egg * &#x60;bdist_msi&#x60; - bdist_msi * &#x60;bdist_rpm&#x60; - bdist_rpm * &#x60;bdist_wheel&#x60; - bdist_wheel * &#x60;bdist_wininst&#x60; - bdist_wininst * &#x60;sdist&#x60; - sdist | [optional] |
241
+ | **packagetype__in** | [**Array&lt;String&gt;**](String.md) | Filter results where packagetype is in a comma-separated list of values | [optional] |
242
+ | **prn__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
243
+ | **pulp_href__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
244
+ | **pulp_id__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
245
+ | **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
246
+ | **repository_version** | **String** | Repository Version referenced by HREF/PRN | [optional] |
247
+ | **repository_version_added** | **String** | Repository Version referenced by HREF/PRN | [optional] |
248
+ | **repository_version_removed** | **String** | Repository Version referenced by HREF/PRN | [optional] |
249
+ | **requires_python** | **String** | Filter results where requires_python matches value | [optional] |
250
+ | **requires_python__contains** | **String** | Filter results where requires_python contains value | [optional] |
251
+ | **requires_python__in** | [**Array&lt;String&gt;**](String.md) | Filter results where requires_python is in a comma-separated list of values | [optional] |
252
+ | **sha256** | **String** | Filter results where sha256 matches value | [optional] |
253
+ | **sha256__in** | [**Array&lt;String&gt;**](String.md) | Filter results where sha256 is in a comma-separated list of values | [optional] |
254
+ | **version** | **String** | Filter results where version matches value | [optional] |
255
+ | **version__gt** | **String** | Filter results where version is greater than value | [optional] |
256
+ | **version__gte** | **String** | Filter results where version is greater than or equal to value | [optional] |
257
+ | **version__lt** | **String** | Filter results where version is less than value | [optional] |
258
+ | **version__lte** | **String** | Filter results where version is less than or equal to value | [optional] |
259
+ | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
260
+ | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
228
261
 
229
262
  ### Return type
230
263
 
@@ -242,16 +275,16 @@ Name | Type | Description | Notes
242
275
 
243
276
  ## read
244
277
 
245
- > PythonPythonPackageContentResponse read(python_python_package_content_href, opts)
278
+ > <PythonPythonPackageContentResponse> read(python_python_package_content_href, opts)
246
279
 
247
280
  Inspect a python package content
248
281
 
249
282
  PythonPackageContent represents each individually installable Python package. In the Python ecosystem, this is called a Python Distribution, sometimes (ambiguously) refered to as a package. In Pulp Python, we refer to it as PythonPackageContent. Each PythonPackageContent corresponds to a single filename, for example `pulpcore-3.0.0rc1-py3-none-any.whl` or `pulpcore-3.0.0rc1.tar.gz`.
250
283
 
251
- ### Example
284
+ ### Examples
252
285
 
253
286
  ```ruby
254
- # load the gem
287
+ require 'time'
255
288
  require 'pulp_python_client'
256
289
  # setup authorization
257
290
  PulpPythonClient.configure do |config|
@@ -263,27 +296,44 @@ end
263
296
  api_instance = PulpPythonClient::ContentPackagesApi.new
264
297
  python_python_package_content_href = 'python_python_package_content_href_example' # String |
265
298
  opts = {
266
- fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
267
- exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
299
+ fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
300
+ exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
268
301
  }
269
302
 
270
303
  begin
271
- #Inspect a python package content
304
+ # Inspect a python package content
272
305
  result = api_instance.read(python_python_package_content_href, opts)
273
306
  p result
274
307
  rescue PulpPythonClient::ApiError => e
275
- puts "Exception when calling ContentPackagesApi->read: #{e}"
308
+ puts "Error when calling ContentPackagesApi->read: #{e}"
276
309
  end
277
310
  ```
278
311
 
279
- ### Parameters
312
+ #### Using the read_with_http_info variant
313
+
314
+ This returns an Array which contains the response data, status code and headers.
315
+
316
+ > <Array(<PythonPythonPackageContentResponse>, Integer, Hash)> read_with_http_info(python_python_package_content_href, opts)
280
317
 
318
+ ```ruby
319
+ begin
320
+ # Inspect a python package content
321
+ data, status_code, headers = api_instance.read_with_http_info(python_python_package_content_href, opts)
322
+ p status_code # => 2xx
323
+ p headers # => { ... }
324
+ p data # => <PythonPythonPackageContentResponse>
325
+ rescue PulpPythonClient::ApiError => e
326
+ puts "Error when calling ContentPackagesApi->read_with_http_info: #{e}"
327
+ end
328
+ ```
329
+
330
+ ### Parameters
281
331
 
282
- Name | Type | Description | Notes
283
- ------------- | ------------- | ------------- | -------------
284
- **python_python_package_content_href** | **String**| |
285
- **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
286
- **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
332
+ | Name | Type | Description | Notes |
333
+ | ---- | ---- | ----------- | ----- |
334
+ | **python_python_package_content_href** | **String** | | |
335
+ | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
336
+ | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
287
337
 
288
338
  ### Return type
289
339