pulp_container_client 2.4.0.dev01613445646 → 2.4.0.dev01614050467

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


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

Files changed (50) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +17 -16
  3. data/docs/ContainerContainerDistribution.md +7 -7
  4. data/docs/ContainerContainerDistributionResponse.md +7 -7
  5. data/docs/ContentBlobsApi.md +12 -12
  6. data/docs/ContentManifestsApi.md +12 -12
  7. data/docs/ContentTagsApi.md +14 -14
  8. data/docs/{ContentGuardsContentRedirectApi.md → ContentguardsContentRedirectApi.md} +29 -29
  9. data/docs/DistributionsContainerApi.md +22 -22
  10. data/docs/ManifestCopy.md +1 -1
  11. data/docs/MediaTypesEnum.md +16 -0
  12. data/docs/PatchedcontainerContainerDistribution.md +7 -7
  13. data/docs/PulpContainerNamespacesApi.md +10 -10
  14. data/docs/RemotesContainerApi.md +24 -24
  15. data/docs/RepositoriesContainerApi.md +12 -12
  16. data/docs/RepositoriesContainerPushApi.md +12 -12
  17. data/docs/RepositoriesContainerVersionsApi.md +56 -56
  18. data/lib/pulp_container_client.rb +2 -1
  19. data/lib/pulp_container_client/api/content_blobs_api.rb +14 -14
  20. data/lib/pulp_container_client/api/content_manifests_api.rb +14 -14
  21. data/lib/pulp_container_client/api/content_tags_api.rb +17 -17
  22. data/lib/pulp_container_client/api/{content_guards_content_redirect_api.rb → contentguards_content_redirect_api.rb} +33 -33
  23. data/lib/pulp_container_client/api/distributions_container_api.rb +24 -24
  24. data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +11 -11
  25. data/lib/pulp_container_client/api/remotes_container_api.rb +26 -26
  26. data/lib/pulp_container_client/api/repositories_container_api.rb +13 -13
  27. data/lib/pulp_container_client/api/repositories_container_push_api.rb +13 -13
  28. data/lib/pulp_container_client/api/repositories_container_versions_api.rb +100 -60
  29. data/lib/pulp_container_client/models/container_container_distribution.rb +27 -27
  30. data/lib/pulp_container_client/models/container_container_distribution_response.rb +30 -30
  31. data/lib/pulp_container_client/models/manifest_copy.rb +1 -23
  32. data/lib/pulp_container_client/models/media_types_enum.rb +39 -0
  33. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +27 -27
  34. data/lib/pulp_container_client/version.rb +1 -1
  35. data/spec/api/content_blobs_api_spec.rb +6 -6
  36. data/spec/api/content_manifests_api_spec.rb +6 -6
  37. data/spec/api/content_tags_api_spec.rb +7 -7
  38. data/spec/api/{content_guards_content_redirect_api_spec.rb → contentguards_content_redirect_api_spec.rb} +11 -11
  39. data/spec/api/distributions_container_api_spec.rb +11 -11
  40. data/spec/api/pulp_container_namespaces_api_spec.rb +5 -5
  41. data/spec/api/remotes_container_api_spec.rb +12 -12
  42. data/spec/api/repositories_container_api_spec.rb +6 -6
  43. data/spec/api/repositories_container_push_api_spec.rb +6 -6
  44. data/spec/api/repositories_container_versions_api_spec.rb +28 -28
  45. data/spec/models/container_container_distribution_response_spec.rb +7 -7
  46. data/spec/models/container_container_distribution_spec.rb +6 -6
  47. data/spec/models/manifest_copy_spec.rb +0 -4
  48. data/spec/models/media_types_enum_spec.rb +35 -0
  49. data/spec/models/patchedcontainer_container_distribution_spec.rb +6 -6
  50. metadata +10 -6
@@ -35,6 +35,7 @@ require 'pulp_container_client/models/container_tag_response'
35
35
  require 'pulp_container_client/models/content_summary'
36
36
  require 'pulp_container_client/models/content_summary_response'
37
37
  require 'pulp_container_client/models/manifest_copy'
38
+ require 'pulp_container_client/models/media_types_enum'
38
39
  require 'pulp_container_client/models/oci_build_image'
39
40
  require 'pulp_container_client/models/paginated_repository_version_response_list'
40
41
  require 'pulp_container_client/models/paginatedcontainer_blob_response_list'
@@ -61,9 +62,9 @@ require 'pulp_container_client/models/un_tag_image'
61
62
 
62
63
  # APIs
63
64
  require 'pulp_container_client/api/content_blobs_api'
64
- require 'pulp_container_client/api/content_guards_content_redirect_api'
65
65
  require 'pulp_container_client/api/content_manifests_api'
66
66
  require 'pulp_container_client/api/content_tags_api'
