autosde_openapi_client 1.2.1 → 1.2.2
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.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 168b52b9d7a0631c598ae57d6844ee45f3f6af9f263c3d27b662fd2f486667cd
|
|
4
|
+
data.tar.gz: 92f3407b68ddd58bb550e34caac5b8e3a2d2ef95ee7747afd42e4f3cdaf77185
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 554acd128859834b2d9417bf5dca2543cf61c92c89f0383489cd0056f6df2899c8def42924a53d78cd00411aa055f60f8867eb62fa7c0668f1b6bb949b67b868
|
|
7
|
+
data.tar.gz: 55ff4844d279ad26ed52c779562bd7e0eb568af4b8ff8e7bd434e67f86b7b79ce6e326a4b3e6440fe3af07be1159d851de80d8acd5a6c5464963f71b56bea7ba
|
data/README.md
CHANGED
|
@@ -153,10 +153,10 @@ Class | Method | HTTP request | Description
|
|
|
153
153
|
*AutosdeOpenapiClient::ServiceApi* | [**services_pk_get**](docs/ServiceApi.md#services_pk_get) | **GET** /services/{pk} |
|
|
154
154
|
*AutosdeOpenapiClient::ServiceApi* | [**services_pk_put**](docs/ServiceApi.md#services_pk_put) | **PUT** /services/{pk} |
|
|
155
155
|
*AutosdeOpenapiClient::ServiceApi* | [**services_post**](docs/ServiceApi.md#services_post) | **POST** /services |
|
|
156
|
-
*AutosdeOpenapiClient::ServiceResourceAttachmentApi* | [**
|
|
157
|
-
*AutosdeOpenapiClient::ServiceResourceAttachmentApi* | [**
|
|
158
|
-
*AutosdeOpenapiClient::ServiceResourceAttachmentApi* | [**
|
|
159
|
-
*AutosdeOpenapiClient::ServiceResourceAttachmentApi* | [**
|
|
156
|
+
*AutosdeOpenapiClient::ServiceResourceAttachmentApi* | [**service_resource_attachment_get**](docs/ServiceResourceAttachmentApi.md#service_resource_attachment_get) | **GET** /service-resource-attachment |
|
|
157
|
+
*AutosdeOpenapiClient::ServiceResourceAttachmentApi* | [**service_resource_attachment_pk_delete**](docs/ServiceResourceAttachmentApi.md#service_resource_attachment_pk_delete) | **DELETE** /service-resource-attachment/{pk} |
|
|
158
|
+
*AutosdeOpenapiClient::ServiceResourceAttachmentApi* | [**service_resource_attachment_pk_get**](docs/ServiceResourceAttachmentApi.md#service_resource_attachment_pk_get) | **GET** /service-resource-attachment/{pk} |
|
|
159
|
+
*AutosdeOpenapiClient::ServiceResourceAttachmentApi* | [**service_resource_attachment_post**](docs/ServiceResourceAttachmentApi.md#service_resource_attachment_post) | **POST** /service-resource-attachment |
|
|
160
160
|
*AutosdeOpenapiClient::SnapshotApi* | [**snapshots_get**](docs/SnapshotApi.md#snapshots_get) | **GET** /snapshots |
|
|
161
161
|
*AutosdeOpenapiClient::SnapshotApi* | [**snapshots_pk_delete**](docs/SnapshotApi.md#snapshots_pk_delete) | **DELETE** /snapshots/{pk} |
|
|
162
162
|
*AutosdeOpenapiClient::SnapshotApi* | [**snapshots_pk_get**](docs/SnapshotApi.md#snapshots_pk_get) | **GET** /snapshots/{pk} |
|
|
@@ -4,15 +4,15 @@ All URIs are relative to *http://localhost:9000/site-manager/api/v1/engine*
|
|
|
4
4
|
|
|
5
5
|
| Method | HTTP request | Description |
|
|
6
6
|
| ------ | ------------ | ----------- |
|
|
7
|
-
| [**
|
|
8
|
-
| [**
|
|
9
|
-
| [**
|
|
10
|
-
| [**
|
|
7
|
+
| [**service_resource_attachment_get**](ServiceResourceAttachmentApi.md#service_resource_attachment_get) | **GET** /service-resource-attachment | |
|
|
8
|
+
| [**service_resource_attachment_pk_delete**](ServiceResourceAttachmentApi.md#service_resource_attachment_pk_delete) | **DELETE** /service-resource-attachment/{pk} | |
|
|
9
|
+
| [**service_resource_attachment_pk_get**](ServiceResourceAttachmentApi.md#service_resource_attachment_pk_get) | **GET** /service-resource-attachment/{pk} | |
|
|
10
|
+
| [**service_resource_attachment_post**](ServiceResourceAttachmentApi.md#service_resource_attachment_post) | **POST** /service-resource-attachment | |
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
##
|
|
13
|
+
## service_resource_attachment_get
|
|
14
14
|
|
|
15
|
-
> <Array<ServiceResourceAttachment>>
|
|
15
|
+
> <Array<ServiceResourceAttachment>> service_resource_attachment_get
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
@@ -31,28 +31,28 @@ api_instance = AutosdeOpenapiClient::ServiceResourceAttachmentApi.new
|
|
|
31
31
|
|
|
32
32
|
begin
|
|
33
33
|
|
|
34
|
-
result = api_instance.
|
|
34
|
+
result = api_instance.service_resource_attachment_get
|
|
35
35
|
p result
|
|
36
36
|
rescue AutosdeOpenapiClient::ApiError => e
|
|
37
|
-
puts "Error when calling ServiceResourceAttachmentApi->
|
|
37
|
+
puts "Error when calling ServiceResourceAttachmentApi->service_resource_attachment_get: #{e}"
|
|
38
38
|
end
|
|
39
39
|
```
|
|
40
40
|
|
|
41
|
-
#### Using the
|
|
41
|
+
#### Using the service_resource_attachment_get_with_http_info variant
|
|
42
42
|
|
|
43
43
|
This returns an Array which contains the response data, status code and headers.
|
|
44
44
|
|
|
45
|
-
> <Array(<Array<ServiceResourceAttachment>>, Integer, Hash)>
|
|
45
|
+
> <Array(<Array<ServiceResourceAttachment>>, Integer, Hash)> service_resource_attachment_get_with_http_info
|
|
46
46
|
|
|
47
47
|
```ruby
|
|
48
48
|
begin
|
|
49
49
|
|
|
50
|
-
data, status_code, headers = api_instance.
|
|
50
|
+
data, status_code, headers = api_instance.service_resource_attachment_get_with_http_info
|
|
51
51
|
p status_code # => 2xx
|
|
52
52
|
p headers # => { ... }
|
|
53
53
|
p data # => <Array<ServiceResourceAttachment>>
|
|
54
54
|
rescue AutosdeOpenapiClient::ApiError => e
|
|
55
|
-
puts "Error when calling ServiceResourceAttachmentApi->
|
|
55
|
+
puts "Error when calling ServiceResourceAttachmentApi->service_resource_attachment_get_with_http_info: #{e}"
|
|
56
56
|
end
|
|
57
57
|
```
|
|
58
58
|
|
|
@@ -74,9 +74,9 @@ This endpoint does not need any parameter.
|
|
|
74
74
|
- **Accept**: */*
|
|
75
75
|
|
|
76
76
|
|
|
77
|
-
##
|
|
77
|
+
## service_resource_attachment_pk_delete
|
|
78
78
|
|
|
79
|
-
> <Array<ServiceResourceAttachment>>
|
|
79
|
+
> <Array<ServiceResourceAttachment>> service_resource_attachment_pk_delete(pk)
|
|
80
80
|
|
|
81
81
|
|
|
82
82
|
|
|
@@ -96,28 +96,28 @@ pk = 56 # Integer |
|
|
|
96
96
|
|
|
97
97
|
begin
|
|
98
98
|
|
|
99
|
-
result = api_instance.
|
|
99
|
+
result = api_instance.service_resource_attachment_pk_delete(pk)
|
|
100
100
|
p result
|
|
101
101
|
rescue AutosdeOpenapiClient::ApiError => e
|
|
102
|
-
puts "Error when calling ServiceResourceAttachmentApi->
|
|
102
|
+
puts "Error when calling ServiceResourceAttachmentApi->service_resource_attachment_pk_delete: #{e}"
|
|
103
103
|
end
|
|
104
104
|
```
|
|
105
105
|
|
|
106
|
-
#### Using the
|
|
106
|
+
#### Using the service_resource_attachment_pk_delete_with_http_info variant
|
|
107
107
|
|
|
108
108
|
This returns an Array which contains the response data, status code and headers.
|
|
109
109
|
|
|
110
|
-
> <Array(<Array<ServiceResourceAttachment>>, Integer, Hash)>
|
|
110
|
+
> <Array(<Array<ServiceResourceAttachment>>, Integer, Hash)> service_resource_attachment_pk_delete_with_http_info(pk)
|
|
111
111
|
|
|
112
112
|
```ruby
|
|
113
113
|
begin
|
|
114
114
|
|
|
115
|
-
data, status_code, headers = api_instance.
|
|
115
|
+
data, status_code, headers = api_instance.service_resource_attachment_pk_delete_with_http_info(pk)
|
|
116
116
|
p status_code # => 2xx
|
|
117
117
|
p headers # => { ... }
|
|
118
118
|
p data # => <Array<ServiceResourceAttachment>>
|
|
119
119
|
rescue AutosdeOpenapiClient::ApiError => e
|
|
120
|
-
puts "Error when calling ServiceResourceAttachmentApi->
|
|
120
|
+
puts "Error when calling ServiceResourceAttachmentApi->service_resource_attachment_pk_delete_with_http_info: #{e}"
|
|
121
121
|
end
|
|
122
122
|
```
|
|
123
123
|
|
|
@@ -141,9 +141,9 @@ end
|
|
|
141
141
|
- **Accept**: */*
|
|
142
142
|
|
|
143
143
|
|
|
144
|
-
##
|
|
144
|
+
## service_resource_attachment_pk_get
|
|
145
145
|
|
|
146
|
-
> <Array<ServiceResourceAttachment>>
|
|
146
|
+
> <Array<ServiceResourceAttachment>> service_resource_attachment_pk_get(pk)
|
|
147
147
|
|
|
148
148
|
|
|
149
149
|
|
|
@@ -163,28 +163,28 @@ pk = 56 # Integer |
|
|
|
163
163
|
|
|
164
164
|
begin
|
|
165
165
|
|
|
166
|
-
result = api_instance.
|
|
166
|
+
result = api_instance.service_resource_attachment_pk_get(pk)
|
|
167
167
|
p result
|
|
168
168
|
rescue AutosdeOpenapiClient::ApiError => e
|
|
169
|
-
puts "Error when calling ServiceResourceAttachmentApi->
|
|
169
|
+
puts "Error when calling ServiceResourceAttachmentApi->service_resource_attachment_pk_get: #{e}"
|
|
170
170
|
end
|
|
171
171
|
```
|
|
172
172
|
|
|
173
|
-
#### Using the
|
|
173
|
+
#### Using the service_resource_attachment_pk_get_with_http_info variant
|
|
174
174
|
|
|
175
175
|
This returns an Array which contains the response data, status code and headers.
|
|
176
176
|
|
|
177
|
-
> <Array(<Array<ServiceResourceAttachment>>, Integer, Hash)>
|
|
177
|
+
> <Array(<Array<ServiceResourceAttachment>>, Integer, Hash)> service_resource_attachment_pk_get_with_http_info(pk)
|
|
178
178
|
|
|
179
179
|
```ruby
|
|
180
180
|
begin
|
|
181
181
|
|
|
182
|
-
data, status_code, headers = api_instance.
|
|
182
|
+
data, status_code, headers = api_instance.service_resource_attachment_pk_get_with_http_info(pk)
|
|
183
183
|
p status_code # => 2xx
|
|
184
184
|
p headers # => { ... }
|
|
185
185
|
p data # => <Array<ServiceResourceAttachment>>
|
|
186
186
|
rescue AutosdeOpenapiClient::ApiError => e
|
|
187
|
-
puts "Error when calling ServiceResourceAttachmentApi->
|
|
187
|
+
puts "Error when calling ServiceResourceAttachmentApi->service_resource_attachment_pk_get_with_http_info: #{e}"
|
|
188
188
|
end
|
|
189
189
|
```
|
|
190
190
|
|
|
@@ -208,9 +208,9 @@ end
|
|
|
208
208
|
- **Accept**: */*
|
|
209
209
|
|
|
210
210
|
|
|
211
|
-
##
|
|
211
|
+
## service_resource_attachment_post
|
|
212
212
|
|
|
213
|
-
> <ServiceResourceAttachment>
|
|
213
|
+
> <ServiceResourceAttachment> service_resource_attachment_post(service_resource_attachment)
|
|
214
214
|
|
|
215
215
|
|
|
216
216
|
|
|
@@ -230,28 +230,28 @@ service_resource_attachment = AutosdeOpenapiClient::ServiceResourceAttachment.ne
|
|
|
230
230
|
|
|
231
231
|
begin
|
|
232
232
|
|
|
233
|
-
result = api_instance.
|
|
233
|
+
result = api_instance.service_resource_attachment_post(service_resource_attachment)
|
|
234
234
|
p result
|
|
235
235
|
rescue AutosdeOpenapiClient::ApiError => e
|
|
236
|
-
puts "Error when calling ServiceResourceAttachmentApi->
|
|
236
|
+
puts "Error when calling ServiceResourceAttachmentApi->service_resource_attachment_post: #{e}"
|
|
237
237
|
end
|
|
238
238
|
```
|
|
239
239
|
|
|
240
|
-
#### Using the
|
|
240
|
+
#### Using the service_resource_attachment_post_with_http_info variant
|
|
241
241
|
|
|
242
242
|
This returns an Array which contains the response data, status code and headers.
|
|
243
243
|
|
|
244
|
-
> <Array(<ServiceResourceAttachment>, Integer, Hash)>
|
|
244
|
+
> <Array(<ServiceResourceAttachment>, Integer, Hash)> service_resource_attachment_post_with_http_info(service_resource_attachment)
|
|
245
245
|
|
|
246
246
|
```ruby
|
|
247
247
|
begin
|
|
248
248
|
|
|
249
|
-
data, status_code, headers = api_instance.
|
|
249
|
+
data, status_code, headers = api_instance.service_resource_attachment_post_with_http_info(service_resource_attachment)
|
|
250
250
|
p status_code # => 2xx
|
|
251
251
|
p headers # => { ... }
|
|
252
252
|
p data # => <ServiceResourceAttachment>
|
|
253
253
|
rescue AutosdeOpenapiClient::ApiError => e
|
|
254
|
-
puts "Error when calling ServiceResourceAttachmentApi->
|
|
254
|
+
puts "Error when calling ServiceResourceAttachmentApi->service_resource_attachment_post_with_http_info: #{e}"
|
|
255
255
|
end
|
|
256
256
|
```
|
|
257
257
|
|
|
@@ -21,19 +21,19 @@ module AutosdeOpenapiClient
|
|
|
21
21
|
end
|
|
22
22
|
# @param [Hash] opts the optional parameters
|
|
23
23
|
# @return [Array<ServiceResourceAttachment>]
|
|
24
|
-
def
|
|
25
|
-
data, _status_code, _headers =
|
|
24
|
+
def service_resource_attachment_get(opts = {})
|
|
25
|
+
data, _status_code, _headers = service_resource_attachment_get_with_http_info(opts)
|
|
26
26
|
data
|
|
27
27
|
end
|
|
28
28
|
|
|
29
29
|
# @param [Hash] opts the optional parameters
|
|
30
30
|
# @return [Array<(Array<ServiceResourceAttachment>, Integer, Hash)>] Array<ServiceResourceAttachment> data, response status code and response headers
|
|
31
|
-
def
|
|
31
|
+
def service_resource_attachment_get_with_http_info(opts = {})
|
|
32
32
|
if @api_client.config.debugging
|
|
33
|
-
@api_client.config.logger.debug 'Calling API: ServiceResourceAttachmentApi.
|
|
33
|
+
@api_client.config.logger.debug 'Calling API: ServiceResourceAttachmentApi.service_resource_attachment_get ...'
|
|
34
34
|
end
|
|
35
35
|
# resource path
|
|
36
|
-
local_var_path = '/service-resource-
|
|
36
|
+
local_var_path = '/service-resource-attachment'
|
|
37
37
|
|
|
38
38
|
# query parameters
|
|
39
39
|
query_params = opts[:query_params] || {}
|
|
@@ -56,7 +56,7 @@ module AutosdeOpenapiClient
|
|
|
56
56
|
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
|
57
57
|
|
|
58
58
|
new_options = opts.merge(
|
|
59
|
-
:operation => :"ServiceResourceAttachmentApi.
|
|
59
|
+
:operation => :"ServiceResourceAttachmentApi.service_resource_attachment_get",
|
|
60
60
|
:header_params => header_params,
|
|
61
61
|
:query_params => query_params,
|
|
62
62
|
:form_params => form_params,
|
|
@@ -67,7 +67,7 @@ module AutosdeOpenapiClient
|
|
|
67
67
|
|
|
68
68
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
69
69
|
if @api_client.config.debugging
|
|
70
|
-
@api_client.config.logger.debug "API called: ServiceResourceAttachmentApi#
|
|
70
|
+
@api_client.config.logger.debug "API called: ServiceResourceAttachmentApi#service_resource_attachment_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
71
71
|
end
|
|
72
72
|
return data, status_code, headers
|
|
73
73
|
end
|
|
@@ -75,24 +75,24 @@ module AutosdeOpenapiClient
|
|
|
75
75
|
# @param pk [Integer]
|
|
76
76
|
# @param [Hash] opts the optional parameters
|
|
77
77
|
# @return [Array<ServiceResourceAttachment>]
|
|
78
|
-
def
|
|
79
|
-
data, _status_code, _headers =
|
|
78
|
+
def service_resource_attachment_pk_delete(pk, opts = {})
|
|
79
|
+
data, _status_code, _headers = service_resource_attachment_pk_delete_with_http_info(pk, opts)
|
|
80
80
|
data
|
|
81
81
|
end
|
|
82
82
|
|
|
83
83
|
# @param pk [Integer]
|
|
84
84
|
# @param [Hash] opts the optional parameters
|
|
85
85
|
# @return [Array<(Array<ServiceResourceAttachment>, Integer, Hash)>] Array<ServiceResourceAttachment> data, response status code and response headers
|
|
86
|
-
def
|
|
86
|
+
def service_resource_attachment_pk_delete_with_http_info(pk, opts = {})
|
|
87
87
|
if @api_client.config.debugging
|
|
88
|
-
@api_client.config.logger.debug 'Calling API: ServiceResourceAttachmentApi.
|
|
88
|
+
@api_client.config.logger.debug 'Calling API: ServiceResourceAttachmentApi.service_resource_attachment_pk_delete ...'
|
|
89
89
|
end
|
|
90
90
|
# verify the required parameter 'pk' is set
|
|
91
91
|
if @api_client.config.client_side_validation && pk.nil?
|
|
92
|
-
fail ArgumentError, "Missing the required parameter 'pk' when calling ServiceResourceAttachmentApi.
|
|
92
|
+
fail ArgumentError, "Missing the required parameter 'pk' when calling ServiceResourceAttachmentApi.service_resource_attachment_pk_delete"
|
|
93
93
|
end
|
|
94
94
|
# resource path
|
|
95
|
-
local_var_path = '/service-resource-
|
|
95
|
+
local_var_path = '/service-resource-attachment/{pk}'.sub('{' + 'pk' + '}', CGI.escape(pk.to_s))
|
|
96
96
|
|
|
97
97
|
# query parameters
|
|
98
98
|
query_params = opts[:query_params] || {}
|
|
@@ -115,7 +115,7 @@ module AutosdeOpenapiClient
|
|
|
115
115
|
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
|
116
116
|
|
|
117
117
|
new_options = opts.merge(
|
|
118
|
-
:operation => :"ServiceResourceAttachmentApi.
|
|
118
|
+
:operation => :"ServiceResourceAttachmentApi.service_resource_attachment_pk_delete",
|
|
119
119
|
:header_params => header_params,
|
|
120
120
|
:query_params => query_params,
|
|
121
121
|
:form_params => form_params,
|
|
@@ -126,7 +126,7 @@ module AutosdeOpenapiClient
|
|
|
126
126
|
|
|
127
127
|
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
128
128
|
if @api_client.config.debugging
|
|
129
|
-
@api_client.config.logger.debug "API called: ServiceResourceAttachmentApi#
|
|
129
|
+
@api_client.config.logger.debug "API called: ServiceResourceAttachmentApi#service_resource_attachment_pk_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
130
130
|
end
|
|
131
131
|
return data, status_code, headers
|
|
132
132
|
end
|
|
@@ -134,24 +134,24 @@ module AutosdeOpenapiClient
|
|
|
134
134
|
# @param pk [Integer]
|
|
135
135
|
# @param [Hash] opts the optional parameters
|
|
136
136
|
# @return [Array<ServiceResourceAttachment>]
|
|
137
|
-
def
|
|
138
|
-
data, _status_code, _headers =
|
|
137
|
+
def service_resource_attachment_pk_get(pk, opts = {})
|
|
138
|
+
data, _status_code, _headers = service_resource_attachment_pk_get_with_http_info(pk, opts)
|
|
139
139
|
data
|
|
140
140
|
end
|
|
141
141
|
|
|
142
142
|
# @param pk [Integer]
|
|
143
143
|
# @param [Hash] opts the optional parameters
|
|
144
144
|
# @return [Array<(Array<ServiceResourceAttachment>, Integer, Hash)>] Array<ServiceResourceAttachment> data, response status code and response headers
|
|
145
|
-
def
|
|
145
|
+
def service_resource_attachment_pk_get_with_http_info(pk, opts = {})
|
|
146
146
|
if @api_client.config.debugging
|
|
147
|
-
@api_client.config.logger.debug 'Calling API: ServiceResourceAttachmentApi.
|
|
147
|
+
@api_client.config.logger.debug 'Calling API: ServiceResourceAttachmentApi.service_resource_attachment_pk_get ...'
|
|
148
148
|
end
|
|
149
149
|
# verify the required parameter 'pk' is set
|
|
150
150
|
if @api_client.config.client_side_validation && pk.nil?
|
|
151
|
-
fail ArgumentError, "Missing the required parameter 'pk' when calling ServiceResourceAttachmentApi.
|
|
151
|
+
fail ArgumentError, "Missing the required parameter 'pk' when calling ServiceResourceAttachmentApi.service_resource_attachment_pk_get"
|
|
152
152
|
end
|
|
153
153
|
# resource path
|
|
154
|
-
local_var_path = '/service-resource-
|
|
154
|
+
local_var_path = '/service-resource-attachment/{pk}'.sub('{' + 'pk' + '}', CGI.escape(pk.to_s))
|
|
155
155
|
|
|
156
156
|
# query parameters
|
|
157
157
|
query_params = opts[:query_params] || {}
|
|
@@ -174,7 +174,7 @@ module AutosdeOpenapiClient
|
|
|
174
174
|
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
|
175
175
|
|
|
176
176
|
new_options = opts.merge(
|
|
177
|
-
:operation => :"ServiceResourceAttachmentApi.
|
|
177
|
+
:operation => :"ServiceResourceAttachmentApi.service_resource_attachment_pk_get",
|
|
178
178
|
:header_params => header_params,
|
|
179
179
|
:query_params => query_params,
|
|
180
180
|
:form_params => form_params,
|
|
@@ -185,7 +185,7 @@ module AutosdeOpenapiClient
|
|
|
185
185
|
|
|
186
186
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
187
187
|
if @api_client.config.debugging
|
|
188
|
-
@api_client.config.logger.debug "API called: ServiceResourceAttachmentApi#
|
|
188
|
+
@api_client.config.logger.debug "API called: ServiceResourceAttachmentApi#service_resource_attachment_pk_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
189
189
|
end
|
|
190
190
|
return data, status_code, headers
|
|
191
191
|
end
|
|
@@ -193,24 +193,24 @@ module AutosdeOpenapiClient
|
|
|
193
193
|
# @param service_resource_attachment [ServiceResourceAttachment]
|
|
194
194
|
# @param [Hash] opts the optional parameters
|
|
195
195
|
# @return [ServiceResourceAttachment]
|
|
196
|
-
def
|
|
197
|
-
data, _status_code, _headers =
|
|
196
|
+
def service_resource_attachment_post(service_resource_attachment, opts = {})
|
|
197
|
+
data, _status_code, _headers = service_resource_attachment_post_with_http_info(service_resource_attachment, opts)
|
|
198
198
|
data
|
|
199
199
|
end
|
|
200
200
|
|
|
201
201
|
# @param service_resource_attachment [ServiceResourceAttachment]
|
|
202
202
|
# @param [Hash] opts the optional parameters
|
|
203
203
|
# @return [Array<(ServiceResourceAttachment, Integer, Hash)>] ServiceResourceAttachment data, response status code and response headers
|
|
204
|
-
def
|
|
204
|
+
def service_resource_attachment_post_with_http_info(service_resource_attachment, opts = {})
|
|
205
205
|
if @api_client.config.debugging
|
|
206
|
-
@api_client.config.logger.debug 'Calling API: ServiceResourceAttachmentApi.
|
|
206
|
+
@api_client.config.logger.debug 'Calling API: ServiceResourceAttachmentApi.service_resource_attachment_post ...'
|
|
207
207
|
end
|
|
208
208
|
# verify the required parameter 'service_resource_attachment' is set
|
|
209
209
|
if @api_client.config.client_side_validation && service_resource_attachment.nil?
|
|
210
|
-
fail ArgumentError, "Missing the required parameter 'service_resource_attachment' when calling ServiceResourceAttachmentApi.
|
|
210
|
+
fail ArgumentError, "Missing the required parameter 'service_resource_attachment' when calling ServiceResourceAttachmentApi.service_resource_attachment_post"
|
|
211
211
|
end
|
|
212
212
|
# resource path
|
|
213
|
-
local_var_path = '/service-resource-
|
|
213
|
+
local_var_path = '/service-resource-attachment'
|
|
214
214
|
|
|
215
215
|
# query parameters
|
|
216
216
|
query_params = opts[:query_params] || {}
|
|
@@ -235,7 +235,7 @@ module AutosdeOpenapiClient
|
|
|
235
235
|
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
|
236
236
|
|
|
237
237
|
new_options = opts.merge(
|
|
238
|
-
:operation => :"ServiceResourceAttachmentApi.
|
|
238
|
+
:operation => :"ServiceResourceAttachmentApi.service_resource_attachment_post",
|
|
239
239
|
:header_params => header_params,
|
|
240
240
|
:query_params => query_params,
|
|
241
241
|
:form_params => form_params,
|
|
@@ -246,7 +246,7 @@ module AutosdeOpenapiClient
|
|
|
246
246
|
|
|
247
247
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
248
248
|
if @api_client.config.debugging
|
|
249
|
-
@api_client.config.logger.debug "API called: ServiceResourceAttachmentApi#
|
|
249
|
+
@api_client.config.logger.debug "API called: ServiceResourceAttachmentApi#service_resource_attachment_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
250
250
|
end
|
|
251
251
|
return data, status_code, headers
|
|
252
252
|
end
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#Site Manager API
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.2.
|
|
6
|
+
The version of the OpenAPI document: 1.2.2
|
|
7
7
|
Contact: autosde@il.ibm.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 5.0.0
|
|
@@ -11,5 +11,5 @@ OpenAPI Generator version: 5.0.0
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
13
13
|
module AutosdeOpenapiClient
|
|
14
|
-
VERSION = '1.2.
|
|
14
|
+
VERSION = '1.2.2'
|
|
15
15
|
end
|
|
@@ -32,40 +32,40 @@ describe 'ServiceResourceAttachmentApi' do
|
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
34
|
|
|
35
|
-
# unit tests for
|
|
35
|
+
# unit tests for service_resource_attachment_get
|
|
36
36
|
# @param [Hash] opts the optional parameters
|
|
37
37
|
# @return [Array<ServiceResourceAttachment>]
|
|
38
|
-
describe '
|
|
38
|
+
describe 'service_resource_attachment_get test' do
|
|
39
39
|
it 'should work' do
|
|
40
40
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
41
41
|
end
|
|
42
42
|
end
|
|
43
43
|
|
|
44
|
-
# unit tests for
|
|
44
|
+
# unit tests for service_resource_attachment_pk_delete
|
|
45
45
|
# @param pk
|
|
46
46
|
# @param [Hash] opts the optional parameters
|
|
47
47
|
# @return [Array<ServiceResourceAttachment>]
|
|
48
|
-
describe '
|
|
48
|
+
describe 'service_resource_attachment_pk_delete test' do
|
|
49
49
|
it 'should work' do
|
|
50
50
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
51
51
|
end
|
|
52
52
|
end
|
|
53
53
|
|
|
54
|
-
# unit tests for
|
|
54
|
+
# unit tests for service_resource_attachment_pk_get
|
|
55
55
|
# @param pk
|
|
56
56
|
# @param [Hash] opts the optional parameters
|
|
57
57
|
# @return [Array<ServiceResourceAttachment>]
|
|
58
|
-
describe '
|
|
58
|
+
describe 'service_resource_attachment_pk_get test' do
|
|
59
59
|
it 'should work' do
|
|
60
60
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
61
61
|
end
|
|
62
62
|
end
|
|
63
63
|
|
|
64
|
-
# unit tests for
|
|
64
|
+
# unit tests for service_resource_attachment_post
|
|
65
65
|
# @param service_resource_attachment
|
|
66
66
|
# @param [Hash] opts the optional parameters
|
|
67
67
|
# @return [ServiceResourceAttachment]
|
|
68
|
-
describe '
|
|
68
|
+
describe 'service_resource_attachment_post test' do
|
|
69
69
|
it 'should work' do
|
|
70
70
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
71
71
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: autosde_openapi_client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.2.
|
|
4
|
+
version: 1.2.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenAPI-Generator
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-08-
|
|
11
|
+
date: 2022-08-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|
|
@@ -383,102 +383,102 @@ signing_key:
|
|
|
383
383
|
specification_version: 4
|
|
384
384
|
summary: Site Manager API Ruby Gem
|
|
385
385
|
test_files:
|
|
386
|
-
- spec/api/
|
|
387
|
-
- spec/api/host_api_spec.rb
|
|
388
|
-
- spec/api/account_api_spec.rb
|
|
389
|
-
- spec/api/service_api_spec.rb
|
|
386
|
+
- spec/api/storage_resource_api_spec.rb
|
|
390
387
|
- spec/api/provisioning_strategy_api_spec.rb
|
|
391
|
-
- spec/api/capability_translation_api_spec.rb
|
|
392
|
-
- spec/api/profile_api_spec.rb
|
|
393
|
-
- spec/api/volume_safe_delete_api_spec.rb
|
|
394
|
-
- spec/api/storage_hosts_mapping_api_spec.rb
|
|
395
|
-
- spec/api/volume_api_spec.rb
|
|
396
|
-
- spec/api/refresh_system_api_spec.rb
|
|
397
|
-
- spec/api/address_api_spec.rb
|
|
398
|
-
- spec/api/host_cluster_volume_mapping_api_spec.rb
|
|
399
388
|
- spec/api/service_resource_attachment_api_spec.rb
|
|
400
|
-
- spec/api/
|
|
389
|
+
- spec/api/authentication_api_spec.rb
|
|
390
|
+
- spec/api/user_api_spec.rb
|
|
391
|
+
- spec/api/volume_api_spec.rb
|
|
392
|
+
- spec/api/system_type_api_spec.rb
|
|
393
|
+
- spec/api/service_api_spec.rb
|
|
394
|
+
- spec/api/capability_translation_api_spec.rb
|
|
395
|
+
- spec/api/host_api_spec.rb
|
|
401
396
|
- spec/api/storage_system_api_spec.rb
|
|
397
|
+
- spec/api/host_cluster_api_spec.rb
|
|
398
|
+
- spec/api/host_cluster_volume_mapping_api_spec.rb
|
|
399
|
+
- spec/api/native_capability_api_spec.rb
|
|
400
|
+
- spec/api/host_cluster_membership_api_spec.rb
|
|
401
|
+
- spec/api/celery_config_api_spec.rb
|
|
402
402
|
- spec/api/auto_sde_project_api_spec.rb
|
|
403
|
-
- spec/api/
|
|
404
|
-
- spec/api/
|
|
403
|
+
- spec/api/refresh_system_api_spec.rb
|
|
404
|
+
- spec/api/host_volume_connection_api_spec.rb
|
|
405
405
|
- spec/api/storage_host_api_spec.rb
|
|
406
|
-
- spec/api/
|
|
407
|
-
- spec/api/
|
|
406
|
+
- spec/api/event_api_spec.rb
|
|
407
|
+
- spec/api/volume_safe_delete_api_spec.rb
|
|
408
|
+
- spec/api/account_api_spec.rb
|
|
408
409
|
- spec/api/snapshot_api_spec.rb
|
|
409
|
-
- spec/api/host_volume_connection_api_spec.rb
|
|
410
|
-
- spec/api/celery_config_api_spec.rb
|
|
411
|
-
- spec/api/validate_system_api_spec.rb
|
|
412
|
-
- spec/api/native_capability_api_spec.rb
|
|
413
410
|
- spec/api/auto_sde_role_api_spec.rb
|
|
414
|
-
- spec/api/
|
|
415
|
-
- spec/api/
|
|
416
|
-
- spec/api/
|
|
411
|
+
- spec/api/profile_api_spec.rb
|
|
412
|
+
- spec/api/storage_hosts_mapping_api_spec.rb
|
|
413
|
+
- spec/api/abstract_capability_api_spec.rb
|
|
414
|
+
- spec/api/validate_system_api_spec.rb
|
|
417
415
|
- spec/api/job_api_spec.rb
|
|
416
|
+
- spec/api/storage_host_wwpn_candidates_api_spec.rb
|
|
417
|
+
- spec/api/address_api_spec.rb
|
|
418
418
|
- spec/api_client_spec.rb
|
|
419
419
|
- spec/configuration_spec.rb
|
|
420
|
-
- spec/models/
|
|
421
|
-
- spec/models/
|
|
422
|
-
- spec/models/
|
|
423
|
-
- spec/models/storage_host_create_spec.rb
|
|
424
|
-
- spec/models/volume_response_spec.rb
|
|
420
|
+
- spec/models/storage_resource_spec.rb
|
|
421
|
+
- spec/models/host_cluster_spec.rb
|
|
422
|
+
- spec/models/user_spec.rb
|
|
425
423
|
- spec/models/account_post_response_spec.rb
|
|
426
|
-
- spec/models/host_cluster_volume_mapping_response_spec.rb
|
|
427
|
-
- spec/models/provisioning_strategy_spec.rb
|
|
428
|
-
- spec/models/event_spec.rb
|
|
429
|
-
- spec/models/host_cluster_membership_spec.rb
|
|
430
|
-
- spec/models/refresh_system_spec.rb
|
|
431
|
-
- spec/models/validate_system_spec.rb
|
|
432
|
-
- spec/models/capability_translation_spec.rb
|
|
433
|
-
- spec/models/volume_safe_delete_spec.rb
|
|
434
|
-
- spec/models/host_create_spec.rb
|
|
435
|
-
- spec/models/job_spec.rb
|
|
436
|
-
- spec/models/host_cluster_create_spec.rb
|
|
437
424
|
- spec/models/account_spec.rb
|
|
438
|
-
- spec/models/
|
|
425
|
+
- spec/models/host_cluster_response_spec.rb
|
|
426
|
+
- spec/models/volume_safe_delete_create_spec.rb
|
|
427
|
+
- spec/models/job_spec.rb
|
|
439
428
|
- spec/models/storage_resource_create_spec.rb
|
|
440
|
-
- spec/models/
|
|
441
|
-
- spec/models/
|
|
442
|
-
- spec/models/authentication_spec.rb
|
|
443
|
-
- spec/models/user_create_spec.rb
|
|
429
|
+
- spec/models/volume_spec.rb
|
|
430
|
+
- spec/models/service_spec.rb
|
|
444
431
|
- spec/models/snapshot_create_spec.rb
|
|
432
|
+
- spec/models/volume_create_spec.rb
|
|
433
|
+
- spec/models/system_type_create_spec.rb
|
|
434
|
+
- spec/models/celery_config_spec.rb
|
|
435
|
+
- spec/models/event_spec.rb
|
|
436
|
+
- spec/models/address_spec.rb
|
|
437
|
+
- spec/models/storage_host_wwpn_candidates_spec.rb
|
|
438
|
+
- spec/models/host_volume_connection_spec.rb
|
|
439
|
+
- spec/models/host_create_spec.rb
|
|
440
|
+
- spec/models/system_type_spec.rb
|
|
441
|
+
- spec/models/storage_hosts_mapping_spec.rb
|
|
442
|
+
- spec/models/storage_system_create_spec.rb
|
|
443
|
+
- spec/models/service_resource_attachment_spec.rb
|
|
444
|
+
- spec/models/auto_sde_project_spec.rb
|
|
445
445
|
- spec/models/user_update_spec.rb
|
|
446
|
+
- spec/models/abstract_capability_spec.rb
|
|
447
|
+
- spec/models/storage_system_update_spec.rb
|
|
448
|
+
- spec/models/volume_response_spec.rb
|
|
449
|
+
- spec/models/profile_spec.rb
|
|
450
|
+
- spec/models/provisioning_strategy_spec.rb
|
|
451
|
+
- spec/models/host_cluster_create_spec.rb
|
|
446
452
|
- spec/models/auth_response_spec.rb
|
|
453
|
+
- spec/models/storage_host_create_spec.rb
|
|
454
|
+
- spec/models/storage_host_response_spec.rb
|
|
455
|
+
- spec/models/address_create_spec.rb
|
|
456
|
+
- spec/models/account_post_request_spec.rb
|
|
457
|
+
- spec/models/host_cluster_volume_mapping_spec.rb
|
|
458
|
+
- spec/models/storage_hosts_mapping_response_spec.rb
|
|
459
|
+
- spec/models/storage_system_spec.rb
|
|
447
460
|
- spec/models/native_capability_spec.rb
|
|
448
|
-
- spec/models/
|
|
449
|
-
- spec/models/
|
|
450
|
-
- spec/models/
|
|
451
|
-
- spec/models/
|
|
461
|
+
- spec/models/event_response_spec.rb
|
|
462
|
+
- spec/models/service_create_spec.rb
|
|
463
|
+
- spec/models/host_spec.rb
|
|
464
|
+
- spec/models/authentication_spec.rb
|
|
452
465
|
- spec/models/storage_resource_response_spec.rb
|
|
466
|
+
- spec/models/user_create_spec.rb
|
|
467
|
+
- spec/models/auto_sde_role_spec.rb
|
|
468
|
+
- spec/models/service_abstract_capability_value_spec.rb
|
|
469
|
+
- spec/models/host_cluster_volume_mapping_create_spec.rb
|
|
470
|
+
- spec/models/validate_system_spec.rb
|
|
471
|
+
- spec/models/capability_translation_spec.rb
|
|
472
|
+
- spec/models/volume_update_spec.rb
|
|
473
|
+
- spec/models/host_cluster_volume_mapping_response_spec.rb
|
|
453
474
|
- spec/models/snapshot_spec.rb
|
|
454
|
-
- spec/models/
|
|
455
|
-
- spec/models/
|
|
456
|
-
- spec/models/
|
|
457
|
-
- spec/models/
|
|
475
|
+
- spec/models/refresh_system_spec.rb
|
|
476
|
+
- spec/models/storage_hosts_mapping_create_spec.rb
|
|
477
|
+
- spec/models/job_create_spec.rb
|
|
478
|
+
- spec/models/host_cluster_membership_spec.rb
|
|
458
479
|
- spec/models/host_volume_connection_create_spec.rb
|
|
459
480
|
- spec/models/capability_translation_create_spec.rb
|
|
460
|
-
- spec/models/
|
|
461
|
-
- spec/models/
|
|
462
|
-
- spec/models/host_cluster_spec.rb
|
|
463
|
-
- spec/models/storage_system_create_spec.rb
|
|
464
|
-
- spec/models/event_response_spec.rb
|
|
465
|
-
- spec/models/volume_update_spec.rb
|
|
466
|
-
- spec/models/celery_config_spec.rb
|
|
467
|
-
- spec/models/user_spec.rb
|
|
468
|
-
- spec/models/address_spec.rb
|
|
469
|
-
- spec/models/host_cluster_volume_mapping_spec.rb
|
|
470
|
-
- spec/models/system_type_create_spec.rb
|
|
471
|
-
- spec/models/storage_hosts_mapping_response_spec.rb
|
|
472
|
-
- spec/models/storage_host_wwpn_candidates_spec.rb
|
|
473
|
-
- spec/models/auto_sde_project_spec.rb
|
|
474
|
-
- spec/models/service_resource_attachment_spec.rb
|
|
475
|
-
- spec/models/volume_spec.rb
|
|
476
|
-
- spec/models/storage_system_update_spec.rb
|
|
481
|
+
- spec/models/volume_safe_delete_spec.rb
|
|
482
|
+
- spec/models/storage_host_update_spec.rb
|
|
477
483
|
- spec/models/storage_host_spec.rb
|
|
478
|
-
- spec/models/host_volume_connection_spec.rb
|
|
479
|
-
- spec/models/storage_host_response_spec.rb
|
|
480
|
-
- spec/models/service_abstract_capability_value_spec.rb
|
|
481
|
-
- spec/models/abstract_capability_spec.rb
|
|
482
|
-
- spec/models/profile_spec.rb
|
|
483
|
-
- spec/models/volume_create_spec.rb
|
|
484
484
|
- spec/spec_helper.rb
|