pulp_python_client 3.26.1 → 3.27.1

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 (28) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/docs/PatchedpythonPythonDistribution.md +2 -2
  4. data/docs/PatchedpythonPythonRepository.md +3 -1
  5. data/docs/PublicationsPypiApi.md +3 -3
  6. data/docs/PythonPythonDistribution.md +2 -2
  7. data/docs/PythonPythonDistributionResponse.md +4 -2
  8. data/docs/PythonPythonRepository.md +3 -1
  9. data/docs/PythonPythonRepositoryResponse.md +3 -1
  10. data/docs/RepositoriesPythonApi.md +18 -2
  11. data/lib/pulp_python_client/api/publications_pypi_api.rb +6 -6
  12. data/lib/pulp_python_client/api/repositories_python_api.rb +27 -3
  13. data/lib/pulp_python_client/models/patchedpython_python_distribution.rb +12 -12
  14. data/lib/pulp_python_client/models/patchedpython_python_repository.rb +28 -2
  15. data/lib/pulp_python_client/models/python_python_distribution.rb +12 -12
  16. data/lib/pulp_python_client/models/python_python_distribution_response.rb +22 -12
  17. data/lib/pulp_python_client/models/python_python_repository.rb +28 -2
  18. data/lib/pulp_python_client/models/python_python_repository_response.rb +28 -2
  19. data/lib/pulp_python_client/version.rb +1 -1
  20. data/spec/api/publications_pypi_api_spec.rb +3 -3
  21. data/spec/api/repositories_python_api_spec.rb +9 -1
  22. data/spec/models/patchedpython_python_distribution_spec.rb +2 -2
  23. data/spec/models/patchedpython_python_repository_spec.rb +6 -0
  24. data/spec/models/python_python_distribution_response_spec.rb +8 -2
  25. data/spec/models/python_python_distribution_spec.rb +2 -2
  26. data/spec/models/python_python_repository_response_spec.rb +6 -0
  27. data/spec/models/python_python_repository_spec.rb +6 -0
  28. metadata +44 -44
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fa87c01411ec5abfa48b6f5335a0ddaf21e013629ed8422f7184d70ce7bdd2ea
4
- data.tar.gz: 294a66def195f27899d8a8cffea8ed369ed8e47afcf32b334995d36b84bdcacb
3
+ metadata.gz: 3d19e4616025dcfc364f8d2ba3067a4f36f997c1f619133e738fa8f265fe1399
4
+ data.tar.gz: 1726af45abf162feea812208bea8490f57ec079e4160b0f4797e2612984b5477
5
5
  SHA512:
6
- metadata.gz: fed78601fb897624f76858376d1da77dc8e89c12df3c00b0edea5c830f2a6e716633a83d317ca8bee79a1fd0b9b8b443c726d0784f9bbc23b54eaa3eb889c1e0
7
- data.tar.gz: 2156c58ff99d5897978831864dbe168849f4318ffc40a6b5e41ec315ad732c9ae43440bcbe1f640b6589e1d1e893842466ee1339284d1a0231d1aa82d54b211c
6
+ metadata.gz: fe9e313efef0bf96fc0f7182db5e37a5b094638539a6faabd51fef63b1bd7a5cb27b16b914a7ac466085e360370fb7a258284c870a1730b8f898cecdefa5a9d1
7
+ data.tar.gz: 1753a65fb3c9b5cf434f4c14b41a1b23ca27e94e51c6e72e9988803493e4b739e2a5c8f1e7a8c22dd3415d77adeb874d694ad0cee64339f55b3dd6ab8bc9ac03
data/README.md CHANGED
@@ -7,7 +7,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
7
7
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
8
 
9
9
  - API version: v3
10
- - Package version: 3.26.1
10
+ - Package version: 3.27.1
11
11
  - Generator version: 7.10.0
12
12
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
13
13
  For more information, please visit [https://pulpproject.org](https://pulpproject.org)
@@ -25,16 +25,16 @@ gem build pulp_python_client.gemspec
25
25
  Then either install the gem locally:
26
26
 
27
27
  ```shell
28
- gem install ./pulp_python_client-3.26.1.gem
28
+ gem install ./pulp_python_client-3.27.1.gem
29
29
  ```
30
30
 
31
- (for development, run `gem install --dev ./pulp_python_client-3.26.1.gem` to install the development dependencies)
31
+ (for development, run `gem install --dev ./pulp_python_client-3.27.1.gem` to install the development dependencies)
32
32
 
33
33
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
34
34
 
35
35
  Finally add this to the Gemfile:
36
36
 
37
- gem 'pulp_python_client', '~> 3.26.1'
37
+ gem 'pulp_python_client', '~> 3.27.1'
38
38
 
39
39
  ### Install from Git
40
40
 
@@ -10,8 +10,8 @@
10
10
  | **pulp_labels** | **Hash<String, String>** | | [optional] |
11
11
  | **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional] |
