pulp_container_client 2.14.13 → 2.15.0.dev1661401897

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.

Potentially problematic release.


This version of pulp_container_client might be problematic. Click here for more details.

Files changed (73) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +7 -10
  3. data/docs/ContainerContainerDistribution.md +7 -7
  4. data/docs/ContainerContainerDistributionResponse.md +9 -9
  5. data/docs/ContainerContainerPushRepository.md +7 -7
  6. data/docs/ContainerContainerPushRepositoryResponse.md +11 -11
  7. data/docs/ContainerContainerRemote.md +2 -2
  8. data/docs/ContainerContainerRemoteResponse.md +2 -4
  9. data/docs/ContainerContainerRepository.md +2 -2
  10. data/docs/ContainerContainerRepositoryResponse.md +2 -2
  11. data/docs/ContentBlobsApi.md +10 -14
  12. data/docs/ContentManifestsApi.md +12 -16
  13. data/docs/ContentSignaturesApi.md +10 -14
  14. data/docs/ContentTagsApi.md +12 -16
  15. data/docs/DistributionsContainerApi.md +22 -30
  16. data/docs/PatchedcontainerContainerDistribution.md +7 -7
  17. data/docs/PatchedcontainerContainerPushRepository.md +7 -7
  18. data/docs/PatchedcontainerContainerRemote.md +2 -2
  19. data/docs/PatchedcontainerContainerRepository.md +2 -2
  20. data/docs/PulpContainerNamespacesApi.md +18 -22
  21. data/docs/RemotesContainerApi.md +22 -26
  22. data/docs/RepositoriesContainerApi.md +21 -41
  23. data/docs/RepositoriesContainerPushApi.md +21 -41
  24. data/docs/RepositoriesContainerPushVersionsApi.md +14 -16
  25. data/docs/RepositoriesContainerVersionsApi.md +14 -16
  26. data/lib/pulp_container_client/api/content_blobs_api.rb +15 -21
  27. data/lib/pulp_container_client/api/content_manifests_api.rb +17 -23
  28. data/lib/pulp_container_client/api/content_signatures_api.rb +15 -21
  29. data/lib/pulp_container_client/api/content_tags_api.rb +17 -23
  30. data/lib/pulp_container_client/api/distributions_container_api.rb +31 -43
  31. data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +27 -33
  32. data/lib/pulp_container_client/api/remotes_container_api.rb +31 -37
  33. data/lib/pulp_container_client/api/repositories_container_api.rb +29 -59
  34. data/lib/pulp_container_client/api/repositories_container_push_api.rb +29 -59
  35. data/lib/pulp_container_client/api/repositories_container_push_versions_api.rb +19 -22
  36. data/lib/pulp_container_client/api/repositories_container_versions_api.rb +19 -22
  37. data/lib/pulp_container_client/models/container_container_distribution.rb +48 -50
  38. data/lib/pulp_container_client/models/container_container_distribution_response.rb +38 -40
  39. data/lib/pulp_container_client/models/container_container_push_repository.rb +25 -27
  40. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +47 -49
  41. data/lib/pulp_container_client/models/container_container_remote.rb +3 -5
  42. data/lib/pulp_container_client/models/container_container_remote_response.rb +4 -18
  43. data/lib/pulp_container_client/models/container_container_repository.rb +3 -5
  44. data/lib/pulp_container_client/models/container_container_repository_response.rb +3 -5
  45. data/lib/pulp_container_client/models/nested_role.rb +0 -19
  46. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +39 -41
  47. data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +25 -27
  48. data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +3 -5
  49. data/lib/pulp_container_client/models/patchedcontainer_container_repository.rb +3 -5
  50. data/lib/pulp_container_client/version.rb +1 -1
  51. data/lib/pulp_container_client.rb +0 -1
  52. data/spec/api/content_blobs_api_spec.rb +5 -7
  53. data/spec/api/content_manifests_api_spec.rb +6 -8
  54. data/spec/api/content_signatures_api_spec.rb +5 -7
  55. data/spec/api/content_tags_api_spec.rb +6 -8
  56. data/spec/api/distributions_container_api_spec.rb +11 -15
  57. data/spec/api/pulp_container_namespaces_api_spec.rb +9 -11
  58. data/spec/api/remotes_container_api_spec.rb +11 -13
  59. data/spec/api/repositories_container_api_spec.rb +10 -20
  60. data/spec/api/repositories_container_push_api_spec.rb +10 -20
  61. data/spec/api/repositories_container_push_versions_api_spec.rb +7 -8
  62. data/spec/api/repositories_container_versions_api_spec.rb +7 -8
  63. data/spec/models/container_container_distribution_response_spec.rb +7 -7
  64. data/spec/models/container_container_distribution_spec.rb +5 -5
  65. data/spec/models/container_container_push_repository_response_spec.rb +8 -8
  66. data/spec/models/container_container_push_repository_spec.rb +5 -5
  67. data/spec/models/container_container_remote_response_spec.rb +0 -6
  68. data/spec/models/patchedcontainer_container_distribution_spec.rb +5 -5
  69. data/spec/models/patchedcontainer_container_push_repository_spec.rb +5 -5
  70. metadata +46 -50
  71. data/docs/ContainerContainerRemoteResponseHiddenFields.md +0 -19
  72. data/lib/pulp_container_client/models/container_container_remote_response_hidden_fields.rb +0 -215
  73. data/spec/models/container_container_remote_response_hidden_fields_spec.rb +0 -47
