pulp_container_client 2.27.2 → 2.27.4

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 (56) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/docs/ContainerContainerDistribution.md +6 -6
  4. data/docs/ContainerContainerDistributionResponse.md +14 -12
  5. data/docs/ContainerContainerPullThroughDistribution.md +8 -6
  6. data/docs/ContainerContainerPullThroughDistributionResponse.md +16 -12
  7. data/docs/ContainerContainerPushRepository.md +8 -6
  8. data/docs/ContainerContainerPushRepositoryResponse.md +16 -14
  9. data/docs/ContainerContainerRepository.md +2 -0
  10. data/docs/ContainerContainerRepositoryResponse.md +2 -0
  11. data/docs/PatchedcontainerContainerDistribution.md +6 -6
  12. data/docs/PatchedcontainerContainerPullThroughDistribution.md +8 -6
  13. data/docs/PatchedcontainerContainerPushRepository.md +8 -6
  14. data/docs/PatchedcontainerContainerRepository.md +2 -0
  15. data/docs/RepositoriesContainerApi.md +18 -2
  16. data/docs/RepositoriesContainerPushApi.md +18 -2
  17. data/lib/pulp_container_client/api/repositories_container_api.rb +27 -3
  18. data/lib/pulp_container_client/api/repositories_container_push_api.rb +27 -3
  19. data/lib/pulp_container_client/models/container_container_distribution.rb +29 -29
  20. data/lib/pulp_container_client/models/container_container_distribution_response.rb +63 -53
  21. data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +39 -28
  22. data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +73 -52
  23. data/lib/pulp_container_client/models/container_container_pull_through_remote.rb +15 -0
  24. data/lib/pulp_container_client/models/container_container_pull_through_remote_response.rb +15 -0
  25. data/lib/pulp_container_client/models/container_container_push_repository.rb +81 -40
  26. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +100 -59
  27. data/lib/pulp_container_client/models/container_container_remote.rb +15 -0
  28. data/lib/pulp_container_client/models/container_container_remote_response.rb +15 -0
  29. data/lib/pulp_container_client/models/container_container_repository.rb +42 -1
  30. data/lib/pulp_container_client/models/container_container_repository_response.rb +42 -1
  31. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +27 -27
  32. data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +38 -27
  33. data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_remote.rb +15 -0
  34. data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +77 -36
  35. data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +15 -0
  36. data/lib/pulp_container_client/models/patchedcontainer_container_repository.rb +42 -1
  37. data/lib/pulp_container_client/models/set_label.rb +0 -11
  38. data/lib/pulp_container_client/models/set_label_response.rb +0 -21
  39. data/lib/pulp_container_client/models/unset_label.rb +0 -11
  40. data/lib/pulp_container_client/models/unset_label_response.rb +0 -21
  41. data/lib/pulp_container_client/version.rb +1 -1
  42. data/spec/api/repositories_container_api_spec.rb +9 -1
  43. data/spec/api/repositories_container_push_api_spec.rb +9 -1
  44. data/spec/models/container_container_distribution_response_spec.rb +16 -10
  45. data/spec/models/container_container_distribution_spec.rb +7 -7
  46. data/spec/models/container_container_pull_through_distribution_response_spec.rb +21 -9
  47. data/spec/models/container_container_pull_through_distribution_spec.rb +12 -6
  48. data/spec/models/container_container_push_repository_response_spec.rb +16 -10
  49. data/spec/models/container_container_push_repository_spec.rb +10 -4
  50. data/spec/models/container_container_repository_response_spec.rb +6 -0
  51. data/spec/models/container_container_repository_spec.rb +6 -0
  52. data/spec/models/patchedcontainer_container_distribution_spec.rb +7 -7
  53. data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +12 -6
  54. data/spec/models/patchedcontainer_container_push_repository_spec.rb +10 -4
  55. data/spec/models/patchedcontainer_container_repository_spec.rb +6 -0
  56. metadata +60 -60
@@ -567,13 +567,21 @@ module PulpContainerClient
567
567
  # @option opts [String] :name__regex Filter results where name matches regex value
568
568
  # @option opts [String] :name__startswith Filter results where name starts with value
