pulp_container_client 2.27.15 → 2.28.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +6 -6
  3. data/docs/ContainerContainerDistribution.md +6 -6
  4. data/docs/ContainerContainerDistributionResponse.md +16 -16
  5. data/docs/ContainerContainerNamespace.md +3 -1
  6. data/docs/ContainerContainerNamespaceResponse.md +3 -1
  7. data/docs/ContainerContainerPullThroughDistribution.md +6 -6
  8. data/docs/ContainerContainerPullThroughDistributionResponse.md +16 -16
  9. data/docs/ContainerContainerPushRepository.md +5 -5
  10. data/docs/ContainerContainerPushRepositoryResponse.md +13 -13
  11. data/docs/ContainerContainerRemote.md +6 -2
  12. data/docs/ContainerContainerRemoteResponse.md +4 -4
  13. data/docs/ContainerManifestSignatureResponse.md +2 -0
  14. data/docs/ContentSignaturesApi.md +2 -2
  15. data/docs/DistributionsPullThroughApi.md +10 -10
  16. data/docs/PatchedcontainerContainerDistribution.md +6 -6
  17. data/docs/PatchedcontainerContainerPullThroughDistribution.md +6 -6
  18. data/docs/PatchedcontainerContainerPushRepository.md +5 -5
  19. data/docs/PatchedcontainerContainerRemote.md +6 -2
  20. data/docs/PulpContainerNamespacesApi.md +2 -2
  21. data/lib/pulp_container_client/api/content_signatures_api.rb +3 -3
  22. data/lib/pulp_container_client/api/distributions_pull_through_api.rb +8 -4
  23. data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +3 -3
  24. data/lib/pulp_container_client/models/container_container_distribution.rb +25 -25
  25. data/lib/pulp_container_client/models/container_container_distribution_response.rb +66 -66
  26. data/lib/pulp_container_client/models/container_container_namespace.rb +15 -4
  27. data/lib/pulp_container_client/models/container_container_namespace_response.rb +15 -4
  28. data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +25 -25
  29. data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +66 -66
  30. data/lib/pulp_container_client/models/container_container_push_repository.rb +59 -59
  31. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +75 -75
  32. data/lib/pulp_container_client/models/container_container_remote.rb +29 -3
  33. data/lib/pulp_container_client/models/container_container_remote_response.rb +19 -19
  34. data/lib/pulp_container_client/models/container_manifest_signature_response.rb +14 -1
  35. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +22 -22
  36. data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +22 -22
  37. data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +56 -56
  38. data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +29 -3
  39. data/lib/pulp_container_client/version.rb +1 -1
  40. data/spec/api/content_signatures_api_spec.rb +1 -1
  41. data/spec/api/distributions_pull_through_api_spec.rb +4 -2
  42. data/spec/api/pulp_container_namespaces_api_spec.rb +1 -1
  43. data/spec/models/container_container_distribution_response_spec.rb +10 -10
  44. data/spec/models/container_container_distribution_spec.rb +3 -3
  45. data/spec/models/container_container_namespace_response_spec.rb +6 -0
  46. data/spec/models/container_container_namespace_spec.rb +6 -0
  47. data/spec/models/container_container_pull_through_distribution_response_spec.rb +10 -10
  48. data/spec/models/container_container_pull_through_distribution_spec.rb +3 -3
  49. data/spec/models/container_container_push_repository_response_spec.rb +10 -10
  50. data/spec/models/container_container_push_repository_spec.rb +5 -5
  51. data/spec/models/container_container_remote_response_spec.rb +2 -2
  52. data/spec/models/container_container_remote_spec.rb +12 -0
  53. data/spec/models/container_manifest_signature_response_spec.rb +6 -0
  54. data/spec/models/patchedcontainer_container_distribution_spec.rb +3 -3
  55. data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +3 -3
  56. data/spec/models/patchedcontainer_container_push_repository_spec.rb +5 -5
  57. data/spec/models/patchedcontainer_container_remote_spec.rb +12 -0
  58. metadata +56 -56
