pulp_ansible_client 0.29.6 → 0.29.8

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 (53) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/docs/AnsibleAnsibleDistribution.md +5 -3
  4. data/docs/AnsibleAnsibleDistributionResponse.md +13 -3
  5. data/docs/AnsibleAnsibleRepository.md +2 -0
  6. data/docs/AnsibleAnsibleRepositoryResponse.md +2 -0
  7. data/docs/AnsibleCollectionVersionResponse.md +10 -10
  8. data/docs/AnsibleGitRemote.md +26 -26
  9. data/docs/AnsibleGitRemoteResponse.md +30 -30
  10. data/docs/AnsibleRole.md +2 -2
  11. data/docs/AnsibleRoleResponse.md +10 -10
  12. data/docs/ContentCollectionVersionsApi.md +8 -8
  13. data/docs/PatchedansibleAnsibleDistribution.md +5 -3
  14. data/docs/PatchedansibleAnsibleRepository.md +2 -0
  15. data/docs/PatchedansibleGitRemote.md +26 -26
  16. data/docs/RemotesGitApi.md +2 -2
  17. data/docs/RepositoriesAnsibleApi.md +18 -2
  18. data/docs/Repository.md +2 -0
  19. data/docs/RepositoryResponse.md +2 -0
  20. data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +12 -12
  21. data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +27 -3
  22. data/lib/pulp_ansible_client/models/ansible_ansible_distribution.rb +28 -16
  23. data/lib/pulp_ansible_client/models/ansible_ansible_distribution_response.rb +67 -15
  24. data/lib/pulp_ansible_client/models/ansible_ansible_repository.rb +27 -1
  25. data/lib/pulp_ansible_client/models/ansible_ansible_repository_response.rb +27 -1
  26. data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +42 -42
  27. data/lib/pulp_ansible_client/models/ansible_git_remote.rb +242 -242
  28. data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +170 -170
  29. data/lib/pulp_ansible_client/models/ansible_role.rb +13 -13
  30. data/lib/pulp_ansible_client/models/ansible_role_response.rb +44 -44
  31. data/lib/pulp_ansible_client/models/patchedansible_ansible_distribution.rb +28 -16
  32. data/lib/pulp_ansible_client/models/patchedansible_ansible_repository.rb +27 -1
  33. data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +231 -231
  34. data/lib/pulp_ansible_client/models/repository.rb +27 -1
  35. data/lib/pulp_ansible_client/models/repository_response.rb +27 -1
  36. data/lib/pulp_ansible_client/version.rb +1 -1
  37. data/spec/api/content_collection_versions_api_spec.rb +4 -4
  38. data/spec/api/repositories_ansible_api_spec.rb +9 -1
  39. data/spec/models/ansible_ansible_distribution_response_spec.rb +35 -5
  40. data/spec/models/ansible_ansible_distribution_spec.rb +10 -4
  41. data/spec/models/ansible_ansible_repository_response_spec.rb +6 -0
  42. data/spec/models/ansible_ansible_repository_spec.rb +6 -0
  43. data/spec/models/ansible_collection_version_response_spec.rb +7 -7
  44. data/spec/models/ansible_git_remote_response_spec.rb +20 -20
  45. data/spec/models/ansible_git_remote_spec.rb +20 -20
  46. data/spec/models/ansible_role_response_spec.rb +7 -7
  47. data/spec/models/ansible_role_spec.rb +3 -3
  48. data/spec/models/patchedansible_ansible_distribution_spec.rb +10 -4
  49. data/spec/models/patchedansible_ansible_repository_spec.rb +6 -0
  50. data/spec/models/patchedansible_git_remote_spec.rb +20 -20
  51. data/spec/models/repository_response_spec.rb +6 -0
  52. data/spec/models/repository_spec.rb +6 -0
  53. metadata +126 -126
@@ -361,13 +361,21 @@ opts = {
361
361
  name__regex: 'name__regex_example', # String | Filter results where name matches regex value
362
362
  name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
363
363
  offset: 56, # Integer | The initial index from which to return the results.
364
- 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)
364
+ 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)
365
365
  prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
