pulp_container_client 2.14.15 → 2.15.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 (68) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +7 -5
  3. data/docs/ContainerContainerDistribution.md +5 -5
  4. data/docs/ContainerContainerDistributionResponse.md +7 -7
  5. data/docs/ContainerContainerPushRepository.md +4 -4
  6. data/docs/ContainerContainerPushRepositoryResponse.md +9 -9
  7. data/docs/ContainerContainerRemote.md +1 -1
  8. data/docs/ContainerContainerRemoteResponse.md +1 -1
  9. data/docs/ContainerContainerRepository.md +1 -1
  10. data/docs/ContainerContainerRepositoryResponse.md +1 -1
  11. data/docs/ContentBlobsApi.md +6 -2
  12. data/docs/ContentManifestsApi.md +8 -4
  13. data/docs/ContentSignaturesApi.md +6 -2
  14. data/docs/ContentTagsApi.md +8 -4
  15. data/docs/DistributionsContainerApi.md +10 -2
  16. data/docs/PatchedcontainerContainerDistribution.md +5 -5
  17. data/docs/PatchedcontainerContainerPushRepository.md +4 -4
  18. data/docs/PatchedcontainerContainerRemote.md +1 -1
  19. data/docs/PatchedcontainerContainerRepository.md +1 -1
  20. data/docs/PulpContainerNamespacesApi.md +6 -2
  21. data/docs/RemotesContainerApi.md +6 -2
  22. data/docs/RepositoriesContainerApi.md +26 -2
  23. data/docs/RepositoriesContainerPushApi.md +26 -2
  24. data/docs/RepositoriesContainerPushVersionsApi.md +4 -2
  25. data/docs/RepositoriesContainerVersionsApi.md +4 -2
  26. data/lib/pulp_container_client/api/content_blobs_api.rb +8 -2
  27. data/lib/pulp_container_client/api/content_manifests_api.rb +10 -4
  28. data/lib/pulp_container_client/api/content_signatures_api.rb +8 -2
  29. data/lib/pulp_container_client/api/content_tags_api.rb +10 -4
  30. data/lib/pulp_container_client/api/distributions_container_api.rb +14 -2
  31. data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +8 -2
  32. data/lib/pulp_container_client/api/remotes_container_api.rb +8 -2
  33. data/lib/pulp_container_client/api/repositories_container_api.rb +38 -2
  34. data/lib/pulp_container_client/api/repositories_container_push_api.rb +38 -2
  35. data/lib/pulp_container_client/api/repositories_container_push_versions_api.rb +5 -2
  36. data/lib/pulp_container_client/api/repositories_container_versions_api.rb +5 -2
  37. data/lib/pulp_container_client/models/container_container_distribution.rb +19 -19
  38. data/lib/pulp_container_client/models/container_container_distribution_response.rb +29 -29
  39. data/lib/pulp_container_client/models/container_container_push_repository.rb +15 -15
  40. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +38 -38
  41. data/lib/pulp_container_client/models/container_container_remote.rb +21 -21
  42. data/lib/pulp_container_client/models/container_container_remote_response.rb +21 -21
  43. data/lib/pulp_container_client/models/container_container_repository.rb +1 -1
  44. data/lib/pulp_container_client/models/container_container_repository_response.rb +1 -1
  45. data/lib/pulp_container_client/models/nested_role.rb +19 -0
  46. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +19 -19
  47. data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +15 -15
  48. data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +21 -21
  49. data/lib/pulp_container_client/models/patchedcontainer_container_repository.rb +1 -1
  50. data/lib/pulp_container_client/version.rb +1 -1
  51. data/spec/api/content_blobs_api_spec.rb +3 -1
  52. data/spec/api/content_manifests_api_spec.rb +4 -2
  53. data/spec/api/content_signatures_api_spec.rb +3 -1
  54. data/spec/api/content_tags_api_spec.rb +4 -2
  55. data/spec/api/distributions_container_api_spec.rb +5 -1
  56. data/spec/api/pulp_container_namespaces_api_spec.rb +3 -1
  57. data/spec/api/remotes_container_api_spec.rb +3 -1
  58. data/spec/api/repositories_container_api_spec.rb +13 -1
  59. data/spec/api/repositories_container_push_api_spec.rb +13 -1
  60. data/spec/api/repositories_container_push_versions_api_spec.rb +2 -1
  61. data/spec/api/repositories_container_versions_api_spec.rb +2 -1
  62. data/spec/models/container_container_distribution_response_spec.rb +7 -7
  63. data/spec/models/container_container_distribution_spec.rb +5 -5
  64. data/spec/models/container_container_push_repository_response_spec.rb +9 -9
  65. data/spec/models/container_container_push_repository_spec.rb +2 -2
  66. data/spec/models/patchedcontainer_container_distribution_spec.rb +5 -5
  67. data/spec/models/patchedcontainer_container_push_repository_spec.rb +2 -2
  68. metadata +49 -49