@@ -88,23 +88,22 @@ module PulpContainerClient
88
88
  # @option opts [String] :content Content Unit referenced by HREF
89
89
  # @option opts [String] :content__in Content Unit referenced by HREF
90
90
  # @option opts [Integer] :limit Number of results to return per page.
91
- # @option opts [Integer] :number Filter results where number matches value
91
+ # @option opts [Integer] :number
92
92
  # @option opts [Integer] :number__gt Filter results where number is greater than value
93
93
  # @option opts [Integer] :number__gte Filter results where number is greater than or equal to value
94
94
  # @option opts [Integer] :number__lt Filter results where number is less than value
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 * &#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
- # @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
98
+ # @option opts [Array<String>] :ordering Ordering
99
+ # @option opts [DateTime] :pulp_created ISO 8601 formatted dates are supported
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.
106
- # @option opts [Array<String>] :fields A list of fields to include in the response.
107
- # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
105
+ # @option opts [String] :fields A list of fields to include in the response.
106
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
108
107
  # @return [PaginatedRepositoryVersionResponseList]
109
108
  def list(container_container_push_repository_href, opts = {})
110
109
  data, _status_code, _headers = list_with_http_info(container_container_push_repository_href, opts)
@@ -118,23 +117,22 @@ module PulpContainerClient
118
117
  # @option opts [String] :content Content Unit referenced by HREF
119
118
  # @option opts [String] :content__in Content Unit referenced by HREF
120
119
  # @option opts [Integer] :limit Number of results to return per page.
121
- # @option opts [Integer] :number Filter results where number matches value
120
+ # @option opts [Integer] :number
122
121
  # @option opts [Integer] :number__gt Filter results where number is greater than value
123
122
  # @option opts [Integer] :number__gte Filter results where number is greater than or equal to value
124
123
  # @option opts [Integer] :number__lt Filter results where number is less than value
125
124
  # @option opts [Integer] :number__lte Filter results where number is less than or equal to value
126
125
  # @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
127
126
  # @option opts [Integer] :offset The initial index from which to return the results.
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)
129
- # @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
127
+ # @option opts [Array<String>] :ordering Ordering
128
+ # @option opts [DateTime] :pulp_created ISO 8601 formatted dates are supported
130
129
  # @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
131
130
  # @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
132
131
  # @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
133
132
  # @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
134
133
  # @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.
136
- # @option opts [Array<String>] :fields A list of fields to include in the response.
137
- # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
134
+ # @option opts [String] :fields A list of fields to include in the response.
135
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
138
136
  # @return [Array<(PaginatedRepositoryVersionResponseList, Integer, Hash)>] PaginatedRepositoryVersionResponseList data, response status code and response headers
139
137
  def list_with_http_info(container_container_push_repository_href, opts = {})
140
138
  if @api_client.config.debugging
@@ -144,7 +142,7 @@ module PulpContainerClient
144
142
  if @api_client.config.client_side_validation && container_container_push_repository_href.nil?
145
143
  fail ArgumentError, "Missing the required parameter 'container_container_push_repository_href' when calling RepositoriesContainerPushVersionsApi.list"
146
144
  end
