pulp_container_client 2.10.13 → 2.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (118) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +41 -17
  3. data/docs/ContainerBlobResponse.md +1 -3
  4. data/docs/ContainerContainerDistribution.md +5 -5
  5. data/docs/ContainerContainerDistributionResponse.md +9 -9
  6. data/docs/ContainerContainerPushRepository.md +7 -5
  7. data/docs/ContainerContainerPushRepositoryResponse.md +14 -12
  8. data/docs/ContainerContainerRemote.md +3 -1
  9. data/docs/ContainerContainerRemoteResponse.md +3 -1
  10. data/docs/ContainerContainerRepository.md +3 -1
  11. data/docs/ContainerContainerRepositoryResponse.md +3 -1
  12. data/docs/ContainerManifestSignatureResponse.md +33 -0
  13. data/docs/{RepositorySyncURL.md → ContainerRepositorySyncURL.md} +5 -3
  14. data/docs/ContentBlobsApi.md +0 -2
  15. data/docs/ContentSignaturesApi.md +158 -0
  16. data/docs/ContentSummary.md +21 -0
  17. data/docs/DistributionsContainerApi.md +228 -0
  18. data/docs/MyPermissionsResponse.md +17 -0
  19. data/docs/NestedRole.md +21 -0
  20. data/docs/NestedRoleResponse.md +21 -0
  21. data/docs/ObjectRolesResponse.md +17 -0
  22. data/docs/{PaginatedcontainerContentRedirectContentGuardResponseList.md → PaginatedcontainerManifestSignatureResponseList.md} +3 -3
  23. data/docs/PatchedcontainerContainerDistribution.md +5 -5
  24. data/docs/PatchedcontainerContainerPushRepository.md +7 -5
  25. data/docs/PatchedcontainerContainerRemote.md +3 -1
  26. data/docs/PatchedcontainerContainerRepository.md +3 -1
  27. data/docs/PulpContainerNamespacesApi.md +228 -0
  28. data/docs/RemotesContainerApi.md +228 -0
  29. data/docs/RemoveSignatures.md +17 -0
  30. data/docs/RemoveSignaturesResponse.md +17 -0
  31. data/docs/RepositoriesContainerApi.md +288 -4
  32. data/docs/RepositoriesContainerPushApi.md +339 -0
  33. data/docs/RepositoriesContainerPushVersionsApi.md +4 -4
  34. data/docs/RepositoriesContainerVersionsApi.md +4 -4
  35. data/docs/RepositorySign.md +21 -0
  36. data/docs/RepositoryVersion.md +17 -0
  37. data/git_push.sh +58 -0
  38. data/lib/pulp_container_client/api/content_blobs_api.rb +0 -7
  39. data/lib/pulp_container_client/api/content_signatures_api.rb +200 -0
  40. data/lib/pulp_container_client/api/distributions_container_api.rb +268 -0
  41. data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +268 -0
  42. data/lib/pulp_container_client/api/remotes_container_api.rb +268 -0
  43. data/lib/pulp_container_client/api/repositories_container_api.rb +347 -9
  44. data/lib/pulp_container_client/api/repositories_container_push_api.rb +406 -0
  45. data/lib/pulp_container_client/api/repositories_container_push_versions_api.rb +9 -9
  46. data/lib/pulp_container_client/api/repositories_container_versions_api.rb +9 -9
  47. data/lib/pulp_container_client/api_client.rb +5 -2
  48. data/lib/pulp_container_client/configuration.rb +0 -1
  49. data/lib/pulp_container_client/models/container_blob_response.rb +4 -19
  50. data/lib/pulp_container_client/models/container_container_distribution.rb +21 -21
  51. data/lib/pulp_container_client/models/container_container_distribution_response.rb +34 -34
  52. data/lib/pulp_container_client/models/container_container_push_repository.rb +44 -33
  53. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +55 -44
  54. data/lib/pulp_container_client/models/container_container_remote.rb +30 -5
  55. data/lib/pulp_container_client/models/container_container_remote_response.rb +15 -5
  56. data/lib/pulp_container_client/models/container_container_repository.rb +16 -5
  57. data/lib/pulp_container_client/models/container_container_repository_response.rb +16 -5
  58. data/lib/pulp_container_client/models/{container_content_redirect_content_guard.rb → container_manifest_signature_response.rb} +108 -44
  59. data/lib/pulp_container_client/models/{repository_sync_url.rb → container_repository_sync_url.rb} +20 -8
  60. data/lib/pulp_container_client/models/content_summary.rb +246 -0
  61. data/lib/pulp_container_client/models/my_permissions_response.rb +213 -0
  62. data/lib/pulp_container_client/models/{container_content_redirect_content_guard_response.rb → nested_role.rb} +30 -39
  63. data/lib/pulp_container_client/models/nested_role_response.rb +234 -0
  64. data/lib/pulp_container_client/models/{repair.rb → object_roles_response.rb} +17 -13
  65. data/lib/pulp_container_client/models/{paginatedcontainer_content_redirect_content_guard_response_list.rb → paginatedcontainer_manifest_signature_response_list.rb} +4 -4
  66. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +21 -21
  67. data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +44 -33
  68. data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +30 -5
  69. data/lib/pulp_container_client/models/patchedcontainer_container_repository.rb +16 -5
  70. data/lib/pulp_container_client/models/remove_signatures.rb +232 -0
  71. data/lib/pulp_container_client/models/remove_signatures_response.rb +213 -0
  72. data/lib/pulp_container_client/models/{patchedcontainer_content_redirect_content_guard.rb → repository_sign.rb} +40 -43
  73. data/lib/pulp_container_client/models/repository_version.rb +208 -0
  74. data/lib/pulp_container_client/version.rb +1 -1
  75. data/lib/pulp_container_client.rb +13 -7
  76. data/pulp_container_client.gemspec +3 -3
  77. data/spec/api/content_blobs_api_spec.rb +0 -1
  78. data/spec/api/content_signatures_api_spec.rb +78 -0
  79. data/spec/api/distributions_container_api_spec.rb +50 -0
  80. data/spec/api/pulp_container_namespaces_api_spec.rb +50 -0
  81. data/spec/api/remotes_container_api_spec.rb +50 -0
  82. data/spec/api/repositories_container_api_spec.rb +64 -1
  83. data/spec/api/repositories_container_push_api_spec.rb +75 -0
  84. data/spec/api/repositories_container_push_versions_api_spec.rb +1 -1
  85. data/spec/api/repositories_container_versions_api_spec.rb +1 -1
  86. data/spec/models/container_blob_response_spec.rb +0 -6
  87. data/spec/models/container_container_distribution_response_spec.rb +7 -7
  88. data/spec/models/container_container_distribution_spec.rb +5 -5
  89. data/spec/models/container_container_push_repository_response_spec.rb +13 -7
  90. data/spec/models/container_container_push_repository_spec.rb +9 -3
  91. data/spec/models/container_container_remote_response_spec.rb +6 -0
  92. data/spec/models/container_container_remote_spec.rb +6 -0
  93. data/spec/models/container_container_repository_response_spec.rb +6 -0
  94. data/spec/models/container_container_repository_spec.rb +6 -0
  95. data/spec/models/container_manifest_signature_response_spec.rb +89 -0
  96. data/spec/models/{container_content_redirect_content_guard_response_spec.rb → container_repository_sync_url_spec.rb} +9 -15
  97. data/spec/models/{container_content_redirect_content_guard_spec.rb → content_summary_spec.rb} +14 -8
  98. data/spec/models/my_permissions_response_spec.rb +41 -0
  99. data/spec/models/nested_role_response_spec.rb +53 -0
  100. data/spec/models/{patchedcontainer_content_redirect_content_guard_spec.rb → nested_role_spec.rb} +14 -8
  101. data/spec/models/object_roles_response_spec.rb +41 -0
  102. data/spec/models/{paginatedcontainer_content_redirect_content_guard_response_list_spec.rb → paginatedcontainer_manifest_signature_response_list_spec.rb} +6 -6
  103. data/spec/models/patchedcontainer_container_distribution_spec.rb +5 -5
  104. data/spec/models/patchedcontainer_container_push_repository_spec.rb +9 -3
  105. data/spec/models/patchedcontainer_container_remote_spec.rb +6 -0
  106. data/spec/models/patchedcontainer_container_repository_spec.rb +6 -0
  107. data/spec/models/remove_signatures_response_spec.rb +41 -0
  108. data/spec/models/{repair_spec.rb → remove_signatures_spec.rb} +7 -7
  109. data/spec/models/{repository_sync_url_spec.rb → repository_sign_spec.rb} +14 -8
  110. data/spec/models/repository_version_spec.rb +41 -0
  111. metadata +99 -74
  112. data/docs/ContainerContentRedirectContentGuard.md +0 -19
  113. data/docs/ContainerContentRedirectContentGuardResponse.md +0 -23
  114. data/docs/ContentguardsContentRedirectApi.md +0 -361
  115. data/docs/PatchedcontainerContentRedirectContentGuard.md +0 -19
  116. data/docs/Repair.md +0 -17
  117. data/lib/pulp_container_client/api/contentguards_content_redirect_api.rb +0 -440
  118. data/spec/api/contentguards_content_redirect_api_spec.rb +0 -120