@@ -90,6 +90,7 @@ module PulpContainerClient
90
90
  # List container push repositorys
91
91
  # ViewSet for a container push repository. POST and DELETE are disallowed because a push repository is tightly coupled with a ContainerDistribution which handles it automatically. Created - during push operation, removed - with ContainerDistribution removal.
92
92
  # @param [Hash] opts the optional parameters
93
+ # @option opts [String] :latest_with_content Content Unit referenced by HREF
93
94
  # @option opts [Integer] :limit Number of results to return per page.
94
95
  # @option opts [String] :name Filter results where name matches value
95
96
  # @option opts [String] :name__contains Filter results where name contains value
@@ -97,9 +98,20 @@ module PulpContainerClient
97
98
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
98
99
  # @option opts [String] :name__startswith Filter results where name starts with value
99
100
  # @option opts [Integer] :offset The initial index from which to return the results.
100
- # @option opts [Array<String>] :ordering Ordering
101
+ # @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)
102
+ # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
103
+ # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
101
104
  # @option opts [String] :pulp_label_select Filter labels by search string
102
105
  # @option opts [String] :remote Foreign Key referenced by HREF
106
+ # @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
107
+ # @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
108
+ # @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
109
+ # @option opts [Boolean] :retain_repo_versions__isnull Filter results where retain_repo_versions has a null value
110
+ # @option opts [Integer] :retain_repo_versions__lt Filter results where retain_repo_versions is less than value
111
+ # @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
112
+ # @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
113
+ # @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
114
+ # @option opts [String] :with_content Content Unit referenced by HREF
103
115
  # @option opts [Array<String>] :fields A list of fields to include in the response.
104
116
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
105
117
  # @return [PaginatedcontainerContainerPushRepositoryResponseList]
@@ -111,6 +123,7 @@ module PulpContainerClient
111
123
  # List container push repositorys
112
124
  # ViewSet for a container push repository. POST and DELETE are disallowed because a push repository is tightly coupled with a ContainerDistribution which handles it automatically. Created - during push operation, removed - with ContainerDistribution removal.
113
125
  # @param [Hash] opts the optional parameters
126
+ # @option opts [String] :latest_with_content Content Unit referenced by HREF
114
127
  # @option opts [Integer] :limit Number of results to return per page.
115
128
  # @option opts [String] :name Filter results where name matches value
116
129
  # @option opts [String] :name__contains Filter results where name contains value
@@ -118,9 +131,20 @@ module PulpContainerClient
118
131
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
119
132
  # @option opts [String] :name__startswith Filter results where name starts with value
120
133
  # @option opts [Integer] :offset The initial index from which to return the results.
121
- # @option opts [Array<String>] :ordering Ordering
134
+ # @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)
135
+ # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
136
+ # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
122
137
  # @option opts [String] :pulp_label_select Filter labels by search string
123
138
  # @option opts [String] :remote Foreign Key referenced by HREF
139
+ # @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
140
+ # @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
141
+ # @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
142
+ # @option opts [Boolean] :retain_repo_versions__isnull Filter results where retain_repo_versions has a null value
143
+ # @option opts [Integer] :retain_repo_versions__lt Filter results where retain_repo_versions is less than value
144
+ # @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
145
+ # @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
146
+ # @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
147
+ # @option opts [String] :with_content Content Unit referenced by HREF
124
148
  # @option opts [Array<String>] :fields A list of fields to include in the response.