67
+ require 'pulp_container_client/api/contentguards_content_redirect_api'
67
68
  require 'pulp_container_client/api/distributions_container_api'
68
69
  require 'pulp_container_client/api/pulp_container_namespaces_api'
69
70
  require 'pulp_container_client/api/remotes_container_api'
@@ -22,15 +22,15 @@ module PulpContainerClient
22
22
  # List blobs
23
23
  # ViewSet for Blobs.
24
24
  # @param [Hash] opts the optional parameters
25
- # @option opts [String] :digest digest
26
- # @option opts [String] :digest__in digest__in
25
+ # @option opts [String] :digest Filter results where digest matches value
26
+ # @option opts [Array<String>] :digest__in Filter results where digest is in a comma-separated list of values
27
27
  # @option opts [Integer] :limit Number of results to return per page.
28
- # @option opts [String] :media_type media_type
28
+ # @option opts [String] :media_type
29
29
  # @option opts [Integer] :offset The initial index from which to return the results.
30
30
  # @option opts [String] :ordering Which field to use when ordering the results.
31
- # @option opts [String] :repository_version repository_version
32
- # @option opts [String] :repository_version_added repository_version_added
33
- # @option opts [String] :repository_version_removed repository_version_removed
31
+ # @option opts [String] :repository_version Repository Version referenced by HREF
32
+ # @option opts [String] :repository_version_added Repository Version referenced by HREF
33
+ # @option opts [String] :repository_version_removed Repository Version referenced by HREF
34
34
  # @option opts [String] :fields A list of fields to include in the response.
35
35
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
36
36
  # @return [PaginatedcontainerBlobResponseList]
@@ -42,15 +42,15 @@ module PulpContainerClient
42
42
  # List blobs
43
43
  # ViewSet for Blobs.
44
44
  # @param [Hash] opts the optional parameters
45
- # @option opts [String] :digest digest
46
- # @option opts [String] :digest__in digest__in
45
+ # @option opts [String] :digest Filter results where digest matches value
46
+ # @option opts [Array<String>] :digest__in Filter results where digest is in a comma-separated list of values
47
47
  # @option opts [Integer] :limit Number of results to return per page.
48
- # @option opts [String] :media_type media_type
48
+ # @option opts [String] :media_type
49
49
  # @option opts [Integer] :offset The initial index from which to return the results.
50
50
  # @option opts [String] :ordering Which field to use when ordering the results.
51
- # @option opts [String] :repository_version repository_version
52
- # @option opts [String] :repository_version_added repository_version_added
53
- # @option opts [String] :repository_version_removed repository_version_removed
51
+ # @option opts [String] :repository_version Repository Version referenced by HREF
52
+ # @option opts [String] :repository_version_added Repository Version referenced by HREF
53
+ # @option opts [String] :repository_version_removed Repository Version referenced by HREF
54
54
  # @option opts [String] :fields A list of fields to include in the response.
55
55
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
56
56
  # @return [Array<(PaginatedcontainerBlobResponseList, Integer, Hash)>] PaginatedcontainerBlobResponseList data, response status code and response headers
@@ -58,7 +58,7 @@ module PulpContainerClient
58
58
  if @api_client.config.debugging
59
59
  @api_client.config.logger.debug 'Calling API: ContentBlobsApi.list ...'
60
60
  end
61
- allowable_values = ["application/vnd.docker.container.image.v1+json", "application/vnd.docker.image.rootfs.diff.tar.gzip", "application/vnd.docker.image.rootfs.foreign.diff.tar.gzip", "application/vnd.oci.image.config.v1+json", "application/vnd.oci.image.layer.v1.tar+gzip", "application/vnd.oci.image.layer.nondistributable.v1.tar+gzip"]
61
+ allowable_values = ["application/vnd.docker.container.image.v1+json", "application/vnd.docker.image.rootfs.diff.tar.gzip", "application/vnd.docker.image.rootfs.foreign.diff.tar.gzip", "application/vnd.oci.image.config.v1+json", "application/vnd.oci.image.layer.nondistributable.v1.tar+gzip", "application/vnd.oci.image.layer.v1.tar+gzip"]
62
62
  if @api_client.config.client_side_validation && opts[:'media_type'] && !allowable_values.include?(opts[:'media_type'])
63
63
  fail ArgumentError, "invalid value for \"media_type\", must be one of #{allowable_values}"
64
64
  end
@@ -68,7 +68,7 @@ module PulpContainerClient
68
68
  # query parameters
69
69
  query_params = opts[:query_params] || {}
70
70
  query_params[:'digest'] = opts[:'digest'] if !opts[:'digest'].nil?
71
- query_params[:'digest__in'] = opts[:'digest__in'] if !opts[:'digest__in'].nil?
71
+ query_params[:'digest__in'] = @api_client.build_collection_param(opts[:'digest__in'], :csv) if !opts[:'digest__in'].nil?
72
72
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
73
73
  query_params[:'media_type'] = opts[:'media_type'] if !opts[:'media_type'].nil?
