pulp_container_client 2.29.0 → 2.29.2

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 (51) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +8 -6
  3. data/docs/ContainerContainerDistribution.md +6 -6
  4. data/docs/ContainerContainerDistributionResponse.md +16 -16
  5. data/docs/ContainerContainerPullThroughDistribution.md +7 -7
  6. data/docs/ContainerContainerPullThroughDistributionResponse.md +16 -16
  7. data/docs/ContainerContainerPushRepository.md +5 -5
  8. data/docs/ContainerContainerPushRepositoryResponse.md +13 -13
  9. data/docs/ContainerRepositorySyncURL.md +1 -1
  10. data/docs/ContentBlobsApi.md +4 -0
  11. data/docs/ContentManifestsApi.md +4 -0
  12. data/docs/ContentSignaturesApi.md +4 -0
  13. data/docs/ContentTagsApi.md +4 -0
  14. data/docs/DistributionsPullThroughApi.md +10 -10
  15. data/docs/PatchedcontainerContainerDistribution.md +6 -6
  16. data/docs/PatchedcontainerContainerPullThroughDistribution.md +7 -7
  17. data/docs/PatchedcontainerContainerPushRepository.md +5 -5
  18. data/lib/pulp_container_client/api/content_blobs_api.rb +6 -0
  19. data/lib/pulp_container_client/api/content_manifests_api.rb +6 -0
  20. data/lib/pulp_container_client/api/content_signatures_api.rb +6 -0
  21. data/lib/pulp_container_client/api/content_tags_api.rb +6 -0
  22. data/lib/pulp_container_client/api/distributions_pull_through_api.rb +4 -8
  23. data/lib/pulp_container_client/models/container_container_distribution.rb +30 -30
  24. data/lib/pulp_container_client/models/container_container_distribution_response.rb +66 -66
  25. data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +31 -31
  26. data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +66 -66
  27. data/lib/pulp_container_client/models/container_container_push_repository.rb +38 -38
  28. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +59 -59
  29. data/lib/pulp_container_client/models/container_repository_sync_url.rb +1 -1
  30. data/lib/pulp_container_client/models/nested_role.rb +1 -1
  31. data/lib/pulp_container_client/models/nested_role_response.rb +1 -1
  32. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +30 -30
  33. data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +31 -31
  34. data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +38 -38
  35. data/lib/pulp_container_client/models/repository_version_response.rb +1 -1
  36. data/lib/pulp_container_client/version.rb +1 -1
  37. data/spec/api/content_blobs_api_spec.rb +2 -0
  38. data/spec/api/content_manifests_api_spec.rb +2 -0
  39. data/spec/api/content_signatures_api_spec.rb +2 -0
  40. data/spec/api/content_tags_api_spec.rb +2 -0
  41. data/spec/api/distributions_pull_through_api_spec.rb +2 -4
  42. data/spec/models/container_container_distribution_response_spec.rb +12 -12
  43. data/spec/models/container_container_distribution_spec.rb +6 -6
  44. data/spec/models/container_container_pull_through_distribution_response_spec.rb +12 -12
  45. data/spec/models/container_container_pull_through_distribution_spec.rb +6 -6
  46. data/spec/models/container_container_push_repository_response_spec.rb +11 -11
  47. data/spec/models/container_container_push_repository_spec.rb +5 -5
  48. data/spec/models/patchedcontainer_container_distribution_spec.rb +6 -6
  49. data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +6 -6
  50. data/spec/models/patchedcontainer_container_push_repository_spec.rb +5 -5
  51. metadata +59 -59
@@ -4,12 +4,12 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **description** | **String** | An optional description. | [optional] |
8
- | **pulp_labels** | **Hash<String, String>** | | [optional] |
9
7
  | **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional] |
8
+ | **pulp_labels** | **Hash<String, String>** | | [optional] |
10
9
  | **name** | **String** | A unique name for this repository. | [optional] |
11
10
  | **retain_checkpoints** | **Integer** | Retain X checkpoint publications for the repository. Default is null which retains all checkpoints. | [optional] |
12
11
  | **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional] |
12
+ | **description** | **String** | An optional description. | [optional] |
13
13
 
14
14
  ## Example
15
15
 
@@ -17,12 +17,12 @@
17
17
  require 'pulp_container_client'
18
18
 
19
19
  instance = PulpContainerClient::PatchedcontainerContainerPushRepository.new(
20
- description: null,
21
- pulp_labels: null,
22
20
  retain_repo_versions: null,
21
+ pulp_labels: null,
23
22
  name: null,
24
23
  retain_checkpoints: null,
25
- manifest_signing_service: null
24
+ manifest_signing_service: null,
25
+ description: null
26
26
  )