569
569
  # @option opts [Integer] :offset The initial index from which to return the results.
570
- # @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)
570
+ # @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)
571
571
  # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
572
572
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
573
573
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
574
574
  # @option opts [String] :pulp_label_select Filter labels by search string
575
575
  # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
576
576
  # @option opts [String] :remote
577
+ # @option opts [Integer] :retain_checkpoints Filter results where retain_checkpoints matches value
578
+ # @option opts [Integer] :retain_checkpoints__gt Filter results where retain_checkpoints is greater than value
579
+ # @option opts [Integer] :retain_checkpoints__gte Filter results where retain_checkpoints is greater than or equal to value
580
+ # @option opts [Boolean] :retain_checkpoints__isnull Filter results where retain_checkpoints has a null value
581
+ # @option opts [Integer] :retain_checkpoints__lt Filter results where retain_checkpoints is less than value
582
+ # @option opts [Integer] :retain_checkpoints__lte Filter results where retain_checkpoints is less than or equal to value
583
+ # @option opts [Integer] :retain_checkpoints__ne Filter results where retain_checkpoints not equal to value
584
+ # @option opts [Array<Integer>] :retain_checkpoints__range Filter results where retain_checkpoints is between two comma separated values
577
585
  # @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
578
586
  # @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
579
587
  # @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
@@ -607,13 +615,21 @@ module PulpContainerClient
607
615
  # @option opts [String] :name__regex Filter results where name matches regex value
608
616
  # @option opts [String] :name__startswith Filter results where name starts with value
609
617
  # @option opts [Integer] :offset The initial index from which to return the results.
610
- # @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)
618
+ # @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)
611
619
  # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
612
620
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
613
621
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
614
622
  # @option opts [String] :pulp_label_select Filter labels by search string
615
623
  # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
616
624
  # @option opts [String] :remote
625
+ # @option opts [Integer] :retain_checkpoints Filter results where retain_checkpoints matches value
626
+ # @option opts [Integer] :retain_checkpoints__gt Filter results where retain_checkpoints is greater than value
627
+ # @option opts [Integer] :retain_checkpoints__gte Filter results where retain_checkpoints is greater than or equal to value
628
+ # @option opts [Boolean] :retain_checkpoints__isnull Filter results where retain_checkpoints has a null value
629
+ # @option opts [Integer] :retain_checkpoints__lt Filter results where retain_checkpoints is less than value
630
+ # @option opts [Integer] :retain_checkpoints__lte Filter results where retain_checkpoints is less than or equal to value
631
+ # @option opts [Integer] :retain_checkpoints__ne Filter results where retain_checkpoints not equal to value
632
+ # @option opts [Array<Integer>] :retain_checkpoints__range Filter results where retain_checkpoints is between two comma separated values
617
633
  # @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
618
634
  # @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
619
635
  # @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
@@ -630,7 +646,7 @@ module PulpContainerClient
630
646
  if @api_client.config.debugging
631
647
  @api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.list ...'
632
648
  end
633
- 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"]
649
+ 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"]
634
650
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
635
651
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
636
652
  end
@@ -658,6 +674,14 @@ module PulpContainerClient
658
674
  query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
659
675
  query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
660
676
  query_params[:'remote'] = opts[:'remote'] if !opts[:'remote'].nil?
677
+ query_params[:'retain_checkpoints'] = opts[:'retain_checkpoints'] if !opts[:'retain_checkpoints'].nil?
678
+ query_params[:'retain_checkpoints__gt'] = opts[:'retain_checkpoints__gt'] if !opts[:'retain_checkpoints__gt'].nil?
679
+ query_params[:'retain_checkpoints__gte'] = opts[:'retain_checkpoints__gte'] if !opts[:'retain_checkpoints__gte'].nil?
680
+ query_params[:'retain_checkpoints__isnull'] = opts[:'retain_checkpoints__isnull'] if !opts[:'retain_checkpoints__isnull'].nil?
681
+ query_params[:'retain_checkpoints__lt'] = opts[:'retain_checkpoints__lt'] if !opts[:'retain_checkpoints__lt'].nil?
682
+ query_params[:'retain_checkpoints__lte'] = opts[:'retain_checkpoints__lte'] if !opts[:'retain_checkpoints__lte'].nil?
683
+ query_params[:'retain_checkpoints__ne'] = opts[:'retain_checkpoints__ne'] if !opts[:'retain_checkpoints__ne'].nil?
684
+ query_params[:'retain_checkpoints__range'] = @api_client.build_collection_param(opts[:'retain_checkpoints__range'], :csv) if !opts[:'retain_checkpoints__range'].nil?
661
685
  query_params[:'retain_repo_versions'] = opts[:'retain_repo_versions'] if !opts[:'retain_repo_versions'].nil?
