aspose_cad_cloud 20.11 → 24.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aspose_cad_cloud/api/cad_api.rb +2778 -392
- data/lib/aspose_cad_cloud/configuration.rb +8 -1
- data/lib/aspose_cad_cloud/models/bitmap_compression.rb +27 -0
- data/lib/aspose_cad_cloud/models/bmp_options_dto.rb +2 -2
- data/lib/aspose_cad_cloud/models/cad_draw_type_mode.rb +21 -0
- data/lib/aspose_cad_cloud/models/cad_response.rb +48 -8
- data/lib/aspose_cad_cloud/models/{cff2_properties.rb → cf2_properties.rb} +3 -3
- data/lib/aspose_cad_cloud/models/cgm_options_dto.rb +281 -0
- data/lib/aspose_cad_cloud/models/color_modes.rb +27 -0
- data/lib/aspose_cad_cloud/models/compression_method.rb +23 -0
- data/lib/aspose_cad_cloud/models/dicom_options_dto.rb +281 -0
- data/lib/aspose_cad_cloud/models/draco_options_dto.rb +281 -0
- data/lib/aspose_cad_cloud/models/dwf_options_dto.rb +281 -0
- data/lib/aspose_cad_cloud/models/dxf_options_dto.rb +281 -0
- data/lib/aspose_cad_cloud/models/{error.rb → error_model.rb} +2 -2
- data/lib/aspose_cad_cloud/models/fbx_options_dto.rb +281 -0
- data/lib/aspose_cad_cloud/models/fbx_properties.rb +197 -0
- data/lib/aspose_cad_cloud/models/files_upload_result.rb +1 -1
- data/lib/aspose_cad_cloud/models/glb_options_dto.rb +281 -0
- data/lib/aspose_cad_cloud/models/gltf_options_dto.rb +281 -0
- data/lib/aspose_cad_cloud/models/interpolation_mode.rb +28 -0
- data/lib/aspose_cad_cloud/models/jpeg2000_codec.rb +22 -0
- data/lib/aspose_cad_cloud/models/jpeg_compression_color_mode.rb +24 -0
- data/lib/aspose_cad_cloud/models/jpeg_compression_mode.rb +23 -0
- data/lib/aspose_cad_cloud/models/line_cap.rb +30 -0
- data/lib/aspose_cad_cloud/models/obj_options_dto.rb +281 -0
- data/lib/aspose_cad_cloud/models/obj_properties.rb +197 -0
- data/lib/aspose_cad_cloud/models/pdf_compliance.rb +22 -0
- data/lib/aspose_cad_cloud/models/pdf_digital_signature_details_core_dto.rb +294 -0
- data/lib/aspose_cad_cloud/models/pdf_digital_signature_hash_algorithm_core.rb +24 -0
- data/lib/aspose_cad_cloud/models/{pdf_document_options.rb → pdf_document_options_dto.rb} +17 -7
- data/lib/aspose_cad_cloud/models/pdf_options_dto.rb +1 -1
- data/lib/aspose_cad_cloud/models/plt_properties.rb +197 -0
- data/lib/aspose_cad_cloud/models/png_color_type.rb +24 -0
- data/lib/aspose_cad_cloud/models/png_filter_type.rb +25 -0
- data/lib/aspose_cad_cloud/models/requests/ConvertRequest.rb +53 -0
- data/lib/aspose_cad_cloud/models/requests/EditMetadataRequest.rb +45 -0
- data/lib/aspose_cad_cloud/models/requests/ExtractMetadataRequest.rb +49 -0
- data/lib/aspose_cad_cloud/models/requests/ExtractTextRequest.rb +45 -0
- data/lib/aspose_cad_cloud/models/requests/PaperToCadRequest.rb +49 -0
- data/lib/aspose_cad_cloud/models/requests/PostDrawingCgmRequest.rb +61 -0
- data/lib/aspose_cad_cloud/models/requests/PostDrawingDicomRequest.rb +61 -0
- data/lib/aspose_cad_cloud/models/requests/PostDrawingDracoRequest.rb +61 -0
- data/lib/aspose_cad_cloud/models/requests/PostDrawingDwfRequest.rb +61 -0
- data/lib/aspose_cad_cloud/models/requests/PostDrawingDxfRequest.rb +61 -0
- data/lib/aspose_cad_cloud/models/requests/PostDrawingFbxRequest.rb +61 -0
- data/lib/aspose_cad_cloud/models/requests/PostDrawingGlbRequest.rb +61 -0
- data/lib/aspose_cad_cloud/models/requests/PostDrawingGltfRequest.rb +61 -0
- data/lib/aspose_cad_cloud/models/requests/PostDrawingObjRequest.rb +61 -0
- data/lib/aspose_cad_cloud/models/requests/PostDrawingStpRequest.rb +61 -0
- data/lib/aspose_cad_cloud/models/requests/PostDrawingThreeDsRequest.rb +61 -0
- data/lib/aspose_cad_cloud/models/requests/PostDrawingU3dRequest.rb +61 -0
- data/lib/aspose_cad_cloud/models/requests/PostDrawingWebpRequest.rb +61 -0
- data/lib/aspose_cad_cloud/models/requests/PutDrawingCgmRequest.rb +57 -0
- data/lib/aspose_cad_cloud/models/requests/PutDrawingDicomRequest.rb +57 -0
- data/lib/aspose_cad_cloud/models/requests/PutDrawingDracoRequest.rb +57 -0
- data/lib/aspose_cad_cloud/models/requests/PutDrawingDwfRequest.rb +57 -0
- data/lib/aspose_cad_cloud/models/requests/PutDrawingDxfRequest.rb +57 -0
- data/lib/aspose_cad_cloud/models/requests/PutDrawingFbxRequest.rb +57 -0
- data/lib/aspose_cad_cloud/models/requests/PutDrawingGlbRequest.rb +57 -0
- data/lib/aspose_cad_cloud/models/requests/PutDrawingGltfRequest.rb +57 -0
- data/lib/aspose_cad_cloud/models/requests/PutDrawingObjRequest.rb +57 -0
- data/lib/aspose_cad_cloud/models/requests/PutDrawingStpRequest.rb +57 -0
- data/lib/aspose_cad_cloud/models/requests/PutDrawingThreeDsRequest.rb +57 -0
- data/lib/aspose_cad_cloud/models/requests/PutDrawingU3dRequest.rb +57 -0
- data/lib/aspose_cad_cloud/models/requests/PutDrawingWebpRequest.rb +57 -0
- data/lib/aspose_cad_cloud/models/requests/PutEditMetadataRequest.rb +49 -0
- data/lib/aspose_cad_cloud/models/requests/ViewerRequest.rb +49 -0
- data/lib/aspose_cad_cloud/models/requests/WatermarkRequest.rb +57 -0
- data/lib/aspose_cad_cloud/models/rotate_flip_type.rb +35 -0
- data/lib/aspose_cad_cloud/models/smoothing_mode.rb +25 -0
- data/lib/aspose_cad_cloud/models/stp_options_dto.rb +281 -0
- data/lib/aspose_cad_cloud/models/stp_properties.rb +197 -0
- data/lib/aspose_cad_cloud/models/svg_color_mode.rb +24 -0
- data/lib/aspose_cad_cloud/models/text_rendering_hint.rb +25 -0
- data/lib/aspose_cad_cloud/models/three_ds_options_dto.rb +281 -0
- data/lib/aspose_cad_cloud/models/tiff_byte_order.rb +21 -0
- data/lib/aspose_cad_cloud/models/tiff_compressions.rb +43 -0
- data/lib/aspose_cad_cloud/models/tiff_expected_format.rb +35 -0
- data/lib/aspose_cad_cloud/models/tiff_photometrics.rb +31 -0
- data/lib/aspose_cad_cloud/models/u3d_options_dto.rb +281 -0
- data/lib/aspose_cad_cloud/models/unit_type.rb +41 -0
- data/lib/aspose_cad_cloud/models/webp_options_dto.rb +281 -0
- data/lib/aspose_cad_cloud/version.rb +1 -1
- data/lib/aspose_cad_cloud.rb +43 -3
- metadata +100 -12
@@ -0,0 +1,57 @@
|
|
1
|
+
#
|
2
|
+
# --------------------------------------------------------------------------------------------------------------------
|
3
|
+
# <copyright company="Aspose" file="PutDrawingDxfRequest.rb">
|
4
|
+
# Copyright (c) 2018 Aspose.CAD Cloud
|
5
|
+
# </copyright>
|
6
|
+
# <summary>
|
7
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
8
|
+
# of this software and associated documentation files (the "Software"), to deal
|
9
|
+
# in the Software without restriction, including without limitation the rights
|
10
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
11
|
+
# copies of the Software, and to permit persons to whom the Software is
|
12
|
+
# furnished to do so, subject to the following conditions:
|
13
|
+
#
|
14
|
+
# The above copyright notice and this permission notice shall be included in all
|
15
|
+
# copies or substantial portions of the Software.
|
16
|
+
#
|
17
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
18
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
19
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
20
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
21
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
22
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
23
|
+
# SOFTWARE.
|
24
|
+
# </summary>
|
25
|
+
# --------------------------------------------------------------------------------------------------------------------
|
26
|
+
#
|
27
|
+
|
28
|
+
module AsposeCadCloud
|
29
|
+
|
30
|
+
#
|
31
|
+
# Request model for put_drawing_dxf operation.
|
32
|
+
#
|
33
|
+
class PutDrawingDxfRequest
|
34
|
+
|
35
|
+
# Input drawing
|
36
|
+
attr_accessor :drawing_data
|
37
|
+
# Path to updated file (if this is empty, response contains streamed file).
|
38
|
+
attr_accessor :out_path
|
39
|
+
# JSON-serialized export options passed as zero-indexed multipart/form-data. Follow #/definitions/DxfOptionsDTO model definition.
|
40
|
+
attr_accessor :export_options
|
41
|
+
# Your Aspose Cloud Storage name.
|
42
|
+
attr_accessor :storage
|
43
|
+
|
44
|
+
#
|
45
|
+
# Initializes a new instance.
|
46
|
+
# @param drawing_data Input drawing
|
47
|
+
# @param out_path Path to updated file (if this is empty, response contains streamed file).
|
48
|
+
# @param export_options JSON-serialized export options passed as zero-indexed multipart/form-data. Follow #/definitions/DxfOptionsDTO model definition.
|
49
|
+
# @param storage Your Aspose Cloud Storage name.
|
50
|
+
def initialize(drawing_data, out_path = nil, export_options = nil, storage = nil)
|
51
|
+
self.drawing_data = drawing_data
|
52
|
+
self.out_path = out_path
|
53
|
+
self.export_options = export_options
|
54
|
+
self.storage = storage
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
@@ -0,0 +1,57 @@
|
|
1
|
+
#
|
2
|
+
# --------------------------------------------------------------------------------------------------------------------
|
3
|
+
# <copyright company="Aspose" file="PutDrawingFbxRequest.rb">
|
4
|
+
# Copyright (c) 2018 Aspose.CAD Cloud
|
5
|
+
# </copyright>
|
6
|
+
# <summary>
|
7
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
8
|
+
# of this software and associated documentation files (the "Software"), to deal
|
9
|
+
# in the Software without restriction, including without limitation the rights
|
10
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
11
|
+
# copies of the Software, and to permit persons to whom the Software is
|
12
|
+
# furnished to do so, subject to the following conditions:
|
13
|
+
#
|
14
|
+
# The above copyright notice and this permission notice shall be included in all
|
15
|
+
# copies or substantial portions of the Software.
|
16
|
+
#
|
17
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
18
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
19
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
20
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
21
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
22
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
23
|
+
# SOFTWARE.
|
24
|
+
# </summary>
|
25
|
+
# --------------------------------------------------------------------------------------------------------------------
|
26
|
+
#
|
27
|
+
|
28
|
+
module AsposeCadCloud
|
29
|
+
|
30
|
+
#
|
31
|
+
# Request model for put_drawing_fbx operation.
|
32
|
+
#
|
33
|
+
class PutDrawingFbxRequest
|
34
|
+
|
35
|
+
# Input drawing
|
36
|
+
attr_accessor :drawing_data
|
37
|
+
# Path to updated file (if this is empty, response contains streamed file).
|
38
|
+
attr_accessor :out_path
|
39
|
+
# JSON-serialized export options passed as zero-indexed multipart/form-data. Follow #/definitions/FbxOptionsDTO model definition.
|
40
|
+
attr_accessor :export_options
|
41
|
+
# Your Aspose Cloud Storage name.
|
42
|
+
attr_accessor :storage
|
43
|
+
|
44
|
+
#
|
45
|
+
# Initializes a new instance.
|
46
|
+
# @param drawing_data Input drawing
|
47
|
+
# @param out_path Path to updated file (if this is empty, response contains streamed file).
|
48
|
+
# @param export_options JSON-serialized export options passed as zero-indexed multipart/form-data. Follow #/definitions/FbxOptionsDTO model definition.
|
49
|
+
# @param storage Your Aspose Cloud Storage name.
|
50
|
+
def initialize(drawing_data, out_path = nil, export_options = nil, storage = nil)
|
51
|
+
self.drawing_data = drawing_data
|
52
|
+
self.out_path = out_path
|
53
|
+
self.export_options = export_options
|
54
|
+
self.storage = storage
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
@@ -0,0 +1,57 @@
|
|
1
|
+
#
|
2
|
+
# --------------------------------------------------------------------------------------------------------------------
|
3
|
+
# <copyright company="Aspose" file="PutDrawingGlbRequest.rb">
|
4
|
+
# Copyright (c) 2018 Aspose.CAD Cloud
|
5
|
+
# </copyright>
|
6
|
+
# <summary>
|
7
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
8
|
+
# of this software and associated documentation files (the "Software"), to deal
|
9
|
+
# in the Software without restriction, including without limitation the rights
|
10
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
11
|
+
# copies of the Software, and to permit persons to whom the Software is
|
12
|
+
# furnished to do so, subject to the following conditions:
|
13
|
+
#
|
14
|
+
# The above copyright notice and this permission notice shall be included in all
|
15
|
+
# copies or substantial portions of the Software.
|
16
|
+
#
|
17
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
18
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
19
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
20
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
21
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
22
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
23
|
+
# SOFTWARE.
|
24
|
+
# </summary>
|
25
|
+
# --------------------------------------------------------------------------------------------------------------------
|
26
|
+
#
|
27
|
+
|
28
|
+
module AsposeCadCloud
|
29
|
+
|
30
|
+
#
|
31
|
+
# Request model for put_drawing_glb operation.
|
32
|
+
#
|
33
|
+
class PutDrawingGlbRequest
|
34
|
+
|
35
|
+
# Input drawing
|
36
|
+
attr_accessor :drawing_data
|
37
|
+
# Path to updated file (if this is empty, response contains streamed file).
|
38
|
+
attr_accessor :out_path
|
39
|
+
# JSON-serialized export options passed as zero-indexed multipart/form-data. Follow #/definitions/GlbOptionsDTO model definition.
|
40
|
+
attr_accessor :export_options
|
41
|
+
# Your Aspose Cloud Storage name.
|
42
|
+
attr_accessor :storage
|
43
|
+
|
44
|
+
#
|
45
|
+
# Initializes a new instance.
|
46
|
+
# @param drawing_data Input drawing
|
47
|
+
# @param out_path Path to updated file (if this is empty, response contains streamed file).
|
48
|
+
# @param export_options JSON-serialized export options passed as zero-indexed multipart/form-data. Follow #/definitions/GlbOptionsDTO model definition.
|
49
|
+
# @param storage Your Aspose Cloud Storage name.
|
50
|
+
def initialize(drawing_data, out_path = nil, export_options = nil, storage = nil)
|
51
|
+
self.drawing_data = drawing_data
|
52
|
+
self.out_path = out_path
|
53
|
+
self.export_options = export_options
|
54
|
+
self.storage = storage
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
@@ -0,0 +1,57 @@
|
|
1
|
+
#
|
2
|
+
# --------------------------------------------------------------------------------------------------------------------
|
3
|
+
# <copyright company="Aspose" file="PutDrawingGltfRequest.rb">
|
4
|
+
# Copyright (c) 2018 Aspose.CAD Cloud
|
5
|
+
# </copyright>
|
6
|
+
# <summary>
|
7
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
8
|
+
# of this software and associated documentation files (the "Software"), to deal
|
9
|
+
# in the Software without restriction, including without limitation the rights
|
10
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
11
|
+
# copies of the Software, and to permit persons to whom the Software is
|
12
|
+
# furnished to do so, subject to the following conditions:
|
13
|
+
#
|
14
|
+
# The above copyright notice and this permission notice shall be included in all
|
15
|
+
# copies or substantial portions of the Software.
|
16
|
+
#
|
17
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
18
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
19
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
20
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
21
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
22
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
23
|
+
# SOFTWARE.
|
24
|
+
# </summary>
|
25
|
+
# --------------------------------------------------------------------------------------------------------------------
|
26
|
+
#
|
27
|
+
|
28
|
+
module AsposeCadCloud
|
29
|
+
|
30
|
+
#
|
31
|
+
# Request model for put_drawing_gltf operation.
|
32
|
+
#
|
33
|
+
class PutDrawingGltfRequest
|
34
|
+
|
35
|
+
# Input drawing
|
36
|
+
attr_accessor :drawing_data
|
37
|
+
# Path to updated file (if this is empty, response contains streamed file).
|
38
|
+
attr_accessor :out_path
|
39
|
+
# JSON-serialized export options passed as zero-indexed multipart/form-data. Follow #/definitions/GltfOptionsDTO model definition.
|
40
|
+
attr_accessor :export_options
|
41
|
+
# Your Aspose Cloud Storage name.
|
42
|
+
attr_accessor :storage
|
43
|
+
|
44
|
+
#
|
45
|
+
# Initializes a new instance.
|
46
|
+
# @param drawing_data Input drawing
|
47
|
+
# @param out_path Path to updated file (if this is empty, response contains streamed file).
|
48
|
+
# @param export_options JSON-serialized export options passed as zero-indexed multipart/form-data. Follow #/definitions/GltfOptionsDTO model definition.
|
49
|
+
# @param storage Your Aspose Cloud Storage name.
|
50
|
+
def initialize(drawing_data, out_path = nil, export_options = nil, storage = nil)
|
51
|
+
self.drawing_data = drawing_data
|
52
|
+
self.out_path = out_path
|
53
|
+
self.export_options = export_options
|
54
|
+
self.storage = storage
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
@@ -0,0 +1,57 @@
|
|
1
|
+
#
|
2
|
+
# --------------------------------------------------------------------------------------------------------------------
|
3
|
+
# <copyright company="Aspose" file="PutDrawingObjRequest.rb">
|
4
|
+
# Copyright (c) 2018 Aspose.CAD Cloud
|
5
|
+
# </copyright>
|
6
|
+
# <summary>
|
7
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
8
|
+
# of this software and associated documentation files (the "Software"), to deal
|
9
|
+
# in the Software without restriction, including without limitation the rights
|
10
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
11
|
+
# copies of the Software, and to permit persons to whom the Software is
|
12
|
+
# furnished to do so, subject to the following conditions:
|
13
|
+
#
|
14
|
+
# The above copyright notice and this permission notice shall be included in all
|
15
|
+
# copies or substantial portions of the Software.
|
16
|
+
#
|
17
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
18
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
19
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
20
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
21
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
22
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
23
|
+
# SOFTWARE.
|
24
|
+
# </summary>
|
25
|
+
# --------------------------------------------------------------------------------------------------------------------
|
26
|
+
#
|
27
|
+
|
28
|
+
module AsposeCadCloud
|
29
|
+
|
30
|
+
#
|
31
|
+
# Request model for put_drawing_obj operation.
|
32
|
+
#
|
33
|
+
class PutDrawingObjRequest
|
34
|
+
|
35
|
+
# Input drawing
|
36
|
+
attr_accessor :drawing_data
|
37
|
+
# Path to updated file (if this is empty, response contains streamed file).
|
38
|
+
attr_accessor :out_path
|
39
|
+
# JSON-serialized export options passed as zero-indexed multipart/form-data. Follow #/definitions/ObjOptionsDTO model definition.
|
40
|
+
attr_accessor :export_options
|
41
|
+
# Your Aspose Cloud Storage name.
|
42
|
+
attr_accessor :storage
|
43
|
+
|
44
|
+
#
|
45
|
+
# Initializes a new instance.
|
46
|
+
# @param drawing_data Input drawing
|
47
|
+
# @param out_path Path to updated file (if this is empty, response contains streamed file).
|
48
|
+
# @param export_options JSON-serialized export options passed as zero-indexed multipart/form-data. Follow #/definitions/ObjOptionsDTO model definition.
|
49
|
+
# @param storage Your Aspose Cloud Storage name.
|
50
|
+
def initialize(drawing_data, out_path = nil, export_options = nil, storage = nil)
|
51
|
+
self.drawing_data = drawing_data
|
52
|
+
self.out_path = out_path
|
53
|
+
self.export_options = export_options
|
54
|
+
self.storage = storage
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
@@ -0,0 +1,57 @@
|
|
1
|
+
#
|
2
|
+
# --------------------------------------------------------------------------------------------------------------------
|
3
|
+
# <copyright company="Aspose" file="PutDrawingStpRequest.rb">
|
4
|
+
# Copyright (c) 2018 Aspose.CAD Cloud
|
5
|
+
# </copyright>
|
6
|
+
# <summary>
|
7
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
8
|
+
# of this software and associated documentation files (the "Software"), to deal
|
9
|
+
# in the Software without restriction, including without limitation the rights
|
10
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
11
|
+
# copies of the Software, and to permit persons to whom the Software is
|
12
|
+
# furnished to do so, subject to the following conditions:
|
13
|
+
#
|
14
|
+
# The above copyright notice and this permission notice shall be included in all
|
15
|
+
# copies or substantial portions of the Software.
|
16
|
+
#
|
17
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
18
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
19
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
20
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
21
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
22
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
23
|
+
# SOFTWARE.
|
24
|
+
# </summary>
|
25
|
+
# --------------------------------------------------------------------------------------------------------------------
|
26
|
+
#
|
27
|
+
|
28
|
+
module AsposeCadCloud
|
29
|
+
|
30
|
+
#
|
31
|
+
# Request model for put_drawing_stp operation.
|
32
|
+
#
|
33
|
+
class PutDrawingStpRequest
|
34
|
+
|
35
|
+
# Input drawing
|
36
|
+
attr_accessor :drawing_data
|
37
|
+
# Path to updated file (if this is empty, response contains streamed file).
|
38
|
+
attr_accessor :out_path
|
39
|
+
# JSON-serialized export options passed as zero-indexed multipart/form-data. Follow #/definitions/StpOptionsDTO model definition.
|
40
|
+
attr_accessor :export_options
|
41
|
+
# Your Aspose Cloud Storage name.
|
42
|
+
attr_accessor :storage
|
43
|
+
|
44
|
+
#
|
45
|
+
# Initializes a new instance.
|
46
|
+
# @param drawing_data Input drawing
|
47
|
+
# @param out_path Path to updated file (if this is empty, response contains streamed file).
|
48
|
+
# @param export_options JSON-serialized export options passed as zero-indexed multipart/form-data. Follow #/definitions/StpOptionsDTO model definition.
|
49
|
+
# @param storage Your Aspose Cloud Storage name.
|
50
|
+
def initialize(drawing_data, out_path = nil, export_options = nil, storage = nil)
|
51
|
+
self.drawing_data = drawing_data
|
52
|
+
self.out_path = out_path
|
53
|
+
self.export_options = export_options
|
54
|
+
self.storage = storage
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
@@ -0,0 +1,57 @@
|
|
1
|
+
#
|
2
|
+
# --------------------------------------------------------------------------------------------------------------------
|
3
|
+
# <copyright company="Aspose" file="PutDrawingThreeDsRequest.rb">
|
4
|
+
# Copyright (c) 2018 Aspose.CAD Cloud
|
5
|
+
# </copyright>
|
6
|
+
# <summary>
|
7
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
8
|
+
# of this software and associated documentation files (the "Software"), to deal
|
9
|
+
# in the Software without restriction, including without limitation the rights
|
10
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
11
|
+
# copies of the Software, and to permit persons to whom the Software is
|
12
|
+
# furnished to do so, subject to the following conditions:
|
13
|
+
#
|
14
|
+
# The above copyright notice and this permission notice shall be included in all
|
15
|
+
# copies or substantial portions of the Software.
|
16
|
+
#
|
17
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
18
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
19
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
20
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
21
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
22
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
23
|
+
# SOFTWARE.
|
24
|
+
# </summary>
|
25
|
+
# --------------------------------------------------------------------------------------------------------------------
|
26
|
+
#
|
27
|
+
|
28
|
+
module AsposeCadCloud
|
29
|
+
|
30
|
+
#
|
31
|
+
# Request model for put_drawing_three_ds operation.
|
32
|
+
#
|
33
|
+
class PutDrawingThreeDsRequest
|
34
|
+
|
35
|
+
# Input drawing
|
36
|
+
attr_accessor :drawing_data
|
37
|
+
# Path to updated file (if this is empty, response contains streamed file).
|
38
|
+
attr_accessor :out_path
|
39
|
+
# JSON-serialized export options passed as zero-indexed multipart/form-data. Follow #/definitions/ThreeDSOptionsDTO model definition.
|
40
|
+
attr_accessor :export_options
|
41
|
+
# Your Aspose Cloud Storage name.
|
42
|
+
attr_accessor :storage
|
43
|
+
|
44
|
+
#
|
45
|
+
# Initializes a new instance.
|
46
|
+
# @param drawing_data Input drawing
|
47
|
+
# @param out_path Path to updated file (if this is empty, response contains streamed file).
|
48
|
+
# @param export_options JSON-serialized export options passed as zero-indexed multipart/form-data. Follow #/definitions/ThreeDSOptionsDTO model definition.
|
49
|
+
# @param storage Your Aspose Cloud Storage name.
|
50
|
+
def initialize(drawing_data, out_path = nil, export_options = nil, storage = nil)
|
51
|
+
self.drawing_data = drawing_data
|
52
|
+
self.out_path = out_path
|
53
|
+
self.export_options = export_options
|
54
|
+
self.storage = storage
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
@@ -0,0 +1,57 @@
|
|
1
|
+
#
|
2
|
+
# --------------------------------------------------------------------------------------------------------------------
|
3
|
+
# <copyright company="Aspose" file="PutDrawingU3dRequest.rb">
|
4
|
+
# Copyright (c) 2018 Aspose.CAD Cloud
|
5
|
+
# </copyright>
|
6
|
+
# <summary>
|
7
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
8
|
+
# of this software and associated documentation files (the "Software"), to deal
|
9
|
+
# in the Software without restriction, including without limitation the rights
|
10
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
11
|
+
# copies of the Software, and to permit persons to whom the Software is
|
12
|
+
# furnished to do so, subject to the following conditions:
|
13
|
+
#
|
14
|
+
# The above copyright notice and this permission notice shall be included in all
|
15
|
+
# copies or substantial portions of the Software.
|
16
|
+
#
|
17
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
18
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
19
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
20
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
21
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
22
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
23
|
+
# SOFTWARE.
|
24
|
+
# </summary>
|
25
|
+
# --------------------------------------------------------------------------------------------------------------------
|
26
|
+
#
|
27
|
+
|
28
|
+
module AsposeCadCloud
|
29
|
+
|
30
|
+
#
|
31
|
+
# Request model for put_drawing_u3d operation.
|
32
|
+
#
|
33
|
+
class PutDrawingU3dRequest
|
34
|
+
|
35
|
+
# Input drawing
|
36
|
+
attr_accessor :drawing_data
|
37
|
+
# Path to updated file (if this is empty, response contains streamed file).
|
38
|
+
attr_accessor :out_path
|
39
|
+
# JSON-serialized export options passed as zero-indexed multipart/form-data. Follow #/definitions/U3dOptionsDTO model definition.
|
40
|
+
attr_accessor :export_options
|
41
|
+
# Your Aspose Cloud Storage name.
|
42
|
+
attr_accessor :storage
|
43
|
+
|
44
|
+
#
|
45
|
+
# Initializes a new instance.
|
46
|
+
# @param drawing_data Input drawing
|
47
|
+
# @param out_path Path to updated file (if this is empty, response contains streamed file).
|
48
|
+
# @param export_options JSON-serialized export options passed as zero-indexed multipart/form-data. Follow #/definitions/U3dOptionsDTO model definition.
|
49
|
+
# @param storage Your Aspose Cloud Storage name.
|
50
|
+
def initialize(drawing_data, out_path = nil, export_options = nil, storage = nil)
|
51
|
+
self.drawing_data = drawing_data
|
52
|
+
self.out_path = out_path
|
53
|
+
self.export_options = export_options
|
54
|
+
self.storage = storage
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
@@ -0,0 +1,57 @@
|
|
1
|
+
#
|
2
|
+
# --------------------------------------------------------------------------------------------------------------------
|
3
|
+
# <copyright company="Aspose" file="PutDrawingWebpRequest.rb">
|
4
|
+
# Copyright (c) 2018 Aspose.CAD Cloud
|
5
|
+
# </copyright>
|
6
|
+
# <summary>
|
7
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
8
|
+
# of this software and associated documentation files (the "Software"), to deal
|
9
|
+
# in the Software without restriction, including without limitation the rights
|
10
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
11
|
+
# copies of the Software, and to permit persons to whom the Software is
|
12
|
+
# furnished to do so, subject to the following conditions:
|
13
|
+
#
|
14
|
+
# The above copyright notice and this permission notice shall be included in all
|
15
|
+
# copies or substantial portions of the Software.
|
16
|
+
#
|
17
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
18
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
19
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
20
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
21
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
22
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
23
|
+
# SOFTWARE.
|
24
|
+
# </summary>
|
25
|
+
# --------------------------------------------------------------------------------------------------------------------
|
26
|
+
#
|
27
|
+
|
28
|
+
module AsposeCadCloud
|
29
|
+
|
30
|
+
#
|
31
|
+
# Request model for put_drawing_webp operation.
|
32
|
+
#
|
33
|
+
class PutDrawingWebpRequest
|
34
|
+
|
35
|
+
# Input drawing
|
36
|
+
attr_accessor :drawing_data
|
37
|
+
# Path to updated file (if this is empty, response contains streamed file).
|
38
|
+
attr_accessor :out_path
|
39
|
+
# JSON-serialized export options passed as zero-indexed multipart/form-data. Follow #/definitions/WebpOptionsDTO model definition.
|
40
|
+
attr_accessor :export_options
|
41
|
+
# Your Aspose Cloud Storage name.
|
42
|
+
attr_accessor :storage
|
43
|
+
|
44
|
+
#
|
45
|
+
# Initializes a new instance.
|
46
|
+
# @param drawing_data Input drawing
|
47
|
+
# @param out_path Path to updated file (if this is empty, response contains streamed file).
|
48
|
+
# @param export_options JSON-serialized export options passed as zero-indexed multipart/form-data. Follow #/definitions/WebpOptionsDTO model definition.
|
49
|
+
# @param storage Your Aspose Cloud Storage name.
|
50
|
+
def initialize(drawing_data, out_path = nil, export_options = nil, storage = nil)
|
51
|
+
self.drawing_data = drawing_data
|
52
|
+
self.out_path = out_path
|
53
|
+
self.export_options = export_options
|
54
|
+
self.storage = storage
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
@@ -0,0 +1,49 @@
|
|
1
|
+
#
|
2
|
+
# --------------------------------------------------------------------------------------------------------------------
|
3
|
+
# <copyright company="Aspose" file="PutEditMetadataRequest.rb">
|
4
|
+
# Copyright (c) 2018 Aspose.CAD Cloud
|
5
|
+
# </copyright>
|
6
|
+
# <summary>
|
7
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
8
|
+
# of this software and associated documentation files (the "Software"), to deal
|
9
|
+
# in the Software without restriction, including without limitation the rights
|
10
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
11
|
+
# copies of the Software, and to permit persons to whom the Software is
|
12
|
+
# furnished to do so, subject to the following conditions:
|
13
|
+
#
|
14
|
+
# The above copyright notice and this permission notice shall be included in all
|
15
|
+
# copies or substantial portions of the Software.
|
16
|
+
#
|
17
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
18
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
19
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
20
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
21
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
22
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
23
|
+
# SOFTWARE.
|
24
|
+
# </summary>
|
25
|
+
# --------------------------------------------------------------------------------------------------------------------
|
26
|
+
#
|
27
|
+
|
28
|
+
module AsposeCadCloud
|
29
|
+
|
30
|
+
#
|
31
|
+
# Request model for put_edit_metadata operation.
|
32
|
+
#
|
33
|
+
class PutEditMetadataRequest
|
34
|
+
|
35
|
+
# Gets or sets drawing
|
36
|
+
attr_accessor :drawing
|
37
|
+
# Gets or sets metadata_component
|
38
|
+
attr_accessor :metadata_component
|
39
|
+
|
40
|
+
#
|
41
|
+
# Initializes a new instance.
|
42
|
+
# @param drawing
|
43
|
+
# @param metadata_component
|
44
|
+
def initialize(drawing = nil, metadata_component = nil)
|
45
|
+
self.drawing = drawing
|
46
|
+
self.metadata_component = metadata_component
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
@@ -0,0 +1,49 @@
|
|
1
|
+
#
|
2
|
+
# --------------------------------------------------------------------------------------------------------------------
|
3
|
+
# <copyright company="Aspose" file="ViewerRequest.rb">
|
4
|
+
# Copyright (c) 2018 Aspose.CAD Cloud
|
5
|
+
# </copyright>
|
6
|
+
# <summary>
|
7
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
8
|
+
# of this software and associated documentation files (the "Software"), to deal
|
9
|
+
# in the Software without restriction, including without limitation the rights
|
10
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
11
|
+
# copies of the Software, and to permit persons to whom the Software is
|
12
|
+
# furnished to do so, subject to the following conditions:
|
13
|
+
#
|
14
|
+
# The above copyright notice and this permission notice shall be included in all
|
15
|
+
# copies or substantial portions of the Software.
|
16
|
+
#
|
17
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
18
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
19
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
20
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
21
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
22
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
23
|
+
# SOFTWARE.
|
24
|
+
# </summary>
|
25
|
+
# --------------------------------------------------------------------------------------------------------------------
|
26
|
+
#
|
27
|
+
|
28
|
+
module AsposeCadCloud
|
29
|
+
|
30
|
+
#
|
31
|
+
# Request model for viewer operation.
|
32
|
+
#
|
33
|
+
class ViewerRequest
|
34
|
+
|
35
|
+
# Gets or sets output_format
|
36
|
+
attr_accessor :output_format
|
37
|
+
# Gets or sets drawing
|
38
|
+
attr_accessor :drawing
|
39
|
+
|
40
|
+
#
|
41
|
+
# Initializes a new instance.
|
42
|
+
# @param output_format
|
43
|
+
# @param drawing
|
44
|
+
def initialize(output_format, drawing = nil)
|
45
|
+
self.output_format = output_format
|
46
|
+
self.drawing = drawing
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|