125
149
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
126
150
  # @return [Array<(PaginatedcontainerContainerPushRepositoryResponseList, Integer, Hash)>] PaginatedcontainerContainerPushRepositoryResponseList data, response status code and response headers
@@ -137,6 +161,7 @@ module PulpContainerClient
137
161
 
138
162
  # query parameters
139
163
  query_params = opts[:query_params] || {}
164
+ query_params[:'latest_with_content'] = opts[:'latest_with_content'] if !opts[:'latest_with_content'].nil?
140
165
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
141
166
  query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
142
167
  query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
@@ -145,8 +170,19 @@ module PulpContainerClient
145
170
  query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
146
171
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
147
172
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
173
+ query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
174
+ query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
148
175
  query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
149
176
  query_params[:'remote'] = opts[:'remote'] if !opts[:'remote'].nil?
177
+ query_params[:'retain_repo_versions'] = opts[:'retain_repo_versions'] if !opts[:'retain_repo_versions'].nil?
178
+ query_params[:'retain_repo_versions__gt'] = opts[:'retain_repo_versions__gt'] if !opts[:'retain_repo_versions__gt'].nil?
179
+ query_params[:'retain_repo_versions__gte'] = opts[:'retain_repo_versions__gte'] if !opts[:'retain_repo_versions__gte'].nil?
180
+ query_params[:'retain_repo_versions__isnull'] = opts[:'retain_repo_versions__isnull'] if !opts[:'retain_repo_versions__isnull'].nil?
181
+ query_params[:'retain_repo_versions__lt'] = opts[:'retain_repo_versions__lt'] if !opts[:'retain_repo_versions__lt'].nil?
182
+ query_params[:'retain_repo_versions__lte'] = opts[:'retain_repo_versions__lte'] if !opts[:'retain_repo_versions__lte'].nil?
183
+ query_params[:'retain_repo_versions__ne'] = opts[:'retain_repo_versions__ne'] if !opts[:'retain_repo_versions__ne'].nil?
184
+ query_params[:'retain_repo_versions__range'] = @api_client.build_collection_param(opts[:'retain_repo_versions__range'], :csv) if !opts[:'retain_repo_versions__range'].nil?
185
+ query_params[:'with_content'] = opts[:'with_content'] if !opts[:'with_content'].nil?
150
186
  query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
151
187
  query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
152
188
 
@@ -95,13 +95,14 @@ module PulpContainerClient
95
95
  # @option opts [Integer] :number__lte Filter results where number is less than or equal to value
96
96
  # @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
97
97
  # @option opts [Integer] :offset The initial index from which to return the results.
98
- # @option opts [Array<String>] :ordering Ordering
98
+ # @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;number&#x60; - Number * &#x60;-number&#x60; - Number (descending) * &#x60;complete&#x60; - Complete * &#x60;-complete&#x60; - Complete (descending) * &#x60;info&#x60; - Info * &#x60;-info&#x60; - Info (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
99
99
  # @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
100
100
  # @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
101
101
  # @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
102
102
  # @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
103
103
  # @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
104
104
  # @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
105
+ # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
105
106
  # @option opts [Array<String>] :fields A list of fields to include in the response.
106
107
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
107
108
  # @return [PaginatedRepositoryVersionResponseList]
@@ -124,13 +125,14 @@ module PulpContainerClient
124
125
  # @option opts [Integer] :number__lte Filter results where number is less than or equal to value
125
126
  # @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
126
127
  # @option opts [Integer] :offset The initial index from which to return the results.
127
- # @option opts [Array<String>] :ordering Ordering
128
+ # @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;number&#x60; - Number * &#x60;-number&#x60; - Number (descending) * &#x60;complete&#x60; - Complete * &#x60;-complete&#x60; - Complete (descending) * &#x60;info&#x60; - Info * &#x60;-info&#x60; - Info (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
128
129
  # @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
129
130
  # @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
130
131
  # @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
131
132
  # @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
132
133
  # @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
133
134
  # @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
135
+ # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
134
136
  # @option opts [Array<String>] :fields A list of fields to include in the response.
135
137
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
136
138
  # @return [Array<(PaginatedRepositoryVersionResponseList, Integer, Hash)>] PaginatedRepositoryVersionResponseList data, response status code and response headers