662
686
  query_params[:'retain_repo_versions__gt'] = opts[:'retain_repo_versions__gt'] if !opts[:'retain_repo_versions__gt'].nil?
663
687
  query_params[:'retain_repo_versions__gte'] = opts[:'retain_repo_versions__gte'] if !opts[:'retain_repo_versions__gte'].nil?
@@ -112,13 +112,21 @@ module PulpContainerClient
112
112
  # @option opts [String] :name__regex Filter results where name matches regex value
113
113
  # @option opts [String] :name__startswith Filter results where name starts with value
114
114
  # @option opts [Integer] :offset The initial index from which to return the results.
115
- # @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)
115
+ # @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)
116
116
  # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
117
117
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
118
118
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
119
119
  # @option opts [String] :pulp_label_select Filter labels by search string
120
120
  # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
121
121
  # @option opts [String] :remote
122
+ # @option opts [Integer] :retain_checkpoints Filter results where retain_checkpoints matches value
123
+ # @option opts [Integer] :retain_checkpoints__gt Filter results where retain_checkpoints is greater than value
124
+ # @option opts [Integer] :retain_checkpoints__gte Filter results where retain_checkpoints is greater than or equal to value
125
+ # @option opts [Boolean] :retain_checkpoints__isnull Filter results where retain_checkpoints has a null value
126
+ # @option opts [Integer] :retain_checkpoints__lt Filter results where retain_checkpoints is less than value
127
+ # @option opts [Integer] :retain_checkpoints__lte Filter results where retain_checkpoints is less than or equal to value
128
+ # @option opts [Integer] :retain_checkpoints__ne Filter results where retain_checkpoints not equal to value
129
+ # @option opts [Array<Integer>] :retain_checkpoints__range Filter results where retain_checkpoints is between two comma separated values
122
130
  # @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
123
131
  # @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
124
132
  # @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
@@ -152,13 +160,21 @@ module PulpContainerClient
152
160
  # @option opts [String] :name__regex Filter results where name matches regex value
153
161
  # @option opts [String] :name__startswith Filter results where name starts with value
154
162
  # @option opts [Integer] :offset The initial index from which to return the results.
155
- # @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)
163
+ # @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)
156
164
  # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
157
165
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
158
166
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
159
167
  # @option opts [String] :pulp_label_select Filter labels by search string
160
168
  # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
161
169
  # @option opts [String] :remote
170
+ # @option opts [Integer] :retain_checkpoints Filter results where retain_checkpoints matches value
171
+ # @option opts [Integer] :retain_checkpoints__gt Filter results where retain_checkpoints is greater than value
172
+ # @option opts [Integer] :retain_checkpoints__gte Filter results where retain_checkpoints is greater than or equal to value
173
+ # @option opts [Boolean] :retain_checkpoints__isnull Filter results where retain_checkpoints has a null value
174
+ # @option opts [Integer] :retain_checkpoints__lt Filter results where retain_checkpoints is less than value
175
+ # @option opts [Integer] :retain_checkpoints__lte Filter results where retain_checkpoints is less than or equal to value
176
+ # @option opts [Integer] :retain_checkpoints__ne Filter results where retain_checkpoints not equal to value
177
+ # @option opts [Array<Integer>] :retain_checkpoints__range Filter results where retain_checkpoints is between two comma separated values
162
178
  # @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
163
179
  # @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
164
180
  # @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
@@ -175,7 +191,7 @@ module PulpContainerClient
175
191
  if @api_client.config.debugging
