pulpcore_client 3.0.1 → 3.1.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 (79) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +8 -4
  3. data/docs/InlineResponse2001.md +1 -1
  4. data/docs/InlineResponse2002.md +1 -1
  5. data/docs/InlineResponse2003.md +1 -1
  6. data/docs/InlineResponse2004.md +23 -0
  7. data/docs/SigningService.md +23 -0
  8. data/docs/SigningServicesApi.md +130 -0
  9. data/docs/TasksApi.md +2 -2
  10. data/docs/UploadsApi.md +2 -2
  11. data/docs/WorkersApi.md +2 -2
  12. data/lib/pulpcore_client/api/artifacts_api.rb +1 -1
  13. data/lib/pulpcore_client/api/orphans_api.rb +1 -1
  14. data/lib/pulpcore_client/api/signing_services_api.rb +158 -0
  15. data/lib/pulpcore_client/api/status_api.rb +1 -1
  16. data/lib/pulpcore_client/api/tasks_api.rb +4 -4
  17. data/lib/pulpcore_client/api/uploads_api.rb +4 -4
  18. data/lib/pulpcore_client/api/workers_api.rb +4 -4
  19. data/lib/pulpcore_client/api_client.rb +1 -1
  20. data/lib/pulpcore_client/api_error.rb +1 -1
  21. data/lib/pulpcore_client/configuration.rb +1 -1
  22. data/lib/pulpcore_client/models/artifact.rb +1 -1
  23. data/lib/pulpcore_client/models/async_operation_response.rb +1 -1
  24. data/lib/pulpcore_client/models/content_app_status.rb +1 -1
  25. data/lib/pulpcore_client/models/database_connection.rb +1 -1
  26. data/lib/pulpcore_client/models/inline_response200.rb +1 -1
  27. data/lib/pulpcore_client/models/inline_response2001.rb +2 -2
  28. data/lib/pulpcore_client/models/inline_response2002.rb +2 -2
  29. data/lib/pulpcore_client/models/inline_response2003.rb +2 -2
  30. data/lib/pulpcore_client/models/inline_response2004.rb +247 -0
  31. data/lib/pulpcore_client/models/progress_report.rb +1 -1
  32. data/lib/pulpcore_client/models/redis_connection.rb +1 -1
  33. data/lib/pulpcore_client/models/signing_service.rb +284 -0
  34. data/lib/pulpcore_client/models/status.rb +1 -1
  35. data/lib/pulpcore_client/models/storage.rb +1 -1
  36. data/lib/pulpcore_client/models/task.rb +1 -1
  37. data/lib/pulpcore_client/models/task_cancel.rb +1 -1
  38. data/lib/pulpcore_client/models/upload.rb +1 -1
  39. data/lib/pulpcore_client/models/upload_chunk.rb +1 -1
  40. data/lib/pulpcore_client/models/upload_commit.rb +1 -1
  41. data/lib/pulpcore_client/models/upload_detail.rb +1 -1
  42. data/lib/pulpcore_client/models/version.rb +1 -1
  43. data/lib/pulpcore_client/models/worker.rb +1 -1
  44. data/lib/pulpcore_client/version.rb +2 -2
  45. data/lib/pulpcore_client.rb +4 -1
  46. data/pulpcore_client.gemspec +1 -1
  47. data/spec/api/artifacts_api_spec.rb +1 -1
  48. data/spec/api/orphans_api_spec.rb +1 -1
  49. data/spec/api/signing_services_api_spec.rb +64 -0
  50. data/spec/api/status_api_spec.rb +1 -1
  51. data/spec/api/tasks_api_spec.rb +2 -2
  52. data/spec/api/uploads_api_spec.rb +2 -2
  53. data/spec/api/workers_api_spec.rb +2 -2
  54. data/spec/api_client_spec.rb +1 -1
  55. data/spec/configuration_spec.rb +1 -1
  56. data/spec/models/artifact_spec.rb +1 -1
  57. data/spec/models/async_operation_response_spec.rb +1 -1
  58. data/spec/models/content_app_status_spec.rb +1 -1
  59. data/spec/models/database_connection_spec.rb +1 -1
  60. data/spec/models/inline_response2001_spec.rb +1 -1
  61. data/spec/models/inline_response2002_spec.rb +1 -1
  62. data/spec/models/inline_response2003_spec.rb +1 -1
  63. data/spec/models/inline_response2004_spec.rb +59 -0
  64. data/spec/models/inline_response200_spec.rb +1 -1
  65. data/spec/models/progress_report_spec.rb +1 -1
  66. data/spec/models/redis_connection_spec.rb +1 -1
  67. data/spec/models/signing_service_spec.rb +59 -0
  68. data/spec/models/status_spec.rb +1 -1
  69. data/spec/models/storage_spec.rb +1 -1
  70. data/spec/models/task_cancel_spec.rb +1 -1
  71. data/spec/models/task_spec.rb +1 -1
  72. data/spec/models/upload_chunk_spec.rb +1 -1
  73. data/spec/models/upload_commit_spec.rb +1 -1
  74. data/spec/models/upload_detail_spec.rb +1 -1
  75. data/spec/models/upload_spec.rb +1 -1
  76. data/spec/models/version_spec.rb +1 -1
  77. data/spec/models/worker_spec.rb +1 -1
  78. data/spec/spec_helper.rb +1 -1
  79. metadata +43 -32
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e0bebf30dd1674bde08b2a4d4a86dc7b447afc6909fc6abc7234d34e1700facf
4
- data.tar.gz: f528ae0dfab37145d77c1dc9f8d5d0ff394d1181b244ec3e0f0af597d8a8ef8d
3
+ metadata.gz: 23a9af57b74bd3dbea69fe0a13029ab4e949ed75f92cc77f9eeace39f7888cd5
4
+ data.tar.gz: e2cc72a014084abd31a0b1c9ff6add6ca87cd0461550c902a5ed8036a396cc87
5
5
  SHA512:
