pulp_container_client 2.14.18 → 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.
- checksums.yaml +4 -4
- data/README.md +7 -8
- data/docs/ContainerContainerDistribution.md +3 -3
- data/docs/ContainerContainerDistributionResponse.md +7 -7
- data/docs/ContainerContainerPushRepository.md +6 -6
- data/docs/ContainerContainerPushRepositoryResponse.md +10 -10
- data/docs/ContainerContainerRemote.md +1 -1
- data/docs/ContainerContainerRemoteResponse.md +1 -3
- data/docs/ContainerContainerRepository.md +1 -1
- data/docs/ContainerContainerRepositoryResponse.md +1 -1
- data/docs/ContentBlobsApi.md +9 -9
- data/docs/ContentManifestsApi.md +9 -9
- data/docs/ContentSignaturesApi.md +9 -9
- data/docs/ContentTagsApi.md +9 -9
- data/docs/DistributionsContainerApi.md +21 -21
- data/docs/PatchedcontainerContainerDistribution.md +3 -3
- data/docs/PatchedcontainerContainerPushRepository.md +6 -6
- data/docs/PatchedcontainerContainerRemote.md +1 -1
- data/docs/PatchedcontainerContainerRepository.md +1 -1
- data/docs/PulpContainerNamespacesApi.md +17 -17
- data/docs/RemotesContainerApi.md +21 -21
- data/docs/RepositoriesContainerApi.md +20 -20
- data/docs/RepositoriesContainerPushApi.md +20 -20
- data/docs/RepositoriesContainerPushVersionsApi.md +13 -13
- data/docs/RepositoriesContainerVersionsApi.md +13 -13
- data/docs/TokenApi.md +1 -1
- data/lib/pulp_container_client/api/content_blobs_api.rb +13 -13
- data/lib/pulp_container_client/api/content_manifests_api.rb +13 -13
- data/lib/pulp_container_client/api/content_signatures_api.rb +13 -13
- data/lib/pulp_container_client/api/content_tags_api.rb +13 -13
- data/lib/pulp_container_client/api/distributions_container_api.rb +29 -29
- data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +25 -25
- data/lib/pulp_container_client/api/remotes_container_api.rb +29 -29
- data/lib/pulp_container_client/api/repositories_container_api.rb +27 -27
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +27 -27
- data/lib/pulp_container_client/api/repositories_container_push_versions_api.rb +17 -17
- data/lib/pulp_container_client/api/repositories_container_versions_api.rb +17 -17
- data/lib/pulp_container_client/configuration.rb +3 -3
- data/lib/pulp_container_client/models/container_container_distribution.rb +13 -15
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +29 -31
- data/lib/pulp_container_client/models/container_container_push_repository.rb +24 -26
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +42 -44
- data/lib/pulp_container_client/models/container_container_remote.rb +2 -4
- data/lib/pulp_container_client/models/container_container_remote_response.rb +3 -17
- data/lib/pulp_container_client/models/container_container_repository.rb +2 -4
- data/lib/pulp_container_client/models/container_container_repository_response.rb +2 -4
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +13 -15
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +24 -26
- data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +2 -4
- data/lib/pulp_container_client/models/patchedcontainer_container_repository.rb +2 -4
- data/lib/pulp_container_client/version.rb +1 -1
- data/lib/pulp_container_client.rb +0 -1
- data/spec/api/content_blobs_api_spec.rb +4 -4
- data/spec/api/content_manifests_api_spec.rb +4 -4
- data/spec/api/content_signatures_api_spec.rb +4 -4
- data/spec/api/content_tags_api_spec.rb +4 -4
- data/spec/api/distributions_container_api_spec.rb +10 -10
- data/spec/api/pulp_container_namespaces_api_spec.rb +8 -8
- data/spec/api/remotes_container_api_spec.rb +10 -10
- data/spec/api/repositories_container_api_spec.rb +9 -9
- data/spec/api/repositories_container_push_api_spec.rb +9 -9
- data/spec/api/repositories_container_push_versions_api_spec.rb +6 -6
- data/spec/api/repositories_container_versions_api_spec.rb +6 -6
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/container_container_distribution_response_spec.rb +5 -5
- data/spec/models/container_container_distribution_spec.rb +3 -3
- data/spec/models/container_container_push_repository_response_spec.rb +7 -7
- data/spec/models/container_container_push_repository_spec.rb +4 -4
- data/spec/models/container_container_remote_response_spec.rb +0 -6
- data/spec/models/patchedcontainer_container_distribution_spec.rb +3 -3
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +4 -4
- metadata +64 -68
- data/docs/ContainerContainerRemoteResponseHiddenFields.md +0 -19
- data/lib/pulp_container_client/models/container_container_remote_response_hidden_fields.rb +0 -225
- data/spec/models/container_container_remote_response_hidden_fields_spec.rb +0 -47
@@ -91,7 +91,7 @@ module PulpContainerClient
|
|
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
93
|
# @option opts [Integer] :limit Number of results to return per page.
|
94
|
-
# @option opts [String] :name
|
94
|
+
# @option opts [String] :name
|
95
95
|
# @option opts [String] :name__contains Filter results where name contains value
|
96
96
|
# @option opts [String] :name__icontains Filter results where name contains value
|
97
97
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
@@ -100,8 +100,8 @@ module PulpContainerClient
|
|
100
100
|
# @option opts [Array<String>] :ordering Ordering
|
101
101
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
102
102
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
103
|
-
# @option opts [
|
104
|
-
# @option opts [
|
103
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
104
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
105
105
|
# @return [PaginatedcontainerContainerPushRepositoryResponseList]
|
106
106
|
def list(opts = {})
|
107
107
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -112,7 +112,7 @@ module PulpContainerClient
|
|
112
112
|
# 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
113
|
# @param [Hash] opts the optional parameters
|
114
114
|
# @option opts [Integer] :limit Number of results to return per page.
|
115
|
-
# @option opts [String] :name
|
115
|
+
# @option opts [String] :name
|
116
116
|
# @option opts [String] :name__contains Filter results where name contains value
|
117
117
|
# @option opts [String] :name__icontains Filter results where name contains value
|
118
118
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
@@ -121,14 +121,14 @@ module PulpContainerClient
|
|
121
121
|
# @option opts [Array<String>] :ordering Ordering
|
122
122
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
123
123
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
124
|
-
# @option opts [
|
125
|
-
# @option opts [
|
124
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
125
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
126
126
|
# @return [Array<(PaginatedcontainerContainerPushRepositoryResponseList, Integer, Hash)>] PaginatedcontainerContainerPushRepositoryResponseList data, response status code and response headers
|
127
127
|
def list_with_http_info(opts = {})
|
128
128
|
if @api_client.config.debugging
|
129
129
|
@api_client.config.logger.debug 'Calling API: RepositoriesContainerPushApi.list ...'
|
130
130
|
end
|
131
|
-
allowable_values = ["-description", "-name", "-next_version", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-retain_repo_versions", "-user_hidden", "description", "name", "next_version", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "retain_repo_versions", "user_hidden"]
|
131
|
+
allowable_values = ["-alternatecontentsourcepath", "-container_containerpushrepository", "-container_containerrepository", "-content", "-core_pulp_exporter", "-description", "-distributions", "-group_roles", "-name", "-next_version", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-pulpimporterrepository", "-remote", "-repositorycontent", "-retain_repo_versions", "-uploads", "-user_hidden", "-user_roles", "-versions", "alternatecontentsourcepath", "container_containerpushrepository", "container_containerrepository", "content", "core_pulp_exporter", "description", "distributions", "group_roles", "name", "next_version", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "pulpimporterrepository", "remote", "repositorycontent", "retain_repo_versions", "uploads", "user_hidden", "user_roles", "versions"]
|
132
132
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
133
133
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
134
134
|
end
|
@@ -147,8 +147,8 @@ module PulpContainerClient
|
|
147
147
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
148
148
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
149
149
|
query_params[:'remote'] = opts[:'remote'] if !opts[:'remote'].nil?
|
150
|
-
query_params[:'fields'] =
|
151
|
-
query_params[:'exclude_fields'] =
|
150
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
151
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
152
152
|
|
153
153
|
# header parameters
|
154
154
|
header_params = opts[:header_params] || {}
|
@@ -186,8 +186,8 @@ module PulpContainerClient
|
|
186
186
|
# List roles assigned to this object.
|
187
187
|
# @param container_container_push_repository_href [String]
|
188
188
|
# @param [Hash] opts the optional parameters
|
189
|
-
# @option opts [
|
190
|
-
# @option opts [
|
189
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
190
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
191
191
|
# @return [ObjectRolesResponse]
|
192
192
|
def list_roles(container_container_push_repository_href, opts = {})
|
193
193
|
data, _status_code, _headers = list_roles_with_http_info(container_container_push_repository_href, opts)
|
@@ -197,8 +197,8 @@ module PulpContainerClient
|
|
197
197
|
# List roles assigned to this object.
|
198
198
|
# @param container_container_push_repository_href [String]
|
199
199
|
# @param [Hash] opts the optional parameters
|
200
|
-
# @option opts [
|
201
|
-
# @option opts [
|
200
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
201
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
202
202
|
# @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
|
203
203
|
def list_roles_with_http_info(container_container_push_repository_href, opts = {})
|
204
204
|
if @api_client.config.debugging
|
@@ -213,8 +213,8 @@ module PulpContainerClient
|
|
213
213
|
|
214
214
|
# query parameters
|
215
215
|
query_params = opts[:query_params] || {}
|
216
|
-
query_params[:'fields'] =
|
217
|
-
query_params[:'exclude_fields'] =
|
216
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
217
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
218
218
|
|
219
219
|
# header parameters
|
220
220
|
header_params = opts[:header_params] || {}
|
@@ -252,8 +252,8 @@ module PulpContainerClient
|
|
252
252
|
# List permissions available to the current user on this object.
|
253
253
|
# @param container_container_push_repository_href [String]
|
254
254
|
# @param [Hash] opts the optional parameters
|
255
|
-
# @option opts [
|
256
|
-
# @option opts [
|
255
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
256
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
257
257
|
# @return [MyPermissionsResponse]
|
258
258
|
def my_permissions(container_container_push_repository_href, opts = {})
|
259
259
|
data, _status_code, _headers = my_permissions_with_http_info(container_container_push_repository_href, opts)
|
@@ -263,8 +263,8 @@ module PulpContainerClient
|
|
263
263
|
# List permissions available to the current user on this object.
|
264
264
|
# @param container_container_push_repository_href [String]
|
265
265
|
# @param [Hash] opts the optional parameters
|
266
|
-
# @option opts [
|
267
|
-
# @option opts [
|
266
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
267
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
268
268
|
# @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
|
269
269
|
def my_permissions_with_http_info(container_container_push_repository_href, opts = {})
|
270
270
|
if @api_client.config.debugging
|
@@ -279,8 +279,8 @@ module PulpContainerClient
|
|
279
279
|
|
280
280
|
# query parameters
|
281
281
|
query_params = opts[:query_params] || {}
|
282
|
-
query_params[:'fields'] =
|
283
|
-
query_params[:'exclude_fields'] =
|
282
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
283
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
284
284
|
|
285
285
|
# header parameters
|
286
286
|
header_params = opts[:header_params] || {}
|
@@ -389,8 +389,8 @@ module PulpContainerClient
|
|
389
389
|
# 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.
|
390
390
|
# @param container_container_push_repository_href [String]
|
391
391
|
# @param [Hash] opts the optional parameters
|
392
|
-
# @option opts [
|
393
|
-
# @option opts [
|
392
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
393
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
394
394
|
# @return [ContainerContainerPushRepositoryResponse]
|
395
395
|
def read(container_container_push_repository_href, opts = {})
|
396
396
|
data, _status_code, _headers = read_with_http_info(container_container_push_repository_href, opts)
|
@@ -401,8 +401,8 @@ module PulpContainerClient
|
|
401
401
|
# 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.
|
402
402
|
# @param container_container_push_repository_href [String]
|
403
403
|
# @param [Hash] opts the optional parameters
|
404
|
-
# @option opts [
|
405
|
-
# @option opts [
|
404
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
405
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
406
406
|
# @return [Array<(ContainerContainerPushRepositoryResponse, Integer, Hash)>] ContainerContainerPushRepositoryResponse data, response status code and response headers
|
407
407
|
def read_with_http_info(container_container_push_repository_href, opts = {})
|
408
408
|
if @api_client.config.debugging
|
@@ -417,8 +417,8 @@ module PulpContainerClient
|
|
417
417
|
|
418
418
|
# query parameters
|
419
419
|
query_params = opts[:query_params] || {}
|
420
|
-
query_params[:'fields'] =
|
421
|
-
query_params[:'exclude_fields'] =
|
420
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
421
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
422
422
|
|
423
423
|
# header parameters
|
424
424
|
header_params = opts[:header_params] || {}
|
@@ -88,7 +88,7 @@ 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
|
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
|
@@ -96,14 +96,14 @@ module PulpContainerClient
|
|
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
98
|
# @option opts [Array<String>] :ordering Ordering
|
99
|
-
# @option opts [DateTime] :pulp_created
|
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 [
|
106
|
-
# @option opts [
|
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.
|
107
107
|
# @return [PaginatedRepositoryVersionResponseList]
|
108
108
|
def list(container_container_push_repository_href, opts = {})
|
109
109
|
data, _status_code, _headers = list_with_http_info(container_container_push_repository_href, opts)
|
@@ -117,7 +117,7 @@ module PulpContainerClient
|
|
117
117
|
# @option opts [String] :content Content Unit referenced by HREF
|
118
118
|
# @option opts [String] :content__in Content Unit referenced by HREF
|
119
119
|
# @option opts [Integer] :limit Number of results to return per page.
|
120
|
-
# @option opts [Integer] :number
|
120
|
+
# @option opts [Integer] :number
|
121
121
|
# @option opts [Integer] :number__gt Filter results where number is greater than value
|
122
122
|
# @option opts [Integer] :number__gte Filter results where number is greater than or equal to value
|
123
123
|
# @option opts [Integer] :number__lt Filter results where number is less than value
|
@@ -125,14 +125,14 @@ module PulpContainerClient
|
|
125
125
|
# @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
|
126
126
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
127
127
|
# @option opts [Array<String>] :ordering Ordering
|
128
|
-
# @option opts [DateTime] :pulp_created
|
128
|
+
# @option opts [DateTime] :pulp_created ISO 8601 formatted dates are supported
|
129
129
|
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
130
130
|
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
131
131
|
# @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
|
132
132
|
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
133
133
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
134
|
-
# @option opts [
|
135
|
-
# @option opts [
|
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.
|
136
136
|
# @return [Array<(PaginatedRepositoryVersionResponseList, Integer, Hash)>] PaginatedRepositoryVersionResponseList data, response status code and response headers
|
137
137
|
def list_with_http_info(container_container_push_repository_href, opts = {})
|
138
138
|
if @api_client.config.debugging
|
@@ -142,7 +142,7 @@ module PulpContainerClient
|
|
142
142
|
if @api_client.config.client_side_validation && container_container_push_repository_href.nil?
|
143
143
|
fail ArgumentError, "Missing the required parameter 'container_container_push_repository_href' when calling RepositoriesContainerPushVersionsApi.list"
|
144
144
|
end
|
145
|
-
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"]
|
146
146
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
147
147
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
148
148
|
end
|
@@ -168,8 +168,8 @@ module PulpContainerClient
|
|
168
168
|
query_params[:'pulp_created__lt'] = opts[:'pulp_created__lt'] if !opts[:'pulp_created__lt'].nil?
|
169
169
|
query_params[:'pulp_created__lte'] = opts[:'pulp_created__lte'] if !opts[:'pulp_created__lte'].nil?
|
170
170
|
query_params[:'pulp_created__range'] = @api_client.build_collection_param(opts[:'pulp_created__range'], :csv) if !opts[:'pulp_created__range'].nil?
|
171
|
-
query_params[:'fields'] =
|
172
|
-
query_params[:'exclude_fields'] =
|
171
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
172
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
173
173
|
|
174
174
|
# header parameters
|
175
175
|
header_params = opts[:header_params] || {}
|
@@ -208,8 +208,8 @@ module PulpContainerClient
|
|
208
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.
|
209
209
|
# @param container_container_push_repository_version_href [String]
|
210
210
|
# @param [Hash] opts the optional parameters
|
211
|
-
# @option opts [
|
212
|
-
# @option opts [
|
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.
|
213
213
|
# @return [RepositoryVersionResponse]
|
214
214
|
def read(container_container_push_repository_version_href, opts = {})
|
215
215
|
data, _status_code, _headers = read_with_http_info(container_container_push_repository_version_href, opts)
|
@@ -220,8 +220,8 @@ module PulpContainerClient
|
|
220
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.
|
221
221
|
# @param container_container_push_repository_version_href [String]
|
222
222
|
# @param [Hash] opts the optional parameters
|
223
|
-
# @option opts [
|
224
|
-
# @option opts [
|
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.
|
225
225
|
# @return [Array<(RepositoryVersionResponse, Integer, Hash)>] RepositoryVersionResponse data, response status code and response headers
|
226
226
|
def read_with_http_info(container_container_push_repository_version_href, opts = {})
|
227
227
|
if @api_client.config.debugging
|
@@ -236,8 +236,8 @@ module PulpContainerClient
|
|
236
236
|
|
237
237
|
# query parameters
|
238
238
|
query_params = opts[:query_params] || {}
|
239
|
-
query_params[:'fields'] =
|
240
|
-
query_params[:'exclude_fields'] =
|
239
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
240
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
241
241
|
|
242
242
|
# header parameters
|
243
243
|
header_params = opts[:header_params] || {}
|
@@ -88,7 +88,7 @@ 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
|
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
|
@@ -96,14 +96,14 @@ module PulpContainerClient
|
|
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
98
|
# @option opts [Array<String>] :ordering Ordering
|
99
|
-
# @option opts [DateTime] :pulp_created
|
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 [
|
106
|
-
# @option opts [
|
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.
|
107
107
|
# @return [PaginatedRepositoryVersionResponseList]
|
108
108
|
def list(container_container_repository_href, opts = {})
|
109
109
|
data, _status_code, _headers = list_with_http_info(container_container_repository_href, opts)
|
@@ -117,7 +117,7 @@ module PulpContainerClient
|
|
117
117
|
# @option opts [String] :content Content Unit referenced by HREF
|
118
118
|
# @option opts [String] :content__in Content Unit referenced by HREF
|
119
119
|
# @option opts [Integer] :limit Number of results to return per page.
|
120
|
-
# @option opts [Integer] :number
|
120
|
+
# @option opts [Integer] :number
|
121
121
|
# @option opts [Integer] :number__gt Filter results where number is greater than value
|
122
122
|
# @option opts [Integer] :number__gte Filter results where number is greater than or equal to value
|
123
123
|
# @option opts [Integer] :number__lt Filter results where number is less than value
|
@@ -125,14 +125,14 @@ module PulpContainerClient
|
|
125
125
|
# @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
|
126
126
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
127
127
|
# @option opts [Array<String>] :ordering Ordering
|
128
|
-
# @option opts [DateTime] :pulp_created
|
128
|
+
# @option opts [DateTime] :pulp_created ISO 8601 formatted dates are supported
|
129
129
|
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
130
130
|
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
131
131
|
# @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
|
132
132
|
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
133
133
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
134
|
-
# @option opts [
|
135
|
-
# @option opts [
|
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.
|
136
136
|
# @return [Array<(PaginatedRepositoryVersionResponseList, Integer, Hash)>] PaginatedRepositoryVersionResponseList data, response status code and response headers
|
137
137
|
def list_with_http_info(container_container_repository_href, opts = {})
|
138
138
|
if @api_client.config.debugging
|
@@ -142,7 +142,7 @@ module PulpContainerClient
|
|
142
142
|
if @api_client.config.client_side_validation && container_container_repository_href.nil?
|
143
143
|
fail ArgumentError, "Missing the required parameter 'container_container_repository_href' when calling RepositoriesContainerVersionsApi.list"
|
144
144
|
end
|
145
|
-
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"]
|
146
146
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
147
147
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
148
148
|
end
|
@@ -168,8 +168,8 @@ module PulpContainerClient
|
|
168
168
|
query_params[:'pulp_created__lt'] = opts[:'pulp_created__lt'] if !opts[:'pulp_created__lt'].nil?
|
169
169
|
query_params[:'pulp_created__lte'] = opts[:'pulp_created__lte'] if !opts[:'pulp_created__lte'].nil?
|
170
170
|
query_params[:'pulp_created__range'] = @api_client.build_collection_param(opts[:'pulp_created__range'], :csv) if !opts[:'pulp_created__range'].nil?
|
171
|
-
query_params[:'fields'] =
|
172
|
-
query_params[:'exclude_fields'] =
|
171
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
172
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
173
173
|
|
174
174
|
# header parameters
|
175
175
|
header_params = opts[:header_params] || {}
|
@@ -208,8 +208,8 @@ module PulpContainerClient
|
|
208
208
|
# ContainerRepositoryVersion represents a single container repository version.
|
209
209
|
# @param container_container_repository_version_href [String]
|
210
210
|
# @param [Hash] opts the optional parameters
|
211
|
-
# @option opts [
|
212
|
-
# @option opts [
|
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.
|
213
213
|
# @return [RepositoryVersionResponse]
|
214
214
|
def read(container_container_repository_version_href, opts = {})
|
215
215
|
data, _status_code, _headers = read_with_http_info(container_container_repository_version_href, opts)
|
@@ -220,8 +220,8 @@ module PulpContainerClient
|
|
220
220
|
# ContainerRepositoryVersion represents a single container repository version.
|
221
221
|
# @param container_container_repository_version_href [String]
|
222
222
|
# @param [Hash] opts the optional parameters
|
223
|
-
# @option opts [
|
224
|
-
# @option opts [
|
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.
|
225
225
|
# @return [Array<(RepositoryVersionResponse, Integer, Hash)>] RepositoryVersionResponse data, response status code and response headers
|
226
226
|
def read_with_http_info(container_container_repository_version_href, opts = {})
|
227
227
|
if @api_client.config.debugging
|
@@ -236,8 +236,8 @@ module PulpContainerClient
|
|
236
236
|
|
237
237
|
# query parameters
|
238
238
|
query_params = opts[:query_params] || {}
|
239
|
-
query_params[:'fields'] =
|
240
|
-
query_params[:'exclude_fields'] =
|
239
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
240
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
241
241
|
|
242
242
|
# header parameters
|
243
243
|
header_params = opts[:header_params] || {}
|
@@ -127,8 +127,8 @@ module PulpContainerClient
|
|
127
127
|
attr_accessor :force_ending_format
|
128
128
|
|
129
129
|
def initialize
|
130
|
-
@scheme = '
|
131
|
-
@host = '
|
130
|
+
@scheme = 'https'
|
131
|
+
@host = 'pulp'
|
132
132
|
@base_path = ''
|
133
133
|
@api_key = {}
|
134
134
|
@api_key_prefix = {}
|
@@ -210,7 +210,7 @@ module PulpContainerClient
|
|
210
210
|
def server_settings
|
211
211
|
[
|
212
212
|
{
|
213
|
-
url: "
|
213
|
+
url: "https://pulp/",
|
214
214
|
description: "No description provided",
|
215
215
|
}
|
216
216
|
]
|
@@ -18,14 +18,14 @@ module PulpContainerClient
|
|
18
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
19
|
attr_accessor :base_path
|
20
20
|
|
21
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
22
|
+
attr_accessor :content_guard
|
23
|
+
|
21
24
|
attr_accessor :pulp_labels
|
22
25
|
|
23
26
|
# A unique name. Ex, `rawhide` and `stable`.
|
24
27
|
attr_accessor :name
|
25
28
|
|
26
|
-
# An optional content-guard. If none is specified, a default one will be used.
|
27
|
-
attr_accessor :content_guard
|
28
|
-
|
29
29
|
# The latest RepositoryVersion for this Repository will be served.
|
30
30
|
attr_accessor :repository
|
31
31
|
|
@@ -42,9 +42,9 @@ module PulpContainerClient
|
|
42
42
|
def self.attribute_map
|
43
43
|
{
|
44
44
|
:'base_path' => :'base_path',
|
45
|
+
:'content_guard' => :'content_guard',
|
45
46
|
:'pulp_labels' => :'pulp_labels',
|
46
47
|
:'name' => :'name',
|
47
|
-
:'content_guard' => :'content_guard',
|
48
48
|
:'repository' => :'repository',
|
49
49
|
:'repository_version' => :'repository_version',
|
50
50
|
:'private' => :'private',
|
@@ -56,9 +56,9 @@ module PulpContainerClient
|
|
56
56
|
def self.openapi_types
|
57
57
|
{
|
58
58
|
:'base_path' => :'String',
|
59
|
-
:'pulp_labels' => :'Hash<String, String>',
|
60
|
-
:'name' => :'String',
|
61
59
|
:'content_guard' => :'String',
|
60
|
+
:'pulp_labels' => :'Object',
|
61
|
+
:'name' => :'String',
|
62
62
|
:'repository' => :'String',
|
63
63
|
:'repository_version' => :'String',
|
64
64
|
:'private' => :'Boolean',
|
@@ -94,20 +94,18 @@ module PulpContainerClient
|
|
94
94
|
self.base_path = attributes[:'base_path']
|
95
95
|
end
|
96
96
|
|
97
|
+
if attributes.key?(:'content_guard')
|
98
|
+
self.content_guard = attributes[:'content_guard']
|
99
|
+
end
|
100
|
+
|
97
101
|
if attributes.key?(:'pulp_labels')
|
98
|
-
|
99
|
-
self.pulp_labels = value
|
100
|
-
end
|
102
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
101
103
|
end
|
102
104
|
|
103
105
|
if attributes.key?(:'name')
|
104
106
|
self.name = attributes[:'name']
|
105
107
|
end
|
106
108
|
|
107
|
-
if attributes.key?(:'content_guard')
|
108
|
-
self.content_guard = attributes[:'content_guard']
|
109
|
-
end
|
110
|
-
|
111
109
|
if attributes.key?(:'repository')
|
112
110
|
self.repository = attributes[:'repository']
|
113
111
|
end
|
@@ -207,9 +205,9 @@ module PulpContainerClient
|
|
207
205
|
return true if self.equal?(o)
|
208
206
|
self.class == o.class &&
|
209
207
|
base_path == o.base_path &&
|
208
|
+
content_guard == o.content_guard &&
|
210
209
|
pulp_labels == o.pulp_labels &&
|
211
210
|
name == o.name &&
|
212
|
-
content_guard == o.content_guard &&
|
213
211
|
repository == o.repository &&
|
214
212
|
repository_version == o.repository_version &&
|
215
213
|
private == o.private &&
|
@@ -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
|
-
[base_path, pulp_labels, name,
|
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
|
@@ -18,22 +18,22 @@ module PulpContainerClient
|
|
18
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
19
|
attr_accessor :base_path
|
20
20
|
|
21
|
-
|
21
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
22
|
+
attr_accessor :content_guard
|
22
23
|
|
23
|
-
attr_accessor :
|
24
|
+
attr_accessor :pulp_labels
|
24
25
|
|
25
26
|
# A unique name. Ex, `rawhide` and `stable`.
|
26
27
|
attr_accessor :name
|
27
28
|
|
28
|
-
# Timestamp of creation.
|
29
|
-
attr_accessor :pulp_created
|
30
|
-
|
31
|
-
# An optional content-guard. If none is specified, a default one will be used.
|
32
|
-
attr_accessor :content_guard
|
33
|
-
|
34
29
|
# The latest RepositoryVersion for this Repository will be served.
|
35
30
|
attr_accessor :repository
|
36
31
|
|
32
|
+
attr_accessor :pulp_href
|
33
|
+
|
34
|
+
# Timestamp of creation.
|
35
|
+
attr_accessor :pulp_created
|
36
|
+
|
37
37
|
# RepositoryVersion to be served
|
38
38
|
attr_accessor :repository_version
|
39
39
|
|
@@ -53,12 +53,12 @@ module PulpContainerClient
|
|
53
53
|
def self.attribute_map
|
54
54
|
{
|
55
55
|
:'base_path' => :'base_path',
|
56
|
+
:'content_guard' => :'content_guard',
|
56
57
|
:'pulp_labels' => :'pulp_labels',
|
57
|
-
:'pulp_href' => :'pulp_href',
|
58
58
|
:'name' => :'name',
|
59
|
-
:'pulp_created' => :'pulp_created',
|
60
|
-
:'content_guard' => :'content_guard',
|
61
59
|
:'repository' => :'repository',
|
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',
|
@@ -71,12 +71,12 @@ module PulpContainerClient
|
|
71
71
|
def self.openapi_types
|
72
72
|
{
|
73
73
|
:'base_path' => :'String',
|
74
|
-
:'pulp_labels' => :'Hash<String, String>',
|
75
|
-
:'pulp_href' => :'String',
|
76
|
-
:'name' => :'String',
|
77
|
-
:'pulp_created' => :'DateTime',
|
78
74
|
:'content_guard' => :'String',
|
75
|
+
:'pulp_labels' => :'Object',
|
76
|
+
:'name' => :'String',
|
79
77
|
:'repository' => :'String',
|
78
|
+
:'pulp_href' => :'String',
|
79
|
+
:'pulp_created' => :'DateTime',
|
80
80
|
:'repository_version' => :'String',
|
81
81
|
:'registry_path' => :'String',
|
82
82
|
:'namespace' => :'String',
|
@@ -113,30 +113,28 @@ module PulpContainerClient
|
|
113
113
|
self.base_path = attributes[:'base_path']
|
114
114
|
end
|
115
115
|
|
116
|
-
if attributes.key?(:'
|
117
|
-
|
118
|
-
self.pulp_labels = value
|
119
|
-
end
|
116
|
+
if attributes.key?(:'content_guard')
|
117
|
+
self.content_guard = attributes[:'content_guard']
|
120
118
|
end
|
121
119
|
|
122
|
-
if attributes.key?(:'
|
123
|
-
self.
|
120
|
+
if attributes.key?(:'pulp_labels')
|
121
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
124
122
|
end
|
125
123
|
|
126
124
|
if attributes.key?(:'name')
|
127
125
|
self.name = attributes[:'name']
|
128
126
|
end
|
129
127
|
|
130
|
-
if attributes.key?(:'
|
131
|
-
self.
|
128
|
+
if attributes.key?(:'repository')
|
129
|
+
self.repository = attributes[:'repository']
|
132
130
|
end
|
133
131
|
|
134
|
-
if attributes.key?(:'
|
135
|
-
self.
|
132
|
+
if attributes.key?(:'pulp_href')
|
133
|
+
self.pulp_href = attributes[:'pulp_href']
|
136
134
|
end
|
137
135
|
|
138
|
-
if attributes.key?(:'
|
139
|
-
self.
|
136
|
+
if attributes.key?(:'pulp_created')
|
137
|
+
self.pulp_created = attributes[:'pulp_created']
|
140
138
|
end
|
141
139
|
|
142
140
|
if attributes.key?(:'repository_version')
|
@@ -189,12 +187,12 @@ module PulpContainerClient
|
|
189
187
|
return true if self.equal?(o)
|
190
188
|
self.class == o.class &&
|
191
189
|
base_path == o.base_path &&
|
190
|
+
content_guard == o.content_guard &&
|
192
191
|
pulp_labels == o.pulp_labels &&
|
193
|
-
pulp_href == o.pulp_href &&
|
194
192
|
name == o.name &&
|
195
|
-
pulp_created == o.pulp_created &&
|
196
|
-
content_guard == o.content_guard &&
|
197
193
|
repository == o.repository &&
|
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
|
-
[base_path,
|
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
|