@@ -218,7 +218,7 @@ Name | Type | Description | Notes
218
218
 
219
219
  ## repair
220
220
 
221
- > AsyncOperationResponse repair(container_container_push_repository_version_href, repair)
221
+ > AsyncOperationResponse repair(container_container_push_repository_version_href, repository_version)
222
222
 
223
223
 
224
224
 
@@ -238,10 +238,10 @@ end
238
238
 
239
239
  api_instance = PulpContainerClient::RepositoriesContainerPushVersionsApi.new
240
240
  container_container_push_repository_version_href = 'container_container_push_repository_version_href_example' # String |
241
- repair = PulpContainerClient::Repair.new # Repair |
241
+ repository_version = PulpContainerClient::RepositoryVersion.new # RepositoryVersion |
242
242
 
243
243
  begin
244
- result = api_instance.repair(container_container_push_repository_version_href, repair)
244
+ result = api_instance.repair(container_container_push_repository_version_href, repository_version)
245
245
  p result
246
246
  rescue PulpContainerClient::ApiError => e
247
247
  puts "Exception when calling RepositoriesContainerPushVersionsApi->repair: #{e}"
@@ -254,7 +254,7 @@ end
254
254
  Name | Type | Description | Notes
255
255
  ------------- | ------------- | ------------- | -------------