366
366
  pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
367
367
  pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
368
368
  pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
369
369
  q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
370
370
  remote: 'remote_example', # String |
371
+ retain_checkpoints: 56, # Integer | Filter results where retain_checkpoints matches value
372
+ retain_checkpoints__gt: 56, # Integer | Filter results where retain_checkpoints is greater than value
373
+ retain_checkpoints__gte: 56, # Integer | Filter results where retain_checkpoints is greater than or equal to value
374
+ retain_checkpoints__isnull: true, # Boolean | Filter results where retain_checkpoints has a null value
375
+ retain_checkpoints__lt: 56, # Integer | Filter results where retain_checkpoints is less than value
376
+ retain_checkpoints__lte: 56, # Integer | Filter results where retain_checkpoints is less than or equal to value
377
+ retain_checkpoints__ne: 56, # Integer | Filter results where retain_checkpoints not equal to value
378
+ retain_checkpoints__range: [37], # Array<Integer> | Filter results where retain_checkpoints is between two comma separated values
371
379
  retain_repo_versions: 56, # Integer | Filter results where retain_repo_versions matches value
372
380
  retain_repo_versions__gt: 56, # Integer | Filter results where retain_repo_versions is greater than value
373
381
  retain_repo_versions__gte: 56, # Integer | Filter results where retain_repo_versions is greater than or equal to value
@@ -425,13 +433,21 @@ end
425
433
  | **name__regex** | **String** | Filter results where name matches regex value | [optional] |
426
434
  | **name__startswith** | **String** | Filter results where name starts with value | [optional] |
427
435
  | **offset** | **Integer** | The initial index from which to return the results. | [optional] |
428
- | **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] |
436
+ | **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] |
429
437
  | **prn__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
430
438
  | **pulp_href__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
431
439
  | **pulp_id__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
432
440
  | **pulp_label_select** | **String** | Filter labels by search string | [optional] |
433
441
  | **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
434
442
  | **remote** | **String** | | [optional] |
443
+ | **retain_checkpoints** | **Integer** | Filter results where retain_checkpoints matches value | [optional] |
444
+ | **retain_checkpoints__gt** | **Integer** | Filter results where retain_checkpoints is greater than value | [optional] |
445
+ | **retain_checkpoints__gte** | **Integer** | Filter results where retain_checkpoints is greater than or equal to value | [optional] |
446
+ | **retain_checkpoints__isnull** | **Boolean** | Filter results where retain_checkpoints has a null value | [optional] |
447
+ | **retain_checkpoints__lt** | **Integer** | Filter results where retain_checkpoints is less than value | [optional] |
448
+ | **retain_checkpoints__lte** | **Integer** | Filter results where retain_checkpoints is less than or equal to value | [optional] |
449
+ | **retain_checkpoints__ne** | **Integer** | Filter results where retain_checkpoints not equal to value | [optional] |
450
+ | **retain_checkpoints__range** | [**Array&lt;Integer&gt;**](Integer.md) | Filter results where retain_checkpoints is between two comma separated values | [optional] |
435
451
  | **retain_repo_versions** | **Integer** | Filter results where retain_repo_versions matches value | [optional] |
436
452
  | **retain_repo_versions__gt** | **Integer** | Filter results where retain_repo_versions is greater than value | [optional] |
437
453
  | **retain_repo_versions__gte** | **Integer** | Filter results where retain_repo_versions is greater than or equal to value | [optional] |
data/docs/Repository.md CHANGED
@@ -8,6 +8,7 @@
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
13
 
13
14
  ## Example
@@ -20,6 +21,7 @@ instance = PulpAnsibleClient::Repository.new(
20
21
  name: null,
21
22
  description: null,
22
23
  retain_repo_versions: null,
24
+ retain_checkpoints: null,
23
25
  remote: null
24
26
  )