74
74
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
@@ -22,15 +22,15 @@ module PulpContainerClient
22
22
  # List manifests
23
23
  # ViewSet for Manifest.
24
24
  # @param [Hash] opts the optional parameters
25
- # @option opts [String] :digest digest
26
- # @option opts [String] :digest__in digest__in
25
+ # @option opts [String] :digest Filter results where digest matches value
26
+ # @option opts [Array<String>] :digest__in Filter results where digest is in a comma-separated list of values
27
27
  # @option opts [Integer] :limit Number of results to return per page.
28
- # @option opts [String] :media_type media_type
28
+ # @option opts [String] :media_type
29
29
  # @option opts [Integer] :offset The initial index from which to return the results.
30
30
  # @option opts [String] :ordering Which field to use when ordering the results.
31
- # @option opts [String] :repository_version repository_version
32
- # @option opts [String] :repository_version_added repository_version_added
33
- # @option opts [String] :repository_version_removed repository_version_removed
31
+ # @option opts [String] :repository_version Repository Version referenced by HREF
32
+ # @option opts [String] :repository_version_added Repository Version referenced by HREF
33
+ # @option opts [String] :repository_version_removed Repository Version referenced by HREF
34
34
  # @option opts [String] :fields A list of fields to include in the response.
35
35
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
36
36
  # @return [PaginatedcontainerManifestResponseList]
@@ -42,15 +42,15 @@ module PulpContainerClient
42
42
  # List manifests
43
43
  # ViewSet for Manifest.
44
44
  # @param [Hash] opts the optional parameters
45
- # @option opts [String] :digest digest
46
- # @option opts [String] :digest__in digest__in
45
+ # @option opts [String] :digest Filter results where digest matches value
46
+ # @option opts [Array<String>] :digest__in Filter results where digest is in a comma-separated list of values
47
47
  # @option opts [Integer] :limit Number of results to return per page.
48
- # @option opts [String] :media_type media_type
48
+ # @option opts [String] :media_type
49
49
  # @option opts [Integer] :offset The initial index from which to return the results.
50
50
  # @option opts [String] :ordering Which field to use when ordering the results.
51
- # @option opts [String] :repository_version repository_version
52
- # @option opts [String] :repository_version_added repository_version_added
53
- # @option opts [String] :repository_version_removed repository_version_removed
51
+ # @option opts [String] :repository_version Repository Version referenced by HREF
52
+ # @option opts [String] :repository_version_added Repository Version referenced by HREF
53
+ # @option opts [String] :repository_version_removed Repository Version referenced by HREF
54
54
  # @option opts [String] :fields A list of fields to include in the response.
55
55
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
56
56
  # @return [Array<(PaginatedcontainerManifestResponseList, Integer, Hash)>] PaginatedcontainerManifestResponseList data, response status code and response headers
@@ -58,7 +58,7 @@ module PulpContainerClient
58
58
  if @api_client.config.debugging
59
59
  @api_client.config.logger.debug 'Calling API: ContentManifestsApi.list ...'
60
60
  end
61
- allowable_values = ["application/vnd.docker.distribution.manifest.v1+json", "application/vnd.docker.distribution.manifest.v2+json", "application/vnd.docker.distribution.manifest.list.v2+json", "application/vnd.oci.image.manifest.v1+json", "application/vnd.oci.image.index.v1+json"]
61
+ allowable_values = ["application/vnd.docker.distribution.manifest.list.v2+json", "application/vnd.docker.distribution.manifest.v1+json", "application/vnd.docker.distribution.manifest.v2+json", "application/vnd.oci.image.index.v1+json", "application/vnd.oci.image.manifest.v1+json"]
62
62
  if @api_client.config.client_side_validation && opts[:'media_type'] && !allowable_values.include?(opts[:'media_type'])
63
63
  fail ArgumentError, "invalid value for \"media_type\", must be one of #{allowable_values}"
64
64
  end
@@ -68,7 +68,7 @@ module PulpContainerClient
68
68
  # query parameters
69
69
  query_params = opts[:query_params] || {}
70
70
  query_params[:'digest'] = opts[:'digest'] if !opts[:'digest'].nil?
71
- query_params[:'digest__in'] = opts[:'digest__in'] if !opts[:'digest__in'].nil?
71
+ query_params[:'digest__in'] = @api_client.build_collection_param(opts[:'digest__in'], :csv) if !opts[:'digest__in'].nil?
72
72
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
73
73
  query_params[:'media_type'] = opts[:'media_type'] if !opts[:'media_type'].nil?
74
74
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
@@ -22,16 +22,16 @@ module PulpContainerClient
22
22
  # List tags