256
256
  **container_container_push_repository_version_href** | **String**| |
257
- **repair** | [**Repair**](Repair.md)| |
257
+ **repository_version** | [**RepositoryVersion**](RepositoryVersion.md)| |
258
258
 
259
259
  ### Return type
260
260
 
@@ -218,7 +218,7 @@ Name | Type | Description | Notes
218
218
 
219
219
  ## repair
220
220
 
221
- > AsyncOperationResponse repair(container_container_repository_version_href, repair)
221
+ > AsyncOperationResponse repair(container_container_repository_version_href, repository_version)
222
222
 
223
223
 
224
224
 
@@ -238,10 +238,10 @@ end
238
238
 
239
239
  api_instance = PulpContainerClient::RepositoriesContainerVersionsApi.new
240
240
  container_container_repository_version_href = 'container_container_repository_version_href_example' # String |
241
- repair = PulpContainerClient::Repair.new # Repair |
241
+ repository_version = PulpContainerClient::RepositoryVersion.new # RepositoryVersion |
242
242
 
243
243
  begin
244
- result = api_instance.repair(container_container_repository_version_href, repair)
244
+ result = api_instance.repair(container_container_repository_version_href, repository_version)
245
245
  p result
246
246
  rescue PulpContainerClient::ApiError => e
247
247
  puts "Exception when calling RepositoriesContainerVersionsApi->repair: #{e}"
@@ -254,7 +254,7 @@ end
254
254
  Name | Type | Description | Notes
255
255
  ------------- | ------------- | ------------- | -------------
256
256
  **container_container_repository_version_href** | **String**| |
257
- **repair** | [**Repair**](Repair.md)| |
257
+ **repository_version** | [**RepositoryVersion**](RepositoryVersion.md)| |
258
258
 
259
259
  ### Return type
260
260
 