@@ -272,7 +272,7 @@ opts = {
272
272
  name__regex: 'name__regex_example', # String | Filter results where name matches regex value
273
273
  name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
274
274
  offset: 56, # Integer | The initial index from which to return the results.
275
- ordering: ['-name'], # 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) * `name` - Name * `-name` - Name (descending) * `pk` - Pk * `-pk` - Pk (descending)
275
+ ordering: ['-name'], # 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) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `pk` - Pk * `-pk` - Pk (descending)
276
276
  prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
277
277
  pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
278
278
  pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
@@ -324,7 +324,7 @@ end
324
324
  | **name__regex** | **String** | Filter results where name matches regex value | [optional] |
325
325
  | **name__startswith** | **String** | Filter results where name starts with value | [optional] |
326
326
  | **offset** | **Integer** | The initial index from which to return the results. | [optional] |
327
- | **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;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional] |
327
+ | **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;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional] |
328
328
  | **prn__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
329
329
  | **pulp_href__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
330
330
  | **pulp_id__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
@@ -39,7 +39,7 @@ module PulpContainerClient
39
39
  # @option opts [String] :name__regex Filter results where name matches regex value
40
40
  # @option opts [String] :name__startswith Filter results where name starts with value
41
41
  # @option opts [Integer] :offset The initial index from which to return the results.
42
- # @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;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;digest&#x60; - Digest * &#x60;-digest&#x60; - Digest (descending) * &#x60;type&#x60; - Type * &#x60;-type&#x60; - Type (descending) * &#x60;key_id&#x60; - Key id * &#x60;-key_id&#x60; - Key id (descending) * &#x60;timestamp&#x60; - Timestamp * &#x60;-timestamp&#x60; - Timestamp (descending) * &#x60;creator&#x60; - Creator * &#x60;-creator&#x60; - Creator (descending) * &#x60;data&#x60; - Data * &#x60;-data&#x60; - Data (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
42
+ # @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;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;digest&#x60; - Digest * &#x60;-digest&#x60; - Digest (descending) * &#x60;type&#x60; - Type * &#x60;-type&#x60; - Type (descending) * &#x60;key_id&#x60; - Key id * &#x60;-key_id&#x60; - Key id (descending) * &#x60;fingerprint&#x60; - Fingerprint * &#x60;-fingerprint&#x60; - Fingerprint (descending) * &#x60;timestamp&#x60; - Timestamp * &#x60;-timestamp&#x60; - Timestamp (descending) * &#x60;creator&#x60; - Creator * &#x60;-creator&#x60; - Creator (descending) * &#x60;data&#x60; - Data * &#x60;-data&#x60; - Data (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
43
43
  # @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
44
44
  # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
45
45
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
@@ -77,7 +77,7 @@ module PulpContainerClient
77
77
  # @option opts [String] :name__regex Filter results where name matches regex value
78
78
  # @option opts [String] :name__startswith Filter results where name starts with value
79
79
  # @option opts [Integer] :offset The initial index from which to return the results.
80
- # @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;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;digest&#x60; - Digest * &#x60;-digest&#x60; - Digest (descending) * &#x60;type&#x60; - Type * &#x60;-type&#x60; - Type (descending) * &#x60;key_id&#x60; - Key id * &#x60;-key_id&#x60; - Key id (descending) * &#x60;timestamp&#x60; - Timestamp * &#x60;-timestamp&#x60; - Timestamp (descending) * &#x60;creator&#x60; - Creator * &#x60;-creator&#x60; - Creator (descending) * &#x60;data&#x60; - Data * &#x60;-data&#x60; - Data (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
80
+ # @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;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;digest&#x60; - Digest * &#x60;-digest&#x60; - Digest (descending) * &#x60;type&#x60; - Type * &#x60;-type&#x60; - Type (descending) * &#x60;key_id&#x60; - Key id * &#x60;-key_id&#x60; - Key id (descending) * &#x60;fingerprint&#x60; - Fingerprint * &#x60;-fingerprint&#x60; - Fingerprint (descending) * &#x60;timestamp&#x60; - Timestamp * &#x60;-timestamp&#x60; - Timestamp (descending) * &#x60;creator&#x60; - Creator * &#x60;-creator&#x60; - Creator (descending) * &#x60;data&#x60; - Data * &#x60;-data&#x60; - Data (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
81
81
  # @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
82
82
  # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
83
83
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
@@ -94,7 +94,7 @@ module PulpContainerClient
94
94
  if @api_client.config.debugging
95
95
  @api_client.config.logger.debug 'Calling API: ContentSignaturesApi.list ...'
96
96
  end