23
23
  # ViewSet for Tag.
24
24
  # @param [Hash] opts the optional parameters
25
- # @option opts [String] :digest digest
25
+ # @option opts [Array<String>] :digest Multiple values may be separated by commas.
26
26
  # @option opts [Integer] :limit Number of results to return per page.
27
- # @option opts [String] :media_type media_type
28
- # @option opts [String] :name name
29
- # @option opts [String] :name__in name__in
27
+ # @option opts [String] :media_type
28
+ # @option opts [String] :name Filter results where name matches value
29
+ # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
30
30
  # @option opts [Integer] :offset The initial index from which to return the results.
31
31
  # @option opts [String] :ordering Which field to use when ordering the results.
32
- # @option opts [String] :repository_version repository_version
33
- # @option opts [String] :repository_version_added repository_version_added
34
- # @option opts [String] :repository_version_removed repository_version_removed
32
+ # @option opts [String] :repository_version Repository Version referenced by HREF
33
+ # @option opts [String] :repository_version_added Repository Version referenced by HREF
34
+ # @option opts [String] :repository_version_removed Repository Version referenced by HREF
35
35
  # @option opts [String] :fields A list of fields to include in the response.
36
36
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
37
37
  # @return [PaginatedcontainerTagResponseList]
@@ -43,16 +43,16 @@ module PulpContainerClient
43
43
  # List tags
44
44
  # ViewSet for Tag.
45
45
  # @param [Hash] opts the optional parameters
46
- # @option opts [String] :digest digest
46
+ # @option opts [Array<String>] :digest Multiple values may be separated by commas.
47
47
  # @option opts [Integer] :limit Number of results to return per page.
48
- # @option opts [String] :media_type media_type
49
- # @option opts [String] :name name
50
- # @option opts [String] :name__in name__in
48
+ # @option opts [String] :media_type
49
+ # @option opts [String] :name Filter results where name matches value
50
+ # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
51
51
  # @option opts [Integer] :offset The initial index from which to return the results.
52
52
  # @option opts [String] :ordering Which field to use when ordering the results.
53
- # @option opts [String] :repository_version repository_version
54
- # @option opts [String] :repository_version_added repository_version_added
55
- # @option opts [String] :repository_version_removed repository_version_removed
53
+ # @option opts [String] :repository_version Repository Version referenced by HREF
54
+ # @option opts [String] :repository_version_added Repository Version referenced by HREF
55
+ # @option opts [String] :repository_version_removed Repository Version referenced by HREF
56
56
  # @option opts [String] :fields A list of fields to include in the response.
57
57
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
58
58
  # @return [Array<(PaginatedcontainerTagResponseList, Integer, Hash)>] PaginatedcontainerTagResponseList data, response status code and response headers
@@ -60,7 +60,7 @@ module PulpContainerClient
60
60
  if @api_client.config.debugging
61
61
  @api_client.config.logger.debug 'Calling API: ContentTagsApi.list ...'
62
62
  end
63
- allowable_values = ["application/vnd.docker.distribution.manifest.v1+json", "application/vnd.docker.distribution.manifest.v2+json", "application/vnd.docker.distribution.manifest.list.v2+json", "application/vnd.oci.image.manifest.v1+json", "application/vnd.oci.image.index.v1+json"]
63
+ allowable_values = ["application/vnd.docker.distribution.manifest.list.v2+json", "application/vnd.docker.distribution.manifest.v1+json", "application/vnd.docker.distribution.manifest.v2+json", "application/vnd.oci.image.index.v1+json", "application/vnd.oci.image.manifest.v1+json"]
64
64
  if @api_client.config.client_side_validation && opts[:'media_type'] && !allowable_values.include?(opts[:'media_type'])
65
65
  fail ArgumentError, "invalid value for \"media_type\", must be one of #{allowable_values}"
66
66
  end
@@ -69,11 +69,11 @@ module PulpContainerClient
69
69
 
70
70
  # query parameters
71
71
  query_params = opts[:query_params] || {}
72
- query_params[:'digest'] = opts[:'digest'] if !opts[:'digest'].nil?
72
+ query_params[:'digest'] = @api_client.build_collection_param(opts[:'digest'], :csv) if !opts[:'digest'].nil?
73
73
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
74
74
  query_params[:'media_type'] = opts[:'media_type'] if !opts[:'media_type'].nil?
75
75
  query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
76
- query_params[:'name__in'] = opts[:'name__in'] if !opts[:'name__in'].nil?
76
+ query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
77
77
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
78
78
  query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
79
79
  query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.3
13
13
  require 'cgi'
14
14
 
15
15
  module PulpContainerClient
16
- class ContentGuardsContentRedirectApi
16
+ class ContentguardsContentRedirectApi
17
17
  attr_accessor :api_client
18
18
 
19
19
  def initialize(api_client = ApiClient.default)