176
192
  @api_client.config.logger.debug 'Calling API: RepositoriesContainerPushApi.list ...'
177
193
  end
178
- 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"]
194
+ 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"]
179
195
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
180
196
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
181
197
  end
@@ -203,6 +219,14 @@ module PulpContainerClient
203
219
  query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
204
220
  query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
205
221
  query_params[:'remote'] = opts[:'remote'] if !opts[:'remote'].nil?
222
+ query_params[:'retain_checkpoints'] = opts[:'retain_checkpoints'] if !opts[:'retain_checkpoints'].nil?
223
+ query_params[:'retain_checkpoints__gt'] = opts[:'retain_checkpoints__gt'] if !opts[:'retain_checkpoints__gt'].nil?
224
+ query_params[:'retain_checkpoints__gte'] = opts[:'retain_checkpoints__gte'] if !opts[:'retain_checkpoints__gte'].nil?
225
+ query_params[:'retain_checkpoints__isnull'] = opts[:'retain_checkpoints__isnull'] if !opts[:'retain_checkpoints__isnull'].nil?
226
+ query_params[:'retain_checkpoints__lt'] = opts[:'retain_checkpoints__lt'] if !opts[:'retain_checkpoints__lt'].nil?
227
+ query_params[:'retain_checkpoints__lte'] = opts[:'retain_checkpoints__lte'] if !opts[:'retain_checkpoints__lte'].nil?
228
+ query_params[:'retain_checkpoints__ne'] = opts[:'retain_checkpoints__ne'] if !opts[:'retain_checkpoints__ne'].nil?
229
+ query_params[:'retain_checkpoints__range'] = @api_client.build_collection_param(opts[:'retain_checkpoints__range'], :csv) if !opts[:'retain_checkpoints__range'].nil?
206
230
  query_params[:'retain_repo_versions'] = opts[:'retain_repo_versions'] if !opts[:'retain_repo_versions'].nil?
207
231
  query_params[:'retain_repo_versions__gt'] = opts[:'retain_repo_versions__gt'] if !opts[:'retain_repo_versions__gt'].nil?
208
232
  query_params[:'retain_repo_versions__gte'] = opts[:'retain_repo_versions__gte'] if !opts[:'retain_repo_versions__gte'].nil?
@@ -16,26 +16,26 @@ require 'time'
16
16
  module PulpContainerClient
17
17
  # A serializer for ContainerDistribution.
18
18
  class ContainerContainerDistribution
19
- # Whether this distribution should be shown in the content app.
20
- attr_accessor :hidden
21
-
22
19
  # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
23
20
  attr_accessor :base_path
24
21
 
25
- # The latest RepositoryVersion for this Repository will be served.
26
- attr_accessor :repository
22
+ # A unique name. Ex, `rawhide` and `stable`.
23
+ attr_accessor :name
27
24
 
28
25
  # An optional content-guard. If none is specified, a default one will be used.
29
26
  attr_accessor :content_guard
30
27
 
31
28
  attr_accessor :pulp_labels
32
29
 
33
- # A unique name. Ex, `rawhide` and `stable`.
34
- attr_accessor :name
30
+ # The latest RepositoryVersion for this Repository will be served.
31
+ attr_accessor :repository
35
32
 
36
33
  # RepositoryVersion to be served
37
34
  attr_accessor :repository_version
38
35
 
36
+ # Whether this distribution should be shown in the content app.
37
+ attr_accessor :hidden
38
+
39
39
  # Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access.
40
40
  attr_accessor :private
41
41
 
@@ -45,13 +45,13 @@ module PulpContainerClient
45
45
  # Attribute mapping from ruby-style variable name to JSON key.
46
46
  def self.attribute_map
47
47
  {
48
- :'hidden' => :'hidden',
49
48
  :'base_path' => :'base_path',
50
- :'repository' => :'repository',
49
+ :'name' => :'name',
51
50
  :'content_guard' => :'content_guard',
52
51
  :'pulp_labels' => :'pulp_labels',
53
- :'name' => :'name',
52
+ :'repository' => :'repository',
54
53
  :'repository_version' => :'repository_version',
54
+ :'hidden' => :'hidden',
55
55
  :'private' => :'private',
56
56
  :'description' => :'description'
57
57
  }