147
- allowable_values = ["-complete", "-info", "-number", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "complete", "info", "number", "pk", "pulp_created", "pulp_id", "pulp_last_updated"]
145
+ allowable_values = ["-added_memberships", "-base_version", "-complete", "-counts", "-distribution", "-group_roles", "-info", "-number", "-pk", "-publication", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-removed_memberships", "-repository", "-user_roles", "-versions", "added_memberships", "base_version", "complete", "counts", "distribution", "group_roles", "info", "number", "pk", "publication", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "removed_memberships", "repository", "user_roles", "versions"]
148
146
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
149
147
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
150
148
  end
@@ -170,9 +168,8 @@ module PulpContainerClient
170
168
  query_params[:'pulp_created__lt'] = opts[:'pulp_created__lt'] if !opts[:'pulp_created__lt'].nil?
171
169
  query_params[:'pulp_created__lte'] = opts[:'pulp_created__lte'] if !opts[:'pulp_created__lte'].nil?
172
170
  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?
174
- query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
175
- query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
171
+ query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
172
+ query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
176
173
 
177
174
  # header parameters
178
175
  header_params = opts[:header_params] || {}
@@ -211,8 +208,8 @@ module PulpContainerClient
211
208
  # ContainerPushRepositoryVersion represents a single container push repository version. Repository versions of a push repository are not allowed to be deleted. Versioning of such repositories, as well as creation/removal, happens automatically without explicit user actions. Users could make a repository not functional by accident if allowed to delete repository versions.
212
209
  # @param container_container_push_repository_version_href [String]
213
210
  # @param [Hash] opts the optional parameters
214
- # @option opts [Array<String>] :fields A list of fields to include in the response.
215
- # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
211
+ # @option opts [String] :fields A list of fields to include in the response.
212
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
216
213
  # @return [RepositoryVersionResponse]
217
214
  def read(container_container_push_repository_version_href, opts = {})
218
215
  data, _status_code, _headers = read_with_http_info(container_container_push_repository_version_href, opts)
@@ -223,8 +220,8 @@ module PulpContainerClient
223
220
  # ContainerPushRepositoryVersion represents a single container push repository version. Repository versions of a push repository are not allowed to be deleted. Versioning of such repositories, as well as creation/removal, happens automatically without explicit user actions. Users could make a repository not functional by accident if allowed to delete repository versions.
224
221
  # @param container_container_push_repository_version_href [String]
225
222
  # @param [Hash] opts the optional parameters
226
- # @option opts [Array<String>] :fields A list of fields to include in the response.
227
- # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
223
+ # @option opts [String] :fields A list of fields to include in the response.
224
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
228
225
  # @return [Array<(RepositoryVersionResponse, Integer, Hash)>] RepositoryVersionResponse data, response status code and response headers
229
226
  def read_with_http_info(container_container_push_repository_version_href, opts = {})
230
227
  if @api_client.config.debugging
@@ -239,8 +236,8 @@ module PulpContainerClient
239
236
 
240
237
  # query parameters
241
238
  query_params = opts[:query_params] || {}
242
- query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
243
- query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
239
+ query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
240
+ query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
244
241
 
245
242
  # header parameters
246
243
  header_params = opts[:header_params] || {}
@@ -88,23 +88,22 @@ module PulpContainerClient
88
88
  # @option opts [String] :content Content Unit referenced by HREF
89
89
  # @option opts [String] :content__in Content Unit referenced by HREF
90
90
  # @option opts [Integer] :limit Number of results to return per page.
91
- # @option opts [Integer] :number Filter results where number matches value
91
+ # @option opts [Integer] :number
92
92
  # @option opts [Integer] :number__gt Filter results where number is greater than value
93
93
  # @option opts [Integer] :number__gte Filter results where number is greater than or equal to value
94
94
  # @option opts [Integer] :number__lt Filter results where number is less than value
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 * &#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
- # @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
98
+ # @option opts [Array<String>] :ordering Ordering
99
+ # @option opts [DateTime] :pulp_created ISO 8601 formatted dates are supported
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.
106
- # @option opts [Array<String>] :fields A list of fields to include in the response.
107
- # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
105
+ # @option opts [String] :fields A list of fields to include in the response.
106
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
108
107
  # @return [PaginatedRepositoryVersionResponseList]
109
108
  def list(container_container_repository_href, opts = {})
110
109
  data, _status_code, _headers = list_with_http_info(container_container_repository_href, opts)
@@ -118,23 +117,22 @@ module PulpContainerClient
118
117
  # @option opts [String] :content Content Unit referenced by HREF
119
118
  # @option opts [String] :content__in Content Unit referenced by HREF
120
119
  # @option opts [Integer] :limit Number of results to return per page.
121
- # @option opts [Integer] :number Filter results where number matches value
120
+ # @option opts [Integer] :number
122
121
  # @option opts [Integer] :number__gt Filter results where number is greater than value
123
122
  # @option opts [Integer] :number__gte Filter results where number is greater than or equal to value
124
123
  # @option opts [Integer] :number__lt Filter results where number is less than value
125
124
  # @option opts [Integer] :number__lte Filter results where number is less than or equal to value
126
125
  # @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
127
126
  # @option opts [Integer] :offset The initial index from which to return the results.
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)
129
- # @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
127
+ # @option opts [Array<String>] :ordering Ordering
128
+ # @option opts [DateTime] :pulp_created ISO 8601 formatted dates are supported
130
129
  # @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