25
27
  ```
@@ -14,6 +14,7 @@
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
19
 
19
20
  ## Example
@@ -32,6 +33,7 @@ instance = PulpAnsibleClient::RepositoryResponse.new(
32
33
  name: null,
33
34
  description: null,
34
35
  retain_repo_versions: null,
36
+ retain_checkpoints: null,
35
37
  remote: null
36
38
  )
37
39
  ```
@@ -23,13 +23,13 @@ module PulpAnsibleClient
23
23
  # Trigger an asynchronous task to create content,optionally create new repository version.
24
24
  # @param [Hash] opts the optional parameters
25
25
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
26
- # @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
27
- # @option opts [File] :file An uploaded file that may be turned into the content unit.
28
- # @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
29
26
  # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
27
+ # @option opts [String] :artifact Artifact file representing the physical content
30
28
  # @option opts [RemoteNetworkConfig] :downloader_config Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a &#39;file_url.
29
+ # @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
30
+ # @option opts [File] :file An uploaded file that may be turned into the content unit.
31
31
  # @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
32
- # @option opts [String] :artifact Artifact file representing the physical content
32
+ # @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
33
33
  # @option opts [String] :expected_name The name of the collection.
34
34
  # @option opts [String] :expected_namespace The namespace of the collection.
35
35
  # @option opts [String] :expected_version The version of the collection.
@@ -43,13 +43,13 @@ module PulpAnsibleClient
43
43
  # Trigger an asynchronous task to create content,optionally create new repository version.
44
44
  # @param [Hash] opts the optional parameters
45
45
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
46
- # @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
47
- # @option opts [File] :file An uploaded file that may be turned into the content unit.
48
- # @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
49
46
  # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
47
+ # @option opts [String] :artifact Artifact file representing the physical content
50
48
  # @option opts [RemoteNetworkConfig] :downloader_config Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a &#39;file_url.
49
+ # @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
50
+ # @option opts [File] :file An uploaded file that may be turned into the content unit.
51
51
  # @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
52
- # @option opts [String] :artifact Artifact file representing the physical content
52
+ # @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
53
53
  # @option opts [String] :expected_name The name of the collection.
54
54
  # @option opts [String] :expected_namespace The namespace of the collection.
55
55
  # @option opts [String] :expected_version The version of the collection.
@@ -105,13 +105,13 @@ module PulpAnsibleClient
105
105
 
106
106
  # form parameters
107
107
  form_params = opts[:form_params] || {}
108
- form_params['pulp_labels'] = opts[:'pulp_labels'] if !opts[:'pulp_labels'].nil?
109
- form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
110
- form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
111
108
  form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
109
+ form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
112
110
  form_params['downloader_config'] = opts[:'downloader_config'] if !opts[:'downloader_config'].nil?
111
+ form_params['pulp_labels'] = opts[:'pulp_labels'] if !opts[:'pulp_labels'].nil?
112
+ form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
113
113
  form_params['file_url'] = opts[:'file_url'] if !opts[:'file_url'].nil?
114
- form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
114
+ form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
115
115
  form_params['expected_name'] = opts[:'expected_name'] if !opts[:'expected_name'].nil?
116
116
  form_params['expected_namespace'] = opts[:'expected_namespace'] if !opts[:'expected_namespace'].nil?
117
117
  form_params['expected_version'] = opts[:'expected_version'] if !opts[:'expected_version'].nil?
@@ -324,13 +324,21 @@ module PulpAnsibleClient
324
324
  # @option opts [String] :name__regex Filter results where name matches regex value
325
325
  # @option opts [String] :name__startswith Filter results where name starts with value
326
326
  # @option opts [Integer] :offset The initial index from which to return the results.
327
- # @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)
327
+ # @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)
328
328
  # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
329
329
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
330
330
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
331
331
  # @option opts [String] :pulp_label_select Filter labels by search string
332
332
  # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
333
333
  # @option opts [String] :remote