12
12
  | **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
13
- | **publication** | **String** | Publication to be served | [optional] |
14
13
  | **repository_version** | **String** | RepositoryVersion to be served. | [optional] |
14
+ | **publication** | **String** | Publication to be served. [Deprecated] | [optional] |
15
15
  | **allow_uploads** | **Boolean** | Allow packages to be uploaded to this index. | [optional][default to true] |
16
16
  | **remote** | **String** | Remote that can be used to fetch content when using pull-through caching. | [optional] |
17
17
 
@@ -27,8 +27,8 @@ instance = PulpPythonClient::PatchedpythonPythonDistribution.new(
27
27
  pulp_labels: null,
28
28
  name: null,
29
29
  repository: null,
30
- publication: null,
31
30
  repository_version: null,
31
+ publication: null,
32
32
  allow_uploads: null,
33
33
  remote: null
34
34
  )
@@ -8,8 +8,9 @@
8
8
  | **name** | **String** | A unique name for this repository. | [optional] |
9
9
  | **description** | **String** | An optional description. | [optional] |
10
10
  | **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional] |
11
+ | **retain_checkpoints** | **Integer** | Retain X checkpoint publications for the repository. Default is null which retains all checkpoints. | [optional] |
11
12
  | **remote** | **String** | An optional remote to use by default when syncing. | [optional] |
12
- | **autopublish** | **Boolean** | Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository. | [optional][default to false] |
13
+ | **autopublish** | **Boolean** | Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository. [Deprecated] | [optional][default to false] |
13
14
 
14
15
  ## Example
15
16
 
@@ -21,6 +22,7 @@ instance = PulpPythonClient::PatchedpythonPythonRepository.new(
21
22
  name: null,
22
23
  description: null,
23
24
  retain_repo_versions: null,
25
+ retain_checkpoints: null,
24
26
  remote: null,
25
27
  autopublish: null
26
28
  )
@@ -170,7 +170,7 @@ end
170
170
 
171
171
  Delete a python publication
172
172
 
173
- Python Publications refer to the Python Package content in a repository version, and include metadata about that content.
173
+ Python Publications refer to the Python Package content in a repository version, and include metadata about that content. [Deprecated] See https://pulpproject.org/pulp_python/docs/user/guides/host/#migrating-off-publications for more information. Use a repository or repository-version to serve content instead.
174
174
 
175
175
  ### Examples
176
176
 
@@ -243,7 +243,7 @@ nil (empty response body)
243
243
 
244
244
  List python publications
245
245
 
246
- Python Publications refer to the Python Package content in a repository version, and include metadata about that content.
246
+ Python Publications refer to the Python Package content in a repository version, and include metadata about that content. [Deprecated] See https://pulpproject.org/pulp_python/docs/user/guides/host/#migrating-off-publications for more information. Use a repository or repository-version to serve content instead.
247
247
 
248
248
  ### Examples
249
249
 
@@ -513,7 +513,7 @@ end
513
513
 
514
514
  Inspect a python publication
515
515
 
516
- Python Publications refer to the Python Package content in a repository version, and include metadata about that content.
516
+ Python Publications refer to the Python Package content in a repository version, and include metadata about that content. [Deprecated] See https://pulpproject.org/pulp_python/docs/user/guides/host/#migrating-off-publications for more information. Use a repository or repository-version to serve content instead.
517
517
 
518
518
  ### Examples
519
519
 
@@ -10,8 +10,8 @@
10
10
  | **pulp_labels** | **Hash<String, String>** | | [optional] |
11
11
  | **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | |
12
12
  | **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
13
- | **publication** | **String** | Publication to be served | [optional] |
14
13
  | **repository_version** | **String** | RepositoryVersion to be served. | [optional] |
14
+ | **publication** | **String** | Publication to be served. [Deprecated] | [optional] |
15
15
  | **allow_uploads** | **Boolean** | Allow packages to be uploaded to this index. | [optional][default to true] |
16
16
  | **remote** | **String** | Remote that can be used to fetch content when using pull-through caching. | [optional] |
17
17
 
@@ -27,8 +27,8 @@ instance = PulpPythonClient::PythonPythonDistribution.new(
27
27
  pulp_labels: null,
28
28
  name: null,
29
29
  repository: null,
30
- publication: null,
31
30
  repository_version: null,
31
+ publication: null,
32
32
  allow_uploads: null,
33
33
  remote: null
34
34
  )