131
130
  # @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
132
131
  # @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
133
132
  # @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
134
133
  # @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.
136
- # @option opts [Array<String>] :fields A list of fields to include in the response.
137
- # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
134
+ # @option opts [String] :fields A list of fields to include in the response.
135
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
138
136
  # @return [Array<(PaginatedRepositoryVersionResponseList, Integer, Hash)>] PaginatedRepositoryVersionResponseList data, response status code and response headers
139
137
  def list_with_http_info(container_container_repository_href, opts = {})
140
138
  if @api_client.config.debugging
@@ -144,7 +142,7 @@ module PulpContainerClient
144
142
  if @api_client.config.client_side_validation && container_container_repository_href.nil?
145
143
  fail ArgumentError, "Missing the required parameter 'container_container_repository_href' when calling RepositoriesContainerVersionsApi.list"
146
144
  end
147
- allowable_values = ["-complete", "-info", "-number", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "complete", "info", "number", "pk", "pulp_created", "pulp_id", "pulp_last_updated"]
145
+ allowable_values = ["-added_memberships", "-base_version", "-complete", "-counts", "-distribution", "-group_roles", "-info", "-number", "-pk", "-publication", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-removed_memberships", "-repository", "-user_roles", "-versions", "added_memberships", "base_version", "complete", "counts", "distribution", "group_roles", "info", "number", "pk", "publication", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "removed_memberships", "repository", "user_roles", "versions"]
148
146
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
149
147
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
150
148
  end
@@ -170,9 +168,8 @@ module PulpContainerClient
170
168
  query_params[:'pulp_created__lt'] = opts[:'pulp_created__lt'] if !opts[:'pulp_created__lt'].nil?
171
169
  query_params[:'pulp_created__lte'] = opts[:'pulp_created__lte'] if !opts[:'pulp_created__lte'].nil?
172
170
  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?
174
- query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
175
- query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
171
+ query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
172
+ query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
176
173
 
177
174
  # header parameters
178
175
  header_params = opts[:header_params] || {}
@@ -211,8 +208,8 @@ module PulpContainerClient
211
208
  # ContainerRepositoryVersion represents a single container repository version.
212
209
  # @param container_container_repository_version_href [String]
213
210
  # @param [Hash] opts the optional parameters
214
- # @option opts [Array<String>] :fields A list of fields to include in the response.
215
- # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
211
+ # @option opts [String] :fields A list of fields to include in the response.
212
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
216
213
  # @return [RepositoryVersionResponse]
217
214
  def read(container_container_repository_version_href, opts = {})
218
215
  data, _status_code, _headers = read_with_http_info(container_container_repository_version_href, opts)
@@ -223,8 +220,8 @@ module PulpContainerClient
223
220
  # ContainerRepositoryVersion represents a single container repository version.
224
221
  # @param container_container_repository_version_href [String]
225
222
  # @param [Hash] opts the optional parameters
226
- # @option opts [Array<String>] :fields A list of fields to include in the response.
227
- # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
223
+ # @option opts [String] :fields A list of fields to include in the response.
224
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
228
225
  # @return [Array<(RepositoryVersionResponse, Integer, Hash)>] RepositoryVersionResponse data, response status code and response headers
229
226
  def read_with_http_info(container_container_repository_version_href, opts = {})
230
227
  if @api_client.config.debugging
@@ -239,8 +236,8 @@ module PulpContainerClient
239
236
 
240
237
  # query parameters
241
238
  query_params = opts[:query_params] || {}
242
- query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
243
- query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
239
+ query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
240
+ query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
244
241
 
245
242
  # header parameters
246
243
  header_params = opts[:header_params] || {}
@@ -15,19 +15,19 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # A serializer for ContainerDistribution.
17
17
  class ContainerContainerDistribution
18
+ # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
19
+ attr_accessor :base_path
20
+
18
21
  # An optional content-guard. If none is specified, a default one will be used.
19
22
  attr_accessor :content_guard
20
23
 
21
- # The latest RepositoryVersion for this Repository will be served.
22
- attr_accessor :repository
24
+ attr_accessor :pulp_labels
23
25
 
24
26
  # A unique name. Ex, `rawhide` and `stable`.
25
27
  attr_accessor :name
26
28
 
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
29
-
30
- attr_accessor :pulp_labels
29
+ # The latest RepositoryVersion for this Repository will be served.
30
+ attr_accessor :repository
31
31
 
32
32
  # RepositoryVersion to be served
33
33
  attr_accessor :repository_version
@@ -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
- :'content_guard' => :'content_guard',
45
- :'repository' => :'repository',
46
- :'name' => :'name',
47
44
  :'base_path' => :'base_path',
45
+ :'content_guard' => :'content_guard',
48
46
  :'pulp_labels' => :'pulp_labels',
47
+ :'name' => :'name',
48
+ :'repository' => :'repository',
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
+ :'base_path' => :'String',
58
59
  :'content_guard' => :'String',
59
- :'repository' => :'String',
60
+ :'pulp_labels' => :'Object',
60
61
  :'name' => :'String',
61
- :'base_path' => :'String',
62
- :'pulp_labels' => :'Hash<String, String>',
62
+ :'repository' => :'String',
63
63
  :'repository_version' => :'String',
64
64
  :'private' => :'Boolean',
65
65
  :'description' => :'String'
@@ -90,26 +90,24 @@ module PulpContainerClient
90
90
  h[k.to_sym] = v
91
91
  }