@@ -36,14 +36,14 @@ module PulpContainerClient
36
36
  # @return [Array<(ContainerContentRedirectContentGuardResponse, Integer, Hash)>] ContainerContentRedirectContentGuardResponse data, response status code and response headers
37
37
  def create_with_http_info(container_content_redirect_content_guard, opts = {})
38
38
  if @api_client.config.debugging
39
- @api_client.config.logger.debug 'Calling API: ContentGuardsContentRedirectApi.create ...'
39
+ @api_client.config.logger.debug 'Calling API: ContentguardsContentRedirectApi.create ...'
40
40
  end
41
41
  # verify the required parameter 'container_content_redirect_content_guard' is set
42
42
  if @api_client.config.client_side_validation && container_content_redirect_content_guard.nil?
43
- fail ArgumentError, "Missing the required parameter 'container_content_redirect_content_guard' when calling ContentGuardsContentRedirectApi.create"
43
+ fail ArgumentError, "Missing the required parameter 'container_content_redirect_content_guard' when calling ContentguardsContentRedirectApi.create"
44
44
  end
45
45
  # resource path
46
- local_var_path = '/pulp/api/v3/content_guards/container/content_redirect/'
46
+ local_var_path = '/pulp/api/v3/contentguards/container/content_redirect/'
47
47
 
48
48
  # query parameters
49
49
  query_params = opts[:query_params] || {}
@@ -78,7 +78,7 @@ module PulpContainerClient
78
78
 
79
79
  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
80
80
  if @api_client.config.debugging
81
- @api_client.config.logger.debug "API called: ContentGuardsContentRedirectApi#create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
81
+ @api_client.config.logger.debug "API called: ContentguardsContentRedirectApi#create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
82
82
  end
83
83
  return data, status_code, headers
84
84
  end
@@ -100,11 +100,11 @@ module PulpContainerClient
100
100
  # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
101
101
  def delete_with_http_info(container_content_redirect_content_guard_href, opts = {})
102
102
  if @api_client.config.debugging
103
- @api_client.config.logger.debug 'Calling API: ContentGuardsContentRedirectApi.delete ...'
103
+ @api_client.config.logger.debug 'Calling API: ContentguardsContentRedirectApi.delete ...'
104
104
  end
105
105
  # verify the required parameter 'container_content_redirect_content_guard_href' is set
106
106
  if @api_client.config.client_side_validation && container_content_redirect_content_guard_href.nil?
107
- fail ArgumentError, "Missing the required parameter 'container_content_redirect_content_guard_href' when calling ContentGuardsContentRedirectApi.delete"
107
+ fail ArgumentError, "Missing the required parameter 'container_content_redirect_content_guard_href' when calling ContentguardsContentRedirectApi.delete"
108
108
  end
109
109
  # resource path
110
110
  local_var_path = '{container_content_redirect_content_guard_href}'.sub('{' + 'container_content_redirect_content_guard_href' + '}', CGI.escape(container_content_redirect_content_guard_href.to_s).gsub('%2F', '/'))
@@ -138,7 +138,7 @@ module PulpContainerClient
138
138
 
139
139
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
140
140
  if @api_client.config.debugging
141
- @api_client.config.logger.debug "API called: ContentGuardsContentRedirectApi#delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
141
+ @api_client.config.logger.debug "API called: ContentguardsContentRedirectApi#delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
142
142
  end
143
143
  return data, status_code, headers
144
144
  end
@@ -147,11 +147,11 @@ module PulpContainerClient
147
147
  # Content guard to protect preauthenticated redirects to the content app.
148
148
  # @param [Hash] opts the optional parameters
149
149
  # @option opts [Integer] :limit Number of results to return per page.
150
- # @option opts [String] :name name
151
- # @option opts [String] :name__contains name__contains
152
- # @option opts [String] :name__icontains name__icontains
153
- # @option opts [String] :name__in name__in
154
- # @option opts [String] :name__startswith name__startswith
150
+ # @option opts [String] :name
151
+ # @option opts [String] :name__contains Filter results where name contains value
152
+ # @option opts [String] :name__icontains Filter results where name contains value
153
+ # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
154
+ # @option opts [String] :name__startswith Filter results where name starts with value
155
155
  # @option opts [Integer] :offset The initial index from which to return the results.
156
156
  # @option opts [String] :ordering Which field to use when ordering the results.
157
157
  # @option opts [String] :fields A list of fields to include in the response.
@@ -166,11 +166,11 @@ module PulpContainerClient
166
166
  # Content guard to protect preauthenticated redirects to the content app.
167
167
  # @param [Hash] opts the optional parameters
168
168
  # @option opts [Integer] :limit Number of results to return per page.