@@ -65,13 +65,13 @@ module PulpContainerClient
65
65
  # Attribute type mapping.
66
66
  def self.openapi_types
67
67
  {
68
- :'hidden' => :'Boolean',
69
68
  :'base_path' => :'String',
70
- :'repository' => :'String',
69
+ :'name' => :'String',
71
70
  :'content_guard' => :'String',
72
71
  :'pulp_labels' => :'Hash<String, String>',
73
- :'name' => :'String',
72
+ :'repository' => :'String',
74
73
  :'repository_version' => :'String',
74
+ :'hidden' => :'Boolean',
75
75
  :'private' => :'Boolean',
76
76
  :'description' => :'String'
77
77
  }
@@ -101,20 +101,16 @@ module PulpContainerClient
101
101
  h[k.to_sym] = v
102
102
  }
103
103
 
104
- if attributes.key?(:'hidden')
105
- self.hidden = attributes[:'hidden']
106
- else
107
- self.hidden = false
108
- end
109
-
110
104
  if attributes.key?(:'base_path')
111
105
  self.base_path = attributes[:'base_path']
112
106
  else
113
107
  self.base_path = nil
114
108
  end
115
109
 
116
- if attributes.key?(:'repository')
117
- self.repository = attributes[:'repository']
110
+ if attributes.key?(:'name')
111
+ self.name = attributes[:'name']
112
+ else
113
+ self.name = nil
118
114
  end
119
115
 
120
116
  if attributes.key?(:'content_guard')
@@ -127,16 +123,20 @@ module PulpContainerClient
127
123
  end
128
124
  end
129
125
 
130
- if attributes.key?(:'name')
131
- self.name = attributes[:'name']
132
- else
133
- self.name = nil
126
+ if attributes.key?(:'repository')
127
+ self.repository = attributes[:'repository']
134
128
  end
135
129
 
136
130
  if attributes.key?(:'repository_version')
137
131
  self.repository_version = attributes[:'repository_version']
138
132
  end
139
133
 
134
+ if attributes.key?(:'hidden')
135
+ self.hidden = attributes[:'hidden']
136
+ else
137
+ self.hidden = false
138
+ end
139
+
140
140
  if attributes.key?(:'private')
141
141
  self.private = attributes[:'private']
142
142
  end
@@ -229,13 +229,13 @@ module PulpContainerClient
229
229
  def ==(o)
230
230
  return true if self.equal?(o)
231
231
  self.class == o.class &&
232
- hidden == o.hidden &&
233
232
  base_path == o.base_path &&
234
- repository == o.repository &&
233
+ name == o.name &&
235
234
  content_guard == o.content_guard &&
236
235
  pulp_labels == o.pulp_labels &&
237
- name == o.name &&
236
+ repository == o.repository &&
238
237
  repository_version == o.repository_version &&
238
+ hidden == o.hidden &&
239
239
  private == o.private &&
240
240
  description == o.description
241
241
  end
@@ -249,7 +249,7 @@ module PulpContainerClient
249
249
  # Calculates hash code according to all attributes.
250
250
  # @return [Integer] Hash code
251
251
  def hash
252
- [hidden, base_path, repository, content_guard, pulp_labels, name, repository_version, private, description].hash
252
+ [base_path, name, content_guard, pulp_labels, repository, repository_version, hidden, private, description].hash
253
253
  end
254
254
 
255
255
  # Builds the object from hash
@@ -19,37 +19,40 @@ module PulpContainerClient
19
19
  # Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
20
20
  attr_accessor :no_content_change_since
21
21
 
22
- # Timestamp of creation.
23
- attr_accessor :pulp_created
24
-
25
- # Whether this distribution should be shown in the content app.
26
- attr_accessor :hidden
22
+ # The Pulp Resource Name (PRN).
23
+ attr_accessor :prn
27
24
 
28
25
  # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
29
26
  attr_accessor :base_path
30
27
 