92
92
 
93
+ if attributes.key?(:'base_path')
94
+ self.base_path = attributes[:'base_path']
95
+ end
96
+
93
97
  if attributes.key?(:'content_guard')
94
98
  self.content_guard = attributes[:'content_guard']
95
99
  end
96
100
 
97
- if attributes.key?(:'repository')
98
- self.repository = attributes[:'repository']
101
+ if attributes.key?(:'pulp_labels')
102
+ self.pulp_labels = attributes[:'pulp_labels']
99
103
  end
100
104
 
101
105
  if attributes.key?(:'name')
102
106
  self.name = attributes[:'name']
103
107
  end
104
108
 
105
- if attributes.key?(:'base_path')
106
- self.base_path = attributes[:'base_path']
107
- end
108
-
109
- if attributes.key?(:'pulp_labels')
110
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
111
- self.pulp_labels = value
112
- end
109
+ if attributes.key?(:'repository')
110
+ self.repository = attributes[:'repository']
113
111
  end
114
112
 
115
113
  if attributes.key?(:'repository_version')
@@ -129,14 +127,6 @@ module PulpContainerClient
129
127
  # @return Array for valid properties with the reasons
130
128
  def list_invalid_properties
131
129
  invalid_properties = Array.new
132
- if @name.nil?
133
- invalid_properties.push('invalid value for "name", name cannot be nil.')
134
- end
135
-
136
- if @name.to_s.length < 1
137
- invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
138
- end
139
-
140
130
  if @base_path.nil?
141
131
  invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
142
132
  end
@@ -145,6 +135,14 @@ module PulpContainerClient
145
135
  invalid_properties.push('invalid value for "base_path", the character length must be great than or equal to 1.')
146
136
  end
147
137
 
138
+ if @name.nil?
139
+ invalid_properties.push('invalid value for "name", name cannot be nil.')
140
+ end
141
+
142
+ if @name.to_s.length < 1
143
+ invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
144
+ end
145
+
148
146
  if !@description.nil? && @description.to_s.length < 1
149
147
  invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
150
148
  end
@@ -155,28 +153,14 @@ module PulpContainerClient
155
153
  # Check to see if the all the properties in the model are valid