334
+ # @option opts [Integer] :retain_checkpoints Filter results where retain_checkpoints matches value
335
+ # @option opts [Integer] :retain_checkpoints__gt Filter results where retain_checkpoints is greater than value
336
+ # @option opts [Integer] :retain_checkpoints__gte Filter results where retain_checkpoints is greater than or equal to value
337
+ # @option opts [Boolean] :retain_checkpoints__isnull Filter results where retain_checkpoints has a null value
338
+ # @option opts [Integer] :retain_checkpoints__lt Filter results where retain_checkpoints is less than value
339
+ # @option opts [Integer] :retain_checkpoints__lte Filter results where retain_checkpoints is less than or equal to value
340
+ # @option opts [Integer] :retain_checkpoints__ne Filter results where retain_checkpoints not equal to value
341
+ # @option opts [Array<Integer>] :retain_checkpoints__range Filter results where retain_checkpoints is between two comma separated values
334
342
  # @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
335
343
  # @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
336
344
  # @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
@@ -364,13 +372,21 @@ module PulpAnsibleClient
364
372
  # @option opts [String] :name__regex Filter results where name matches regex value
365
373
  # @option opts [String] :name__startswith Filter results where name starts with value
366
374
  # @option opts [Integer] :offset The initial index from which to return the results.
367
- # @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)
375
+ # @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)
368
376
  # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
369
377
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
370
378
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
371
379
  # @option opts [String] :pulp_label_select Filter labels by search string
372
380
  # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
373
381
  # @option opts [String] :remote
382
+ # @option opts [Integer] :retain_checkpoints Filter results where retain_checkpoints matches value
383
+ # @option opts [Integer] :retain_checkpoints__gt Filter results where retain_checkpoints is greater than value
384
+ # @option opts [Integer] :retain_checkpoints__gte Filter results where retain_checkpoints is greater than or equal to value
385
+ # @option opts [Boolean] :retain_checkpoints__isnull Filter results where retain_checkpoints has a null value
386
+ # @option opts [Integer] :retain_checkpoints__lt Filter results where retain_checkpoints is less than value
387
+ # @option opts [Integer] :retain_checkpoints__lte Filter results where retain_checkpoints is less than or equal to value
388
+ # @option opts [Integer] :retain_checkpoints__ne Filter results where retain_checkpoints not equal to value
389
+ # @option opts [Array<Integer>] :retain_checkpoints__range Filter results where retain_checkpoints is between two comma separated values
374
390
  # @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
375
391
  # @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
376
392
  # @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
@@ -387,7 +403,7 @@ module PulpAnsibleClient
387
403
  if @api_client.config.debugging
388
404
  @api_client.config.logger.debug 'Calling API: RepositoriesAnsibleApi.list ...'
389
405
  end
390
- 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"]
406
+ 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"]
391
407
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
392
408
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
393
409
  end
@@ -415,6 +431,14 @@ module PulpAnsibleClient
415
431
  query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
416
432
  query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
417
433
  query_params[:'remote'] = opts[:'remote'] if !opts[:'remote'].nil?
434
+ query_params[:'retain_checkpoints'] = opts[:'retain_checkpoints'] if !opts[:'retain_checkpoints'].nil?
435
+ query_params[:'retain_checkpoints__gt'] = opts[:'retain_checkpoints__gt'] if !opts[:'retain_checkpoints__gt'].nil?
436
+ query_params[:'retain_checkpoints__gte'] = opts[:'retain_checkpoints__gte'] if !opts[:'retain_checkpoints__gte'].nil?
437
+ query_params[:'retain_checkpoints__isnull'] = opts[:'retain_checkpoints__isnull'] if !opts[:'retain_checkpoints__isnull'].nil?
438
+ query_params[:'retain_checkpoints__lt'] = opts[:'retain_checkpoints__lt'] if !opts[:'retain_checkpoints__lt'].nil?
439
+ query_params[:'retain_checkpoints__lte'] = opts[:'retain_checkpoints__lte'] if !opts[:'retain_checkpoints__lte'].nil?
440
+ query_params[:'retain_checkpoints__ne'] = opts[:'retain_checkpoints__ne'] if !opts[:'retain_checkpoints__ne'].nil?
441
+ query_params[:'retain_checkpoints__range'] = @api_client.build_collection_param(opts[:'retain_checkpoints__range'], :csv) if !opts[:'retain_checkpoints__range'].nil?
418
442
  query_params[:'retain_repo_versions'] = opts[:'retain_repo_versions'] if !opts[:'retain_repo_versions'].nil?