@@ -168,6 +170,7 @@ module PulpContainerClient
168
170
  query_params[:'pulp_created__lt'] = opts[:'pulp_created__lt'] if !opts[:'pulp_created__lt'].nil?
169
171
  query_params[:'pulp_created__lte'] = opts[:'pulp_created__lte'] if !opts[:'pulp_created__lte'].nil?
170
172
  query_params[:'pulp_created__range'] = @api_client.build_collection_param(opts[:'pulp_created__range'], :csv) if !opts[:'pulp_created__range'].nil?
173
+ query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
171
174
  query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
172
175
  query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
173
176
 
@@ -95,13 +95,14 @@ module PulpContainerClient
95
95
  # @option opts [Integer] :number__lte Filter results where number is less than or equal to value
96
96
  # @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
97
97
  # @option opts [Integer] :offset The initial index from which to return the results.
98
- # @option opts [Array<String>] :ordering Ordering
98
+ # @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;number&#x60; - Number * &#x60;-number&#x60; - Number (descending) * &#x60;complete&#x60; - Complete * &#x60;-complete&#x60; - Complete (descending) * &#x60;info&#x60; - Info * &#x60;-info&#x60; - Info (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
99
99
  # @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
100
100
  # @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
101
101
  # @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
102
102
  # @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
103
103
  # @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
104
104
  # @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
105
+ # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
105
106
  # @option opts [Array<String>] :fields A list of fields to include in the response.
106
107
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
107
108
  # @return [PaginatedRepositoryVersionResponseList]
@@ -124,13 +125,14 @@ module PulpContainerClient
124
125
  # @option opts [Integer] :number__lte Filter results where number is less than or equal to value
125
126
  # @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
126
127
  # @option opts [Integer] :offset The initial index from which to return the results.
127
- # @option opts [Array<String>] :ordering Ordering
128
+ # @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;number&#x60; - Number * &#x60;-number&#x60; - Number (descending) * &#x60;complete&#x60; - Complete * &#x60;-complete&#x60; - Complete (descending) * &#x60;info&#x60; - Info * &#x60;-info&#x60; - Info (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
128
129
  # @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
129
130
  # @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
130
131
  # @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
131
132
  # @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
132
133
  # @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
133
134
  # @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
135
+ # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
134
136
  # @option opts [Array<String>] :fields A list of fields to include in the response.
135
137
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
136
138
  # @return [Array<(PaginatedRepositoryVersionResponseList, Integer, Hash)>] PaginatedRepositoryVersionResponseList data, response status code and response headers
@@ -168,6 +170,7 @@ module PulpContainerClient
168
170
  query_params[:'pulp_created__lt'] = opts[:'pulp_created__lt'] if !opts[:'pulp_created__lt'].nil?
169
171
  query_params[:'pulp_created__lte'] = opts[:'pulp_created__lte'] if !opts[:'pulp_created__lte'].nil?
170
172
  query_params[:'pulp_created__range'] = @api_client.build_collection_param(opts[:'pulp_created__range'], :csv) if !opts[:'pulp_created__range'].nil?
173
+ query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
171
174
  query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
172
175
  query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
173
176
 
@@ -15,20 +15,20 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # A serializer for ContainerDistribution.
17
17
  class ContainerContainerDistribution
18
+ attr_accessor :pulp_labels
19
+
18
20
  # The latest RepositoryVersion for this Repository will be served.
19
21
  attr_accessor :repository
20
22
 
21
23
  # A unique name. Ex, `rawhide` and `stable`.
22
24
  attr_accessor :name
23
25
 
24
- attr_accessor :pulp_labels
26
+ # An optional content-guard. If none is specified, a default one will be used.
27
+ attr_accessor :content_guard
25
28
 
26
29
  # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
27
30
  attr_accessor :base_path
28
31
 
29
- # An optional content-guard. If none is specified, a default one will be used.
30
- attr_accessor :content_guard
31
-
32
32
  # RepositoryVersion to be served
33
33
  attr_accessor :repository_version
34
34
 
@@ -41,11 +41,11 @@ module PulpContainerClient
41
41
  # Attribute mapping from ruby-style variable name to JSON key.
42
42
  def self.attribute_map