156
154
  # @return true if the model is valid
157
155
  def valid?
158
- return false if @name.nil?
159
- return false if @name.to_s.length < 1
160
156
  return false if @base_path.nil?
161
157
  return false if @base_path.to_s.length < 1
158
+ return false if @name.nil?
159
+ return false if @name.to_s.length < 1
162
160
  return false if !@description.nil? && @description.to_s.length < 1
163
161
  true
164
162
  end
165
163
 
166
- # Custom attribute writer method with validation
167
- # @param [Object] name Value to be assigned
168
- def name=(name)
169
- if name.nil?
170
- fail ArgumentError, 'name cannot be nil'
171
- end
172
-
173
- if name.to_s.length < 1
174
- fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
175
- end
176
-
177
- @name = name
178
- end
179
-
180
164
  # Custom attribute writer method with validation
181
165
  # @param [Object] base_path Value to be assigned
182
166
  def base_path=(base_path)
@@ -191,6 +175,20 @@ module PulpContainerClient
191
175
  @base_path = base_path
192
176
  end
193
177
 
178
+ # Custom attribute writer method with validation
179
+ # @param [Object] name Value to be assigned
180
+ def name=(name)
181
+ if name.nil?
182
+ fail ArgumentError, 'name cannot be nil'
183
+ end
184
+
185
+ if name.to_s.length < 1
186
+ fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
187
+ end
188
+
189
+ @name = name
190
+ end
191
+
194
192
  # Custom attribute writer method with validation
195
193
  # @param [Object] description Value to be assigned
196
194
  def description=(description)
@@ -206,11 +204,11 @@ module PulpContainerClient
206
204
  def ==(o)
207
205
  return true if self.equal?(o)
208
206
  self.class == o.class &&
209
- content_guard == o.content_guard &&
210
- repository == o.repository &&
211
- name == o.name &&
212
207
  base_path == o.base_path &&
208
+ content_guard == o.content_guard &&
213
209
  pulp_labels == o.pulp_labels &&
210
+ name == o.name &&
211
+ repository == o.repository &&
214
212
  repository_version == o.repository_version &&
215
213
  private == o.private &&
216
214
  description == o.description
@@ -225,7 +223,7 @@ module PulpContainerClient
225
223
  # Calculates hash code according to all attributes.
226
224
  # @return [Integer] Hash code
227
225
  def hash
228
- [content_guard, repository, name, base_path, pulp_labels, repository_version, private, description].hash
226
+ [base_path, content_guard, pulp_labels, name, repository, repository_version, private, description].hash
229
227
  end
230
228
 
231
229
  # Builds the object from hash
@@ -15,25 +15,25 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # A serializer for ContainerDistribution.
17
17
  class ContainerContainerDistributionResponse
18
+ # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
19
+ attr_accessor :base_path
20
+
18
21
  # An optional content-guard. If none is specified, a default one will be used.
19
22
  attr_accessor :content_guard
20
23
 
21
- # The latest RepositoryVersion for this Repository will be served.
22
- attr_accessor :repository
24
+ attr_accessor :pulp_labels
23
25
 
24
26
  # A unique name. Ex, `rawhide` and `stable`.
25
27
  attr_accessor :name
26
28
 
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
29
+ # The latest RepositoryVersion for this Repository will be served.
30
+ attr_accessor :repository
31
+
32
+ attr_accessor :pulp_href
29
33
 
30
34
  # Timestamp of creation.
31
35
  attr_accessor :pulp_created
32
36
 
33
- attr_accessor :pulp_labels
34
-
35
- attr_accessor :pulp_href
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
- :'content_guard' => :'content_guard',
56
- :'repository' => :'repository',
57
- :'name' => :'name',
58
55
  :'base_path' => :'base_path',
59
- :'pulp_created' => :'pulp_created',
56
+ :'content_guard' => :'content_guard',
60
57
  :'pulp_labels' => :'pulp_labels',
58
+ :'name' => :'name',
59
+ :'repository' => :'repository',
61
60
  :'pulp_href' => :'pulp_href',
61
+ :'pulp_created' => :'pulp_created',
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
+ :'base_path' => :'String',
73
74
  :'content_guard' => :'String',
74
- :'repository' => :'String',
75
+ :'pulp_labels' => :'Object',
75
76
  :'name' => :'String',