@@ -0,0 +1,21 @@
1
+ # PulpContainerClient::RepositorySign
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **manifest_signing_service** | **String** | A signing service to sign with. This will override a signing service set on the repo. | [optional]
8
+ **future_base_path** | **String** | Future base path content will be distributed at for sync repos | [optional]
9
+ **tags_list** | [**Array<AnyType>**](AnyType.md) | A list of tags to sign. | [optional]
10
+
11
+ ## Code Sample
12
+
13
+ ```ruby
14
+ require 'PulpContainerClient'
15
+
16
+ instance = PulpContainerClient::RepositorySign.new(manifest_signing_service: null,
17
+ future_base_path: null,
18
+ tags_list: null)
19
+ ```
20
+
21
+
@@ -0,0 +1,17 @@
1
+ # PulpContainerClient::RepositoryVersion
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **base_version** | **String** | A repository version whose content was used as the initial set of content for this repository version | [optional]
8
+
9
+ ## Code Sample
10
+
11
+ ```ruby
12
+ require 'PulpContainerClient'
13
+
14
+ instance = PulpContainerClient::RepositoryVersion.new(base_version: null)
15
+ ```
16
+
17
+
data/git_push.sh ADDED
@@ -0,0 +1,58 @@
1
+ #!/bin/sh
2
+ # ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
3
+ #
4
+ # Usage example: /bin/sh ./git_push.sh wing328 openapi-pestore-perl "minor update" "gitlab.com"
5
+
6
+ git_user_id=$1
7
+ git_repo_id=$2
8
+ release_note=$3
9
+ git_host=$4
10
+
11
+ if [ "$git_host" = "" ]; then
12
+ git_host="github.com"
13
+ echo "[INFO] No command line input provided. Set \$git_host to $git_host"
14
+ fi
15
+
16
+ if [ "$git_user_id" = "" ]; then
17
+ git_user_id="GIT_USER_ID"
18
+ echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id"
19
+ fi
20
+
21
+ if [ "$git_repo_id" = "" ]; then
22
+ git_repo_id="GIT_REPO_ID"
23
+ echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id"
24
+ fi
25
+
26
+ if [ "$release_note" = "" ]; then
27
+ release_note="Minor update"
28
+ echo "[INFO] No command line input provided. Set \$release_note to $release_note"
29
+ fi
30
+
31
+ # Initialize the local directory as a Git repository
32
+ git init
33
+
34
+ # Adds the files in the local repository and stages them for commit.
35
+ git add .
36
+
37
+ # Commits the tracked changes and prepares them to be pushed to a remote repository.
38
+ git commit -m "$release_note"
39
+
40
+ # Sets the new remote
41
+ git_remote=`git remote`
42
+ if [ "$git_remote" = "" ]; then # git remote not defined
43
+
44
+ if [ "$GIT_TOKEN" = "" ]; then
45
+ echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
46
+ git remote add origin https://${git_host}/${git_user_id}/${git_repo_id}.git
47
+ else
48
+ git remote add origin https://${git_user_id}:${GIT_TOKEN}@${git_host}/${git_user_id}/${git_repo_id}.git
49
+ fi
50
+
51
+ fi
52
+
53
+ git pull origin master
54
+
55
+ # Pushes (Forces) the changes in the local repository up to the remote repository
56
+ echo "Git pushing to https://${git_host}/${git_user_id}/${git_repo_id}.git"
57
+ git push origin master 2>&1 | grep -v 'To https'
58
+
@@ -25,7 +25,6 @@ module PulpContainerClient
25
25
  # @option opts [String] :digest Filter results where digest matches value
26
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 [Array<String>] :media_type
29
28
  # @option opts [Integer] :offset The initial index from which to return the results.
30
29
  # @option opts [String] :ordering Which field to use when ordering the results.
31
30
  # @option opts [String] :repository_version Repository Version referenced by HREF
@@ -45,7 +44,6 @@ module PulpContainerClient
45
44
  # @option opts [String] :digest Filter results where digest matches value
46
45
  # @option opts [Array<String>] :digest__in Filter results where digest is in a comma-separated list of values
47
46
  # @option opts [Integer] :limit Number of results to return per page.
48
- # @option opts [Array<String>] :media_type
49
47
  # @option opts [Integer] :offset The initial index from which to return the results.
50
48
  # @option opts [String] :ordering Which field to use when ordering the results.
51
49
  # @option opts [String] :repository_version Repository Version referenced by HREF
@@ -58,10 +56,6 @@ module PulpContainerClient
58
56
  if @api_client.config.debugging
59
57
  @api_client.config.logger.debug 'Calling API: ContentBlobsApi.list ...'
60
58
  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.nondistributable.v1.tar+gzip", "application/vnd.oci.image.layer.v1.tar+gzip"]
62
- if @api_client.config.client_side_validation && opts[:'media_type'] && !opts[:'media_type'].all? { |item| allowable_values.include?(item) }
63
- fail ArgumentError, "invalid value for \"media_type\", must include one of #{allowable_values}"
64
- end
65
59
  # resource path
66
60
  local_var_path = '/pulp/api/v3/content/container/blobs/'
67
61
 
@@ -70,7 +64,6 @@ module PulpContainerClient
70
64
  query_params[:'digest'] = opts[:'digest'] if !opts[:'digest'].nil?
71
65
  query_params[:'digest__in'] = @api_client.build_collection_param(opts[:'digest__in'], :csv) if !opts[:'digest__in'].nil?