419
443
  query_params[:'retain_repo_versions__gt'] = opts[:'retain_repo_versions__gt'] if !opts[:'retain_repo_versions__gt'].nil?
420
444
  query_params[:'retain_repo_versions__gte'] = opts[:'retain_repo_versions__gte'] if !opts[:'retain_repo_versions__gte'].nil?
@@ -22,6 +22,11 @@ module PulpAnsibleClient
22
22
  # An optional content-guard.
23
23
  attr_accessor :content_guard
24
24
 
25
+ # Whether this distribution should be shown in the content app.
26
+ attr_accessor :hidden
27
+
28
+ attr_accessor :pulp_labels
29
+
25
30
  # A unique name. Ex, `rawhide` and `stable`.
26
31
  attr_accessor :name
27
32
 
@@ -31,17 +36,16 @@ module PulpAnsibleClient
31
36
  # RepositoryVersion to be served
32
37
  attr_accessor :repository_version
33
38
 
34
- attr_accessor :pulp_labels
35
-
36
39
  # Attribute mapping from ruby-style variable name to JSON key.
37
40
  def self.attribute_map
38
41
  {
39
42
  :'base_path' => :'base_path',
40
43
  :'content_guard' => :'content_guard',
44
+ :'hidden' => :'hidden',
45
+ :'pulp_labels' => :'pulp_labels',
41
46
  :'name' => :'name',
42
47
  :'repository' => :'repository',
43
- :'repository_version' => :'repository_version',
44
- :'pulp_labels' => :'pulp_labels'
48
+ :'repository_version' => :'repository_version'
45
49
  }
46
50
  end
47
51
 
@@ -55,10 +59,11 @@ module PulpAnsibleClient
55
59
  {
56
60
  :'base_path' => :'String',
57
61
  :'content_guard' => :'String',
62
+ :'hidden' => :'Boolean',
63
+ :'pulp_labels' => :'Hash<String, String>',
58
64
  :'name' => :'String',
59
65
  :'repository' => :'String',
60
- :'repository_version' => :'String',
61
- :'pulp_labels' => :'Hash<String, String>'
66
+ :'repository_version' => :'String'
62
67
  }
63
68
  end
64
69
 
@@ -67,7 +72,7 @@ module PulpAnsibleClient
67
72
  Set.new([
68
73
  :'content_guard',
69
74
  :'repository',
70
- :'repository_version',
75
+ :'repository_version'
71
76
  ])
72
77
  end
73
78
 
@@ -96,6 +101,18 @@ module PulpAnsibleClient
96
101
  self.content_guard = attributes[:'content_guard']
97
102
  end
98
103
 
104
+ if attributes.key?(:'hidden')
105
+ self.hidden = attributes[:'hidden']
106
+ else
107
+ self.hidden = false
108
+ end
109
+
110
+ if attributes.key?(:'pulp_labels')
111
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
112
+ self.pulp_labels = value
113
+ end
114
+ end
115
+
99
116
  if attributes.key?(:'name')
100
117
  self.name = attributes[:'name']
101
118
  else
@@ -109,12 +126,6 @@ module PulpAnsibleClient
109
126
  if attributes.key?(:'repository_version')
110
127
  self.repository_version = attributes[:'repository_version']
111
128
  end
112
-
113
- if attributes.key?(:'pulp_labels')
114
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
115
- self.pulp_labels = value
116
- end
117
- end
118
129
  end
119
130
 
120
131
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -187,10 +198,11 @@ module PulpAnsibleClient
187
198
  self.class == o.class &&
188
199
  base_path == o.base_path &&
189
200
  content_guard == o.content_guard &&