@@ -11,13 +11,14 @@
11
11
  | **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | |
12
12
  | **base_url** | **String** | | [optional][readonly] |
13
13
  | **content_guard** | **String** | An optional content-guard. | [optional] |
14
+ | **content_guard_prn** | **String** | The Pulp Resource Name (PRN) of the associated optional content guard. | [optional][readonly] |
14
15
  | **no_content_change_since** | **String** | Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes. | [optional][readonly] |
15
16
  | **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
16
17
  | **pulp_labels** | **Hash<String, String>** | | [optional] |
17
18
  | **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | |
18
19
  | **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
19
- | **publication** | **String** | Publication to be served | [optional] |
20
20
  | **repository_version** | **String** | RepositoryVersion to be served. | [optional] |
21
+ | **publication** | **String** | Publication to be served. [Deprecated] | [optional] |
21
22
  | **allow_uploads** | **Boolean** | Allow packages to be uploaded to this index. | [optional][default to true] |
22
23
  | **remote** | **String** | Remote that can be used to fetch content when using pull-through caching. | [optional] |
23
24
 
@@ -34,13 +35,14 @@ instance = PulpPythonClient::PythonPythonDistributionResponse.new(
34
35
  base_path: null,
35
36
  base_url: null,
36
37
  content_guard: null,
38
+ content_guard_prn: null,
37
39
  no_content_change_since: null,
38
40
  hidden: null,
39
41
  pulp_labels: null,
40
42
  name: null,
41
43
  repository: null,
42
- publication: null,
43
44
  repository_version: null,
45
+ publication: null,
44
46
  allow_uploads: null,
45
47
  remote: null
46
48
  )
@@ -8,8 +8,9 @@
8
8
  | **name** | **String** | A unique name for this repository. | |
9
9
  | **description** | **String** | An optional description. | [optional] |
10
10
  | **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional] |
11
+ | **retain_checkpoints** | **Integer** | Retain X checkpoint publications for the repository. Default is null which retains all checkpoints. | [optional] |
11
12
  | **remote** | **String** | An optional remote to use by default when syncing. | [optional] |
12
- | **autopublish** | **Boolean** | Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository. | [optional][default to false] |
13
+ | **autopublish** | **Boolean** | Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository. [Deprecated] | [optional][default to false] |
13
14
 
14
15
  ## Example
15
16
 
@@ -21,6 +22,7 @@ instance = PulpPythonClient::PythonPythonRepository.new(
21
22
  name: null,
22
23
  description: null,
23
24
  retain_repo_versions: null,
25
+ retain_checkpoints: null,
24
26
  remote: null,
25
27
  autopublish: null
26
28
  )
@@ -14,8 +14,9 @@
14
14
  | **name** | **String** | A unique name for this repository. | |
15
15
  | **description** | **String** | An optional description. | [optional] |
16
16
  | **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional] |
17
+ | **retain_checkpoints** | **Integer** | Retain X checkpoint publications for the repository. Default is null which retains all checkpoints. | [optional] |
17
18
  | **remote** | **String** | An optional remote to use by default when syncing. | [optional] |
18
- | **autopublish** | **Boolean** | Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository. | [optional][default to false] |
19
+ | **autopublish** | **Boolean** | Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository. [Deprecated] | [optional][default to false] |
19
20
 
20
21
  ## Example
21
22
 
@@ -33,6 +34,7 @@ instance = PulpPythonClient::PythonPythonRepositoryResponse.new(
33
34
  name: null,
34
35
  description: null,
35
36
  retain_repo_versions: null,
37
+ retain_checkpoints: null,
36
38
  remote: null,
37
39
  autopublish: null
38
40
  )