72
66
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
73
- query_params[:'media_type'] = @api_client.build_collection_param(opts[:'media_type'], :multi) if !opts[:'media_type'].nil?
74
67
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
75
68
  query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
76
69
  query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
@@ -0,0 +1,200 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
+
6
+ The version of the OpenAPI document: v3
7
+ Contact: pulp-list@redhat.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.3.1
10
+
11
+ =end
12
+
13
+ require 'cgi'
14
+
15
+ module PulpContainerClient
16
+ class ContentSignaturesApi
17
+ attr_accessor :api_client
18
+
19
+ def initialize(api_client = ApiClient.default)
20
+ @api_client = api_client
21
+ end
22
+ # List manifest signatures
23
+ # ViewSet for image signatures.
24
+ # @param [Hash] opts the optional parameters
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
+ # @option opts [String] :key_id Filter results where key_id matches value
28
+ # @option opts [Array<String>] :key_id__in Filter results where key_id is in a comma-separated list of values
29
+ # @option opts [Integer] :limit Number of results to return per page.
30
+ # @option opts [Array<String>] :manifest Multiple values may be separated by commas.
31
+ # @option opts [String] :name Filter results where name matches value
32
+ # @option opts [String] :name__contains Filter results where name contains value
33
+ # @option opts [String] :name__icontains Filter results where name contains value
34
+ # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
35
+ # @option opts [String] :name__startswith Filter results where name starts with value
36
+ # @option opts [Integer] :offset The initial index from which to return the results.
37
+ # @option opts [String] :ordering Which field to use when ordering the results.
38
+ # @option opts [String] :repository_version Repository Version referenced by HREF
39
+ # @option opts [String] :repository_version_added Repository Version referenced by HREF
40
+ # @option opts [String] :repository_version_removed Repository Version referenced by HREF
41
+ # @option opts [String] :fields A list of fields to include in the response.
42
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
43
+ # @return [PaginatedcontainerManifestSignatureResponseList]
44
+ def list(opts = {})
45
+ data, _status_code, _headers = list_with_http_info(opts)
46
+ data
47
+ end
48
+
49
+ # List manifest signatures
50
+ # ViewSet for image signatures.
51
+ # @param [Hash] opts the optional parameters
52
+ # @option opts [String] :digest Filter results where digest matches value
53
+ # @option opts [Array<String>] :digest__in Filter results where digest is in a comma-separated list of values
54
+ # @option opts [String] :key_id Filter results where key_id matches value
55
+ # @option opts [Array<String>] :key_id__in Filter results where key_id is in a comma-separated list of values
56
+ # @option opts [Integer] :limit Number of results to return per page.
57
+ # @option opts [Array<String>] :manifest Multiple values may be separated by commas.
58
+ # @option opts [String] :name Filter results where name matches value
59
+ # @option opts [String] :name__contains Filter results where name contains value
60
+ # @option opts [String] :name__icontains Filter results where name contains value
61
+ # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
62
+ # @option opts [String] :name__startswith Filter results where name starts with value
63
+ # @option opts [Integer] :offset The initial index from which to return the results.
64
+ # @option opts [String] :ordering Which field to use when ordering the results.
65
+ # @option opts [String] :repository_version Repository Version referenced by HREF
66
+ # @option opts [String] :repository_version_added Repository Version referenced by HREF
67
+ # @option opts [String] :repository_version_removed Repository Version referenced by HREF
68
+ # @option opts [String] :fields A list of fields to include in the response.
69
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
70
+ # @return [Array<(PaginatedcontainerManifestSignatureResponseList, Integer, Hash)>] PaginatedcontainerManifestSignatureResponseList data, response status code and response headers
71
+ def list_with_http_info(opts = {})
72
+ if @api_client.config.debugging
73
+ @api_client.config.logger.debug 'Calling API: ContentSignaturesApi.list ...'
74
+ end
75
+ # resource path
76
+ local_var_path = '/pulp/api/v3/content/container/signatures/'
77
+
78
+ # query parameters
79
+ query_params = opts[:query_params] || {}
80
+ query_params[:'digest'] = opts[:'digest'] if !opts[:'digest'].nil?
81
+ query_params[:'digest__in'] = @api_client.build_collection_param(opts[:'digest__in'], :csv) if !opts[:'digest__in'].nil?
82
+ query_params[:'key_id'] = opts[:'key_id'] if !opts[:'key_id'].nil?
83
+ query_params[:'key_id__in'] = @api_client.build_collection_param(opts[:'key_id__in'], :csv) if !opts[:'key_id__in'].nil?
84
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
85
+ query_params[:'manifest'] = @api_client.build_collection_param(opts[:'manifest'], :csv) if !opts[:'manifest'].nil?
86
+ query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
87
+ query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
88
+ query_params[:'name__icontains'] = opts[:'name__icontains'] if !opts[:'name__icontains'].nil?
89
+ query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
90
+ query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
91
+ query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
92
+ query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
93
+ query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
94
+ query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
95
+ query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
96
+ query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
97
+ query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
98
+
99
+ # header parameters
100
+ header_params = opts[:header_params] || {}
101
+ # HTTP header 'Accept' (if needed)
102
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
103
+
104
+ # form parameters
105
+ form_params = opts[:form_params] || {}
106
+
107
+ # http body (model)
108
+ post_body = opts[:body]
109
+
110
+ # return_type
111
+ return_type = opts[:return_type] || 'PaginatedcontainerManifestSignatureResponseList'
112
+
113
+ # auth_names
114
+ auth_names = opts[:auth_names] || ['basicAuth']
115
+
116
+ new_options = opts.merge(
117
+ :header_params => header_params,
118
+ :query_params => query_params,
119
+ :form_params => form_params,
120
+ :body => post_body,
121
+ :auth_names => auth_names,
122
+ :return_type => return_type
123
+ )
124
+
125
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
126
+ if @api_client.config.debugging
127
+ @api_client.config.logger.debug "API called: ContentSignaturesApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
128
+ end
129
+ return data, status_code, headers
130
+ end
131
+
132
+ # Inspect a manifest signature
133
+ # ViewSet for image signatures.
134
+ # @param container_manifest_signature_href [String]
135
+ # @param [Hash] opts the optional parameters
136
+ # @option opts [String] :fields A list of fields to include in the response.
137
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
138
+ # @return [ContainerManifestSignatureResponse]
139
+ def read(container_manifest_signature_href, opts = {})
140
+ data, _status_code, _headers = read_with_http_info(container_manifest_signature_href, opts)
141
+ data
142
+ end
143
+
144
+ # Inspect a manifest signature
145
+ # ViewSet for image signatures.
146
+ # @param container_manifest_signature_href [String]
147
+ # @param [Hash] opts the optional parameters
148
+ # @option opts [String] :fields A list of fields to include in the response.
149
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
150
+ # @return [Array<(ContainerManifestSignatureResponse, Integer, Hash)>] ContainerManifestSignatureResponse data, response status code and response headers
151
+ def read_with_http_info(container_manifest_signature_href, opts = {})
152
+ if @api_client.config.debugging
153
+ @api_client.config.logger.debug 'Calling API: ContentSignaturesApi.read ...'
154
+ end
155
+ # verify the required parameter 'container_manifest_signature_href' is set
156
+ if @api_client.config.client_side_validation && container_manifest_signature_href.nil?
157
+ fail ArgumentError, "Missing the required parameter 'container_manifest_signature_href' when calling ContentSignaturesApi.read"
158
+ end
159
+ # resource path
160
+ local_var_path = '{container_manifest_signature_href}'.sub('{' + 'container_manifest_signature_href' + '}', CGI.escape(container_manifest_signature_href.to_s).gsub('%2F', '/'))
161
+
162
+ # query parameters
163
+ query_params = opts[:query_params] || {}
164
+ query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
165
+ query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
166
+
167
+ # header parameters
168
+ header_params = opts[:header_params] || {}
169
+ # HTTP header 'Accept' (if needed)
170
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
171
+
172
+ # form parameters
173
+ form_params = opts[:form_params] || {}
174
+
175
+ # http body (model)
176
+ post_body = opts[:body]
177
+
178
+ # return_type
179
+ return_type = opts[:return_type] || 'ContainerManifestSignatureResponse'
180
+
181
+ # auth_names
182
+ auth_names = opts[:auth_names] || ['basicAuth']
183
+
184
+ new_options = opts.merge(
185
+ :header_params => header_params,
186
+ :query_params => query_params,
187
+ :form_params => form_params,
188
+ :body => post_body,
189
+ :auth_names => auth_names,
190
+ :return_type => return_type
191
+ )
192
+
193
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
194
+ if @api_client.config.debugging
195
+ @api_client.config.logger.debug "API called: ContentSignaturesApi#read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
196
+ end
197
+ return data, status_code, headers
198
+ end
199
+ end
200
+ end