201
+ hidden == o.hidden &&
202
+ pulp_labels == o.pulp_labels &&
190
203
  name == o.name &&
191
204
  repository == o.repository &&
192
- repository_version == o.repository_version &&
193
- pulp_labels == o.pulp_labels
205
+ repository_version == o.repository_version
194
206
  end
195
207
 
196
208
  # @see the `==` method
@@ -202,7 +214,7 @@ module PulpAnsibleClient
202
214
  # Calculates hash code according to all attributes.
203
215
  # @return [Integer] Hash code
204
216
  def hash
205
- [base_path, content_guard, name, repository, repository_version, pulp_labels].hash
217
+ [base_path, content_guard, hidden, pulp_labels, name, repository, repository_version].hash
206
218
  end
207
219
 
208
220
  # Builds the object from hash
@@ -18,15 +18,32 @@ module PulpAnsibleClient
18
18
  class AnsibleAnsibleDistributionResponse
19
19
  attr_accessor :pulp_href
20
20
 
21
+ # The Pulp Resource Name (PRN).
22
+ attr_accessor :prn
23
+
21
24
  # Timestamp of creation.
22
25
  attr_accessor :pulp_created
23
26
 
27
+ # Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
28
+ attr_accessor :pulp_last_updated
29
+
24
30
  # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
25
31
  attr_accessor :base_path
26
32
 
27
33
  # An optional content-guard.
28
34
  attr_accessor :content_guard
29
35
 
36
+ # The Pulp Resource Name (PRN) of the associated optional content guard.
37
+ attr_accessor :content_guard_prn
38
+
39
+ # Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
40
+ attr_accessor :no_content_change_since
41
+
42
+ # Whether this distribution should be shown in the content app.
43
+ attr_accessor :hidden
44
+
45
+ attr_accessor :pulp_labels
46
+
30
47
  # A unique name. Ex, `rawhide` and `stable`.
31
48
  attr_accessor :name
32
49
 
@@ -39,20 +56,23 @@ module PulpAnsibleClient
39
56
  # The URL of a Collection content source.
40
57
  attr_accessor :client_url
41
58
 
42
- attr_accessor :pulp_labels
43
-
44
59
  # Attribute mapping from ruby-style variable name to JSON key.
45
60
  def self.attribute_map
46
61
  {
47
62
  :'pulp_href' => :'pulp_href',
63
+ :'prn' => :'prn',
48
64
  :'pulp_created' => :'pulp_created',
65
+ :'pulp_last_updated' => :'pulp_last_updated',
49
66
  :'base_path' => :'base_path',
50
67
  :'content_guard' => :'content_guard',
68
+ :'content_guard_prn' => :'content_guard_prn',
69
+ :'no_content_change_since' => :'no_content_change_since',
70
+ :'hidden' => :'hidden',
71
+ :'pulp_labels' => :'pulp_labels',
51
72
  :'name' => :'name',
52
73
  :'repository' => :'repository',
53
74
  :'repository_version' => :'repository_version',
54
- :'client_url' => :'client_url',
55
- :'pulp_labels' => :'pulp_labels'
75
+ :'client_url' => :'client_url'
56
76
  }
57
77
  end
58
78
 
@@ -65,14 +85,19 @@ module PulpAnsibleClient
65
85
  def self.openapi_types
66
86
  {
67
87
  :'pulp_href' => :'String',
88
+ :'prn' => :'String',
68
89
  :'pulp_created' => :'Time',
90
+ :'pulp_last_updated' => :'Time',
69
91
  :'base_path' => :'String',
70
92
  :'content_guard' => :'String',
93
+ :'content_guard_prn' => :'String',
94
+ :'no_content_change_since' => :'String',
95
+ :'hidden' => :'Boolean',
96
+ :'pulp_labels' => :'Hash<String, String>',
71
97
  :'name' => :'String',
72
98
  :'repository' => :'String',
73
99
  :'repository_version' => :'String',
74
- :'client_url' => :'String',
75
- :'pulp_labels' => :'Hash<String, String>'
100
+ :'client_url' => :'String'
76
101
  }