97
- allowable_values = ["-creator", "-data", "-digest", "-key_id", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-timestamp", "-timestamp_of_interest", "-type", "-upstream_id", "creator", "data", "digest", "key_id", "name", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "timestamp", "timestamp_of_interest", "type", "upstream_id"]
97
+ allowable_values = ["-creator", "-data", "-digest", "-fingerprint", "-key_id", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-timestamp", "-timestamp_of_interest", "-type", "-upstream_id", "creator", "data", "digest", "fingerprint", "key_id", "name", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "timestamp", "timestamp_of_interest", "type", "upstream_id"]
98
98
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
99
99
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
100
100
  end
@@ -748,7 +748,8 @@ module PulpContainerClient
748
748
  return data, status_code, headers
749
749
  end
750
750
 
751
- # Prevent clients from changing the internal pull-through marker.
751
+ # Set a label
752
+ # Set a single pulp_label on the object to a specific value or null.
752
753
  # @param container_container_pull_through_distribution_href [String]
753
754
  # @param set_label [SetLabel]
754
755
  # @param [Hash] opts the optional parameters
@@ -759,7 +760,8 @@ module PulpContainerClient
759
760
  data
760
761
  end
761
762
 
762
- # Prevent clients from changing the internal pull-through marker.
763
+ # Set a label
764
+ # Set a single pulp_label on the object to a specific value or null.
763
765
  # @param container_container_pull_through_distribution_href [String]
764
766
  # @param set_label [SetLabel]
765
767
  # @param [Hash] opts the optional parameters
@@ -823,7 +825,8 @@ module PulpContainerClient
823
825
  return data, status_code, headers
824
826
  end
825
827
 
826
- # Prevent clients from removing the internal pull-through marker.
828
+ # Unset a label
829
+ # Unset a single pulp_label on the object.
827
830
  # @param container_container_pull_through_distribution_href [String]
828
831
  # @param unset_label [UnsetLabel]
829
832
  # @param [Hash] opts the optional parameters
@@ -834,7 +837,8 @@ module PulpContainerClient
834
837
  data
835
838
  end
836
839
 
837
- # Prevent clients from removing the internal pull-through marker.
840
+ # Unset a label
841
+ # Unset a single pulp_label on the object.
838
842
  # @param container_container_pull_through_distribution_href [String]
839
843
  # @param unset_label [UnsetLabel]
840
844
  # @param [Hash] opts the optional parameters
@@ -248,7 +248,7 @@ module PulpContainerClient
248
248
  # @option opts [String] :name__regex Filter results where name matches regex value
249
249
  # @option opts [String] :name__startswith Filter results where name starts with value
250
250
  # @option opts [Integer] :offset The initial index from which to return the results.
251
- # @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;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
251
+ # @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;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
252
252
  # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
253
253
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
254
254
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
@@ -276,7 +276,7 @@ module PulpContainerClient
276
276
  # @option opts [String] :name__regex Filter results where name matches regex value
277
277
  # @option opts [String] :name__startswith Filter results where name starts with value
278
278
  # @option opts [Integer] :offset The initial index from which to return the results.
279
- # @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;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
279
+ # @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;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
280
280
  # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
281
281
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
282
282
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
@@ -288,7 +288,7 @@ module PulpContainerClient
288
288
  if @api_client.config.debugging
289
289
  @api_client.config.logger.debug 'Calling API: PulpContainerNamespacesApi.list ...'
290
290
  end
291
- allowable_values = ["-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "name", "pk", "pulp_created", "pulp_id", "pulp_last_updated"]
291
+ allowable_values = ["-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "name", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated"]
292
292
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
293
293
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
294
294
  end
@@ -19,13 +19,13 @@ module PulpContainerClient
19
19
  # Whether this distribution should be shown in the content app.
20
20
  attr_accessor :hidden
21
21
 
22
- # An optional content-guard. If none is specified, a default one will be used.
23
- attr_accessor :content_guard
22
+ # 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
+ attr_accessor :base_path
24
24
 
25
25
  attr_accessor :pulp_labels
26
26
 
27
- # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
28
- attr_accessor :base_path
27
+ # A unique name. Ex, `rawhide` and `stable`.
28
+ attr_accessor :name
29
29
 
30
30
  # The latest RepositoryVersion for this Repository will be served.
31
31
  attr_accessor :repository
@@ -33,8 +33,8 @@ module PulpContainerClient
33
33
  # RepositoryVersion to be served
34
34
  attr_accessor :repository_version
35
35
 
36
- # A unique name. Ex, `rawhide` and `stable`.
37
- attr_accessor :name
36
+ # An optional content-guard. If none is specified, a default one will be used.
37
+ attr_accessor :content_guard
38
38
 
39
39
  # Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access.
40
40
  attr_accessor :private
@@ -46,12 +46,12 @@ module PulpContainerClient
46
46
  def self.attribute_map
47
47
  {
48
48
  :'hidden' => :'hidden',
49
- :'content_guard' => :'content_guard',
50
- :'pulp_labels' => :'pulp_labels',
51
49
  :'base_path' => :'base_path',
50
+ :'pulp_labels' => :'pulp_labels',
51
+ :'name' => :'name',
52
52
  :'repository' => :'repository',
53
53
  :'repository_version' => :'repository_version',
54
- :'name' => :'name',
54
+ :'content_guard' => :'content_guard',
55
55
  :'private' => :'private',
56
56
  :'description' => :'description'
57
57
  }
@@ -66,12 +66,12 @@ module PulpContainerClient
66
66
  def self.openapi_types
67
67
  {
68
68
  :'hidden' => :'Boolean',
69
- :'content_guard' => :'String',
70
- :'pulp_labels' => :'Hash<String, String>',
71
69
  :'base_path' => :'String',
70
+ :'pulp_labels' => :'Hash<String, String>',
71
+ :'name' => :'String',
72
72
  :'repository' => :'String',
73
73
  :'repository_version' => :'String',
74
- :'name' => :'String',
74
+ :'content_guard' => :'String',
75
75
  :'private' => :'Boolean',
76
76
  :'description' => :'String'
77
77
  }
@@ -107,8 +107,10 @@ module PulpContainerClient
107
107
  self.hidden = false
108
108
  end
109
109
 
110
- if attributes.key?(:'content_guard')
111
- self.content_guard = attributes[:'content_guard']
110
+ if attributes.key?(:'base_path')
111
+ self.base_path = attributes[:'base_path']
112
+ else
113
+ self.base_path = nil
112
114
  end
113
115
 
114
116
  if attributes.key?(:'pulp_labels')
@@ -117,10 +119,10 @@ module PulpContainerClient
117
119
  end
118
120
  end
119
121
 
120
- if attributes.key?(:'base_path')
121
- self.base_path = attributes[:'base_path']
122
+ if attributes.key?(:'name')
123
+ self.name = attributes[:'name']
122
124
  else
123
- self.base_path = nil
125
+ self.name = nil
124
126
  end
125
127
 
126
128
  if attributes.key?(:'repository')
@@ -131,10 +133,8 @@ module PulpContainerClient
131
133
  self.repository_version = attributes[:'repository_version']
132
134
  end
133
135
 
134
- if attributes.key?(:'name')
135
- self.name = attributes[:'name']
136
- else
137
- self.name = nil
136
+ if attributes.key?(:'content_guard')
137
+ self.content_guard = attributes[:'content_guard']
138
138
  end
139
139
 
140
140
  if attributes.key?(:'private')
@@ -230,12 +230,12 @@ module PulpContainerClient
230
230
  return true if self.equal?(o)
231
231
  self.class == o.class &&
232
232
  hidden == o.hidden &&
233
- content_guard == o.content_guard &&
234
- pulp_labels == o.pulp_labels &&
235
233
  base_path == o.base_path &&
234
+ pulp_labels == o.pulp_labels &&
235
+ name == o.name &&
236
236
  repository == o.repository &&
237
237
  repository_version == o.repository_version &&
238
- name == o.name &&
238
+ content_guard == o.content_guard &&
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, content_guard, pulp_labels, base_path, repository, repository_version, name, private, description].hash
252
+ [hidden, base_path, pulp_labels, name, repository, repository_version, content_guard, private, description].hash
253
253
  end
254
254
 
255
255
  # Builds the object from hash
@@ -19,39 +19,39 @@ module PulpContainerClient
19
19
  # Whether this distribution should be shown in the content app.
20
20
  attr_accessor :hidden
21
21
 
22
- # Timestamp of creation.
23
- attr_accessor :pulp_created
24
-
25
- # Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
26
- attr_accessor :no_content_change_since
27
-
28
- # An optional content-guard. If none is specified, a default one will be used.
29
- attr_accessor :content_guard
22
+ # 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
+ attr_accessor :base_path
30
24
 
31
- attr_accessor :pulp_labels
25
+ # The Pulp Resource Name (PRN).
26
+ attr_accessor :prn
32
27
 
33
28
  # 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.
34
29
  attr_accessor :pulp_last_updated
35
30
 
36
- attr_accessor :pulp_href
31
+ attr_accessor :pulp_labels
37
32
 
38
- # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
39
- attr_accessor :base_path
33
+ attr_accessor :pulp_href
40
34
 
41
- # The Pulp Resource Name (PRN).
42
- attr_accessor :prn
35
+ # A unique name. Ex, `rawhide` and `stable`.
36
+ attr_accessor :name
43
37
 
44
38
  # The latest RepositoryVersion for this Repository will be served.
45
39
  attr_accessor :repository
46
40
 
41
+ # Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
42
+ attr_accessor :no_content_change_since
43
+
44
+ # The Pulp Resource Name (PRN) of the associated optional content guard.
45
+ attr_accessor :content_guard_prn
46
+
47
47
  # RepositoryVersion to be served
48
48
  attr_accessor :repository_version
49
49
 
50
- # A unique name. Ex, `rawhide` and `stable`.
51
- attr_accessor :name
50
+ # Timestamp of creation.
51
+ attr_accessor :pulp_created
52
52
 
53
- # The Pulp Resource Name (PRN) of the associated optional content guard.
54
- attr_accessor :content_guard_prn
53
+ # An optional content-guard. If none is specified, a default one will be used.
54
+ attr_accessor :content_guard
55
55
 
56
56
  # The Registry hostname/name/ to use with docker pull command defined by this distribution.
57
57
  attr_accessor :registry_path
@@ -72,18 +72,18 @@ module PulpContainerClient
72
72
  def self.attribute_map
73
73
  {
74
74
  :'hidden' => :'hidden',
75
- :'pulp_created' => :'pulp_created',
76
- :'no_content_change_since' => :'no_content_change_since',
77
- :'content_guard' => :'content_guard',
78
- :'pulp_labels' => :'pulp_labels',
79
- :'pulp_last_updated' => :'pulp_last_updated',
80
- :'pulp_href' => :'pulp_href',
81
75
  :'base_path' => :'base_path',
82
76
  :'prn' => :'prn',
83
- :'repository' => :'repository',
84
- :'repository_version' => :'repository_version',
77
+ :'pulp_last_updated' => :'pulp_last_updated',
78
+ :'pulp_labels' => :'pulp_labels',
79
+ :'pulp_href' => :'pulp_href',
85
80
  :'name' => :'name',
81
+ :'repository' => :'repository',
82
+ :'no_content_change_since' => :'no_content_change_since',
86
83
  :'content_guard_prn' => :'content_guard_prn',
84
+ :'repository_version' => :'repository_version',
85
+ :'pulp_created' => :'pulp_created',
86
+ :'content_guard' => :'content_guard',
87
87
  :'registry_path' => :'registry_path',
88
88
  :'remote' => :'remote',
89
89
  :'namespace' => :'namespace',
@@ -101,18 +101,18 @@ module PulpContainerClient
101
101
  def self.openapi_types
102
102
  {
103
103
  :'hidden' => :'Boolean',
104
- :'pulp_created' => :'Time',
105
- :'no_content_change_since' => :'String',
106
- :'content_guard' => :'String',
107
- :'pulp_labels' => :'Hash<String, String>',
108
- :'pulp_last_updated' => :'Time',
109
- :'pulp_href' => :'String',
110
104
  :'base_path' => :'String',
111
105
  :'prn' => :'String',
112
- :'repository' => :'String',
113
- :'repository_version' => :'String',
106
+ :'pulp_last_updated' => :'Time',
107
+ :'pulp_labels' => :'Hash<String, String>',
108
+ :'pulp_href' => :'String',
114
109
  :'name' => :'String',
110
+ :'repository' => :'String',
111
+ :'no_content_change_since' => :'String',
115
112
  :'content_guard_prn' => :'String',
113
+ :'repository_version' => :'String',
114
+ :'pulp_created' => :'Time',
115
+ :'content_guard' => :'String',
116
116
  :'registry_path' => :'String',
117
117
  :'remote' => :'String',
118
118
  :'namespace' => :'String',
@@ -151,16 +151,18 @@ module PulpContainerClient
151
151
  self.hidden = false
152
152
  end
153
153
 
154
- if attributes.key?(:'pulp_created')
155
- self.pulp_created = attributes[:'pulp_created']
154
+ if attributes.key?(:'base_path')
155
+ self.base_path = attributes[:'base_path']
156
+ else
157
+ self.base_path = nil
156
158
  end
157
159
 
158
- if attributes.key?(:'no_content_change_since')
159
- self.no_content_change_since = attributes[:'no_content_change_since']
160
+ if attributes.key?(:'prn')
161
+ self.prn = attributes[:'prn']
160
162
  end
161
163
 
162
- if attributes.key?(:'content_guard')
163
- self.content_guard = attributes[:'content_guard']
164
+ if attributes.key?(:'pulp_last_updated')
165
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
164
166
  end
165
167
 
166
168
  if attributes.key?(:'pulp_labels')
@@ -169,40 +171,38 @@ module PulpContainerClient
169
171
  end
170
172
  end
171
173
 
172
- if attributes.key?(:'pulp_last_updated')
173
- self.pulp_last_updated = attributes[:'pulp_last_updated']
174
- end
175
-
176
174
  if attributes.key?(:'pulp_href')
177
175
  self.pulp_href = attributes[:'pulp_href']
178
176
  end
179
177
 
180
- if attributes.key?(:'base_path')
181
- self.base_path = attributes[:'base_path']
178
+ if attributes.key?(:'name')
179
+ self.name = attributes[:'name']
182
180
  else
183
- self.base_path = nil
184
- end
185
-
186
- if attributes.key?(:'prn')
187
- self.prn = attributes[:'prn']
181
+ self.name = nil
188
182
  end
189
183
 
190
184
  if attributes.key?(:'repository')
191
185
  self.repository = attributes[:'repository']
192
186
  end
193
187
 
188
+ if attributes.key?(:'no_content_change_since')
189
+ self.no_content_change_since = attributes[:'no_content_change_since']
190
+ end
191
+
192
+ if attributes.key?(:'content_guard_prn')
193
+ self.content_guard_prn = attributes[:'content_guard_prn']
194
+ end
195
+
194
196
  if attributes.key?(:'repository_version')
195
197
  self.repository_version = attributes[:'repository_version']
196
198
  end
197
199
 
198
- if attributes.key?(:'name')
199
- self.name = attributes[:'name']
200
- else
201
- self.name = nil
200
+ if attributes.key?(:'pulp_created')
201
+ self.pulp_created = attributes[:'pulp_created']
202
202
  end
203
203
 
204
- if attributes.key?(:'content_guard_prn')
205
- self.content_guard_prn = attributes[:'content_guard_prn']
204
+ if attributes.key?(:'content_guard')
205
+ self.content_guard = attributes[:'content_guard']
206
206
  end
207
207
 
208
208
  if attributes.key?(:'registry_path')
@@ -257,18 +257,18 @@ module PulpContainerClient
257
257
  return true if self.equal?(o)
258
258
  self.class == o.class &&
259
259
  hidden == o.hidden &&
260
- pulp_created == o.pulp_created &&
261
- no_content_change_since == o.no_content_change_since &&
262
- content_guard == o.content_guard &&
263
- pulp_labels == o.pulp_labels &&
264
- pulp_last_updated == o.pulp_last_updated &&
265
- pulp_href == o.pulp_href &&
266
260
  base_path == o.base_path &&
267
261
  prn == o.prn &&
268
- repository == o.repository &&
269
- repository_version == o.repository_version &&
262
+ pulp_last_updated == o.pulp_last_updated &&
263
+ pulp_labels == o.pulp_labels &&
264
+ pulp_href == o.pulp_href &&
270
265
  name == o.name &&
266
+ repository == o.repository &&
267
+ no_content_change_since == o.no_content_change_since &&
271
268
  content_guard_prn == o.content_guard_prn &&
269
+ repository_version == o.repository_version &&
270
+ pulp_created == o.pulp_created &&
271
+ content_guard == o.content_guard &&
272
272
  registry_path == o.registry_path &&
273
273
  remote == o.remote &&
274
274
  namespace == o.namespace &&
@@ -285,7 +285,7 @@ module PulpContainerClient
285
285
  # Calculates hash code according to all attributes.
286
286
  # @return [Integer] Hash code
287
287
  def hash
288
- [hidden, pulp_created, no_content_change_since, content_guard, pulp_labels, pulp_last_updated, pulp_href, base_path, prn, repository, repository_version, name, content_guard_prn, registry_path, remote, namespace, private, description].hash
288
+ [hidden, base_path, prn, pulp_last_updated, pulp_labels, pulp_href, name, repository, no_content_change_since, content_guard_prn, repository_version, pulp_created, content_guard, registry_path, remote, namespace, private, description].hash
289
289
  end
290
290
 
291
291
  # Builds the object from hash
@@ -18,10 +18,13 @@ module PulpContainerClient
18
18
  class ContainerContainerNamespace
19
19
  attr_accessor :name
20
20
 
21
+ attr_accessor :pulp_labels
22
+
21
23
  # Attribute mapping from ruby-style variable name to JSON key.
22
24
  def self.attribute_map
23
25
  {
24
- :'name' => :'name'
26
+ :'name' => :'name',
27
+ :'pulp_labels' => :'pulp_labels'
25
28
  }
26
29
  end
27
30
 
@@ -33,7 +36,8 @@ module PulpContainerClient
33
36
  # Attribute type mapping.
34
37
  def self.openapi_types
35
38
  {
36
- :'name' => :'String'
39
+ :'name' => :'String',
40
+ :'pulp_labels' => :'Hash<String, String>'
37
41
  }
38
42
  end
39
43
 
@@ -63,6 +67,12 @@ module PulpContainerClient
63
67
  else
64
68
  self.name = nil
65
69
  end
70
+
71
+ if attributes.key?(:'pulp_labels')
72
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
73
+ self.pulp_labels = value
74
+ end
75
+ end
66
76
  end
67
77
 
68
78
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -109,7 +119,8 @@ module PulpContainerClient
109
119
  def ==(o)
110
120
  return true if self.equal?(o)
111
121
  self.class == o.class &&
112
- name == o.name
122
+ name == o.name &&
123
+ pulp_labels == o.pulp_labels
113
124
  end
114
125
 
115
126
  # @see the `==` method
@@ -121,7 +132,7 @@ module PulpContainerClient
121
132
  # Calculates hash code according to all attributes.
122
133
  # @return [Integer] Hash code
123
134
  def hash
124
- [name].hash
135
+ [name, pulp_labels].hash
125
136
  end
126
137
 
127
138
  # Builds the object from hash
@@ -29,6 +29,8 @@ module PulpContainerClient
29
29
 
30
30
  attr_accessor :name
31
31
 
32
+ attr_accessor :pulp_labels
33
+
32
34
  # Attribute mapping from ruby-style variable name to JSON key.
33
35
  def self.attribute_map
34
36
  {
@@ -36,7 +38,8 @@ module PulpContainerClient
36
38
  :'prn' => :'prn',
37
39
  :'pulp_created' => :'pulp_created',
38
40
  :'pulp_last_updated' => :'pulp_last_updated',
39
- :'name' => :'name'
41
+ :'name' => :'name',
42
+ :'pulp_labels' => :'pulp_labels'
40
43
  }
41
44
  end
42
45
 
@@ -52,7 +55,8 @@ module PulpContainerClient
52
55
  :'prn' => :'String',
53
56
  :'pulp_created' => :'Time',
54
57
  :'pulp_last_updated' => :'Time',
55
- :'name' => :'String'
58
+ :'name' => :'String',
59
+ :'pulp_labels' => :'Hash<String, String>'
56
60
  }
57
61
  end
58
62
 
@@ -98,6 +102,12 @@ module PulpContainerClient
98
102
  else
99
103
  self.name = nil
100
104
  end
105
+
106
+ if attributes.key?(:'pulp_labels')
107
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
108
+ self.pulp_labels = value
109
+ end
110
+ end
101
111
  end
102
112
 
103
113
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -129,7 +139,8 @@ module PulpContainerClient
129
139
  prn == o.prn &&
130
140
  pulp_created == o.pulp_created &&
131
141
  pulp_last_updated == o.pulp_last_updated &&
132
- name == o.name
142
+ name == o.name &&
143
+ pulp_labels == o.pulp_labels
133
144
  end
134
145
 
135
146
  # @see the `==` method
@@ -141,7 +152,7 @@ module PulpContainerClient
141
152
  # Calculates hash code according to all attributes.
142
153
  # @return [Integer] Hash code
143
154
  def hash
144
- [pulp_href, prn, pulp_created, pulp_last_updated, name].hash
155
+ [pulp_href, prn, pulp_created, pulp_last_updated, name, pulp_labels].hash
145
156
  end
146
157
 
147
158
  # Builds the object from hash