76
- :'base_path' => :'String',
77
- :'pulp_created' => :'DateTime',
78
- :'pulp_labels' => :'Hash<String, String>',
77
+ :'repository' => :'String',
79
78
  :'pulp_href' => :'String',
79
+ :'pulp_created' => :'DateTime',
80
80
  :'repository_version' => :'String',
81
81
  :'registry_path' => :'String',
82
82
  :'namespace' => :'String',
@@ -109,36 +109,34 @@ module PulpContainerClient
109
109
  h[k.to_sym] = v
110
110
  }
111
111
 
112
+ if attributes.key?(:'base_path')
113
+ self.base_path = attributes[:'base_path']
114
+ end
115
+
112
116
  if attributes.key?(:'content_guard')
113
117
  self.content_guard = attributes[:'content_guard']
114
118
  end
115
119
 
116
- if attributes.key?(:'repository')
117
- self.repository = attributes[:'repository']
120
+ if attributes.key?(:'pulp_labels')
121
+ self.pulp_labels = attributes[:'pulp_labels']
118
122
  end
119
123
 
120
124
  if attributes.key?(:'name')
121
125
  self.name = attributes[:'name']
122
126
  end
123
127
 
124
- if attributes.key?(:'base_path')
125
- self.base_path = attributes[:'base_path']
126
- end
127
-
128
- if attributes.key?(:'pulp_created')
129
- self.pulp_created = attributes[:'pulp_created']
130
- end
131
-
132
- if attributes.key?(:'pulp_labels')
133
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
134
- self.pulp_labels = value
135
- end
128
+ if attributes.key?(:'repository')
129
+ self.repository = attributes[:'repository']
136
130
  end
137
131
 
138
132
  if attributes.key?(:'pulp_href')
139
133
  self.pulp_href = attributes[:'pulp_href']
140
134
  end
141
135
 
136
+ if attributes.key?(:'pulp_created')
137
+ self.pulp_created = attributes[:'pulp_created']
138
+ end
139
+
142
140
  if attributes.key?(:'repository_version')
143
141
  self.repository_version = attributes[:'repository_version']
144
142
  end
@@ -164,22 +162,22 @@ module PulpContainerClient
164
162
  # @return Array for valid properties with the reasons
165
163
  def list_invalid_properties
166
164
  invalid_properties = Array.new
167
- if @name.nil?
168
- invalid_properties.push('invalid value for "name", name cannot be nil.')
169
- end
170
-
171
165
  if @base_path.nil?
172
166
  invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
173
167
  end
174
168
 
169
+ if @name.nil?
170
+ invalid_properties.push('invalid value for "name", name cannot be nil.')
171
+ end
172
+
175
173
  invalid_properties
176
174
  end
177
175
 
178
176
  # Check to see if the all the properties in the model are valid
179
177
  # @return true if the model is valid
180
178
  def valid?
181
- return false if @name.nil?
182
179
  return false if @base_path.nil?
180
+ return false if @name.nil?
183
181
  true
184
182
  end
185
183
 
@@ -188,13 +186,13 @@ module PulpContainerClient
188
186
  def ==(o)
189
187
  return true if self.equal?(o)
190
188
  self.class == o.class &&
191
- content_guard == o.content_guard &&
192
- repository == o.repository &&
193
- name == o.name &&
194
189
  base_path == o.base_path &&
195
- pulp_created == o.pulp_created &&
190
+ content_guard == o.content_guard &&
196
191
  pulp_labels == o.pulp_labels &&
192
+ name == o.name &&
193
+ repository == o.repository &&
197
194
  pulp_href == o.pulp_href &&
195
+ pulp_created == o.pulp_created &&
198
196
  repository_version == o.repository_version &&
199
197
  registry_path == o.registry_path &&
200
198
  namespace == o.namespace &&
@@ -211,7 +209,7 @@ module PulpContainerClient
211
209
  # Calculates hash code according to all attributes.
212
210
  # @return [Integer] Hash code
213
211
  def hash
214
- [content_guard, repository, name, base_path, pulp_created, pulp_labels, pulp_href, repository_version, registry_path, namespace, private, description].hash
212
+ [base_path, content_guard, pulp_labels, name, repository, pulp_href, pulp_created, repository_version, registry_path, namespace, private, description].hash
215
213
  end
216
214
 
217
215
  # Builds the object from hash