43
43
  {
44
+ :'pulp_labels' => :'pulp_labels',
44
45
  :'repository' => :'repository',
45
46
  :'name' => :'name',
46
- :'pulp_labels' => :'pulp_labels',
47
- :'base_path' => :'base_path',
48
47
  :'content_guard' => :'content_guard',
48
+ :'base_path' => :'base_path',
49
49
  :'repository_version' => :'repository_version',
50
50
  :'private' => :'private',
51
51
  :'description' => :'description'
@@ -55,11 +55,11 @@ module PulpContainerClient
55
55
  # Attribute type mapping.
56
56
  def self.openapi_types
57
57
  {
58
+ :'pulp_labels' => :'Hash<String, String>',
58
59
  :'repository' => :'String',
59
60
  :'name' => :'String',
60
- :'pulp_labels' => :'Hash<String, String>',
61
- :'base_path' => :'String',
62
61
  :'content_guard' => :'String',
62
+ :'base_path' => :'String',
63
63
  :'repository_version' => :'String',
64
64
  :'private' => :'Boolean',
65
65
  :'description' => :'String'
@@ -90,6 +90,12 @@ module PulpContainerClient
90
90
  h[k.to_sym] = v
91
91
  }
92
92
 
93
+ if attributes.key?(:'pulp_labels')
94
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
95
+ self.pulp_labels = value
96
+ end
97
+ end
98
+
93
99
  if attributes.key?(:'repository')
94
100
  self.repository = attributes[:'repository']
95
101
  end
@@ -98,20 +104,14 @@ module PulpContainerClient
98
104
  self.name = attributes[:'name']
99
105
  end
100
106
 
101
- if attributes.key?(:'pulp_labels')
102
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
103
- self.pulp_labels = value
104
- end
107
+ if attributes.key?(:'content_guard')
108
+ self.content_guard = attributes[:'content_guard']
105
109
  end
106
110
 
107
111
  if attributes.key?(:'base_path')
108
112
  self.base_path = attributes[:'base_path']
109
113
  end
110
114
 
111
- if attributes.key?(:'content_guard')
112
- self.content_guard = attributes[:'content_guard']
113
- end
114
-
115
115
  if attributes.key?(:'repository_version')
116
116
  self.repository_version = attributes[:'repository_version']
117
117
  end
@@ -206,11 +206,11 @@ module PulpContainerClient
206
206
  def ==(o)
207
207
  return true if self.equal?(o)
208
208
  self.class == o.class &&
209
+ pulp_labels == o.pulp_labels &&
209
210
  repository == o.repository &&
210
211
  name == o.name &&
211
- pulp_labels == o.pulp_labels &&
212
- base_path == o.base_path &&
213
212
  content_guard == o.content_guard &&
213
+ base_path == o.base_path &&
214
214
  repository_version == o.repository_version &&
215
215
  private == o.private &&
216
216
  description == o.description
@@ -225,7 +225,7 @@ module PulpContainerClient
225
225
  # Calculates hash code according to all attributes.
226
226
  # @return [Integer] Hash code
227
227
  def hash
228
- [repository, name, pulp_labels, base_path, content_guard, repository_version, private, description].hash
228
+ [pulp_labels, repository, name, content_guard, base_path, repository_version, private, description].hash
229
229
  end
230
230
 
231
231
  # Builds the object from hash
@@ -15,6 +15,11 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # A serializer for ContainerDistribution.
17
17
  class ContainerContainerDistributionResponse
18
+ # Timestamp of creation.
19
+ attr_accessor :pulp_created
20
+
21
+ attr_accessor :pulp_labels
22
+
18
23
  attr_accessor :pulp_href
19
24
 
20
25
  # The latest RepositoryVersion for this Repository will be served.
@@ -23,17 +28,12 @@ module PulpContainerClient
23
28
  # A unique name. Ex, `rawhide` and `stable`.
24
29
  attr_accessor :name
25
30
 
26
- attr_accessor :pulp_labels
27
-
28
- # Timestamp of creation.
29
- attr_accessor :pulp_created
31
+ # An optional content-guard. If none is specified, a default one will be used.
32
+ attr_accessor :content_guard
30
33
 
31
34
  # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
32
35
  attr_accessor :base_path
33
36
 
34
- # An optional content-guard. If none is specified, a default one will be used.
35
- attr_accessor :content_guard
36
-
37
37
  # RepositoryVersion to be served
38
38
  attr_accessor :repository_version
39
39
 
@@ -52,13 +52,13 @@ module PulpContainerClient
52
52
  # Attribute mapping from ruby-style variable name to JSON key.
53
53
  def self.attribute_map
54
54
  {
55
+ :'pulp_created' => :'pulp_created',
56
+ :'pulp_labels' => :'pulp_labels',
55
57
  :'pulp_href' => :'pulp_href',
56
58
  :'repository' => :'repository',
57
59
  :'name' => :'name',
58
- :'pulp_labels' => :'pulp_labels',
59
- :'pulp_created' => :'pulp_created',
60
- :'base_path' => :'base_path',
61
60
  :'content_guard' => :'content_guard',
61
+ :'base_path' => :'base_path',
62
62
  :'repository_version' => :'repository_version',
63
63
  :'registry_path' => :'registry_path',
64
64
  :'namespace' => :'namespace',
@@ -70,13 +70,13 @@ module PulpContainerClient
70
70
  # Attribute type mapping.
71
71
  def self.openapi_types
72
72
  {
73
+ :'pulp_created' => :'DateTime',
74
+ :'pulp_labels' => :'Hash<String, String>',
73
75
  :'pulp_href' => :'String',
74
76
  :'repository' => :'String',
75
77
  :'name' => :'String',
76
- :'pulp_labels' => :'Hash<String, String>',
77
- :'pulp_created' => :'DateTime',
78
- :'base_path' => :'String',
79
78
  :'content_guard' => :'String',
79
+ :'base_path' => :'String',
80
80
  :'repository_version' => :'String',
81
81
  :'registry_path' => :'String',
82
82
  :'namespace' => :'String',
@@ -109,6 +109,16 @@ module PulpContainerClient
109
109
  h[k.to_sym] = v
110
110
  }
111
111
 
112
+ if attributes.key?(:'pulp_created')
113
+ self.pulp_created = attributes[:'pulp_created']
114
+ end
115
+
116
+ if attributes.key?(:'pulp_labels')
117
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
118
+ self.pulp_labels = value
119
+ end
120
+ end
121
+
112
122
  if attributes.key?(:'pulp_href')
113
123
  self.pulp_href = attributes[:'pulp_href']
114
124
  end
@@ -121,24 +131,14 @@ module PulpContainerClient
121
131
  self.name = attributes[:'name']
122
132
  end
123
133
 
124
- if attributes.key?(:'pulp_labels')
125
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
126
- self.pulp_labels = value
127
- end
128
- end
129
-
130
- if attributes.key?(:'pulp_created')
131
- self.pulp_created = attributes[:'pulp_created']
134
+ if attributes.key?(:'content_guard')
135
+ self.content_guard = attributes[:'content_guard']
132
136
  end
133
137
 
134
138
  if attributes.key?(:'base_path')
135
139
  self.base_path = attributes[:'base_path']
136
140
  end
137
141
 
138
- if attributes.key?(:'content_guard')
139
- self.content_guard = attributes[:'content_guard']
140
- end
141
-
142
142
  if attributes.key?(:'repository_version')
143
143
  self.repository_version = attributes[:'repository_version']
144
144
  end
@@ -188,13 +188,13 @@ module PulpContainerClient
188
188
  def ==(o)
189
189
  return true if self.equal?(o)
190
190
  self.class == o.class &&
191
+ pulp_created == o.pulp_created &&
192
+ pulp_labels == o.pulp_labels &&
191
193
  pulp_href == o.pulp_href &&
192
194
  repository == o.repository &&
193
195
  name == o.name &&
194
- pulp_labels == o.pulp_labels &&
195
- pulp_created == o.pulp_created &&
196
- base_path == o.base_path &&
197
196
  content_guard == o.content_guard &&
197
+ base_path == o.base_path &&
198
198
  repository_version == o.repository_version &&
199
199
  registry_path == o.registry_path &&
200
200
  namespace == o.namespace &&
@@ -211,7 +211,7 @@ module PulpContainerClient
211
211
  # Calculates hash code according to all attributes.
212
212
  # @return [Integer] Hash code
213
213
  def hash
214
- [pulp_href, repository, name, pulp_labels, pulp_created, base_path, content_guard, repository_version, registry_path, namespace, private, description].hash
214
+ [pulp_created, pulp_labels, pulp_href, repository, name, content_guard, base_path, repository_version, registry_path, namespace, private, description].hash
215
215
  end
216
216
 
217
217
  # Builds the object from hash
@@ -15,7 +15,7 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # Serializer for Container Push Repositories.
17
17
  class ContainerContainerPushRepository
18
- # Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future.
18
+ # Retain X versions of the repository. Default is null which retains all versions.
19
19
  attr_accessor :retain_repo_versions
20
20
 
21
21
  # An optional description.
@@ -24,19 +24,19 @@ module PulpContainerClient
24
24
  # A unique name for this repository.
25
25
  attr_accessor :name
26
26
 
27
- attr_accessor :pulp_labels
28
-
29
27
  # A reference to an associated signing service.
30
28
  attr_accessor :manifest_signing_service
31
29
 
30
+ attr_accessor :pulp_labels
31
+
32
32
  # Attribute mapping from ruby-style variable name to JSON key.
33
33
  def self.attribute_map
34
34
  {
35
35
  :'retain_repo_versions' => :'retain_repo_versions',
36
36
  :'description' => :'description',
37
37
  :'name' => :'name',
38
- :'pulp_labels' => :'pulp_labels',
39
- :'manifest_signing_service' => :'manifest_signing_service'
38
+ :'manifest_signing_service' => :'manifest_signing_service',
39
+ :'pulp_labels' => :'pulp_labels'
40
40
  }
41
41
  end
42
42
 
@@ -46,8 +46,8 @@ module PulpContainerClient
46
46
  :'retain_repo_versions' => :'Integer',
47
47
  :'description' => :'String',
48
48
  :'name' => :'String',
49
- :'pulp_labels' => :'Hash<String, String>',
50
- :'manifest_signing_service' => :'String'
49
+ :'manifest_signing_service' => :'String',
50
+ :'pulp_labels' => :'Hash<String, String>'
51
51
  }
52
52
  end
53
53
 
@@ -56,7 +56,7 @@ module PulpContainerClient
56
56
  Set.new([
57
57
  :'retain_repo_versions',
58
58
  :'description',
59
- :'manifest_signing_service'
59
+ :'manifest_signing_service',
60
60
  ])
61
61
  end
62
62
 
@@ -87,15 +87,15 @@ module PulpContainerClient
87
87
  self.name = attributes[:'name']
88
88
  end
89
89
 
90
+ if attributes.key?(:'manifest_signing_service')
91
+ self.manifest_signing_service = attributes[:'manifest_signing_service']
92
+ end
93
+
90
94
  if attributes.key?(:'pulp_labels')
91
95
  if (value = attributes[:'pulp_labels']).is_a?(Hash)
92
96
  self.pulp_labels = value
93
97
  end
94
98
  end
95
-
96
- if attributes.key?(:'manifest_signing_service')
97
- self.manifest_signing_service = attributes[:'manifest_signing_service']
98
- end
99
99
  end
100
100
 
101
101
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -173,8 +173,8 @@ module PulpContainerClient
173
173
  retain_repo_versions == o.retain_repo_versions &&
174
174
  description == o.description &&
175
175
  name == o.name &&
176
- pulp_labels == o.pulp_labels &&
177
- manifest_signing_service == o.manifest_signing_service
176
+ manifest_signing_service == o.manifest_signing_service &&
177
+ pulp_labels == o.pulp_labels
178
178
  end
179
179
 
180
180
  # @see the `==` method
@@ -186,7 +186,7 @@ module PulpContainerClient
186
186
  # Calculates hash code according to all attributes.
187
187
  # @return [Integer] Hash code
188
188
  def hash
189
- [retain_repo_versions, description, name, pulp_labels, manifest_signing_service].hash
189
+ [retain_repo_versions, description, name, manifest_signing_service, pulp_labels].hash
190
190
  end
191
191
 
192
192
  # Builds the object from hash