aspose_diagram_cloud 18.10.3 → 19.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/{aspose_diagram_cloud.gemspec → AsposeDiagramCloud.gemspec} +5 -5
- data/README.md +94 -124
- data/docs/{FileFormatRequest.md → CreateNewResponse.md} +2 -2
- data/docs/DiagramApi.md +241 -0
- data/docs/DiagramSaveOptions.md +10 -0
- data/docs/DiscUsage.md +9 -0
- data/docs/Error.md +11 -0
- data/docs/ErrorDetails.md +9 -0
- data/docs/FileVersion.md +14 -0
- data/docs/FileVersions.md +8 -0
- data/docs/FilesList.md +8 -0
- data/docs/FilesUploadResult.md +9 -0
- data/docs/HTMLSaveOptions.md +19 -0
- data/docs/ImageSaveOptions.md +29 -0
- data/docs/ModifyResponse.md +9 -0
- data/docs/OAuthApi.md +3 -3
- data/docs/ObjectExist.md +9 -0
- data/docs/PageSize.md +8 -0
- data/docs/PdfDigitalSignatureDetails.md +11 -0
- data/docs/PdfEncryptionDetails.md +11 -0
- data/docs/PdfSaveOptions.md +25 -0
- data/docs/PointF.md +10 -0
- data/docs/RectangleF.md +18 -0
- data/docs/RenderingSaveOptions.md +13 -0
- data/docs/SVGSaveOptions.md +18 -0
- data/docs/SWFSaveOptions.md +13 -0
- data/docs/SaaSposeResponse.md +0 -2
- data/docs/SaveAsResponse.md +10 -0
- data/docs/SaveOptionsModel.md +9 -0
- data/docs/SaveOptionsRequest.md +10 -0
- data/docs/StorageApi.md +799 -0
- data/docs/StorageExist.md +8 -0
- data/docs/StorageFile.md +12 -0
- data/docs/{SharpModel.md → UploadResponse.md} +2 -2
- data/docs/XAMLSaveOptions.md +12 -0
- data/docs/XPSSaveOptions.md +13 -0
- data/lib/AsposeDiagramCloud.rb +74 -0
- data/lib/AsposeDiagramCloud/api/diagram_api.rb +300 -0
- data/lib/{aspose_diagram_cloud → AsposeDiagramCloud}/api/o_auth_api.rb +3 -3
- data/lib/AsposeDiagramCloud/api/storage_api.rb +905 -0
- data/lib/{aspose_diagram_cloud → AsposeDiagramCloud}/api_client.rb +7 -4
- data/lib/{aspose_diagram_cloud → AsposeDiagramCloud}/api_error.rb +2 -2
- data/lib/{aspose_diagram_cloud → AsposeDiagramCloud}/configuration.rb +4 -18
- data/lib/{aspose_diagram_cloud → AsposeDiagramCloud}/models/access_token_response.rb +2 -2
- data/lib/{aspose_diagram_cloud/models/file_format_request.rb → AsposeDiagramCloud/models/create_new_response.rb} +10 -10
- data/lib/AsposeDiagramCloud/models/diagram_save_options.rb +244 -0
- data/lib/{aspose_diagram_cloud/models/link.rb → AsposeDiagramCloud/models/disc_usage.rb} +29 -35
- data/lib/AsposeDiagramCloud/models/error.rb +219 -0
- data/lib/{aspose_diagram_cloud/models/saa_spose_response.rb → AsposeDiagramCloud/models/error_details.rb} +22 -20
- data/lib/AsposeDiagramCloud/models/file_version.rb +264 -0
- data/lib/{aspose_diagram_cloud/models/page_model.rb → AsposeDiagramCloud/models/file_versions.rb} +13 -21
- data/lib/AsposeDiagramCloud/models/files_list.rb +191 -0
- data/lib/AsposeDiagramCloud/models/files_upload_result.rb +203 -0
- data/lib/AsposeDiagramCloud/models/html_save_options.rb +330 -0
- data/lib/AsposeDiagramCloud/models/image_save_options.rb +492 -0
- data/lib/AsposeDiagramCloud/models/modify_response.rb +202 -0
- data/lib/{aspose_diagram_cloud/models/diagram_response.rb → AsposeDiagramCloud/models/object_exist.rb} +27 -29
- data/lib/AsposeDiagramCloud/models/page_size.rb +221 -0
- data/lib/AsposeDiagramCloud/models/pdf_digital_signature_details.rb +248 -0
- data/lib/AsposeDiagramCloud/models/pdf_encryption_details.rb +260 -0
- data/lib/AsposeDiagramCloud/models/pdf_save_options.rb +408 -0
- data/lib/{aspose_diagram_cloud/models/save_result.rb → AsposeDiagramCloud/models/point_f.rb} +37 -24
- data/lib/AsposeDiagramCloud/models/rectangle_f.rb +333 -0
- data/lib/AsposeDiagramCloud/models/rendering_save_options.rb +276 -0
- data/lib/{aspose_diagram_cloud/models/sharp_model.rb → AsposeDiagramCloud/models/saa_spose_response.rb} +5 -14
- data/lib/{aspose_diagram_cloud/models/save_response.rb → AsposeDiagramCloud/models/save_as_response.rb} +24 -27
- data/lib/AsposeDiagramCloud/models/save_options_model.rb +235 -0
- data/lib/{aspose_diagram_cloud/models/diagram_model.rb → AsposeDiagramCloud/models/save_options_request.rb} +19 -12
- data/lib/AsposeDiagramCloud/models/storage_exist.rb +194 -0
- data/lib/AsposeDiagramCloud/models/storage_file.rb +239 -0
- data/lib/AsposeDiagramCloud/models/svg_save_options.rb +321 -0
- data/lib/AsposeDiagramCloud/models/swf_save_options.rb +271 -0
- data/lib/AsposeDiagramCloud/models/upload_response.rb +188 -0
- data/lib/AsposeDiagramCloud/models/xaml_save_options.rb +262 -0
- data/lib/AsposeDiagramCloud/models/xps_save_options.rb +271 -0
- data/lib/{aspose_diagram_cloud → AsposeDiagramCloud}/version.rb +3 -3
- data/spec/api/test_convert_spec.rb +308 -0
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +5 -5
- data/spec/spec_helper.rb +10 -6
- data/testData/FileUpload.vdx +437 -0
- metadata +80 -55
- data/docs/DiagramFileApi.md +0 -228
- data/docs/DiagramModel.md +0 -9
- data/docs/DiagramResponse.md +0 -10
- data/docs/Link.md +0 -11
- data/docs/PageModel.md +0 -9
- data/docs/SaveResponse.md +0 -10
- data/docs/SaveResult.md +0 -10
- data/lib/aspose_diagram_cloud.rb +0 -51
- data/lib/aspose_diagram_cloud/api/diagram_file_api.rb +0 -304
- data/spec/api/diagram_file_api_spec.rb +0 -118
- data/spec/api/o_auth_api_spec.rb +0 -56
- data/spec/models/access_token_response_spec.rb +0 -84
- data/spec/models/diagram_model_spec.rb +0 -48
- data/spec/models/diagram_response_spec.rb +0 -54
- data/spec/models/file_format_request_spec.rb +0 -42
- data/spec/models/link_spec.rb +0 -60
- data/spec/models/page_model_spec.rb +0 -48
- data/spec/models/saa_spose_response_spec.rb +0 -48
- data/spec/models/save_response_spec.rb +0 -54
- data/spec/models/save_result_spec.rb +0 -54
- data/spec/models/sharp_model_spec.rb +0 -42
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aspose_diagram_cloud
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: '19.10'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- AsposeCloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-11-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -192,60 +192,96 @@ dependencies:
|
|
192
192
|
version: 0.2.12
|
193
193
|
description: Ruby library for communicating with the Aspose.Diagram Cloud API
|
194
194
|
email:
|
195
|
-
-
|
195
|
+
- aspose.cloud@asposeptyltd.com
|
196
196
|
executables: []
|
197
197
|
extensions: []
|
198
198
|
extra_rdoc_files: []
|
199
199
|
files:
|
200
|
+
- AsposeDiagramCloud.gemspec
|
200
201
|
- Gemfile
|
201
202
|
- README.md
|
202
203
|
- Rakefile
|
203
|
-
- aspose_diagram_cloud.gemspec
|
204
204
|
- docs/AccessTokenResponse.md
|
205
|
-
- docs/
|
206
|
-
- docs/
|
207
|
-
- docs/
|
208
|
-
- docs/
|
209
|
-
- docs/
|
205
|
+
- docs/CreateNewResponse.md
|
206
|
+
- docs/DiagramApi.md
|
207
|
+
- docs/DiagramSaveOptions.md
|
208
|
+
- docs/DiscUsage.md
|
209
|
+
- docs/Error.md
|
210
|
+
- docs/ErrorDetails.md
|
211
|
+
- docs/FileVersion.md
|
212
|
+
- docs/FileVersions.md
|
213
|
+
- docs/FilesList.md
|
214
|
+
- docs/FilesUploadResult.md
|
215
|
+
- docs/HTMLSaveOptions.md
|
216
|
+
- docs/ImageSaveOptions.md
|
217
|
+
- docs/ModifyResponse.md
|
210
218
|
- docs/OAuthApi.md
|
211
|
-
- docs/
|
219
|
+
- docs/ObjectExist.md
|
220
|
+
- docs/PageSize.md
|
221
|
+
- docs/PdfDigitalSignatureDetails.md
|
222
|
+
- docs/PdfEncryptionDetails.md
|
223
|
+
- docs/PdfSaveOptions.md
|
224
|
+
- docs/PointF.md
|
225
|
+
- docs/RectangleF.md
|
226
|
+
- docs/RenderingSaveOptions.md
|
227
|
+
- docs/SVGSaveOptions.md
|
228
|
+
- docs/SWFSaveOptions.md
|
212
229
|
- docs/SaaSposeResponse.md
|
213
|
-
- docs/
|
214
|
-
- docs/
|
215
|
-
- docs/
|
230
|
+
- docs/SaveAsResponse.md
|
231
|
+
- docs/SaveOptionsModel.md
|
232
|
+
- docs/SaveOptionsRequest.md
|
233
|
+
- docs/StorageApi.md
|
234
|
+
- docs/StorageExist.md
|
235
|
+
- docs/StorageFile.md
|
236
|
+
- docs/UploadResponse.md
|
237
|
+
- docs/XAMLSaveOptions.md
|
238
|
+
- docs/XPSSaveOptions.md
|
216
239
|
- git_push.sh
|
217
|
-
- lib/
|
218
|
-
- lib/
|
219
|
-
- lib/
|
220
|
-
- lib/
|
221
|
-
- lib/
|
222
|
-
- lib/
|
223
|
-
- lib/
|
224
|
-
- lib/
|
225
|
-
- lib/
|
226
|
-
- lib/
|
227
|
-
- lib/
|
228
|
-
- lib/
|
229
|
-
- lib/
|
230
|
-
- lib/
|
231
|
-
- lib/
|
232
|
-
- lib/
|
233
|
-
- lib/
|
234
|
-
-
|
235
|
-
-
|
240
|
+
- lib/AsposeDiagramCloud.rb
|
241
|
+
- lib/AsposeDiagramCloud/api/diagram_api.rb
|
242
|
+
- lib/AsposeDiagramCloud/api/o_auth_api.rb
|
243
|
+
- lib/AsposeDiagramCloud/api/storage_api.rb
|
244
|
+
- lib/AsposeDiagramCloud/api_client.rb
|
245
|
+
- lib/AsposeDiagramCloud/api_error.rb
|
246
|
+
- lib/AsposeDiagramCloud/configuration.rb
|
247
|
+
- lib/AsposeDiagramCloud/models/access_token_response.rb
|
248
|
+
- lib/AsposeDiagramCloud/models/create_new_response.rb
|
249
|
+
- lib/AsposeDiagramCloud/models/diagram_save_options.rb
|
250
|
+
- lib/AsposeDiagramCloud/models/disc_usage.rb
|
251
|
+
- lib/AsposeDiagramCloud/models/error.rb
|
252
|
+
- lib/AsposeDiagramCloud/models/error_details.rb
|
253
|
+
- lib/AsposeDiagramCloud/models/file_version.rb
|
254
|
+
- lib/AsposeDiagramCloud/models/file_versions.rb
|
255
|
+
- lib/AsposeDiagramCloud/models/files_list.rb
|
256
|
+
- lib/AsposeDiagramCloud/models/files_upload_result.rb
|
257
|
+
- lib/AsposeDiagramCloud/models/html_save_options.rb
|
258
|
+
- lib/AsposeDiagramCloud/models/image_save_options.rb
|
259
|
+
- lib/AsposeDiagramCloud/models/modify_response.rb
|
260
|
+
- lib/AsposeDiagramCloud/models/object_exist.rb
|
261
|
+
- lib/AsposeDiagramCloud/models/page_size.rb
|
262
|
+
- lib/AsposeDiagramCloud/models/pdf_digital_signature_details.rb
|
263
|
+
- lib/AsposeDiagramCloud/models/pdf_encryption_details.rb
|
264
|
+
- lib/AsposeDiagramCloud/models/pdf_save_options.rb
|
265
|
+
- lib/AsposeDiagramCloud/models/point_f.rb
|
266
|
+
- lib/AsposeDiagramCloud/models/rectangle_f.rb
|
267
|
+
- lib/AsposeDiagramCloud/models/rendering_save_options.rb
|
268
|
+
- lib/AsposeDiagramCloud/models/saa_spose_response.rb
|
269
|
+
- lib/AsposeDiagramCloud/models/save_as_response.rb
|
270
|
+
- lib/AsposeDiagramCloud/models/save_options_model.rb
|
271
|
+
- lib/AsposeDiagramCloud/models/save_options_request.rb
|
272
|
+
- lib/AsposeDiagramCloud/models/storage_exist.rb
|
273
|
+
- lib/AsposeDiagramCloud/models/storage_file.rb
|
274
|
+
- lib/AsposeDiagramCloud/models/svg_save_options.rb
|
275
|
+
- lib/AsposeDiagramCloud/models/swf_save_options.rb
|
276
|
+
- lib/AsposeDiagramCloud/models/upload_response.rb
|
277
|
+
- lib/AsposeDiagramCloud/models/xaml_save_options.rb
|
278
|
+
- lib/AsposeDiagramCloud/models/xps_save_options.rb
|
279
|
+
- lib/AsposeDiagramCloud/version.rb
|
280
|
+
- spec/api/test_convert_spec.rb
|
236
281
|
- spec/api_client_spec.rb
|
237
282
|
- spec/configuration_spec.rb
|
238
|
-
- spec/models/access_token_response_spec.rb
|
239
|
-
- spec/models/diagram_model_spec.rb
|
240
|
-
- spec/models/diagram_response_spec.rb
|
241
|
-
- spec/models/file_format_request_spec.rb
|
242
|
-
- spec/models/link_spec.rb
|
243
|
-
- spec/models/page_model_spec.rb
|
244
|
-
- spec/models/saa_spose_response_spec.rb
|
245
|
-
- spec/models/save_response_spec.rb
|
246
|
-
- spec/models/save_result_spec.rb
|
247
|
-
- spec/models/sharp_model_spec.rb
|
248
283
|
- spec/spec_helper.rb
|
284
|
+
- testData/FileUpload.vdx
|
249
285
|
homepage: https://github.com/aspose-diagram-cloud/aspose-diagram-cloud-ruby
|
250
286
|
licenses:
|
251
287
|
- MIT
|
@@ -271,18 +307,7 @@ signing_key:
|
|
271
307
|
specification_version: 4
|
272
308
|
summary: Aspose.Diagram Cloud API
|
273
309
|
test_files:
|
274
|
-
- spec/api/
|
275
|
-
- spec/api/o_auth_api_spec.rb
|
310
|
+
- spec/api/test_convert_spec.rb
|
276
311
|
- spec/api_client_spec.rb
|
277
312
|
- spec/configuration_spec.rb
|
278
|
-
- spec/models/access_token_response_spec.rb
|
279
|
-
- spec/models/diagram_model_spec.rb
|
280
|
-
- spec/models/diagram_response_spec.rb
|
281
|
-
- spec/models/file_format_request_spec.rb
|
282
|
-
- spec/models/link_spec.rb
|
283
|
-
- spec/models/page_model_spec.rb
|
284
|
-
- spec/models/saa_spose_response_spec.rb
|
285
|
-
- spec/models/save_response_spec.rb
|
286
|
-
- spec/models/save_result_spec.rb
|
287
|
-
- spec/models/sharp_model_spec.rb
|
288
313
|
- spec/spec_helper.rb
|
data/docs/DiagramFileApi.md
DELETED
@@ -1,228 +0,0 @@
|
|
1
|
-
# AsposeDiagramCloud::DiagramFileApi
|
2
|
-
|
3
|
-
All URIs are relative to *https://api.aspose.cloud/v1.1/*
|
4
|
-
|
5
|
-
Method | HTTP request | Description
|
6
|
-
------------- | ------------- | -------------
|
7
|
-
[**diagram_file_get_diagram**](DiagramFileApi.md#diagram_file_get_diagram) | **GET** /diagram/{name} | Read document info or export.
|
8
|
-
[**diagram_file_post_save_as**](DiagramFileApi.md#diagram_file_post_save_as) | **POST** /diagram/{name}/SaveAs | Convert document and save result to storage.
|
9
|
-
[**diagram_file_put_create**](DiagramFileApi.md#diagram_file_put_create) | **PUT** /diagram/{name} | Create new diagram and save result to storage.
|
10
|
-
[**diagram_file_put_upload**](DiagramFileApi.md#diagram_file_put_upload) | **PUT** /diagram/{name}/upload | Upload file and save result to storage.
|
11
|
-
|
12
|
-
|
13
|
-
# **diagram_file_get_diagram**
|
14
|
-
> File diagram_file_get_diagram(name, opts)
|
15
|
-
|
16
|
-
Read document info or export.
|
17
|
-
|
18
|
-
### Example
|
19
|
-
```ruby
|
20
|
-
# load the gem
|
21
|
-
require 'aspose_diagram_cloud'
|
22
|
-
|
23
|
-
api_instance = AsposeDiagramCloud::DiagramFileApi.new
|
24
|
-
|
25
|
-
name = "name_example" # String | The document name.
|
26
|
-
|
27
|
-
opts = {
|
28
|
-
format: "format_example", # String | The exported file format.
|
29
|
-
folder: "folder_example", # String | The document folder.
|
30
|
-
storage: "storage_example" # String | storage name.
|
31
|
-
}
|
32
|
-
|
33
|
-
begin
|
34
|
-
#Read document info or export.
|
35
|
-
result = api_instance.diagram_file_get_diagram(name, opts)
|
36
|
-
p result
|
37
|
-
rescue AsposeDiagramCloud::ApiError => e
|
38
|
-
puts "Exception when calling DiagramFileApi->diagram_file_get_diagram: #{e}"
|
39
|
-
end
|
40
|
-
```
|
41
|
-
|
42
|
-
### Parameters
|
43
|
-
|
44
|
-
Name | Type | Description | Notes
|
45
|
-
------------- | ------------- | ------------- | -------------
|
46
|
-
**name** | **String**| The document name. |
|
47
|
-
**format** | **String**| The exported file format. | [optional]
|
48
|
-
**folder** | **String**| The document folder. | [optional]
|
49
|
-
**storage** | **String**| storage name. | [optional]
|
50
|
-
|
51
|
-
### Return type
|
52
|
-
|
53
|
-
**File**
|
54
|
-
|
55
|
-
### Authorization
|
56
|
-
|
57
|
-
No authorization required
|
58
|
-
|
59
|
-
### HTTP request headers
|
60
|
-
|
61
|
-
- **Content-Type**: application/json
|
62
|
-
- **Accept**: application/json
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
# **diagram_file_post_save_as**
|
67
|
-
> SaveResponse diagram_file_post_save_as(name, opts)
|
68
|
-
|
69
|
-
Convert document and save result to storage.
|
70
|
-
|
71
|
-
### Example
|
72
|
-
```ruby
|
73
|
-
# load the gem
|
74
|
-
require 'aspose_diagram_cloud'
|
75
|
-
|
76
|
-
api_instance = AsposeDiagramCloud::DiagramFileApi.new
|
77
|
-
|
78
|
-
name = "name_example" # String | The document name.
|
79
|
-
|
80
|
-
opts = {
|
81
|
-
format: AsposeDiagramCloud::FileFormatRequest.new, # FileFormatRequest | Save format.
|
82
|
-
newfilename: "newfilename_example", # String | The new file name.
|
83
|
-
folder: "folder_example", # String | The document folder.
|
84
|
-
is_overwrite: false, # BOOLEAN | If true overwrite the same name file.The default value is false.
|
85
|
-
storage: "storage_example" # String | storage name.
|
86
|
-
}
|
87
|
-
|
88
|
-
begin
|
89
|
-
#Convert document and save result to storage.
|
90
|
-
result = api_instance.diagram_file_post_save_as(name, opts)
|
91
|
-
p result
|
92
|
-
rescue AsposeDiagramCloud::ApiError => e
|
93
|
-
puts "Exception when calling DiagramFileApi->diagram_file_post_save_as: #{e}"
|
94
|
-
end
|
95
|
-
```
|
96
|
-
|
97
|
-
### Parameters
|
98
|
-
|
99
|
-
Name | Type | Description | Notes
|
100
|
-
------------- | ------------- | ------------- | -------------
|
101
|
-
**name** | **String**| The document name. |
|
102
|
-
**format** | [**FileFormatRequest**](FileFormatRequest.md)| Save format. | [optional]
|
103
|
-
**newfilename** | **String**| The new file name. | [optional]
|
104
|
-
**folder** | **String**| The document folder. | [optional]
|
105
|
-
**is_overwrite** | **BOOLEAN**| If true overwrite the same name file.The default value is false. | [optional] [default to false]
|
106
|
-
**storage** | **String**| storage name. | [optional]
|
107
|
-
|
108
|
-
### Return type
|
109
|
-
|
110
|
-
[**SaveResponse**](SaveResponse.md)
|
111
|
-
|
112
|
-
### Authorization
|
113
|
-
|
114
|
-
No authorization required
|
115
|
-
|
116
|
-
### HTTP request headers
|
117
|
-
|
118
|
-
- **Content-Type**: application/json
|
119
|
-
- **Accept**: application/json
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
# **diagram_file_put_create**
|
124
|
-
> SaaSposeResponse diagram_file_put_create(name, opts)
|
125
|
-
|
126
|
-
Create new diagram and save result to storage.
|
127
|
-
|
128
|
-
### Example
|
129
|
-
```ruby
|
130
|
-
# load the gem
|
131
|
-
require 'aspose_diagram_cloud'
|
132
|
-
|
133
|
-
api_instance = AsposeDiagramCloud::DiagramFileApi.new
|
134
|
-
|
135
|
-
name = "name_example" # String | The new document name.
|
136
|
-
|
137
|
-
opts = {
|
138
|
-
folder: "folder_example", # String | The new document folder.
|
139
|
-
is_overwrite: false, # BOOLEAN | If true overwrite the same name file.The default value is false.
|
140
|
-
storage: "storage_example" # String | storage name.
|
141
|
-
}
|
142
|
-
|
143
|
-
begin
|
144
|
-
#Create new diagram and save result to storage.
|
145
|
-
result = api_instance.diagram_file_put_create(name, opts)
|
146
|
-
p result
|
147
|
-
rescue AsposeDiagramCloud::ApiError => e
|
148
|
-
puts "Exception when calling DiagramFileApi->diagram_file_put_create: #{e}"
|
149
|
-
end
|
150
|
-
```
|
151
|
-
|
152
|
-
### Parameters
|
153
|
-
|
154
|
-
Name | Type | Description | Notes
|
155
|
-
------------- | ------------- | ------------- | -------------
|
156
|
-
**name** | **String**| The new document name. |
|
157
|
-
**folder** | **String**| The new document folder. | [optional]
|
158
|
-
**is_overwrite** | **BOOLEAN**| If true overwrite the same name file.The default value is false. | [optional] [default to false]
|
159
|
-
**storage** | **String**| storage name. | [optional]
|
160
|
-
|
161
|
-
### Return type
|
162
|
-
|
163
|
-
[**SaaSposeResponse**](SaaSposeResponse.md)
|
164
|
-
|
165
|
-
### Authorization
|
166
|
-
|
167
|
-
No authorization required
|
168
|
-
|
169
|
-
### HTTP request headers
|
170
|
-
|
171
|
-
- **Content-Type**: application/json
|
172
|
-
- **Accept**: application/json
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
# **diagram_file_put_upload**
|
177
|
-
> SaaSposeResponse diagram_file_put_upload(name, opts)
|
178
|
-
|
179
|
-
Upload file and save result to storage.
|
180
|
-
|
181
|
-
### Example
|
182
|
-
```ruby
|
183
|
-
# load the gem
|
184
|
-
require 'aspose_diagram_cloud'
|
185
|
-
|
186
|
-
api_instance = AsposeDiagramCloud::DiagramFileApi.new
|
187
|
-
|
188
|
-
name = "name_example" # String | The document name.
|
189
|
-
|
190
|
-
opts = {
|
191
|
-
folder: "folder_example", # String | The document folder.
|
192
|
-
is_overwrite: false, # BOOLEAN | If true overwrite the same name file.The default value is false.
|
193
|
-
storage: "storage_example" # String | storage name.
|
194
|
-
}
|
195
|
-
|
196
|
-
begin
|
197
|
-
#Upload file and save result to storage.
|
198
|
-
result = api_instance.diagram_file_put_upload(name, opts)
|
199
|
-
p result
|
200
|
-
rescue AsposeDiagramCloud::ApiError => e
|
201
|
-
puts "Exception when calling DiagramFileApi->diagram_file_put_upload: #{e}"
|
202
|
-
end
|
203
|
-
```
|
204
|
-
|
205
|
-
### Parameters
|
206
|
-
|
207
|
-
Name | Type | Description | Notes
|
208
|
-
------------- | ------------- | ------------- | -------------
|
209
|
-
**name** | **String**| The document name. |
|
210
|
-
**folder** | **String**| The document folder. | [optional]
|
211
|
-
**is_overwrite** | **BOOLEAN**| If true overwrite the same name file.The default value is false. | [optional] [default to false]
|
212
|
-
**storage** | **String**| storage name. | [optional]
|
213
|
-
|
214
|
-
### Return type
|
215
|
-
|
216
|
-
[**SaaSposeResponse**](SaaSposeResponse.md)
|
217
|
-
|
218
|
-
### Authorization
|
219
|
-
|
220
|
-
No authorization required
|
221
|
-
|
222
|
-
### HTTP request headers
|
223
|
-
|
224
|
-
- **Content-Type**: application/json
|
225
|
-
- **Accept**: application/json
|
226
|
-
|
227
|
-
|
228
|
-
|
data/docs/DiagramModel.md
DELETED
@@ -1,9 +0,0 @@
|
|
1
|
-
# AsposeDiagramCloud::DiagramModel
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**file_name** | **String** | | [optional]
|
7
|
-
**pages** | [**Array<PageModel>**](PageModel.md) | | [optional]
|
8
|
-
|
9
|
-
|
data/docs/DiagramResponse.md
DELETED
@@ -1,10 +0,0 @@
|
|
1
|
-
# AsposeDiagramCloud::DiagramResponse
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**status** | **String** | | [optional]
|
7
|
-
**code** | **Integer** | |
|
8
|
-
**diagram_model** | [**DiagramModel**](DiagramModel.md) | | [optional]
|
9
|
-
|
10
|
-
|
data/docs/Link.md
DELETED
@@ -1,11 +0,0 @@
|
|
1
|
-
# AsposeDiagramCloud::Link
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**href** | **String** | | [optional]
|
7
|
-
**type** | **String** | | [optional]
|
8
|
-
**rel** | **String** | | [optional]
|
9
|
-
**title** | **String** | | [optional]
|
10
|
-
|
11
|
-
|
data/docs/PageModel.md
DELETED
@@ -1,9 +0,0 @@
|
|
1
|
-
# AsposeDiagramCloud::PageModel
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**page_name** | **String** | | [optional]
|
7
|
-
**sharps** | [**Array<SharpModel>**](SharpModel.md) | | [optional]
|
8
|
-
|
9
|
-
|
data/docs/SaveResponse.md
DELETED
@@ -1,10 +0,0 @@
|
|
1
|
-
# AsposeDiagramCloud::SaveResponse
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**status** | **String** | | [optional]
|
7
|
-
**code** | **Integer** | |
|
8
|
-
**save_result** | [**SaveResult**](SaveResult.md) | | [optional]
|
9
|
-
|
10
|
-
|