@@ -280,13 +280,21 @@ opts = {
280
280
  name__regex: 'name__regex_example', # String | Filter results where name matches regex value
281
281
  name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
282
282
  offset: 56, # Integer | The initial index from which to return the results.
283
- ordering: ['-description'], # 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) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
283
+ ordering: ['-description'], # 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) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `retain_checkpoints` - Retain checkpoints * `-retain_checkpoints` - Retain checkpoints (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
284
284
  prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
285
285
  pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
286
286
  pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
287
287
  pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
288
288
  q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
289
289
  remote: 'remote_example', # String |
290
+ retain_checkpoints: 56, # Integer | Filter results where retain_checkpoints matches value
291
+ retain_checkpoints__gt: 56, # Integer | Filter results where retain_checkpoints is greater than value
292
+ retain_checkpoints__gte: 56, # Integer | Filter results where retain_checkpoints is greater than or equal to value
293
+ retain_checkpoints__isnull: true, # Boolean | Filter results where retain_checkpoints has a null value
294
+ retain_checkpoints__lt: 56, # Integer | Filter results where retain_checkpoints is less than value
295
+ retain_checkpoints__lte: 56, # Integer | Filter results where retain_checkpoints is less than or equal to value
296
+ retain_checkpoints__ne: 56, # Integer | Filter results where retain_checkpoints not equal to value
297
+ retain_checkpoints__range: [37], # Array<Integer> | Filter results where retain_checkpoints is between two comma separated values
290
298
  retain_repo_versions: 56, # Integer | Filter results where retain_repo_versions matches value
291
299
  retain_repo_versions__gt: 56, # Integer | Filter results where retain_repo_versions is greater than value
292
300
  retain_repo_versions__gte: 56, # Integer | Filter results where retain_repo_versions is greater than or equal to value
@@ -344,13 +352,21 @@ end
344
352
  | **name__regex** | **String** | Filter results where name matches regex value | [optional] |
345
353
  | **name__startswith** | **String** | Filter results where name starts with value | [optional] |
346
354
  | **offset** | **Integer** | The initial index from which to return the results. | [optional] |
347
- | **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;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;next_version&#x60; - Next version * &#x60;-next_version&#x60; - Next version (descending) * &#x60;retain_repo_versions&#x60; - Retain repo versions * &#x60;-retain_repo_versions&#x60; - Retain repo versions (descending) * &#x60;user_hidden&#x60; - User hidden * &#x60;-user_hidden&#x60; - User hidden (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional] |
355
+ | **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;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;next_version&#x60; - Next version * &#x60;-next_version&#x60; - Next version (descending) * &#x60;retain_repo_versions&#x60; - Retain repo versions * &#x60;-retain_repo_versions&#x60; - Retain repo versions (descending) * &#x60;retain_checkpoints&#x60; - Retain checkpoints * &#x60;-retain_checkpoints&#x60; - Retain checkpoints (descending) * &#x60;user_hidden&#x60; - User hidden * &#x60;-user_hidden&#x60; - User hidden (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional] |
348
356
  | **prn__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
349
357
  | **pulp_href__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
350
358
  | **pulp_id__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
351
359
  | **pulp_label_select** | **String** | Filter labels by search string | [optional] |
352
360
  | **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
353
361
  | **remote** | **String** | | [optional] |
362
+ | **retain_checkpoints** | **Integer** | Filter results where retain_checkpoints matches value | [optional] |
363
+ | **retain_checkpoints__gt** | **Integer** | Filter results where retain_checkpoints is greater than value | [optional] |
364
+ | **retain_checkpoints__gte** | **Integer** | Filter results where retain_checkpoints is greater than or equal to value | [optional] |
365
+ | **retain_checkpoints__isnull** | **Boolean** | Filter results where retain_checkpoints has a null value | [optional] |
366
+ | **retain_checkpoints__lt** | **Integer** | Filter results where retain_checkpoints is less than value | [optional] |
367
+ | **retain_checkpoints__lte** | **Integer** | Filter results where retain_checkpoints is less than or equal to value | [optional] |
368
+ | **retain_checkpoints__ne** | **Integer** | Filter results where retain_checkpoints not equal to value | [optional] |
369
+ | **retain_checkpoints__range** | [**Array&lt;Integer&gt;**](Integer.md) | Filter results where retain_checkpoints is between two comma separated values | [optional] |
354
370
  | **retain_repo_versions** | **Integer** | Filter results where retain_repo_versions matches value | [optional] |
355
371
  | **retain_repo_versions__gt** | **Integer** | Filter results where retain_repo_versions is greater than value | [optional] |
356
372
  | **retain_repo_versions__gte** | **Integer** | Filter results where retain_repo_versions is greater than or equal to value | [optional] |
@@ -168,7 +168,7 @@ module PulpPythonClient
168
168
  end
169
169
 
170
170
  # Delete a python publication
171
- # Python Publications refer to the Python Package content in a repository version, and include metadata about that content.
171
+ # Python Publications refer to the Python Package content in a repository version, and include metadata about that content. [Deprecated] See https://pulpproject.org/pulp_python/docs/user/guides/host/#migrating-off-publications for more information. Use a repository or repository-version to serve content instead.
172
172
  # @param python_python_publication_href [String]
173
173
  # @param [Hash] opts the optional parameters
174
174
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
@@ -179,7 +179,7 @@ module PulpPythonClient
179
179
  end
180
180
 
181
181
  # Delete a python publication
182
- # Python Publications refer to the Python Package content in a repository version, and include metadata about that content.
182
+ # Python Publications refer to the Python Package content in a repository version, and include metadata about that content. [Deprecated] See https://pulpproject.org/pulp_python/docs/user/guides/host/#migrating-off-publications for more information. Use a repository or repository-version to serve content instead.
183
183
  # @param python_python_publication_href [String]
184
184
  # @param [Hash] opts the optional parameters
185
185
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
@@ -232,7 +232,7 @@ module PulpPythonClient
232
232
  end
233
233
 
234
234
  # List python publications
235
- # Python Publications refer to the Python Package content in a repository version, and include metadata about that content.
235
+ # Python Publications refer to the Python Package content in a repository version, and include metadata about that content. [Deprecated] See https://pulpproject.org/pulp_python/docs/user/guides/host/#migrating-off-publications for more information. Use a repository or repository-version to serve content instead.
236
236
  # @param [Hash] opts the optional parameters
237
237
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
238
238
  # @option opts [Boolean] :checkpoint Filter results where checkpoint matches value
@@ -263,7 +263,7 @@ module PulpPythonClient
263
263
  end
264
264
 
265
265
  # List python publications
266
- # Python Publications refer to the Python Package content in a repository version, and include metadata about that content.
266
+ # Python Publications refer to the Python Package content in a repository version, and include metadata about that content. [Deprecated] See https://pulpproject.org/pulp_python/docs/user/guides/host/#migrating-off-publications for more information. Use a repository or repository-version to serve content instead.
267
267
  # @param [Hash] opts the optional parameters
268
268
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
269
269
  # @option opts [Boolean] :checkpoint Filter results where checkpoint matches value
@@ -503,7 +503,7 @@ module PulpPythonClient
503
503
  end
504
504
 
505
505
  # Inspect a python publication
506
- # Python Publications refer to the Python Package content in a repository version, and include metadata about that content.
506
+ # Python Publications refer to the Python Package content in a repository version, and include metadata about that content. [Deprecated] See https://pulpproject.org/pulp_python/docs/user/guides/host/#migrating-off-publications for more information. Use a repository or repository-version to serve content instead.
507
507
  # @param python_python_publication_href [String]
508
508
  # @param [Hash] opts the optional parameters
509
509
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
@@ -516,7 +516,7 @@ module PulpPythonClient
516
516
  end
517
517
 
518
518
  # Inspect a python publication
519
- # Python Publications refer to the Python Package content in a repository version, and include metadata about that content.
519
+ # Python Publications refer to the Python Package content in a repository version, and include metadata about that content. [Deprecated] See https://pulpproject.org/pulp_python/docs/user/guides/host/#migrating-off-publications for more information. Use a repository or repository-version to serve content instead.
520
520
  # @param python_python_publication_href [String]
521
521
  # @param [Hash] opts the optional parameters
522
522
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
@@ -249,13 +249,21 @@ module PulpPythonClient
249
249
  # @option opts [String] :name__regex Filter results where name matches regex value
250
250
  # @option opts [String] :name__startswith Filter results where name starts with value
251
251
  # @option opts [Integer] :offset The initial index from which to return the results.
252
- # @option opts [Array<String>] :ordering 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;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;next_version&#x60; - Next version * &#x60;-next_version&#x60; - Next version (descending) * &#x60;retain_repo_versions&#x60; - Retain repo versions * &#x60;-retain_repo_versions&#x60; - Retain repo versions (descending) * &#x60;user_hidden&#x60; - User hidden * &#x60;-user_hidden&#x60; - User hidden (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
252
+ # @option opts [Array<String>] :ordering 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;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;next_version&#x60; - Next version * &#x60;-next_version&#x60; - Next version (descending) * &#x60;retain_repo_versions&#x60; - Retain repo versions * &#x60;-retain_repo_versions&#x60; - Retain repo versions (descending) * &#x60;retain_checkpoints&#x60; - Retain checkpoints * &#x60;-retain_checkpoints&#x60; - Retain checkpoints (descending) * &#x60;user_hidden&#x60; - User hidden * &#x60;-user_hidden&#x60; - User hidden (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
253
253
  # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
254
254
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
255
255
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
256
256
  # @option opts [String] :pulp_label_select Filter labels by search string
257
257
  # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
258
258
  # @option opts [String] :remote
259
+ # @option opts [Integer] :retain_checkpoints Filter results where retain_checkpoints matches value
260
+ # @option opts [Integer] :retain_checkpoints__gt Filter results where retain_checkpoints is greater than value
261
+ # @option opts [Integer] :retain_checkpoints__gte Filter results where retain_checkpoints is greater than or equal to value
262
+ # @option opts [Boolean] :retain_checkpoints__isnull Filter results where retain_checkpoints has a null value
263
+ # @option opts [Integer] :retain_checkpoints__lt Filter results where retain_checkpoints is less than value
264
+ # @option opts [Integer] :retain_checkpoints__lte Filter results where retain_checkpoints is less than or equal to value
265
+ # @option opts [Integer] :retain_checkpoints__ne Filter results where retain_checkpoints not equal to value
266
+ # @option opts [Array<Integer>] :retain_checkpoints__range Filter results where retain_checkpoints is between two comma separated values
259
267
  # @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
260
268
  # @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
261
269
  # @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
@@ -289,13 +297,21 @@ module PulpPythonClient
289
297
  # @option opts [String] :name__regex Filter results where name matches regex value
290
298
  # @option opts [String] :name__startswith Filter results where name starts with value
291
299
  # @option opts [Integer] :offset The initial index from which to return the results.
292
- # @option opts [Array<String>] :ordering 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;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;next_version&#x60; - Next version * &#x60;-next_version&#x60; - Next version (descending) * &#x60;retain_repo_versions&#x60; - Retain repo versions * &#x60;-retain_repo_versions&#x60; - Retain repo versions (descending) * &#x60;user_hidden&#x60; - User hidden * &#x60;-user_hidden&#x60; - User hidden (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
300
+ # @option opts [Array<String>] :ordering 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;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;next_version&#x60; - Next version * &#x60;-next_version&#x60; - Next version (descending) * &#x60;retain_repo_versions&#x60; - Retain repo versions * &#x60;-retain_repo_versions&#x60; - Retain repo versions (descending) * &#x60;retain_checkpoints&#x60; - Retain checkpoints * &#x60;-retain_checkpoints&#x60; - Retain checkpoints (descending) * &#x60;user_hidden&#x60; - User hidden * &#x60;-user_hidden&#x60; - User hidden (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
293
301
  # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
294
302
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
295
303
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
296
304
  # @option opts [String] :pulp_label_select Filter labels by search string
297
305
  # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
298
306
  # @option opts [String] :remote
307
+ # @option opts [Integer] :retain_checkpoints Filter results where retain_checkpoints matches value
308
+ # @option opts [Integer] :retain_checkpoints__gt Filter results where retain_checkpoints is greater than value
309
+ # @option opts [Integer] :retain_checkpoints__gte Filter results where retain_checkpoints is greater than or equal to value
310
+ # @option opts [Boolean] :retain_checkpoints__isnull Filter results where retain_checkpoints has a null value
311
+ # @option opts [Integer] :retain_checkpoints__lt Filter results where retain_checkpoints is less than value
312
+ # @option opts [Integer] :retain_checkpoints__lte Filter results where retain_checkpoints is less than or equal to value
313
+ # @option opts [Integer] :retain_checkpoints__ne Filter results where retain_checkpoints not equal to value
314
+ # @option opts [Array<Integer>] :retain_checkpoints__range Filter results where retain_checkpoints is between two comma separated values
299
315
  # @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
300
316
  # @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
301
317
  # @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
@@ -312,7 +328,7 @@ module PulpPythonClient
312
328
  if @api_client.config.debugging
313
329
  @api_client.config.logger.debug 'Calling API: RepositoriesPythonApi.list ...'
314
330
  end
315
- allowable_values = ["-description", "-name", "-next_version", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-retain_repo_versions", "-user_hidden", "description", "name", "next_version", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "retain_repo_versions", "user_hidden"]
331
+ allowable_values = ["-description", "-name", "-next_version", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-retain_checkpoints", "-retain_repo_versions", "-user_hidden", "description", "name", "next_version", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "retain_checkpoints", "retain_repo_versions", "user_hidden"]
316
332
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
317
333
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
318
334
  end
@@ -340,6 +356,14 @@ module PulpPythonClient
340
356
  query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
341
357
  query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
342
358
  query_params[:'remote'] = opts[:'remote'] if !opts[:'remote'].nil?
359
+ query_params[:'retain_checkpoints'] = opts[:'retain_checkpoints'] if !opts[:'retain_checkpoints'].nil?
360
+ query_params[:'retain_checkpoints__gt'] = opts[:'retain_checkpoints__gt'] if !opts[:'retain_checkpoints__gt'].nil?
361
+ query_params[:'retain_checkpoints__gte'] = opts[:'retain_checkpoints__gte'] if !opts[:'retain_checkpoints__gte'].nil?
362
+ query_params[:'retain_checkpoints__isnull'] = opts[:'retain_checkpoints__isnull'] if !opts[:'retain_checkpoints__isnull'].nil?
363
+ query_params[:'retain_checkpoints__lt'] = opts[:'retain_checkpoints__lt'] if !opts[:'retain_checkpoints__lt'].nil?
364
+ query_params[:'retain_checkpoints__lte'] = opts[:'retain_checkpoints__lte'] if !opts[:'retain_checkpoints__lte'].nil?
365
+ query_params[:'retain_checkpoints__ne'] = opts[:'retain_checkpoints__ne'] if !opts[:'retain_checkpoints__ne'].nil?
366
+ query_params[:'retain_checkpoints__range'] = @api_client.build_collection_param(opts[:'retain_checkpoints__range'], :csv) if !opts[:'retain_checkpoints__range'].nil?
343
367
  query_params[:'retain_repo_versions'] = opts[:'retain_repo_versions'] if !opts[:'retain_repo_versions'].nil?
344
368
  query_params[:'retain_repo_versions__gt'] = opts[:'retain_repo_versions__gt'] if !opts[:'retain_repo_versions__gt'].nil?
345
369
  query_params[:'retain_repo_versions__gte'] = opts[:'retain_repo_versions__gte'] if !opts[:'retain_repo_versions__gte'].nil?
@@ -33,12 +33,12 @@ module PulpPythonClient
33
33
  # The latest RepositoryVersion for this Repository will be served.
34
34
  attr_accessor :repository
35
35
 
36
- # Publication to be served
37
- attr_accessor :publication
38
-
39
36
  # RepositoryVersion to be served.
40
37
  attr_accessor :repository_version
41
38
 
39
+ # Publication to be served. [Deprecated]
40
+ attr_accessor :publication
41
+
42
42
  # Allow packages to be uploaded to this index.
43
43
  attr_accessor :allow_uploads
44
44
 
@@ -54,8 +54,8 @@ module PulpPythonClient
54
54
  :'pulp_labels' => :'pulp_labels',
55
55
  :'name' => :'name',
56
56
  :'repository' => :'repository',
57
- :'publication' => :'publication',
58
57
  :'repository_version' => :'repository_version',
58
+ :'publication' => :'publication',
59
59
  :'allow_uploads' => :'allow_uploads',
60
60
  :'remote' => :'remote'
61
61
  }
@@ -75,8 +75,8 @@ module PulpPythonClient
75
75
  :'pulp_labels' => :'Hash<String, String>',
76
76
  :'name' => :'String',
77
77
  :'repository' => :'String',
78
- :'publication' => :'String',
79
78
  :'repository_version' => :'String',
79
+ :'publication' => :'String',
80
80
  :'allow_uploads' => :'Boolean',
81
81
  :'remote' => :'String'
82
82
  }
@@ -87,8 +87,8 @@ module PulpPythonClient
87
87
  Set.new([
88
88
  :'content_guard',
89
89
  :'repository',
90
- :'publication',
91
90
  :'repository_version',
91
+ :'publication',
92
92
  :'remote'
93
93
  ])
94
94
  end
@@ -136,14 +136,14 @@ module PulpPythonClient
136
136
  self.repository = attributes[:'repository']
137
137
  end
138
138
 
139
- if attributes.key?(:'publication')
140
- self.publication = attributes[:'publication']
141
- end
142
-
143
139
  if attributes.key?(:'repository_version')
144
140
  self.repository_version = attributes[:'repository_version']
145
141
  end
146
142
 
143
+ if attributes.key?(:'publication')
144
+ self.publication = attributes[:'publication']
145
+ end
146
+
147
147
  if attributes.key?(:'allow_uploads')
148
148
  self.allow_uploads = attributes[:'allow_uploads']
149
149
  else
@@ -219,8 +219,8 @@ module PulpPythonClient
219
219
  pulp_labels == o.pulp_labels &&
220
220
  name == o.name &&
221
221
  repository == o.repository &&
222
- publication == o.publication &&
223
222
  repository_version == o.repository_version &&
223
+ publication == o.publication &&
224
224
  allow_uploads == o.allow_uploads &&
225
225
  remote == o.remote
226
226
  end
@@ -234,7 +234,7 @@ module PulpPythonClient
234
234
  # Calculates hash code according to all attributes.
235
235
  # @return [Integer] Hash code
236
236
  def hash
237
- [base_path, content_guard, hidden, pulp_labels, name, repository, publication, repository_version, allow_uploads, remote].hash
237
+ [base_path, content_guard, hidden, pulp_labels, name, repository, repository_version, publication, allow_uploads, remote].hash
238
238
  end
239
239
 
240
240
  # Builds the object from hash
@@ -27,10 +27,13 @@ module PulpPythonClient
27
27
  # Retain X versions of the repository. Default is null which retains all versions.
28
28
  attr_accessor :retain_repo_versions
29
29
 
30
+ # Retain X checkpoint publications for the repository. Default is null which retains all checkpoints.
31
+ attr_accessor :retain_checkpoints
32
+
30
33
  # An optional remote to use by default when syncing.
31
34
  attr_accessor :remote
32
35
 
33
- # Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository.
36
+ # Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository. [Deprecated]
34
37
  attr_accessor :autopublish
35
38
 
36
39
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -40,6 +43,7 @@ module PulpPythonClient
40
43
  :'name' => :'name',
41
44
  :'description' => :'description',
42
45
  :'retain_repo_versions' => :'retain_repo_versions',
46
+ :'retain_checkpoints' => :'retain_checkpoints',
43
47
  :'remote' => :'remote',
44
48
  :'autopublish' => :'autopublish'
45
49
  }