169
- # @option opts [String] :name name
170
- # @option opts [String] :name__contains name__contains
171
- # @option opts [String] :name__icontains name__icontains
172
- # @option opts [String] :name__in name__in
173
- # @option opts [String] :name__startswith name__startswith
169
+ # @option opts [String] :name
170
+ # @option opts [String] :name__contains Filter results where name contains value
171
+ # @option opts [String] :name__icontains Filter results where name contains value
172
+ # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
173
+ # @option opts [String] :name__startswith Filter results where name starts with value
174
174
  # @option opts [Integer] :offset The initial index from which to return the results.
175
175
  # @option opts [String] :ordering Which field to use when ordering the results.
176
176
  # @option opts [String] :fields A list of fields to include in the response.
@@ -178,10 +178,10 @@ module PulpContainerClient
178
178
  # @return [Array<(PaginatedcontainerContentRedirectContentGuardResponseList, Integer, Hash)>] PaginatedcontainerContentRedirectContentGuardResponseList data, response status code and response headers
179
179
  def list_with_http_info(opts = {})
180
180
  if @api_client.config.debugging
181
- @api_client.config.logger.debug 'Calling API: ContentGuardsContentRedirectApi.list ...'
181
+ @api_client.config.logger.debug 'Calling API: ContentguardsContentRedirectApi.list ...'
182
182
  end
183
183
  # resource path
184
- local_var_path = '/pulp/api/v3/content_guards/container/content_redirect/'
184
+ local_var_path = '/pulp/api/v3/contentguards/container/content_redirect/'
185
185
 
186
186
  # query parameters
187
187
  query_params = opts[:query_params] || {}
@@ -189,7 +189,7 @@ module PulpContainerClient
189
189
  query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
190
190
  query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
191
191
  query_params[:'name__icontains'] = opts[:'name__icontains'] if !opts[:'name__icontains'].nil?
192
- query_params[:'name__in'] = opts[:'name__in'] if !opts[:'name__in'].nil?
192
+ query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
193
193
  query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
194
194
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
195
195
  query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
@@ -224,7 +224,7 @@ module PulpContainerClient
224
224
 
225
225
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
226
226
  if @api_client.config.debugging
227
- @api_client.config.logger.debug "API called: ContentGuardsContentRedirectApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
227
+ @api_client.config.logger.debug "API called: ContentguardsContentRedirectApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
228
228
  end
229
229
  return data, status_code, headers
230
230
  end
@@ -248,15 +248,15 @@ module PulpContainerClient
248
248
  # @return [Array<(ContainerContentRedirectContentGuardResponse, Integer, Hash)>] ContainerContentRedirectContentGuardResponse data, response status code and response headers
249
249
  def partial_update_with_http_info(container_content_redirect_content_guard_href, patchedcontainer_content_redirect_content_guard, opts = {})
250
250
  if @api_client.config.debugging
251
- @api_client.config.logger.debug 'Calling API: ContentGuardsContentRedirectApi.partial_update ...'
251
+ @api_client.config.logger.debug 'Calling API: ContentguardsContentRedirectApi.partial_update ...'
252
252
  end
253
253
  # verify the required parameter 'container_content_redirect_content_guard_href' is set
254
254
  if @api_client.config.client_side_validation && container_content_redirect_content_guard_href.nil?
255
- fail ArgumentError, "Missing the required parameter 'container_content_redirect_content_guard_href' when calling ContentGuardsContentRedirectApi.partial_update"
255
+ fail ArgumentError, "Missing the required parameter 'container_content_redirect_content_guard_href' when calling ContentguardsContentRedirectApi.partial_update"
256
256
  end
257
257
  # verify the required parameter 'patchedcontainer_content_redirect_content_guard' is set
258
258
  if @api_client.config.client_side_validation && patchedcontainer_content_redirect_content_guard.nil?
259
- fail ArgumentError, "Missing the required parameter 'patchedcontainer_content_redirect_content_guard' when calling ContentGuardsContentRedirectApi.partial_update"
259
+ fail ArgumentError, "Missing the required parameter 'patchedcontainer_content_redirect_content_guard' when calling ContentguardsContentRedirectApi.partial_update"
260
260
  end
261
261
  # resource path
262
262
  local_var_path = '{container_content_redirect_content_guard_href}'.sub('{' + 'container_content_redirect_content_guard_href' + '}', CGI.escape(container_content_redirect_content_guard_href.to_s).gsub('%2F', '/'))
@@ -294,7 +294,7 @@ module PulpContainerClient
294
294
 
295
295
  data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
296
296
  if @api_client.config.debugging
297
- @api_client.config.logger.debug "API called: ContentGuardsContentRedirectApi#partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
297
+ @api_client.config.logger.debug "API called: ContentguardsContentRedirectApi#partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
298
298
  end
299
299
  return data, status_code, headers
300
300
  end