27
27
  ```
28
28
 
@@ -23,6 +23,7 @@ module PulpContainerClient
23
23
  # ViewSet for Blobs.
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 [Array<String>] :added_between
26
27
  # @option opts [String] :digest Filter results where digest matches value
27
28
  # @option opts [Array<String>] :digest__in Filter results where digest is in a comma-separated list of values
28
29
  # @option opts [Integer] :limit Number of results to return per page.
@@ -34,6 +35,7 @@ module PulpContainerClient
34
35
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
35
36
  # @option opts [String] :pulp_label_select Filter labels by search string
36
37
  # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
38
+ # @option opts [Array<String>] :removed_between
37
39
  # @option opts [String] :repository_version
38
40
  # @option opts [String] :repository_version_added
39
41
  # @option opts [String] :repository_version_removed
@@ -49,6 +51,7 @@ module PulpContainerClient
49
51
  # ViewSet for Blobs.
50
52
  # @param [Hash] opts the optional parameters
51
53
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
54
+ # @option opts [Array<String>] :added_between
52
55
  # @option opts [String] :digest Filter results where digest matches value
53
56
  # @option opts [Array<String>] :digest__in Filter results where digest is in a comma-separated list of values
54
57
  # @option opts [Integer] :limit Number of results to return per page.
@@ -60,6 +63,7 @@ module PulpContainerClient
60
63
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
61
64
  # @option opts [String] :pulp_label_select Filter labels by search string
62
65
  # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
66
+ # @option opts [Array<String>] :removed_between
63
67
  # @option opts [String] :repository_version
64
68
  # @option opts [String] :repository_version_added
65
69
  # @option opts [String] :repository_version_removed
@@ -79,6 +83,7 @@ module PulpContainerClient
79
83
 
80
84
  # query parameters
81
85
  query_params = opts[:query_params] || {}
86
+ query_params[:'added_between'] = @api_client.build_collection_param(opts[:'added_between'], :csv) if !opts[:'added_between'].nil?
82
87
  query_params[:'digest'] = opts[:'digest'] if !opts[:'digest'].nil?
83
88
  query_params[:'digest__in'] = @api_client.build_collection_param(opts[:'digest__in'], :csv) if !opts[:'digest__in'].nil?
84
89
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
@@ -90,6 +95,7 @@ module PulpContainerClient
90
95
  query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
91
96
  query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
92
97
  query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
98
+ query_params[:'removed_between'] = @api_client.build_collection_param(opts[:'removed_between'], :csv) if !opts[:'removed_between'].nil?
93
99
  query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
94
100
  query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
95
101
  query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
@@ -23,6 +23,7 @@ module PulpContainerClient
23
23
  # ViewSet for Manifest.
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 [Array<String>] :added_between
26
27
  # @option opts [String] :digest Filter results where digest matches value
27
28
  # @option opts [Array<String>] :digest__in Filter results where digest is in a comma-separated list of values
28
29
  # @option opts [Boolean] :is_bootable Filter results where is_bootable matches value
@@ -37,6 +38,7 @@ module PulpContainerClient
37
38
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
38
39
  # @option opts [String] :pulp_label_select Filter labels by search string
39
40
  # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
41
+ # @option opts [Array<String>] :removed_between
40
42
  # @option opts [String] :repository_version
41
43
  # @option opts [String] :repository_version_added
42
44
  # @option opts [String] :repository_version_removed
@@ -52,6 +54,7 @@ module PulpContainerClient
52
54
  # ViewSet for Manifest.
53
55
  # @param [Hash] opts the optional parameters
54
56
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
57
+ # @option opts [Array<String>] :added_between
55
58
  # @option opts [String] :digest Filter results where digest matches value
56
59
  # @option opts [Array<String>] :digest__in Filter results where digest is in a comma-separated list of values
57
60
  # @option opts [Boolean] :is_bootable Filter results where is_bootable matches value
@@ -66,6 +69,7 @@ module PulpContainerClient
66
69
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
67
70
  # @option opts [String] :pulp_label_select Filter labels by search string
68
71
  # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
72
+ # @option opts [Array<String>] :removed_between
69
73
  # @option opts [String] :repository_version
70
74
  # @option opts [String] :repository_version_added
71
75
  # @option opts [String] :repository_version_removed
@@ -89,6 +93,7 @@ module PulpContainerClient
89
93
 
90
94
  # query parameters
91
95
  query_params = opts[:query_params] || {}
96
+ query_params[:'added_between'] = @api_client.build_collection_param(opts[:'added_between'], :csv) if !opts[:'added_between'].nil?
92
97
  query_params[:'digest'] = opts[:'digest'] if !opts[:'digest'].nil?
93
98
  query_params[:'digest__in'] = @api_client.build_collection_param(opts[:'digest__in'], :csv) if !opts[:'digest__in'].nil?
94
99
  query_params[:'is_bootable'] = opts[:'is_bootable'] if !opts[:'is_bootable'].nil?
@@ -103,6 +108,7 @@ module PulpContainerClient
103
108
  query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
104
109
  query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
105
110
  query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
111
+ query_params[:'removed_between'] = @api_client.build_collection_param(opts[:'removed_between'], :csv) if !opts[:'removed_between'].nil?
106
112
  query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
107
113
  query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
108
114
  query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
@@ -23,6 +23,7 @@ module PulpContainerClient
23
23
  # ViewSet for image signatures.
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 [Array<String>] :added_between
26
27
  # @option opts [String] :digest Filter results where digest matches value
27
28
  # @option opts [Array<String>] :digest__in Filter results where digest is in a comma-separated list of values
28
29
  # @option opts [String] :key_id Filter results where key_id matches value
@@ -46,6 +47,7 @@ module PulpContainerClient
46
47
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
47
48
  # @option opts [String] :pulp_label_select Filter labels by search string
48
49
  # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
50
+ # @option opts [Array<String>] :removed_between
49
51
  # @option opts [String] :repository_version
50
52
  # @option opts [String] :repository_version_added
51
53
  # @option opts [String] :repository_version_removed
@@ -61,6 +63,7 @@ module PulpContainerClient
61
63
  # ViewSet for image signatures.
62
64
  # @param [Hash] opts the optional parameters
63
65
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
66
+ # @option opts [Array<String>] :added_between
64
67
  # @option opts [String] :digest Filter results where digest matches value
65
68
  # @option opts [Array<String>] :digest__in Filter results where digest is in a comma-separated list of values
66
69
  # @option opts [String] :key_id Filter results where key_id matches value
@@ -84,6 +87,7 @@ module PulpContainerClient
84
87
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
85
88
  # @option opts [String] :pulp_label_select Filter labels by search string
86
89
  # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
90
+ # @option opts [Array<String>] :removed_between
87
91
  # @option opts [String] :repository_version
88
92
  # @option opts [String] :repository_version_added
89
93
  # @option opts [String] :repository_version_removed
@@ -103,6 +107,7 @@ module PulpContainerClient
103
107
 
104
108
  # query parameters
105
109
  query_params = opts[:query_params] || {}
110
+ query_params[:'added_between'] = @api_client.build_collection_param(opts[:'added_between'], :csv) if !opts[:'added_between'].nil?
106
111
  query_params[:'digest'] = opts[:'digest'] if !opts[:'digest'].nil?
107
112
  query_params[:'digest__in'] = @api_client.build_collection_param(opts[:'digest__in'], :csv) if !opts[:'digest__in'].nil?
108
113
  query_params[:'key_id'] = opts[:'key_id'] if !opts[:'key_id'].nil?
@@ -126,6 +131,7 @@ module PulpContainerClient
126
131
  query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
127
132
  query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
128
133
  query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
134
+ query_params[:'removed_between'] = @api_client.build_collection_param(opts[:'removed_between'], :csv) if !opts[:'removed_between'].nil?
129
135
  query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
130
136
  query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
131
137
  query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
@@ -23,6 +23,7 @@ module PulpContainerClient
23
23
  # ViewSet for Tag.
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 [Array<String>] :added_between
26
27
  # @option opts [Array<String>] :digest Multiple values may be separated by commas.
27
28
  # @option opts [Integer] :limit Number of results to return per page.
28
29
  # @option opts [Array<String>] :media_type * &#x60;application/vnd.docker.distribution.manifest.v1+json&#x60; - application/vnd.docker.distribution.manifest.v1+json * &#x60;application/vnd.docker.distribution.manifest.v2+json&#x60; - application/vnd.docker.distribution.manifest.v2+json * &#x60;application/vnd.docker.distribution.manifest.list.v2+json&#x60; - application/vnd.docker.distribution.manifest.list.v2+json * &#x60;application/vnd.oci.image.manifest.v1+json&#x60; - application/vnd.oci.image.manifest.v1+json * &#x60;application/vnd.oci.image.index.v1+json&#x60; - application/vnd.oci.image.index.v1+json
@@ -36,6 +37,7 @@ module PulpContainerClient
36
37
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
37
38
  # @option opts [String] :pulp_label_select Filter labels by search string
38
39
  # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
40
+ # @option opts [Array<String>] :removed_between
39
41
  # @option opts [String] :repository_version
40
42
  # @option opts [String] :repository_version_added
41
43
  # @option opts [String] :repository_version_removed
@@ -51,6 +53,7 @@ module PulpContainerClient
51
53
  # ViewSet for Tag.
52
54
  # @param [Hash] opts the optional parameters
53
55
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
56
+ # @option opts [Array<String>] :added_between
54
57
  # @option opts [Array<String>] :digest Multiple values may be separated by commas.
55
58
  # @option opts [Integer] :limit Number of results to return per page.
56
59
  # @option opts [Array<String>] :media_type * &#x60;application/vnd.docker.distribution.manifest.v1+json&#x60; - application/vnd.docker.distribution.manifest.v1+json * &#x60;application/vnd.docker.distribution.manifest.v2+json&#x60; - application/vnd.docker.distribution.manifest.v2+json * &#x60;application/vnd.docker.distribution.manifest.list.v2+json&#x60; - application/vnd.docker.distribution.manifest.list.v2+json * &#x60;application/vnd.oci.image.manifest.v1+json&#x60; - application/vnd.oci.image.manifest.v1+json * &#x60;application/vnd.oci.image.index.v1+json&#x60; - application/vnd.oci.image.index.v1+json
@@ -64,6 +67,7 @@ module PulpContainerClient
64
67
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
65
68
  # @option opts [String] :pulp_label_select Filter labels by search string
66
69
  # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
70
+ # @option opts [Array<String>] :removed_between
67
71
  # @option opts [String] :repository_version
68
72
  # @option opts [String] :repository_version_added
69
73
  # @option opts [String] :repository_version_removed
@@ -87,6 +91,7 @@ module PulpContainerClient
87
91
 
88
92
  # query parameters
89
93
  query_params = opts[:query_params] || {}
94
+ query_params[:'added_between'] = @api_client.build_collection_param(opts[:'added_between'], :csv) if !opts[:'added_between'].nil?
90
95
  query_params[:'digest'] = @api_client.build_collection_param(opts[:'digest'], :csv) if !opts[:'digest'].nil?
91
96
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
92
97
  query_params[:'media_type'] = @api_client.build_collection_param(opts[:'media_type'], :multi) if !opts[:'media_type'].nil?
@@ -100,6 +105,7 @@ module PulpContainerClient
100
105
  query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
101
106
  query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
102
107
  query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
108
+ query_params[:'removed_between'] = @api_client.build_collection_param(opts[:'removed_between'], :csv) if !opts[:'removed_between'].nil?
103
109
  query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
104
110
  query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
105
111
  query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
@@ -748,8 +748,7 @@ module PulpContainerClient
748
748
  return data, status_code, headers
749
749
  end
750
750
 
751
- # Set a label
752
- # Set a single pulp_label on the object to a specific value or null.
751
+ # Prevent clients from changing the internal pull-through marker.
753
752
  # @param container_container_pull_through_distribution_href [String]
754
753
  # @param set_label [SetLabel]
755
754
  # @param [Hash] opts the optional parameters
@@ -760,8 +759,7 @@ module PulpContainerClient
760
759
  data
761
760
  end
762
761
 
763
- # Set a label
764
- # Set a single pulp_label on the object to a specific value or null.
762
+ # Prevent clients from changing the internal pull-through marker.
765
763
  # @param container_container_pull_through_distribution_href [String]
766
764
  # @param set_label [SetLabel]
767
765
  # @param [Hash] opts the optional parameters
@@ -825,8 +823,7 @@ module PulpContainerClient
825
823
  return data, status_code, headers
826
824
  end
827
825
 
828
- # Unset a label
829
- # Unset a single pulp_label on the object.
826
+ # Prevent clients from removing the internal pull-through marker.
830
827
  # @param container_container_pull_through_distribution_href [String]
831
828
  # @param unset_label [UnsetLabel]
832
829
  # @param [Hash] opts the optional parameters
@@ -837,8 +834,7 @@ module PulpContainerClient
837
834
  data
838
835
  end
839
836
 
840
- # Unset a label
841
- # Unset a single pulp_label on the object.
837
+ # Prevent clients from removing the internal pull-through marker.
842
838
  # @param container_container_pull_through_distribution_href [String]
843
839
  # @param unset_label [UnsetLabel]
844
840
  # @param [Hash] opts the optional parameters
@@ -16,26 +16,26 @@ require 'time'
16
16
  module PulpContainerClient
17
17
  # A serializer for ContainerDistribution.
18
18
  class ContainerContainerDistribution
19
- # RepositoryVersion to be served
20
- attr_accessor :repository_version
21
-
22
- attr_accessor :pulp_labels
19
+ # The latest RepositoryVersion for this Repository will be served.
20
+ attr_accessor :repository
23
21
 
24
22
  # Whether this distribution should be shown in the content app.
25
23
  attr_accessor :hidden
26
24
 
25
+ attr_accessor :pulp_labels
26
+
27
27
  # A unique name. Ex, `rawhide` and `stable`.
28
28
  attr_accessor :name
29
29
 
30
- # The latest RepositoryVersion for this Repository will be served.
31
- attr_accessor :repository
32
-
33
30
  # An optional content-guard. If none is specified, a default one will be used.
34
31
  attr_accessor :content_guard
35
32
 
36
33
  # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
37
34
  attr_accessor :base_path
38
35
 
36
+ # RepositoryVersion to be served
37
+ attr_accessor :repository_version
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
- :'repository_version' => :'repository_version',
49
- :'pulp_labels' => :'pulp_labels',
48
+ :'repository' => :'repository',
50
49
  :'hidden' => :'hidden',
50
+ :'pulp_labels' => :'pulp_labels',
51
51
  :'name' => :'name',
52
- :'repository' => :'repository',
53
52
  :'content_guard' => :'content_guard',
54
53
  :'base_path' => :'base_path',
54
+ :'repository_version' => :'repository_version',
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
- :'repository_version' => :'String',
69
- :'pulp_labels' => :'Hash<String, String>',
68
+ :'repository' => :'String',
70
69
  :'hidden' => :'Boolean',
70
+ :'pulp_labels' => :'Hash<String, String>',
71
71
  :'name' => :'String',
72
- :'repository' => :'String',
73
72
  :'content_guard' => :'String',
74
73
  :'base_path' => :'String',
74
+ :'repository_version' => :'String',
75
75
  :'private' => :'Boolean',
76
76
  :'description' => :'String'
77
77
  }
@@ -80,8 +80,8 @@ module PulpContainerClient
80
80
  # List of attributes with nullable: true
81
81
  def self.openapi_nullable
82
82
  Set.new([
83
- :'repository_version',
84
83
  :'repository',
84
+ :'repository_version',
85
85
  :'description'
86
86
  ])
87
87
  end
@@ -101,14 +101,8 @@ module PulpContainerClient
101
101
  h[k.to_sym] = v
102
102
  }
103
103
 
104
- if attributes.key?(:'repository_version')
105
- self.repository_version = attributes[:'repository_version']
106
- end
107
-
108
- if attributes.key?(:'pulp_labels')
109
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
110
- self.pulp_labels = value
111
- end
104
+ if attributes.key?(:'repository')
105
+ self.repository = attributes[:'repository']
112
106
  end
113
107
 
114
108
  if attributes.key?(:'hidden')
@@ -117,16 +111,18 @@ module PulpContainerClient
117
111
  self.hidden = false
118
112
  end
119
113
 
114
+ if attributes.key?(:'pulp_labels')
115
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
116
+ self.pulp_labels = value
117
+ end
118
+ end
119
+
120
120
  if attributes.key?(:'name')
121
121
  self.name = attributes[:'name']
122
122
  else
123
123
  self.name = nil
124
124
  end
125
125
 
126
- if attributes.key?(:'repository')
127
- self.repository = attributes[:'repository']
128
- end
129
-
130
126
  if attributes.key?(:'content_guard')
131
127
  self.content_guard = attributes[:'content_guard']
132
128
  end
@@ -137,6 +133,10 @@ module PulpContainerClient
137
133
  self.base_path = nil
138
134
  end
139
135
 
136
+ if attributes.key?(:'repository_version')
137
+ self.repository_version = attributes[:'repository_version']
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
- repository_version == o.repository_version &&
233
- pulp_labels == o.pulp_labels &&
232
+ repository == o.repository &&
234
233
  hidden == o.hidden &&
234
+ pulp_labels == o.pulp_labels &&
235
235
  name == o.name &&
236
- repository == o.repository &&
237
236
  content_guard == o.content_guard &&
238
237
  base_path == o.base_path &&
238
+ repository_version == o.repository_version &&
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
- [repository_version, pulp_labels, hidden, name, repository, content_guard, base_path, private, description].hash
252
+ [repository, hidden, pulp_labels, name, content_guard, base_path, repository_version, private, description].hash
253
253
  end
254
254
 
255
255
  # Builds the object from hash