@@ -57,6 +61,7 @@ module PulpPythonClient
57
61
  :'name' => :'String',
58
62
  :'description' => :'String',
59
63
  :'retain_repo_versions' => :'Integer',
64
+ :'retain_checkpoints' => :'Integer',
60
65
  :'remote' => :'String',
61
66
  :'autopublish' => :'Boolean'
62
67
  }
@@ -67,6 +72,7 @@ module PulpPythonClient
67
72
  Set.new([
68
73
  :'description',
69
74
  :'retain_repo_versions',
75
+ :'retain_checkpoints',
70
76
  :'remote',
71
77
  ])
72
78
  end
@@ -104,6 +110,10 @@ module PulpPythonClient
104
110
  self.retain_repo_versions = attributes[:'retain_repo_versions']
105
111
  end
106
112
 
113
+ if attributes.key?(:'retain_checkpoints')
114
+ self.retain_checkpoints = attributes[:'retain_checkpoints']
115
+ end
116
+
107
117
  if attributes.key?(:'remote')
108
118
  self.remote = attributes[:'remote']
109
119
  end
@@ -132,6 +142,10 @@ module PulpPythonClient
132
142
  invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
133
143
  end
134
144
 
145
+ if !@retain_checkpoints.nil? && @retain_checkpoints < 1
146
+ invalid_properties.push('invalid value for "retain_checkpoints", must be greater than or equal to 1.')
147
+ end
148
+
135
149
  invalid_properties