@@ -320,11 +320,11 @@ module PulpContainerClient
320
320
  # @return [Array<(ContainerContentRedirectContentGuardResponse, Integer, Hash)>] ContainerContentRedirectContentGuardResponse data, response status code and response headers
321
321
  def read_with_http_info(container_content_redirect_content_guard_href, opts = {})
322
322
  if @api_client.config.debugging
323
- @api_client.config.logger.debug 'Calling API: ContentGuardsContentRedirectApi.read ...'
323
+ @api_client.config.logger.debug 'Calling API: ContentguardsContentRedirectApi.read ...'
324
324
  end
325
325
  # verify the required parameter 'container_content_redirect_content_guard_href' is set
326
326
  if @api_client.config.client_side_validation && container_content_redirect_content_guard_href.nil?
327
- fail ArgumentError, "Missing the required parameter 'container_content_redirect_content_guard_href' when calling ContentGuardsContentRedirectApi.read"
327
+ fail ArgumentError, "Missing the required parameter 'container_content_redirect_content_guard_href' when calling ContentguardsContentRedirectApi.read"
328
328
  end
329
329
  # resource path
330
330
  local_var_path = '{container_content_redirect_content_guard_href}'.sub('{' + 'container_content_redirect_content_guard_href' + '}', CGI.escape(container_content_redirect_content_guard_href.to_s).gsub('%2F', '/'))
@@ -362,7 +362,7 @@ module PulpContainerClient
362
362
 
363
363
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
364
364
  if @api_client.config.debugging
365
- @api_client.config.logger.debug "API called: ContentGuardsContentRedirectApi#read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
365
+ @api_client.config.logger.debug "API called: ContentguardsContentRedirectApi#read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
366
366
  end
367
367
  return data, status_code, headers
368
368
  end
@@ -386,15 +386,15 @@ module PulpContainerClient
386
386
  # @return [Array<(ContainerContentRedirectContentGuardResponse, Integer, Hash)>] ContainerContentRedirectContentGuardResponse data, response status code and response headers
387
387
  def update_with_http_info(container_content_redirect_content_guard_href, container_content_redirect_content_guard, opts = {})
388
388
  if @api_client.config.debugging
389
- @api_client.config.logger.debug 'Calling API: ContentGuardsContentRedirectApi.update ...'
389
+ @api_client.config.logger.debug 'Calling API: ContentguardsContentRedirectApi.update ...'
390
390
  end
391
391
  # verify the required parameter 'container_content_redirect_content_guard_href' is set
392
392
  if @api_client.config.client_side_validation && container_content_redirect_content_guard_href.nil?
393
- fail ArgumentError, "Missing the required parameter 'container_content_redirect_content_guard_href' when calling ContentGuardsContentRedirectApi.update"
393
+ fail ArgumentError, "Missing the required parameter 'container_content_redirect_content_guard_href' when calling ContentguardsContentRedirectApi.update"
394
394
  end
395
395
  # verify the required parameter 'container_content_redirect_content_guard' is set
396
396
  if @api_client.config.client_side_validation && container_content_redirect_content_guard.nil?
397
- fail ArgumentError, "Missing the required parameter 'container_content_redirect_content_guard' when calling ContentGuardsContentRedirectApi.update"
397
+ fail ArgumentError, "Missing the required parameter 'container_content_redirect_content_guard' when calling ContentguardsContentRedirectApi.update"
398
398
  end
399
399
  # resource path
400
400
  local_var_path = '{container_content_redirect_content_guard_href}'.sub('{' + 'container_content_redirect_content_guard_href' + '}', CGI.escape(container_content_redirect_content_guard_href.to_s).gsub('%2F', '/'))
@@ -432,7 +432,7 @@ module PulpContainerClient
432
432
 
433
433
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
434
434
  if @api_client.config.debugging
435
- @api_client.config.logger.debug "API called: ContentGuardsContentRedirectApi#update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
435
+ @api_client.config.logger.debug "API called: ContentguardsContentRedirectApi#update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
436
436
  end
437
437
  return data, status_code, headers
438
438
  end
@@ -148,20 +148,20 @@ module PulpContainerClient
148
148
  # List container distributions
149
149
  # The Container Distribution will serve the latest version of a Repository if ``repository`` is specified. The Container Distribution will serve a specific repository version if ``repository_version``. Note that **either** ``repository`` or ``repository_version`` can be set on a Container Distribution, but not both.
150
150
  # @param [Hash] opts the optional parameters
151
- # @option opts [String] :base_path base_path
152
- # @option opts [String] :base_path__contains base_path__contains
153
- # @option opts [String] :base_path__icontains base_path__icontains
154
- # @option opts [String] :base_path__in base_path__in
151
+ # @option opts [String] :base_path
152
+ # @option opts [String] :base_path__contains Filter results where base_path contains value
153
+ # @option opts [String] :base_path__icontains Filter results where base_path contains value
154
+ # @option opts [Array<String>] :base_path__in Filter results where base_path is in a comma-separated list of values
155
155
  # @option opts [Integer] :limit Number of results to return per page.