77
102
  end
78
103
 
@@ -104,10 +129,18 @@ module PulpAnsibleClient
104
129
  self.pulp_href = attributes[:'pulp_href']
105
130
  end
106
131
 
132
+ if attributes.key?(:'prn')
133
+ self.prn = attributes[:'prn']
134
+ end
135
+
107
136
  if attributes.key?(:'pulp_created')
108
137
  self.pulp_created = attributes[:'pulp_created']
109
138
  end
110
139
 
140
+ if attributes.key?(:'pulp_last_updated')
141
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
142
+ end
143
+
111
144
  if attributes.key?(:'base_path')
112
145
  self.base_path = attributes[:'base_path']
113
146
  else
@@ -118,6 +151,26 @@ module PulpAnsibleClient
118
151
  self.content_guard = attributes[:'content_guard']
119
152
  end
120
153
 
154
+ if attributes.key?(:'content_guard_prn')
155
+ self.content_guard_prn = attributes[:'content_guard_prn']
156
+ end
157
+
158
+ if attributes.key?(:'no_content_change_since')
159
+ self.no_content_change_since = attributes[:'no_content_change_since']
160
+ end
161
+
162
+ if attributes.key?(:'hidden')
163
+ self.hidden = attributes[:'hidden']
164
+ else
165
+ self.hidden = false
166
+ end
167
+
168
+ if attributes.key?(:'pulp_labels')
169
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
170
+ self.pulp_labels = value
171
+ end
172
+ end
173
+
121
174
  if attributes.key?(:'name')
122
175
  self.name = attributes[:'name']
123
176
  else
@@ -135,12 +188,6 @@ module PulpAnsibleClient
135
188
  if attributes.key?(:'client_url')
136
189
  self.client_url = attributes[:'client_url']
137
190
  end
138
-
139
- if attributes.key?(:'pulp_labels')
140
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
141
- self.pulp_labels = value
142
- end
143
- end
144
191
  end
145
192
 
146
193
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -174,14 +221,19 @@ module PulpAnsibleClient
174
221
  return true if self.equal?(o)
175
222
  self.class == o.class &&
176
223
  pulp_href == o.pulp_href &&
224
+ prn == o.prn &&
177
225
  pulp_created == o.pulp_created &&
226
+ pulp_last_updated == o.pulp_last_updated &&
178
227
  base_path == o.base_path &&
179
228
  content_guard == o.content_guard &&
229
+ content_guard_prn == o.content_guard_prn &&
230
+ no_content_change_since == o.no_content_change_since &&
231
+ hidden == o.hidden &&
232
+ pulp_labels == o.pulp_labels &&
180
233
  name == o.name &&
181
234
  repository == o.repository &&
182
235
  repository_version == o.repository_version &&
183
- client_url == o.client_url &&
184
- pulp_labels == o.pulp_labels
236
+ client_url == o.client_url
185
237
  end
186
238
 
187
239
  # @see the `==` method
@@ -193,7 +245,7 @@ module PulpAnsibleClient
193
245
  # Calculates hash code according to all attributes.
194
246
  # @return [Integer] Hash code
195
247
  def hash
196
- [pulp_href, pulp_created, base_path, content_guard, name, repository, repository_version, client_url, pulp_labels].hash
248
+ [pulp_href, prn, pulp_created, pulp_last_updated, base_path, content_guard, content_guard_prn, no_content_change_since, hidden, pulp_labels, name, repository, repository_version, client_url].hash
197
249
  end
198
250
 
199
251
  # Builds the object from hash
@@ -27,6 +27,9 @@ module PulpAnsibleClient
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
 
@@ -45,6 +48,7 @@ module PulpAnsibleClient
45
48
  :'name' => :'name',
46
49
  :'description' => :'description',
47
50
  :'retain_repo_versions' => :'retain_repo_versions',
51
+ :'retain_checkpoints' => :'retain_checkpoints',
48
52
  :'remote' => :'remote',
49
53
  :'last_synced_metadata_time' => :'last_synced_metadata_time',