136
150
  end
137
151
 
@@ -142,6 +156,7 @@ module PulpPythonClient
142
156
  return false if !@name.nil? && @name.to_s.length < 1
143
157
  return false if !@description.nil? && @description.to_s.length < 1
144
158
  return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
159
+ return false if !@retain_checkpoints.nil? && @retain_checkpoints < 1
145
160
  true
146
161
  end
147
162
 
@@ -179,6 +194,16 @@ module PulpPythonClient
179
194
  @retain_repo_versions = retain_repo_versions
180
195
  end
181
196
 
197
+ # Custom attribute writer method with validation
198
+ # @param [Object] retain_checkpoints Value to be assigned
199
+ def retain_checkpoints=(retain_checkpoints)
200
+ if !retain_checkpoints.nil? && retain_checkpoints < 1
201
+ fail ArgumentError, 'invalid value for "retain_checkpoints", must be greater than or equal to 1.'
202
+ end
203
+
204
+ @retain_checkpoints = retain_checkpoints
205
+ end
206
+
182
207
  # Checks equality by comparing each attribute.
183
208
  # @param [Object] Object to be compared
184
209
  def ==(o)
@@ -188,6 +213,7 @@ module PulpPythonClient
188
213
  name == o.name &&
189
214
  description == o.description &&
190
215
  retain_repo_versions == o.retain_repo_versions &&
216
+ retain_checkpoints == o.retain_checkpoints &&
191
217
  remote == o.remote &&
192
218
  autopublish == o.autopublish
193
219
  end
@@ -201,7 +227,7 @@ module PulpPythonClient
201
227
  # Calculates hash code according to all attributes.
202
228
  # @return [Integer] Hash code
203
229
  def hash
204
- [pulp_labels, name, description, retain_repo_versions, remote, autopublish].hash
230
+ [pulp_labels, name, description, retain_repo_versions, retain_checkpoints, remote, autopublish].hash
205
231
  end
206
232
 
207
233
  # Builds the object from hash