31
- # The Pulp Resource Name (PRN).
32
- attr_accessor :prn
33
-
34
- # The latest RepositoryVersion for this Repository will be served.
35
- attr_accessor :repository
28
+ # A unique name. Ex, `rawhide` and `stable`.
29
+ attr_accessor :name
36
30
 
37
31
  # An optional content-guard. If none is specified, a default one will be used.
38
32
  attr_accessor :content_guard
39
33
 
40
- # 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.
41
- attr_accessor :pulp_last_updated
34
+ # The Pulp Resource Name (PRN) of the associated optional content guard.
35
+ attr_accessor :content_guard_prn
42
36
 
43
37
  attr_accessor :pulp_labels
44
38
 
45
39
  attr_accessor :pulp_href
46
40
 
47
- # A unique name. Ex, `rawhide` and `stable`.
48
- attr_accessor :name
41
+ # Timestamp of creation.
42
+ attr_accessor :pulp_created
43
+
44
+ # 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.
45
+ attr_accessor :pulp_last_updated
46
+
47
+ # The latest RepositoryVersion for this Repository will be served.
48
+ attr_accessor :repository
49
49
 
50
50
  # RepositoryVersion to be served
51
51
  attr_accessor :repository_version
52
52
 
53
+ # Whether this distribution should be shown in the content app.
54
+ attr_accessor :hidden
55
+
53
56
  # The Registry hostname/name/ to use with docker pull command defined by this distribution.
54
57
  attr_accessor :registry_path
55
58
 
@@ -69,17 +72,18 @@ module PulpContainerClient
69
72
  def self.attribute_map