50
54
  :'gpgkey' => :'gpgkey',
@@ -64,6 +68,7 @@ module PulpAnsibleClient
64
68
  :'name' => :'String',
65
69
  :'description' => :'String',
66
70
  :'retain_repo_versions' => :'Integer',
71
+ :'retain_checkpoints' => :'Integer',
67
72
  :'remote' => :'String',
68
73
  :'last_synced_metadata_time' => :'Time',
69
74
  :'gpgkey' => :'String',
@@ -76,6 +81,7 @@ module PulpAnsibleClient
76
81
  Set.new([
77
82
  :'description',
78
83
  :'retain_repo_versions',
84
+ :'retain_checkpoints',
79
85
  :'remote',
80
86
  :'last_synced_metadata_time',
81
87
  :'gpgkey',
@@ -117,6 +123,10 @@ module PulpAnsibleClient
117
123
  self.retain_repo_versions = attributes[:'retain_repo_versions']
118
124
  end
119
125
 
126
+ if attributes.key?(:'retain_checkpoints')
127
+ self.retain_checkpoints = attributes[:'retain_checkpoints']
128
+ end
129
+
120
130
  if attributes.key?(:'remote')
121
131
  self.remote = attributes[:'remote']
122
132
  end
@@ -155,6 +165,10 @@ module PulpAnsibleClient
155
165
  invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
156
166
  end
157
167
 
168
+ if !@retain_checkpoints.nil? && @retain_checkpoints < 1
169
+ invalid_properties.push('invalid value for "retain_checkpoints", must be greater than or equal to 1.')
170
+ end
171
+
158
172
  if !@gpgkey.nil? && @gpgkey.to_s.length < 1
159
173
  invalid_properties.push('invalid value for "gpgkey", the character length must be great than or equal to 1.')
160
174
  end
@@ -170,6 +184,7 @@ module PulpAnsibleClient
170
184
  return false if @name.to_s.length < 1
171
185
  return false if !@description.nil? && @description.to_s.length < 1
172
186
  return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
187
+ return false if !@retain_checkpoints.nil? && @retain_checkpoints < 1
173
188
  return false if !@gpgkey.nil? && @gpgkey.to_s.length < 1
174
189
  true
175
190
  end
@@ -208,6 +223,16 @@ module PulpAnsibleClient
208
223
  @retain_repo_versions = retain_repo_versions
209
224
  end
210
225
 
226
+ # Custom attribute writer method with validation
227
+ # @param [Object] retain_checkpoints Value to be assigned
228
+ def retain_checkpoints=(retain_checkpoints)
229
+ if !retain_checkpoints.nil? && retain_checkpoints < 1
230
+ fail ArgumentError, 'invalid value for "retain_checkpoints", must be greater than or equal to 1.'
231
+ end
232
+
233
+ @retain_checkpoints = retain_checkpoints
234
+ end
235
+
211
236
  # Custom attribute writer method with validation
212
237
  # @param [Object] gpgkey Value to be assigned
213
238
  def gpgkey=(gpgkey)
@@ -227,6 +252,7 @@ module PulpAnsibleClient
227
252
  name == o.name &&
228
253
  description == o.description &&
229
254
  retain_repo_versions == o.retain_repo_versions &&
255
+ retain_checkpoints == o.retain_checkpoints &&
230
256
  remote == o.remote &&
231
257
  last_synced_metadata_time == o.last_synced_metadata_time &&
232
258
  gpgkey == o.gpgkey &&
@@ -242,7 +268,7 @@ module PulpAnsibleClient
242
268
  # Calculates hash code according to all attributes.
243
269
  # @return [Integer] Hash code
244
270
  def hash
245
- [pulp_labels, name, description, retain_repo_versions, remote, last_synced_metadata_time, gpgkey, private].hash
271
+ [pulp_labels, name, description, retain_repo_versions, retain_checkpoints, remote, last_synced_metadata_time, gpgkey, private].hash
246
272
  end
247
273
 
248
274
  # Builds the object from hash