6
- metadata.gz: 8ed403a343f3c0fe217df9374934566b399aa9b7f520e705e4d98c0bf2cf3357791b01f80f8282088e86a0ce42b96ad79ef0c4e501ffab7a0960eaef0b9d8f1e
7
- data.tar.gz: 3d74f02acaae6b80a311ff880e88a102710256189fec4bd4df9d60ab586c1adba28690c31668bf31d1000bf33f2a8a404b6bd4dda68e78c10cc134a1db83af7d
6
+ metadata.gz: 762553699dc6357ea4dfe5a9ea804b0ec386fd42de7561b6449ef14ff841771c65e21c83516b6bb487f2827c5df3ffc151f129af52a33e82417cf2f9552d8871
7
+ data.tar.gz: 9a486382c3bcb1ad39a7a0c70bbb842f9c506349cc77b0447b2b40c932ea77384d15bfb769cbf5b40cdd19177c6a38b1a04b32ff80d1b9694cc824b05f7093f3
data/README.md CHANGED
@@ -7,7 +7,7 @@ No description provided (generated by Openapi Generator https://github.com/opena
7
7
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
8
 
9
9
  - API version: v3
10
- - Package version: 3.0.1
10
+ - Package version: 3.1.0
11
11
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
12
 
13
13
  ## Installation
@@ -23,16 +23,16 @@ gem build pulpcore_client.gemspec
23
23
  Then either install the gem locally:
24
24
 
25
25
  ```shell
26
- gem install ./pulpcore_client-3.0.1.gem
26
+ gem install ./pulpcore_client-3.1.0.gem
27
27
  ```
28
28
 
29
- (for development, run `gem install --dev ./pulpcore_client-3.0.1.gem` to install the development dependencies)
29
+ (for development, run `gem install --dev ./pulpcore_client-3.1.0.gem` to install the development dependencies)
30
30
 
31
31
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
32
32
 
33
33
  Finally add this to the Gemfile:
34
34
 
35
- gem 'pulpcore_client', '~> 3.0.1'
35
+ gem 'pulpcore_client', '~> 3.1.0'
36
36
 
37
37
  ### Install from Git
38
38
 
@@ -96,6 +96,8 @@ Class | Method | HTTP request | Description
96
96
  *PulpcoreClient::ArtifactsApi* | [**list**](docs/ArtifactsApi.md#list) | **GET** /pulp/api/v3/artifacts/ | List artifacts
97
97
  *PulpcoreClient::ArtifactsApi* | [**read**](docs/ArtifactsApi.md#read) | **GET** {artifact_href} | Inspect an artifact
98
98
  *PulpcoreClient::OrphansApi* | [**delete**](docs/OrphansApi.md#delete) | **DELETE** /pulp/api/v3/orphans/ | Delete orphans
99
+ *PulpcoreClient::SigningServicesApi* | [**list**](docs/SigningServicesApi.md#list) | **GET** /pulp/api/v3/signing-services/ | List signing services
100
+ *PulpcoreClient::SigningServicesApi* | [**read**](docs/SigningServicesApi.md#read) | **GET** {signing_service_href} | Inspect a signing service
99
101
  *PulpcoreClient::StatusApi* | [**status_read**](docs/StatusApi.md#status_read) | **GET** /pulp/api/v3/status/ | Inspect status of Pulp
100
102
  *PulpcoreClient::TasksApi* | [**delete**](docs/TasksApi.md#delete) | **DELETE** {task_href} | Delete a task
101
103
  *PulpcoreClient::TasksApi* | [**list**](docs/TasksApi.md#list) | **GET** /pulp/api/v3/tasks/ | List tasks
@@ -121,8 +123,10 @@ Class | Method | HTTP request | Description
121
123
  - [PulpcoreClient::InlineResponse2001](docs/InlineResponse2001.md)
122
124
  - [PulpcoreClient::InlineResponse2002](docs/InlineResponse2002.md)
123
125
  - [PulpcoreClient::InlineResponse2003](docs/InlineResponse2003.md)
126
+ - [PulpcoreClient::InlineResponse2004](docs/InlineResponse2004.md)
124
127
  - [PulpcoreClient::ProgressReport](docs/ProgressReport.md)
125
128
  - [PulpcoreClient::RedisConnection](docs/RedisConnection.md)
129
+ - [PulpcoreClient::SigningService](docs/SigningService.md)
126
130
  - [PulpcoreClient::Status](docs/Status.md)
127
131
  - [PulpcoreClient::Storage](docs/Storage.md)
128
132
  - [PulpcoreClient::Task](docs/Task.md)
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
7
7
  **count** | **Integer** | |
8
8
  **_next** | **String** | | [optional]
9
9
  **previous** | **String** | | [optional]
10
- **results** | [**Array<Task>**](Task.md) | |
10
+ **results** | [**Array<SigningService>**](SigningService.md) | |
11
11
 
12
12
  ## Code Sample
13
13
 
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
7
7
  **count** | **Integer** | |
8
8
  **_next** | **String** | | [optional]
9
9
  **previous** | **String** | | [optional]
10
- **results** | [**Array<Upload>**](Upload.md) | |
10
+ **results** | [**Array<Task>**](Task.md) | |
11
11
 
12
12
  ## Code Sample
13
13
 
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
7
7
  **count** | **Integer** | |
8
8
  **_next** | **String** | | [optional]
9
9
  **previous** | **String** | | [optional]
10
- **results** | [**Array<Worker>**](Worker.md) | |
10
+ **results** | [**Array<Upload>**](Upload.md) | |
11
11
 
12
12
  ## Code Sample
13
13
 
@@ -0,0 +1,23 @@
1
+ # PulpcoreClient::InlineResponse2004
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **count** | **Integer** | |
8
+ **_next** | **String** | | [optional]
9
+ **previous** | **String** | | [optional]
10
+ **results** | [**Array<Worker>**](Worker.md) | |
11
+
12
+ ## Code Sample
13
+
14
+ ```ruby
15
+ require 'PulpcoreClient'
16
+
17
+ instance = PulpcoreClient::InlineResponse2004.new(count: null,
18
+ _next: null,
19
+ previous: null,
20
+ results: null)
21
+ ```
22
+
23
+
@@ -0,0 +1,23 @@
1
+ # PulpcoreClient::SigningService
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **pulp_href** | **String** | | [optional] [readonly]
8
+ **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
+ **name** | **String** | A unique name used to recognize a script. |
10
+ **script** | **String** | An absolute path to a script which is going to be used for the signing. |
11
+
12
+ ## Code Sample
13
+
14
+ ```ruby
15
+ require 'PulpcoreClient'
16
+
17
+ instance = PulpcoreClient::SigningService.new(pulp_href: null,
18
+ pulp_created: null,
19
+ name: null,
20
+ script: null)
21
+ ```
22
+
23
+
@@ -0,0 +1,130 @@
1
+ # PulpcoreClient::SigningServicesApi
2
+
3
+ All URIs are relative to *http://localhost:24817*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**list**](SigningServicesApi.md#list) | **GET** /pulp/api/v3/signing-services/ | List signing services
8
+ [**read**](SigningServicesApi.md#read) | **GET** {signing_service_href} | Inspect a signing service
9
+
10
+
11
+
12
+ ## list
13
+
14
+ > InlineResponse2001 list(opts)
15
+
16
+ List signing services
17
+
18
+ A ViewSet that supports browsing of existing signing services.
19
+
20
+ ### Example
21
+
22
+ ```ruby
23
+ # load the gem
24
+ require 'pulpcore_client'
25
+ # setup authorization
26
+ PulpcoreClient.configure do |config|
27
+ # Configure HTTP basic authorization: Basic
28
+ config.username = 'YOUR USERNAME'
29
+ config.password = 'YOUR PASSWORD'
30
+ end
31
+
32
+ api_instance = PulpcoreClient::SigningServicesApi.new
33
+ opts = {
34
+ limit: 56, # Integer | Number of results to return per page.
35
+ offset: 56, # Integer | The initial index from which to return the results.
36
+ fields: 'fields_example', # String | A list of fields to include in the response.
37
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
38
+ }
39
+
40
+ begin
41
+ #List signing services
42
+ result = api_instance.list(opts)
43
+ p result
44
+ rescue PulpcoreClient::ApiError => e
45
+ puts "Exception when calling SigningServicesApi->list: #{e}"
46
+ end
47
+ ```
48
+
49
+ ### Parameters
50
+
51
+
52
+ Name | Type | Description | Notes
53
+ ------------- | ------------- | ------------- | -------------
54
+ **limit** | **Integer**| Number of results to return per page. | [optional]
55
+ **offset** | **Integer**| The initial index from which to return the results. | [optional]
56
+ **fields** | **String**| A list of fields to include in the response. | [optional]
57
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
58
+
59
+ ### Return type
60
+
61
+ [**InlineResponse2001**](InlineResponse2001.md)
62
+
63
+ ### Authorization
64
+
65
+ [Basic](../README.md#Basic)
66
+
67
+ ### HTTP request headers
68
+
69
+ - **Content-Type**: Not defined
70
+ - **Accept**: application/json
71
+
72
+
73
+ ## read
74
+
75
+ > SigningService read(signing_service_href, opts)
76
+
77
+ Inspect a signing service
78
+
79
+ A ViewSet that supports browsing of existing signing services.
80
+
81
+ ### Example
82
+
83
+ ```ruby
84
+ # load the gem
85
+ require 'pulpcore_client'
86
+ # setup authorization
87
+ PulpcoreClient.configure do |config|
88
+ # Configure HTTP basic authorization: Basic
89
+ config.username = 'YOUR USERNAME'
90
+ config.password = 'YOUR PASSWORD'
91
+ end
92
+
93
+ api_instance = PulpcoreClient::SigningServicesApi.new
94
+ signing_service_href = 'signing_service_href_example' # String | URI of Signing Service. e.g.: /pulp/api/v3/signing-services/1/
95
+ opts = {
96
+ fields: 'fields_example', # String | A list of fields to include in the response.
97
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
98
+ }
99
+
100
+ begin
101
+ #Inspect a signing service
102
+ result = api_instance.read(signing_service_href, opts)
103
+ p result
104
+ rescue PulpcoreClient::ApiError => e
105
+ puts "Exception when calling SigningServicesApi->read: #{e}"
106
+ end
107
+ ```
108
+
109
+ ### Parameters
110
+
111
+
112
+ Name | Type | Description | Notes
113
+ ------------- | ------------- | ------------- | -------------
114
+ **signing_service_href** | **String**| URI of Signing Service. e.g.: /pulp/api/v3/signing-services/1/ |
115
+ **fields** | **String**| A list of fields to include in the response. | [optional]
116
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
117
+
118
+ ### Return type
119
+
120
+ [**SigningService**](SigningService.md)
121
+
122
+ ### Authorization
123
+
124
+ [Basic](../README.md#Basic)
125
+
126
+ ### HTTP request headers
127
+
128
+ - **Content-Type**: Not defined
129
+ - **Accept**: application/json
130
+
data/docs/TasksApi.md CHANGED
@@ -63,7 +63,7 @@ nil (empty response body)
63
63
 
64
64
  ## list
65
65
 
66
- > InlineResponse2001 list(opts)
66
+ > InlineResponse2002 list(opts)
67
67
 
68
68
  List tasks
69
69
 
@@ -152,7 +152,7 @@ Name | Type | Description | Notes
152
152
 
153
153
  ### Return type
154
154
 
155
- [**InlineResponse2001**](InlineResponse2001.md)
155
+ [**InlineResponse2002**](InlineResponse2002.md)
156
156
 
157
157
  ### Authorization
158
158
 
data/docs/UploadsApi.md CHANGED
@@ -175,7 +175,7 @@ nil (empty response body)
175
175
 
176
176
  ## list
177
177
 
178
- > InlineResponse2002 list(opts)
178
+ > InlineResponse2003 list(opts)
179
179
 
180
180
  List uploads
181
181
 
@@ -224,7 +224,7 @@ Name | Type | Description | Notes
224
224
 
225
225
  ### Return type
226
226
 
227
- [**InlineResponse2002**](InlineResponse2002.md)
227
+ [**InlineResponse2003**](InlineResponse2003.md)
228
228
 
229
229
  ### Authorization
230
230
 
data/docs/WorkersApi.md CHANGED
@@ -11,7 +11,7 @@ Method | HTTP request | Description
11
11
 
12
12
  ## list
13
13
 
14
- > InlineResponse2003 list(opts)
14
+ > InlineResponse2004 list(opts)
15
15
 
16
16
  List workers
17
17
 
@@ -76,7 +76,7 @@ Name | Type | Description | Notes
76
76
 
77
77
  ### Return type
78
78
 
79
- [**InlineResponse2003**](InlineResponse2003.md)
79
+ [**InlineResponse2004**](InlineResponse2004.md)
80
80
 
81
81
  ### Authorization
82
82
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -0,0 +1,158 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ The version of the OpenAPI document: v3
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.2.2
10
+
11
+ =end
12
+
13
+ require 'cgi'
14
+
15
+ module PulpcoreClient
16
+ class SigningServicesApi
17
+ attr_accessor :api_client
18
+
19
+ def initialize(api_client = ApiClient.default)
20
+ @api_client = api_client
21
+ end
22
+ # List signing services
23
+ # A ViewSet that supports browsing of existing signing services.
24
+ # @param [Hash] opts the optional parameters
25
+ # @option opts [Integer] :limit Number of results to return per page.
26
+ # @option opts [Integer] :offset The initial index from which to return the results.
27
+ # @option opts [String] :fields A list of fields to include in the response.
28
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
29
+ # @return [InlineResponse2001]
30
+ def list(opts = {})
31
+ data, _status_code, _headers = list_with_http_info(opts)
32
+ data
33
+ end
34
+
35
+ # List signing services
36
+ # A ViewSet that supports browsing of existing signing services.
37
+ # @param [Hash] opts the optional parameters
38
+ # @option opts [Integer] :limit Number of results to return per page.
39
+ # @option opts [Integer] :offset The initial index from which to return the results.
40
+ # @option opts [String] :fields A list of fields to include in the response.
41
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
42
+ # @return [Array<(InlineResponse2001, Integer, Hash)>] InlineResponse2001 data, response status code and response headers
43
+ def list_with_http_info(opts = {})
44
+ if @api_client.config.debugging
45
+ @api_client.config.logger.debug 'Calling API: SigningServicesApi.list ...'
46
+ end
47
+ # resource path
48
+ local_var_path = '/pulp/api/v3/signing-services/'
49
+
50
+ # query parameters
51
+ query_params = opts[:query_params] || {}
52
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
53
+ query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
54
+ query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
55
+ query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
56
+
57
+ # header parameters
58
+ header_params = opts[:header_params] || {}
59
+ # HTTP header 'Accept' (if needed)
60
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
61
+
62
+ # form parameters
63
+ form_params = opts[:form_params] || {}
64
+
65
+ # http body (model)
66
+ post_body = opts[:body]
67
+
68
+ # return_type
69
+ return_type = opts[:return_type] || 'InlineResponse2001'
70
+
71
+ # auth_names
72
+ auth_names = opts[:auth_names] || ['Basic']
73
+
74
+ new_options = opts.merge(
75
+ :header_params => header_params,
76
+ :query_params => query_params,
77
+ :form_params => form_params,
78
+ :body => post_body,
79
+ :auth_names => auth_names,
80
+ :return_type => return_type
81
+ )
82
+
83
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
84
+ if @api_client.config.debugging
85
+ @api_client.config.logger.debug "API called: SigningServicesApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
86
+ end
87
+ return data, status_code, headers
88
+ end
89
+
90
+ # Inspect a signing service
91
+ # A ViewSet that supports browsing of existing signing services.
92
+ # @param signing_service_href [String] URI of Signing Service. e.g.: /pulp/api/v3/signing-services/1/
93
+ # @param [Hash] opts the optional parameters
94
+ # @option opts [String] :fields A list of fields to include in the response.
95
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
96
+ # @return [SigningService]
97
+ def read(signing_service_href, opts = {})
98
+ data, _status_code, _headers = read_with_http_info(signing_service_href, opts)
99
+ data
100
+ end
101
+
102
+ # Inspect a signing service
103
+ # A ViewSet that supports browsing of existing signing services.
104
+ # @param signing_service_href [String] URI of Signing Service. e.g.: /pulp/api/v3/signing-services/1/
105
+ # @param [Hash] opts the optional parameters
106
+ # @option opts [String] :fields A list of fields to include in the response.
107
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
108
+ # @return [Array<(SigningService, Integer, Hash)>] SigningService data, response status code and response headers
109
+ def read_with_http_info(signing_service_href, opts = {})
110
+ if @api_client.config.debugging
111
+ @api_client.config.logger.debug 'Calling API: SigningServicesApi.read ...'
112
+ end
113
+ # verify the required parameter 'signing_service_href' is set
114
+ if @api_client.config.client_side_validation && signing_service_href.nil?
115
+ fail ArgumentError, "Missing the required parameter 'signing_service_href' when calling SigningServicesApi.read"
116
+ end
117
+ # resource path
118
+ local_var_path = '{signing_service_href}'.sub('{' + 'signing_service_href' + '}', CGI.escape(signing_service_href.to_s).gsub('%2F', '/'))
119
+
120
+ # query parameters
121
+ query_params = opts[:query_params] || {}
122
+ query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
123
+ query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
124
+
125
+ # header parameters
126
+ header_params = opts[:header_params] || {}
127
+ # HTTP header 'Accept' (if needed)
128
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
129
+
130
+ # form parameters
131
+ form_params = opts[:form_params] || {}
132
+
133
+ # http body (model)
134
+ post_body = opts[:body]
135
+
136
+ # return_type
137
+ return_type = opts[:return_type] || 'SigningService'
138
+
139
+ # auth_names
140
+ auth_names = opts[:auth_names] || ['Basic']
141
+
142
+ new_options = opts.merge(
143
+ :header_params => header_params,
144
+ :query_params => query_params,
145
+ :form_params => form_params,
146
+ :body => post_body,
147
+ :auth_names => auth_names,
148
+ :return_type => return_type
149
+ )
150
+
151
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
152
+ if @api_client.config.debugging
153
+ @api_client.config.logger.debug "API called: SigningServicesApi#read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
154
+ end
155
+ return data, status_code, headers
156
+ end
157
+ end
158
+ end
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -105,7 +105,7 @@ module PulpcoreClient
105
105
  # @option opts [Integer] :offset The initial index from which to return the results.
106
106
  # @option opts [String] :fields A list of fields to include in the response.
107
107
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
108
- # @return [InlineResponse2001]
108
+ # @return [InlineResponse2002]
109
109
  def list(opts = {})
110
110
  data, _status_code, _headers = list_with_http_info(opts)
111
111
  data
@@ -139,7 +139,7 @@ module PulpcoreClient
139
139
  # @option opts [Integer] :offset The initial index from which to return the results.
140
140
  # @option opts [String] :fields A list of fields to include in the response.
141
141
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
142
- # @return [Array<(InlineResponse2001, Integer, Hash)>] InlineResponse2001 data, response status code and response headers
142
+ # @return [Array<(InlineResponse2002, Integer, Hash)>] InlineResponse2002 data, response status code and response headers
143
143
  def list_with_http_info(opts = {})
144
144
  if @api_client.config.debugging
145
145
  @api_client.config.logger.debug 'Calling API: TasksApi.list ...'
@@ -188,7 +188,7 @@ module PulpcoreClient
188
188
  post_body = opts[:body]
189
189
 
190
190
  # return_type
191
- return_type = opts[:return_type] || 'InlineResponse2001'
191
+ return_type = opts[:return_type] || 'InlineResponse2002'
192
192
 
193
193
  # auth_names
194
194
  auth_names = opts[:auth_names] || ['Basic']
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -221,7 +221,7 @@ module PulpcoreClient
221
221
  # @option opts [Integer] :offset The initial index from which to return the results.
222
222
  # @option opts [String] :fields A list of fields to include in the response.
223
223
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
224
- # @return [InlineResponse2002]
224
+ # @return [InlineResponse2003]
225
225
  def list(opts = {})
226
226
  data, _status_code, _headers = list_with_http_info(opts)
227
227
  data
@@ -235,7 +235,7 @@ module PulpcoreClient
235
235
  # @option opts [Integer] :offset The initial index from which to return the results.
236
236
  # @option opts [String] :fields A list of fields to include in the response.
237
237
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
238
- # @return [Array<(InlineResponse2002, Integer, Hash)>] InlineResponse2002 data, response status code and response headers
238
+ # @return [Array<(InlineResponse2003, Integer, Hash)>] InlineResponse2003 data, response status code and response headers
239
239
  def list_with_http_info(opts = {})
240
240
  if @api_client.config.debugging
241
241
  @api_client.config.logger.debug 'Calling API: UploadsApi.list ...'
@@ -263,7 +263,7 @@ module PulpcoreClient
263
263
  post_body = opts[:body]
264
264
 
265
265
  # return_type
266
- return_type = opts[:return_type] || 'InlineResponse2002'
266
+ return_type = opts[:return_type] || 'InlineResponse2003'
267
267
 
268
268
  # auth_names
269
269
  auth_names = opts[:auth_names] || ['Basic']
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -35,7 +35,7 @@ module PulpcoreClient
35
35
  # @option opts [Integer] :offset The initial index from which to return the results.
36
36
  # @option opts [String] :fields A list of fields to include in the response.
37
37
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
38
- # @return [InlineResponse2003]
38
+ # @return [InlineResponse2004]
39
39
  def list(opts = {})
40
40
  data, _status_code, _headers = list_with_http_info(opts)
41
41
  data
@@ -57,7 +57,7 @@ module PulpcoreClient
57
57
  # @option opts [Integer] :offset The initial index from which to return the results.
58
58
  # @option opts [String] :fields A list of fields to include in the response.
59
59
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
60
- # @return [Array<(InlineResponse2003, Integer, Hash)>] InlineResponse2003 data, response status code and response headers
60
+ # @return [Array<(InlineResponse2004, Integer, Hash)>] InlineResponse2004 data, response status code and response headers
61
61
  def list_with_http_info(opts = {})
62
62
  if @api_client.config.debugging
63
63
  @api_client.config.logger.debug 'Calling API: WorkersApi.list ...'
@@ -94,7 +94,7 @@ module PulpcoreClient
94
94
  post_body = opts[:body]
95
95
 
96
96
  # return_type
97
- return_type = opts[:return_type] || 'InlineResponse2003'
97
+ return_type = opts[:return_type] || 'InlineResponse2004'
98
98
 
99
99
  # auth_names
100
100
  auth_names = opts[:auth_names] || ['Basic']
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12