70
73
  {
71
74
  :'no_content_change_since' => :'no_content_change_since',
72
- :'pulp_created' => :'pulp_created',
73
- :'hidden' => :'hidden',
74
- :'base_path' => :'base_path',
75
75
  :'prn' => :'prn',
76
- :'repository' => :'repository',
76
+ :'base_path' => :'base_path',
77
+ :'name' => :'name',
77
78
  :'content_guard' => :'content_guard',
78
- :'pulp_last_updated' => :'pulp_last_updated',
79
+ :'content_guard_prn' => :'content_guard_prn',
79
80
  :'pulp_labels' => :'pulp_labels',
80
81
  :'pulp_href' => :'pulp_href',
81
- :'name' => :'name',
82
+ :'pulp_created' => :'pulp_created',
83
+ :'pulp_last_updated' => :'pulp_last_updated',
84
+ :'repository' => :'repository',
82
85
  :'repository_version' => :'repository_version',
86
+ :'hidden' => :'hidden',
83
87
  :'registry_path' => :'registry_path',
84
88
  :'remote' => :'remote',
85
89
  :'namespace' => :'namespace',
@@ -97,17 +101,18 @@ module PulpContainerClient
97
101
  def self.openapi_types
98
102
  {
99
103
  :'no_content_change_since' => :'String',
100
- :'pulp_created' => :'Time',
101
- :'hidden' => :'Boolean',
102
- :'base_path' => :'String',
103
104
  :'prn' => :'String',
104
- :'repository' => :'String',
105
+ :'base_path' => :'String',
106
+ :'name' => :'String',
105
107
  :'content_guard' => :'String',
106
- :'pulp_last_updated' => :'Time',
108
+ :'content_guard_prn' => :'String',
107
109
  :'pulp_labels' => :'Hash<String, String>',
108
110
  :'pulp_href' => :'String',
109
- :'name' => :'String',
111
+ :'pulp_created' => :'Time',
112
+ :'pulp_last_updated' => :'Time',
113
+ :'repository' => :'String',
110
114
  :'repository_version' => :'String',
115
+ :'hidden' => :'Boolean',
111
116
  :'registry_path' => :'String',
112
117
  :'remote' => :'String',
113
118
  :'namespace' => :'String',
@@ -144,14 +149,8 @@ module PulpContainerClient
144
149
  self.no_content_change_since = attributes[:'no_content_change_since']
145
150
  end
146
151
 
147
- if attributes.key?(:'pulp_created')
148
- self.pulp_created = attributes[:'pulp_created']
149
- end
150
-
151
- if attributes.key?(:'hidden')
152
- self.hidden = attributes[:'hidden']
153
- else
154
- self.hidden = false
152
+ if attributes.key?(:'prn')
153
+ self.prn = attributes[:'prn']
155
154
  end
156
155
 
157
156
  if attributes.key?(:'base_path')
@@ -160,20 +159,18 @@ module PulpContainerClient
160
159
  self.base_path = nil
161
160
  end
162
161
 
163
- if attributes.key?(:'prn')
164
- self.prn = attributes[:'prn']
165
- end
166
-
167
- if attributes.key?(:'repository')
168
- self.repository = attributes[:'repository']
162
+ if attributes.key?(:'name')
163
+ self.name = attributes[:'name']
164
+ else
165
+ self.name = nil
169
166
  end
170
167
 
171
168
  if attributes.key?(:'content_guard')
172
169
  self.content_guard = attributes[:'content_guard']
173
170
  end
174
171
 
175
- if attributes.key?(:'pulp_last_updated')
176
- self.pulp_last_updated = attributes[:'pulp_last_updated']
172
+ if attributes.key?(:'content_guard_prn')
173
+ self.content_guard_prn = attributes[:'content_guard_prn']
177
174
  end
178
175
 
179
176
  if attributes.key?(:'pulp_labels')
@@ -186,16 +183,28 @@ module PulpContainerClient
186
183
  self.pulp_href = attributes[:'pulp_href']
187
184
  end
188
185
 
189
- if attributes.key?(:'name')
190
- self.name = attributes[:'name']
191
- else
192
- self.name = nil
186
+ if attributes.key?(:'pulp_created')
187
+ self.pulp_created = attributes[:'pulp_created']
188
+ end
189
+
190
+ if attributes.key?(:'pulp_last_updated')
191
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
192
+ end
193
+
194
+ if attributes.key?(:'repository')
195
+ self.repository = attributes[:'repository']
193
196
  end
194
197
 
195
198
  if attributes.key?(:'repository_version')
196
199
  self.repository_version = attributes[:'repository_version']
197
200
  end
198
201
 
202
+ if attributes.key?(:'hidden')
203
+ self.hidden = attributes[:'hidden']
204
+ else
205
+ self.hidden = false
206
+ end
207
+
199
208
  if attributes.key?(:'registry_path')
200
209
  self.registry_path = attributes[:'registry_path']
201
210
  end
@@ -248,17 +257,18 @@ module PulpContainerClient
248
257
  return true if self.equal?(o)
249
258
  self.class == o.class &&
250
259
  no_content_change_since == o.no_content_change_since &&
251
- pulp_created == o.pulp_created &&
252
- hidden == o.hidden &&
253
- base_path == o.base_path &&
254
260
  prn == o.prn &&
255
- repository == o.repository &&
261
+ base_path == o.base_path &&
262
+ name == o.name &&
256
263
  content_guard == o.content_guard &&
257
- pulp_last_updated == o.pulp_last_updated &&
264
+ content_guard_prn == o.content_guard_prn &&
258
265
  pulp_labels == o.pulp_labels &&
259
266
  pulp_href == o.pulp_href &&
260
- name == o.name &&
267
+ pulp_created == o.pulp_created &&
268
+ pulp_last_updated == o.pulp_last_updated &&
269
+ repository == o.repository &&
261
270
  repository_version == o.repository_version &&
271
+ hidden == o.hidden &&
262
272
  registry_path == o.registry_path &&
263
273
  remote == o.remote &&
264
274
  namespace == o.namespace &&
@@ -275,7 +285,7 @@ module PulpContainerClient
275
285
  # Calculates hash code according to all attributes.
276
286
  # @return [Integer] Hash code
277
287
  def hash
278
- [no_content_change_since, pulp_created, hidden, base_path, prn, repository, content_guard, pulp_last_updated, pulp_labels, pulp_href, name, repository_version, registry_path, remote, namespace, private, description].hash
288
+ [no_content_change_since, prn, base_path, name, content_guard, content_guard_prn, pulp_labels, pulp_href, pulp_created, pulp_last_updated, repository, repository_version, hidden, registry_path, remote, namespace, private, description].hash
279
289
  end
280
290
 
281
291
  # Builds the object from hash