156
- # @option opts [String] :name name
157
- # @option opts [String] :name__contains name__contains
158
- # @option opts [String] :name__icontains name__icontains
159
- # @option opts [String] :name__in name__in
160
- # @option opts [String] :name__startswith name__startswith
161
- # @option opts [String] :namespace__name namespace__name
156
+ # @option opts [String] :name
157
+ # @option opts [String] :name__contains Filter results where name contains value
158
+ # @option opts [String] :name__icontains Filter results where name contains value
159
+ # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
160
+ # @option opts [String] :name__startswith Filter results where name starts with value
161
+ # @option opts [String] :namespace__name
162
162
  # @option opts [Integer] :offset The initial index from which to return the results.
163
163
  # @option opts [String] :ordering Which field to use when ordering the results.
164
- # @option opts [String] :pulp_label_select pulp_label_select
164
+ # @option opts [String] :pulp_label_select Filter labels by search string
165
165
  # @option opts [String] :fields A list of fields to include in the response.
166
166
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
167
167
  # @return [PaginatedcontainerContainerDistributionResponseList]
@@ -173,20 +173,20 @@ module PulpContainerClient
173
173
  # List container distributions
174
174
  # The Container Distribution will serve the latest version of a Repository if &#x60;&#x60;repository&#x60;&#x60; is specified. The Container Distribution will serve a specific repository version if &#x60;&#x60;repository_version&#x60;&#x60;. Note that **either** &#x60;&#x60;repository&#x60;&#x60; or &#x60;&#x60;repository_version&#x60;&#x60; can be set on a Container Distribution, but not both.
175
175
  # @param [Hash] opts the optional parameters
176
- # @option opts [String] :base_path base_path
177
- # @option opts [String] :base_path__contains base_path__contains
178
- # @option opts [String] :base_path__icontains base_path__icontains
179
- # @option opts [String] :base_path__in base_path__in
176
+ # @option opts [String] :base_path
177
+ # @option opts [String] :base_path__contains Filter results where base_path contains value
178
+ # @option opts [String] :base_path__icontains Filter results where base_path contains value
179
+ # @option opts [Array<String>] :base_path__in Filter results where base_path is in a comma-separated list of values
180
180
  # @option opts [Integer] :limit Number of results to return per page.
181
- # @option opts [String] :name name
182
- # @option opts [String] :name__contains name__contains
183
- # @option opts [String] :name__icontains name__icontains
184
- # @option opts [String] :name__in name__in
185
- # @option opts [String] :name__startswith name__startswith
186
- # @option opts [String] :namespace__name namespace__name
181
+ # @option opts [String] :name
182
+ # @option opts [String] :name__contains Filter results where name contains value
183
+ # @option opts [String] :name__icontains Filter results where name contains value
184
+ # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
185
+ # @option opts [String] :name__startswith Filter results where name starts with value
186
+ # @option opts [String] :namespace__name
187
187
  # @option opts [Integer] :offset The initial index from which to return the results.
188
188
  # @option opts [String] :ordering Which field to use when ordering the results.
189
- # @option opts [String] :pulp_label_select pulp_label_select
189
+ # @option opts [String] :pulp_label_select Filter labels by search string
190
190
  # @option opts [String] :fields A list of fields to include in the response.
191
191
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
192
192
  # @return [Array<(PaginatedcontainerContainerDistributionResponseList, Integer, Hash)>] PaginatedcontainerContainerDistributionResponseList data, response status code and response headers
@@ -202,12 +202,12 @@ module PulpContainerClient
202
202
  query_params[:'base_path'] = opts[:'base_path'] if !opts[:'base_path'].nil?
203
203
  query_params[:'base_path__contains'] = opts[:'base_path__contains'] if !opts[:'base_path__contains'].nil?
204
204
  query_params[:'base_path__icontains'] = opts[:'base_path__icontains'] if !opts[:'base_path__icontains'].nil?
205
- query_params[:'base_path__in'] = opts[:'base_path__in'] if !opts[:'base_path__in'].nil?
205
+ query_params[:'base_path__in'] = @api_client.build_collection_param(opts[:'base_path__in'], :csv) if !opts[:'base_path__in'].nil?
206
206
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
207
207
  query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
208
208
  query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
209
209
  query_params[:'name__icontains'] = opts[:'name__icontains'] if !opts[:'name__icontains'].nil?
210
- query_params[:'name__in'] = opts[:'name__in'] if !opts[:'name__in'].nil?
210
+ query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
211
211
  query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
212
212
  query_params[:'namespace__name'] = opts[:'namespace__name'] if !opts[:'namespace__name'].nil?
213
213
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?