aspose_cad_cloud 20.11 → 24.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (87) hide show
  1. checksums.yaml +4 -4
  2. data/lib/aspose_cad_cloud/api/cad_api.rb +2778 -392
  3. data/lib/aspose_cad_cloud/configuration.rb +8 -1
  4. data/lib/aspose_cad_cloud/models/bitmap_compression.rb +27 -0
  5. data/lib/aspose_cad_cloud/models/bmp_options_dto.rb +2 -2
  6. data/lib/aspose_cad_cloud/models/cad_draw_type_mode.rb +21 -0
  7. data/lib/aspose_cad_cloud/models/cad_response.rb +48 -8
  8. data/lib/aspose_cad_cloud/models/{cff2_properties.rb → cf2_properties.rb} +3 -3
  9. data/lib/aspose_cad_cloud/models/cgm_options_dto.rb +281 -0
  10. data/lib/aspose_cad_cloud/models/color_modes.rb +27 -0
  11. data/lib/aspose_cad_cloud/models/compression_method.rb +23 -0
  12. data/lib/aspose_cad_cloud/models/dicom_options_dto.rb +281 -0
  13. data/lib/aspose_cad_cloud/models/draco_options_dto.rb +281 -0
  14. data/lib/aspose_cad_cloud/models/dwf_options_dto.rb +281 -0
  15. data/lib/aspose_cad_cloud/models/dxf_options_dto.rb +281 -0
  16. data/lib/aspose_cad_cloud/models/{error.rb → error_model.rb} +2 -2
  17. data/lib/aspose_cad_cloud/models/fbx_options_dto.rb +281 -0
  18. data/lib/aspose_cad_cloud/models/fbx_properties.rb +197 -0
  19. data/lib/aspose_cad_cloud/models/files_upload_result.rb +1 -1
  20. data/lib/aspose_cad_cloud/models/glb_options_dto.rb +281 -0
  21. data/lib/aspose_cad_cloud/models/gltf_options_dto.rb +281 -0
  22. data/lib/aspose_cad_cloud/models/interpolation_mode.rb +28 -0
  23. data/lib/aspose_cad_cloud/models/jpeg2000_codec.rb +22 -0
  24. data/lib/aspose_cad_cloud/models/jpeg_compression_color_mode.rb +24 -0
  25. data/lib/aspose_cad_cloud/models/jpeg_compression_mode.rb +23 -0
  26. data/lib/aspose_cad_cloud/models/line_cap.rb +30 -0
  27. data/lib/aspose_cad_cloud/models/obj_options_dto.rb +281 -0
  28. data/lib/aspose_cad_cloud/models/obj_properties.rb +197 -0
  29. data/lib/aspose_cad_cloud/models/pdf_compliance.rb +22 -0
  30. data/lib/aspose_cad_cloud/models/pdf_digital_signature_details_core_dto.rb +294 -0
  31. data/lib/aspose_cad_cloud/models/pdf_digital_signature_hash_algorithm_core.rb +24 -0
  32. data/lib/aspose_cad_cloud/models/{pdf_document_options.rb → pdf_document_options_dto.rb} +17 -7
  33. data/lib/aspose_cad_cloud/models/pdf_options_dto.rb +1 -1
  34. data/lib/aspose_cad_cloud/models/plt_properties.rb +197 -0
  35. data/lib/aspose_cad_cloud/models/png_color_type.rb +24 -0
  36. data/lib/aspose_cad_cloud/models/png_filter_type.rb +25 -0
  37. data/lib/aspose_cad_cloud/models/requests/ConvertRequest.rb +53 -0
  38. data/lib/aspose_cad_cloud/models/requests/EditMetadataRequest.rb +45 -0
  39. data/lib/aspose_cad_cloud/models/requests/ExtractMetadataRequest.rb +49 -0
  40. data/lib/aspose_cad_cloud/models/requests/ExtractTextRequest.rb +45 -0
  41. data/lib/aspose_cad_cloud/models/requests/PaperToCadRequest.rb +49 -0
  42. data/lib/aspose_cad_cloud/models/requests/PostDrawingCgmRequest.rb +61 -0
  43. data/lib/aspose_cad_cloud/models/requests/PostDrawingDicomRequest.rb +61 -0
  44. data/lib/aspose_cad_cloud/models/requests/PostDrawingDracoRequest.rb +61 -0
  45. data/lib/aspose_cad_cloud/models/requests/PostDrawingDwfRequest.rb +61 -0
  46. data/lib/aspose_cad_cloud/models/requests/PostDrawingDxfRequest.rb +61 -0
  47. data/lib/aspose_cad_cloud/models/requests/PostDrawingFbxRequest.rb +61 -0
  48. data/lib/aspose_cad_cloud/models/requests/PostDrawingGlbRequest.rb +61 -0
  49. data/lib/aspose_cad_cloud/models/requests/PostDrawingGltfRequest.rb +61 -0
  50. data/lib/aspose_cad_cloud/models/requests/PostDrawingObjRequest.rb +61 -0
  51. data/lib/aspose_cad_cloud/models/requests/PostDrawingStpRequest.rb +61 -0
  52. data/lib/aspose_cad_cloud/models/requests/PostDrawingThreeDsRequest.rb +61 -0
  53. data/lib/aspose_cad_cloud/models/requests/PostDrawingU3dRequest.rb +61 -0
  54. data/lib/aspose_cad_cloud/models/requests/PostDrawingWebpRequest.rb +61 -0
  55. data/lib/aspose_cad_cloud/models/requests/PutDrawingCgmRequest.rb +57 -0
  56. data/lib/aspose_cad_cloud/models/requests/PutDrawingDicomRequest.rb +57 -0
  57. data/lib/aspose_cad_cloud/models/requests/PutDrawingDracoRequest.rb +57 -0
  58. data/lib/aspose_cad_cloud/models/requests/PutDrawingDwfRequest.rb +57 -0
  59. data/lib/aspose_cad_cloud/models/requests/PutDrawingDxfRequest.rb +57 -0
  60. data/lib/aspose_cad_cloud/models/requests/PutDrawingFbxRequest.rb +57 -0
  61. data/lib/aspose_cad_cloud/models/requests/PutDrawingGlbRequest.rb +57 -0
  62. data/lib/aspose_cad_cloud/models/requests/PutDrawingGltfRequest.rb +57 -0
  63. data/lib/aspose_cad_cloud/models/requests/PutDrawingObjRequest.rb +57 -0
  64. data/lib/aspose_cad_cloud/models/requests/PutDrawingStpRequest.rb +57 -0
  65. data/lib/aspose_cad_cloud/models/requests/PutDrawingThreeDsRequest.rb +57 -0
  66. data/lib/aspose_cad_cloud/models/requests/PutDrawingU3dRequest.rb +57 -0
  67. data/lib/aspose_cad_cloud/models/requests/PutDrawingWebpRequest.rb +57 -0
  68. data/lib/aspose_cad_cloud/models/requests/PutEditMetadataRequest.rb +49 -0
  69. data/lib/aspose_cad_cloud/models/requests/ViewerRequest.rb +49 -0
  70. data/lib/aspose_cad_cloud/models/requests/WatermarkRequest.rb +57 -0
  71. data/lib/aspose_cad_cloud/models/rotate_flip_type.rb +35 -0
  72. data/lib/aspose_cad_cloud/models/smoothing_mode.rb +25 -0
  73. data/lib/aspose_cad_cloud/models/stp_options_dto.rb +281 -0
  74. data/lib/aspose_cad_cloud/models/stp_properties.rb +197 -0
  75. data/lib/aspose_cad_cloud/models/svg_color_mode.rb +24 -0
  76. data/lib/aspose_cad_cloud/models/text_rendering_hint.rb +25 -0
  77. data/lib/aspose_cad_cloud/models/three_ds_options_dto.rb +281 -0
  78. data/lib/aspose_cad_cloud/models/tiff_byte_order.rb +21 -0
  79. data/lib/aspose_cad_cloud/models/tiff_compressions.rb +43 -0
  80. data/lib/aspose_cad_cloud/models/tiff_expected_format.rb +35 -0
  81. data/lib/aspose_cad_cloud/models/tiff_photometrics.rb +31 -0
  82. data/lib/aspose_cad_cloud/models/u3d_options_dto.rb +281 -0
  83. data/lib/aspose_cad_cloud/models/unit_type.rb +41 -0
  84. data/lib/aspose_cad_cloud/models/webp_options_dto.rb +281 -0
  85. data/lib/aspose_cad_cloud/version.rb +1 -1
  86. data/lib/aspose_cad_cloud.rb +43 -3
  87. metadata +100 -12
@@ -0,0 +1,41 @@
1
+
2
+ require 'date'
3
+
4
+ module AsposeCadCloud
5
+
6
+ class UnitType
7
+
8
+ KILOMETER = "Kilometer".freeze
9
+ METER = "Meter".freeze
10
+ CENTIMENTER = "Centimenter".freeze
11
+ MILLIMETER = "Millimeter".freeze
12
+ MICROMETER = "Micrometer".freeze
13
+ NANOMETER = "Nanometer".freeze
14
+ ANGSTROM = "Angstrom".freeze
15
+ DECIMETER = "Decimeter".freeze
16
+ DECAMETER = "Decameter".freeze
17
+ HECTOMETER = "Hectometer".freeze
18
+ GIGAMETER = "Gigameter".freeze
19
+ ASTRONOMICAL_UNIT = "AstronomicalUnit".freeze
20
+ LIGHT_YEAR = "LightYear".freeze
21
+ PARSEC = "Parsec".freeze
22
+ MILE = "Mile".freeze
23
+ YARD = "Yard".freeze
24
+ FOOT = "Foot".freeze
25
+ INCH = "Inch".freeze
26
+ MIL = "Mil".freeze
27
+ MICRO_INCH = "MicroInch".freeze
28
+ CUSTOM = "Custom".freeze
29
+ UNITLESS = "Unitless".freeze
30
+
31
+ # Builds the enum from string
32
+ # @param [String] The enum value in the form of the string
33
+ # @return [String] The enum value
34
+ def build_from_hash(value)
35
+ constantValues = UnitType.constants.select{|c| UnitType::const_get(c) == value}
36
+ raise "Invalid ENUM value #{value} for class #UnitType" if constantValues.empty?
37
+ value
38
+ end
39
+ end
40
+
41
+ end
@@ -0,0 +1,281 @@
1
+
2
+ require 'date'
3
+
4
+ module AsposeCadCloud
5
+ #
6
+ # --------------------------------------------------------------------------------------------------------------------
7
+ # <copyright company="Aspose" file="WebpOptionsDTO.rb">
8
+ # Copyright (c) 2017 Aspose.CAD Cloud
9
+ # </copyright>
10
+ # <summary>
11
+ # Permission is hereby granted, free of charge, to any person obtaining a copy
12
+ # of this software and associated documentation files (the "Software"), to deal
13
+ # in the Software without restriction, including without limitation the rights
14
+ # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
15
+ # copies of the Software, and to permit persons to whom the Software is
16
+ # furnished to do so, subject to the following conditions:
17
+ #
18
+ # The above copyright notice and this permission notice shall be included in all
19
+ # copies or substantial portions of the Software.
20
+ #
21
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
22
+ # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
23
+ # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
24
+ # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
25
+ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
26
+ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
27
+ # SOFTWARE.
28
+ # </summary>
29
+ # --------------------------------------------------------------------------------------------------------------------
30
+ #
31
+
32
+ # Export options for WEBP format
33
+ class WebpOptionsDTO
34
+ # Resulting rotation operation
35
+ attr_accessor :rotation
36
+
37
+ # Layers to export
38
+ attr_accessor :layers
39
+
40
+ # DPI resolution settings
41
+ attr_accessor :resolution_settings
42
+
43
+ # Raster options
44
+ attr_accessor :vector_rasterization_options
45
+
46
+ class EnumAttributeValidator
47
+ attr_reader :datatype
48
+ attr_reader :allowable_values
49
+
50
+ def initialize(datatype, allowable_values)
51
+ @allowable_values = allowable_values.map do |value|
52
+ case datatype.to_s
53
+ when /Integer/i
54
+ value.to_i
55
+ when /Float/i
56
+ value.to_f
57
+ else
58
+ value
59
+ end
60
+ end
61
+ end
62
+
63
+ def valid?(value)
64
+ !value || allowable_values.include?(value)
65
+ end
66
+ end
67
+
68
+ # Attribute mapping from ruby-style variable name to JSON key.
69
+ def self.attribute_map
70
+ {
71
+ :'rotation' => :'Rotation',
72
+ :'layers' => :'Layers',
73
+ :'resolution_settings' => :'ResolutionSettings',
74
+ :'vector_rasterization_options' => :'VectorRasterizationOptions'
75
+ }
76
+ end
77
+
78
+ # Attribute type mapping.
79
+ def self.swagger_types
80
+ {
81
+ :'rotation' => :'String',
82
+ :'layers' => :'Array<String>',
83
+ :'resolution_settings' => :'ResolutionSetting',
84
+ :'vector_rasterization_options' => :'CadRasterizationOptionsDTO'
85
+ }
86
+ end
87
+
88
+ # Initializes the object
89
+ # @param [Hash] attributes Model attributes in the form of hash
90
+ def initialize(attributes = {})
91
+ return unless attributes.is_a?(Hash)
92
+
93
+ # convert string to symbol for hash key
94
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
95
+
96
+ if attributes.key?(:'Rotation')
97
+ self.rotation = attributes[:'Rotation']
98
+ end
99
+
100
+ if attributes.key?(:'Layers')
101
+ if (value = attributes[:'Layers']).is_a?(Array)
102
+ self.layers = value
103
+ end
104
+ end
105
+
106
+ if attributes.key?(:'ResolutionSettings')
107
+ self.resolution_settings = attributes[:'ResolutionSettings']
108
+ end
109
+
110
+ if attributes.key?(:'VectorRasterizationOptions')
111
+ self.vector_rasterization_options = attributes[:'VectorRasterizationOptions']
112
+ end
113
+
114
+ end
115
+
116
+ # Show invalid properties with the reasons. Usually used together with valid?
117
+ # @return Array for valid properies with the reasons
118
+ def list_invalid_properties
119
+ invalid_properties = []
120
+ if @rotation.nil?
121
+ invalid_properties.push("invalid value for 'rotation', rotation cannot be nil.")
122
+ end
123
+
124
+ return invalid_properties
125
+ end
126
+
127
+ # Check to see if the all the properties in the model are valid
128
+ # @return true if the model is valid
129
+ def valid?
130
+ return false if @rotation.nil?
131
+ rotation_validator = EnumAttributeValidator.new('String', ["RotateNoneFlipNone", "Rotate90FlipNone", "Rotate180FlipNone", "Rotate270FlipNone", "RotateNoneFlipX", "Rotate90FlipX", "Rotate180FlipX", "Rotate270FlipX", "RotateNoneFlipY", "Rotate90FlipY", "Rotate180FlipY", "Rotate270FlipY", "RotateNoneFlipXY", "Rotate90FlipXY", "Rotate180FlipXY", "Rotate270FlipXY"])
132
+ return false unless rotation_validator.valid?(@rotation)
133
+ return true
134
+ end
135
+
136
+ # Custom attribute writer method checking allowed values (enum).
137
+ # @param [Object] rotation Object to be assigned
138
+ def rotation=(rotation)
139
+ validator = EnumAttributeValidator.new('String', ["RotateNoneFlipNone", "Rotate90FlipNone", "Rotate180FlipNone", "Rotate270FlipNone", "RotateNoneFlipX", "Rotate90FlipX", "Rotate180FlipX", "Rotate270FlipX", "RotateNoneFlipY", "Rotate90FlipY", "Rotate180FlipY", "Rotate270FlipY", "RotateNoneFlipXY", "Rotate90FlipXY", "Rotate180FlipXY", "Rotate270FlipXY"])
140
+ if rotation.to_i == 0
141
+ unless validator.valid?(rotation)
142
+ raise ArgumentError, "invalid value for 'rotation', must be one of #{validator.allowable_values}."
143
+ end
144
+ @rotation = rotation
145
+ else
146
+ @rotation = validator.allowable_values[rotation.to_i]
147
+ end
148
+ end
149
+
150
+ # Checks equality by comparing each attribute.
151
+ # @param [Object] Object to be compared
152
+ def ==(other)
153
+ return true if self.equal?(other)
154
+ self.class == other.class &&
155
+ rotation == other.rotation &&
156
+ layers == other.layers &&
157
+ resolution_settings == other.resolution_settings &&
158
+ vector_rasterization_options == other.vector_rasterization_options
159
+ end
160
+
161
+ # @see the `==` method
162
+ # @param [Object] Object to be compared
163
+ def eql?(other)
164
+ self == other
165
+ end
166
+
167
+ # Calculates hash code according to all attributes.
168
+ # @return [Fixnum] Hash code
169
+ def hash
170
+ [rotation, layers, resolution_settings, vector_rasterization_options].hash
171
+ end
172
+
173
+ # Builds the object from hash
174
+ # @param [Hash] attributes Model attributes in the form of hash
175
+ # @return [Object] Returns the model itself
176
+ def build_from_hash(attributes)
177
+ return nil unless attributes.is_a?(Hash)
178
+ self.class.swagger_types.each_pair do |key, type|
179
+ if type =~ /\AArray<(.*)>/i
180
+ # check to ensure the input is an array given that the the attribute
181
+ # is documented as an array but the input is not
182
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
183
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
184
+ end
185
+ elsif !attributes[self.class.attribute_map[key]].nil?
186
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
187
+ end
188
+ # or else data not found in attributes(hash), not an issue as the data can be optional
189
+ end
190
+
191
+ self
192
+ end
193
+
194
+ # Deserializes the data based on type
195
+ # @param string type Data type
196
+ # @param string value Value to be deserialized
197
+ # @return [Object] Deserialized data
198
+ def _deserialize(type, value)
199
+ case type.to_sym
200
+ when :DateTime
201
+ Time.at(/\d/.match(value)[0].to_f).to_datetime
202
+ when :Date
203
+ Time.at(/\d/.match(value)[0].to_f).to_date
204
+ when :String
205
+ value.to_s
206
+ when :Integer
207
+ value.to_i
208
+ when :Float
209
+ value.to_f
210
+ when :BOOLEAN
211
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
212
+ true
213
+ else
214
+ false
215
+ end
216
+ when :Object
217
+ # generic object (usually a Hash), return directly
218
+ value
219
+ when /\AArray<(?<inner_type>.+)>\z/
220
+ inner_type = Regexp.last_match[:inner_type]
221
+ value.map { |v| _deserialize(inner_type, v) }
222
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
223
+ k_type = Regexp.last_match[:k_type]
224
+ v_type = Regexp.last_match[:v_type]
225
+ {}.tap do |hash|
226
+ value.each do |k, v|
227
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
228
+ end
229
+ end
230
+ else
231
+ # model
232
+ temp_model = AsposeCadCloud.const_get(type).new
233
+ temp_model.build_from_hash(value)
234
+ end
235
+ end
236
+
237
+ # Returns the string representation of the object
238
+ # @return [String] String presentation of the object
239
+ def to_s
240
+ to_hash.to_s
241
+ end
242
+
243
+ # to_body is an alias to to_hash (backward compatibility)
244
+ # @return [Hash] Returns the object in the form of hash
245
+ def to_body
246
+ to_hash
247
+ end
248
+
249
+ # Returns the object in the form of hash
250
+ # @return [Hash] Returns the object in the form of hash
251
+ def to_hash
252
+ hash = {}
253
+ self.class.attribute_map.each_pair do |attr, param|
254
+ value = self.send(attr)
255
+ next if value.nil?
256
+ hash[param] = _to_hash(value)
257
+ end
258
+ hash
259
+ end
260
+
261
+ # Outputs non-array value in the form of hash
262
+ # For object, use to_hash. Otherwise, just return the value
263
+ # @param [Object] value Any valid value
264
+ # @return [Hash] Returns the value in the form of hash
265
+ def _to_hash(value)
266
+ if value.is_a?(Array)
267
+ value.compact.map { |v| _to_hash(v) }
268
+ elsif value.is_a?(Hash)
269
+ {}.tap do |hash|
270
+ value.each { |k, v| hash[k] = _to_hash(v) }
271
+ end
272
+ elsif value.respond_to? :to_hash
273
+ value.to_hash
274
+ else
275
+ value
276
+ end
277
+ end
278
+
279
+ end
280
+
281
+ end
@@ -25,5 +25,5 @@
25
25
  # --------------------------------------------------------------------------------------------------------------------
26
26
  #
27
27
  module AsposeCadCloud
28
- VERSION = "20.11".freeze
28
+ VERSION = "24.5".freeze
29
29
  end
@@ -30,44 +30,84 @@ require_relative 'aspose_cad_cloud/version'
30
30
  require_relative 'aspose_cad_cloud/configuration'
31
31
 
32
32
  # Models
33
+ require_relative 'aspose_cad_cloud/models/bitmap_compression'
34
+ require_relative 'aspose_cad_cloud/models/cad_draw_type_mode'
33
35
  require_relative 'aspose_cad_cloud/models/cad_response'
34
- require_relative 'aspose_cad_cloud/models/cff2_properties'
36
+ require_relative 'aspose_cad_cloud/models/cf2_properties'
35
37
  require_relative 'aspose_cad_cloud/models/color'
38
+ require_relative 'aspose_cad_cloud/models/color_modes'
39
+ require_relative 'aspose_cad_cloud/models/compression_method'
36
40
  require_relative 'aspose_cad_cloud/models/dgn_properties'
37
41
  require_relative 'aspose_cad_cloud/models/disc_usage'
38
42
  require_relative 'aspose_cad_cloud/models/drawing_options_base_dto'
39
43
  require_relative 'aspose_cad_cloud/models/dwf_properties'
40
44
  require_relative 'aspose_cad_cloud/models/dwg_properties'
41
45
  require_relative 'aspose_cad_cloud/models/dxf_properties'
42
- require_relative 'aspose_cad_cloud/models/error'
43
46
  require_relative 'aspose_cad_cloud/models/error_details'
47
+ require_relative 'aspose_cad_cloud/models/error_model'
48
+ require_relative 'aspose_cad_cloud/models/fbx_properties'
44
49
  require_relative 'aspose_cad_cloud/models/file_versions'
45
50
  require_relative 'aspose_cad_cloud/models/files_list'
46
51
  require_relative 'aspose_cad_cloud/models/files_upload_result'
47
52
  require_relative 'aspose_cad_cloud/models/graphics_options'
48
53
  require_relative 'aspose_cad_cloud/models/ifc_properties'
49
54
  require_relative 'aspose_cad_cloud/models/igs_properties'
55
+ require_relative 'aspose_cad_cloud/models/interpolation_mode'
56
+ require_relative 'aspose_cad_cloud/models/jpeg2000_codec'
57
+ require_relative 'aspose_cad_cloud/models/jpeg_compression_color_mode'
58
+ require_relative 'aspose_cad_cloud/models/jpeg_compression_mode'
59
+ require_relative 'aspose_cad_cloud/models/line_cap'
60
+ require_relative 'aspose_cad_cloud/models/obj_properties'
50
61
  require_relative 'aspose_cad_cloud/models/object_exist'
62
+ require_relative 'aspose_cad_cloud/models/pdf_compliance'
63
+ require_relative 'aspose_cad_cloud/models/pdf_digital_signature_details_core_dto'
64
+ require_relative 'aspose_cad_cloud/models/pdf_digital_signature_hash_algorithm_core'
51
65
  require_relative 'aspose_cad_cloud/models/pdf_document_info'
52
- require_relative 'aspose_cad_cloud/models/pdf_document_options'
66
+ require_relative 'aspose_cad_cloud/models/pdf_document_options_dto'
53
67
  require_relative 'aspose_cad_cloud/models/pen_options'
68
+ require_relative 'aspose_cad_cloud/models/plt_properties'
69
+ require_relative 'aspose_cad_cloud/models/png_color_type'
70
+ require_relative 'aspose_cad_cloud/models/png_filter_type'
54
71
  require_relative 'aspose_cad_cloud/models/rd_optimizer_settings'
55
72
  require_relative 'aspose_cad_cloud/models/resolution_setting'
73
+ require_relative 'aspose_cad_cloud/models/rotate_flip_type'
74
+ require_relative 'aspose_cad_cloud/models/smoothing_mode'
56
75
  require_relative 'aspose_cad_cloud/models/stl_properties'
57
76
  require_relative 'aspose_cad_cloud/models/storage_exist'
58
77
  require_relative 'aspose_cad_cloud/models/storage_file'
78
+ require_relative 'aspose_cad_cloud/models/stp_properties'
79
+ require_relative 'aspose_cad_cloud/models/svg_color_mode'
80
+ require_relative 'aspose_cad_cloud/models/text_rendering_hint'
81
+ require_relative 'aspose_cad_cloud/models/tiff_byte_order'
82
+ require_relative 'aspose_cad_cloud/models/tiff_compressions'
83
+ require_relative 'aspose_cad_cloud/models/tiff_expected_format'
84
+ require_relative 'aspose_cad_cloud/models/tiff_photometrics'
85
+ require_relative 'aspose_cad_cloud/models/unit_type'
59
86
  require_relative 'aspose_cad_cloud/models/vector_rasterization_options_dto'
60
87
  require_relative 'aspose_cad_cloud/models/bmp_options_dto'
61
88
  require_relative 'aspose_cad_cloud/models/cad_rasterization_options_dto'
89
+ require_relative 'aspose_cad_cloud/models/cgm_options_dto'
90
+ require_relative 'aspose_cad_cloud/models/dicom_options_dto'
91
+ require_relative 'aspose_cad_cloud/models/draco_options_dto'
92
+ require_relative 'aspose_cad_cloud/models/dwf_options_dto'
93
+ require_relative 'aspose_cad_cloud/models/dxf_options_dto'
94
+ require_relative 'aspose_cad_cloud/models/fbx_options_dto'
62
95
  require_relative 'aspose_cad_cloud/models/file_version'
63
96
  require_relative 'aspose_cad_cloud/models/gif_options_dto'
97
+ require_relative 'aspose_cad_cloud/models/glb_options_dto'
98
+ require_relative 'aspose_cad_cloud/models/gltf_options_dto'
64
99
  require_relative 'aspose_cad_cloud/models/jpeg2000_options_dto'
65
100
  require_relative 'aspose_cad_cloud/models/jpeg_options_dto'
101
+ require_relative 'aspose_cad_cloud/models/obj_options_dto'
66
102
  require_relative 'aspose_cad_cloud/models/pdf_options_dto'
67
103
  require_relative 'aspose_cad_cloud/models/png_options_dto'
68
104
  require_relative 'aspose_cad_cloud/models/psd_options_dto'
105
+ require_relative 'aspose_cad_cloud/models/stp_options_dto'
69
106
  require_relative 'aspose_cad_cloud/models/svg_options_dto'
107
+ require_relative 'aspose_cad_cloud/models/three_ds_options_dto'
70
108
  require_relative 'aspose_cad_cloud/models/tiff_options_dto'
109
+ require_relative 'aspose_cad_cloud/models/u3d_options_dto'
110
+ require_relative 'aspose_cad_cloud/models/webp_options_dto'
71
111
  require_relative 'aspose_cad_cloud/models/wmf_options_dto'
72
112
 
73
113
  # APIs
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aspose_cad_cloud
3
3
  version: !ruby/object:Gem::Version
4
- version: '20.11'
4
+ version: '24.5'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aspose
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-01-17 00:00:00.000000000 Z
11
+ date: 2024-06-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -16,28 +16,42 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.14.0
19
+ version: 2.9.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 0.14.0
26
+ version: 2.9.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: mimemagic
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 0.3.2
33
+ version: 0.4.3
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 0.3.2
40
+ version: 0.4.3
41
+ - !ruby/object:Gem::Dependency
42
+ name: faraday-multipart
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: 1.0.4
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: 1.0.4
41
55
  - !ruby/object:Gem::Dependency
42
56
  name: minitest
43
57
  requirement: !ruby/object:Gem::Requirement
@@ -74,43 +88,73 @@ files:
74
88
  - lib/aspose_cad_cloud/api_client.rb
75
89
  - lib/aspose_cad_cloud/api_error.rb
76
90
  - lib/aspose_cad_cloud/configuration.rb
91
+ - lib/aspose_cad_cloud/models/bitmap_compression.rb
77
92
  - lib/aspose_cad_cloud/models/bmp_options_dto.rb
93
+ - lib/aspose_cad_cloud/models/cad_draw_type_mode.rb
78
94
  - lib/aspose_cad_cloud/models/cad_rasterization_options_dto.rb
79
95
  - lib/aspose_cad_cloud/models/cad_response.rb
80
- - lib/aspose_cad_cloud/models/cff2_properties.rb
96
+ - lib/aspose_cad_cloud/models/cf2_properties.rb
97
+ - lib/aspose_cad_cloud/models/cgm_options_dto.rb
81
98
  - lib/aspose_cad_cloud/models/color.rb
99
+ - lib/aspose_cad_cloud/models/color_modes.rb
100
+ - lib/aspose_cad_cloud/models/compression_method.rb
82
101
  - lib/aspose_cad_cloud/models/dgn_properties.rb
102
+ - lib/aspose_cad_cloud/models/dicom_options_dto.rb
83
103
  - lib/aspose_cad_cloud/models/disc_usage.rb
104
+ - lib/aspose_cad_cloud/models/draco_options_dto.rb
84
105
  - lib/aspose_cad_cloud/models/drawing_options_base_dto.rb
106
+ - lib/aspose_cad_cloud/models/dwf_options_dto.rb
85
107
  - lib/aspose_cad_cloud/models/dwf_properties.rb
86
108
  - lib/aspose_cad_cloud/models/dwg_properties.rb
109
+ - lib/aspose_cad_cloud/models/dxf_options_dto.rb
87
110
  - lib/aspose_cad_cloud/models/dxf_properties.rb
88
- - lib/aspose_cad_cloud/models/error.rb
89
111
  - lib/aspose_cad_cloud/models/error_details.rb
112
+ - lib/aspose_cad_cloud/models/error_model.rb
113
+ - lib/aspose_cad_cloud/models/fbx_options_dto.rb
114
+ - lib/aspose_cad_cloud/models/fbx_properties.rb
90
115
  - lib/aspose_cad_cloud/models/file_version.rb
91
116
  - lib/aspose_cad_cloud/models/file_versions.rb
92
117
  - lib/aspose_cad_cloud/models/files_list.rb
93
118
  - lib/aspose_cad_cloud/models/files_upload_result.rb
94
119
  - lib/aspose_cad_cloud/models/gif_options_dto.rb
120
+ - lib/aspose_cad_cloud/models/glb_options_dto.rb
121
+ - lib/aspose_cad_cloud/models/gltf_options_dto.rb
95
122
  - lib/aspose_cad_cloud/models/graphics_options.rb
96
123
  - lib/aspose_cad_cloud/models/ifc_properties.rb
97
124
  - lib/aspose_cad_cloud/models/igs_properties.rb
125
+ - lib/aspose_cad_cloud/models/interpolation_mode.rb
126
+ - lib/aspose_cad_cloud/models/jpeg2000_codec.rb
98
127
  - lib/aspose_cad_cloud/models/jpeg2000_options_dto.rb
128
+ - lib/aspose_cad_cloud/models/jpeg_compression_color_mode.rb
129
+ - lib/aspose_cad_cloud/models/jpeg_compression_mode.rb
99
130
  - lib/aspose_cad_cloud/models/jpeg_options_dto.rb
131
+ - lib/aspose_cad_cloud/models/line_cap.rb
132
+ - lib/aspose_cad_cloud/models/obj_options_dto.rb
133
+ - lib/aspose_cad_cloud/models/obj_properties.rb
100
134
  - lib/aspose_cad_cloud/models/object_exist.rb
135
+ - lib/aspose_cad_cloud/models/pdf_compliance.rb
136
+ - lib/aspose_cad_cloud/models/pdf_digital_signature_details_core_dto.rb
137
+ - lib/aspose_cad_cloud/models/pdf_digital_signature_hash_algorithm_core.rb
101
138
  - lib/aspose_cad_cloud/models/pdf_document_info.rb
102
- - lib/aspose_cad_cloud/models/pdf_document_options.rb
139
+ - lib/aspose_cad_cloud/models/pdf_document_options_dto.rb
103
140
  - lib/aspose_cad_cloud/models/pdf_options_dto.rb
104
141
  - lib/aspose_cad_cloud/models/pen_options.rb
142
+ - lib/aspose_cad_cloud/models/plt_properties.rb
143
+ - lib/aspose_cad_cloud/models/png_color_type.rb
144
+ - lib/aspose_cad_cloud/models/png_filter_type.rb
105
145
  - lib/aspose_cad_cloud/models/png_options_dto.rb
106
146
  - lib/aspose_cad_cloud/models/psd_options_dto.rb
107
147
  - lib/aspose_cad_cloud/models/rd_optimizer_settings.rb
148
+ - lib/aspose_cad_cloud/models/requests/ConvertRequest.rb
108
149
  - lib/aspose_cad_cloud/models/requests/CopyFileRequest.rb
109
150
  - lib/aspose_cad_cloud/models/requests/CopyFolderRequest.rb
110
151
  - lib/aspose_cad_cloud/models/requests/CreateFolderRequest.rb
111
152
  - lib/aspose_cad_cloud/models/requests/DeleteFileRequest.rb
112
153
  - lib/aspose_cad_cloud/models/requests/DeleteFolderRequest.rb
113
154
  - lib/aspose_cad_cloud/models/requests/DownloadFileRequest.rb
155
+ - lib/aspose_cad_cloud/models/requests/EditMetadataRequest.rb
156
+ - lib/aspose_cad_cloud/models/requests/ExtractMetadataRequest.rb
157
+ - lib/aspose_cad_cloud/models/requests/ExtractTextRequest.rb
114
158
  - lib/aspose_cad_cloud/models/requests/GetDiscUsageRequest.rb
115
159
  - lib/aspose_cad_cloud/models/requests/GetDrawingPropertiesRequest.rb
116
160
  - lib/aspose_cad_cloud/models/requests/GetDrawingResizeRequest.rb
@@ -121,10 +165,20 @@ files:
121
165
  - lib/aspose_cad_cloud/models/requests/MoveFileRequest.rb
122
166
  - lib/aspose_cad_cloud/models/requests/MoveFolderRequest.rb
123
167
  - lib/aspose_cad_cloud/models/requests/ObjectExistsRequest.rb
168
+ - lib/aspose_cad_cloud/models/requests/PaperToCadRequest.rb
124
169
  - lib/aspose_cad_cloud/models/requests/PostDrawingBmpRequest.rb
170
+ - lib/aspose_cad_cloud/models/requests/PostDrawingCgmRequest.rb
171
+ - lib/aspose_cad_cloud/models/requests/PostDrawingDicomRequest.rb
172
+ - lib/aspose_cad_cloud/models/requests/PostDrawingDracoRequest.rb
173
+ - lib/aspose_cad_cloud/models/requests/PostDrawingDwfRequest.rb
174
+ - lib/aspose_cad_cloud/models/requests/PostDrawingDxfRequest.rb
175
+ - lib/aspose_cad_cloud/models/requests/PostDrawingFbxRequest.rb
125
176
  - lib/aspose_cad_cloud/models/requests/PostDrawingGifRequest.rb
177
+ - lib/aspose_cad_cloud/models/requests/PostDrawingGlbRequest.rb
178
+ - lib/aspose_cad_cloud/models/requests/PostDrawingGltfRequest.rb
126
179
  - lib/aspose_cad_cloud/models/requests/PostDrawingJpeg2000Request.rb
127
180
  - lib/aspose_cad_cloud/models/requests/PostDrawingJpegRequest.rb
181
+ - lib/aspose_cad_cloud/models/requests/PostDrawingObjRequest.rb
128
182
  - lib/aspose_cad_cloud/models/requests/PostDrawingPdfRequest.rb
129
183
  - lib/aspose_cad_cloud/models/requests/PostDrawingPngRequest.rb
130
184
  - lib/aspose_cad_cloud/models/requests/PostDrawingPropertiesRequest.rb
@@ -132,28 +186,62 @@ files:
132
186
  - lib/aspose_cad_cloud/models/requests/PostDrawingResizeRequest.rb
133
187
  - lib/aspose_cad_cloud/models/requests/PostDrawingRotateFlipRequest.rb
134
188
  - lib/aspose_cad_cloud/models/requests/PostDrawingSaveAsRequest.rb
189
+ - lib/aspose_cad_cloud/models/requests/PostDrawingStpRequest.rb
135
190
  - lib/aspose_cad_cloud/models/requests/PostDrawingSvgRequest.rb
191
+ - lib/aspose_cad_cloud/models/requests/PostDrawingThreeDsRequest.rb
136
192
  - lib/aspose_cad_cloud/models/requests/PostDrawingTiffRequest.rb
193
+ - lib/aspose_cad_cloud/models/requests/PostDrawingU3dRequest.rb
194
+ - lib/aspose_cad_cloud/models/requests/PostDrawingWebpRequest.rb
137
195
  - lib/aspose_cad_cloud/models/requests/PostDrawingWmfRequest.rb
138
196
  - lib/aspose_cad_cloud/models/requests/PutDrawingBmpRequest.rb
197
+ - lib/aspose_cad_cloud/models/requests/PutDrawingCgmRequest.rb
198
+ - lib/aspose_cad_cloud/models/requests/PutDrawingDicomRequest.rb
199
+ - lib/aspose_cad_cloud/models/requests/PutDrawingDracoRequest.rb
200
+ - lib/aspose_cad_cloud/models/requests/PutDrawingDwfRequest.rb
201
+ - lib/aspose_cad_cloud/models/requests/PutDrawingDxfRequest.rb
202
+ - lib/aspose_cad_cloud/models/requests/PutDrawingFbxRequest.rb
139
203
  - lib/aspose_cad_cloud/models/requests/PutDrawingGifRequest.rb
204
+ - lib/aspose_cad_cloud/models/requests/PutDrawingGlbRequest.rb
205
+ - lib/aspose_cad_cloud/models/requests/PutDrawingGltfRequest.rb
140
206
  - lib/aspose_cad_cloud/models/requests/PutDrawingJpeg2000Request.rb
141
207
  - lib/aspose_cad_cloud/models/requests/PutDrawingJpegRequest.rb
208
+ - lib/aspose_cad_cloud/models/requests/PutDrawingObjRequest.rb
142
209
  - lib/aspose_cad_cloud/models/requests/PutDrawingPdfRequest.rb
143
210
  - lib/aspose_cad_cloud/models/requests/PutDrawingPngRequest.rb
144
211
  - lib/aspose_cad_cloud/models/requests/PutDrawingPsdRequest.rb
212
+ - lib/aspose_cad_cloud/models/requests/PutDrawingStpRequest.rb
145
213
  - lib/aspose_cad_cloud/models/requests/PutDrawingSvgRequest.rb
214
+ - lib/aspose_cad_cloud/models/requests/PutDrawingThreeDsRequest.rb
146
215
  - lib/aspose_cad_cloud/models/requests/PutDrawingTiffRequest.rb
216
+ - lib/aspose_cad_cloud/models/requests/PutDrawingU3dRequest.rb
217
+ - lib/aspose_cad_cloud/models/requests/PutDrawingWebpRequest.rb
147
218
  - lib/aspose_cad_cloud/models/requests/PutDrawingWmfRequest.rb
219
+ - lib/aspose_cad_cloud/models/requests/PutEditMetadataRequest.rb
148
220
  - lib/aspose_cad_cloud/models/requests/StorageExistsRequest.rb
149
221
  - lib/aspose_cad_cloud/models/requests/UploadFileRequest.rb
222
+ - lib/aspose_cad_cloud/models/requests/ViewerRequest.rb
223
+ - lib/aspose_cad_cloud/models/requests/WatermarkRequest.rb
150
224
  - lib/aspose_cad_cloud/models/resolution_setting.rb
225
+ - lib/aspose_cad_cloud/models/rotate_flip_type.rb
226
+ - lib/aspose_cad_cloud/models/smoothing_mode.rb
151
227
  - lib/aspose_cad_cloud/models/stl_properties.rb
152
228
  - lib/aspose_cad_cloud/models/storage_exist.rb
153
229
  - lib/aspose_cad_cloud/models/storage_file.rb
230
+ - lib/aspose_cad_cloud/models/stp_options_dto.rb
231
+ - lib/aspose_cad_cloud/models/stp_properties.rb
232
+ - lib/aspose_cad_cloud/models/svg_color_mode.rb
154
233
  - lib/aspose_cad_cloud/models/svg_options_dto.rb
234
+ - lib/aspose_cad_cloud/models/text_rendering_hint.rb
235
+ - lib/aspose_cad_cloud/models/three_ds_options_dto.rb
236
+ - lib/aspose_cad_cloud/models/tiff_byte_order.rb
237
+ - lib/aspose_cad_cloud/models/tiff_compressions.rb
238
+ - lib/aspose_cad_cloud/models/tiff_expected_format.rb
155
239
  - lib/aspose_cad_cloud/models/tiff_options_dto.rb
240
+ - lib/aspose_cad_cloud/models/tiff_photometrics.rb
241
+ - lib/aspose_cad_cloud/models/u3d_options_dto.rb
242
+ - lib/aspose_cad_cloud/models/unit_type.rb
156
243
  - lib/aspose_cad_cloud/models/vector_rasterization_options_dto.rb
244
+ - lib/aspose_cad_cloud/models/webp_options_dto.rb
157
245
  - lib/aspose_cad_cloud/models/wmf_options_dto.rb
158
246
  - lib/aspose_cad_cloud/version.rb
159
247
  homepage: https://github.com/aspose-cad-cloud/aspose-cad-cloud-ruby
@@ -166,16 +254,16 @@ require_paths:
166
254
  - lib
167
255
  required_ruby_version: !ruby/object:Gem::Requirement
168
256
  requirements:
169
- - - "~>"
257
+ - - ">="
170
258
  - !ruby/object:Gem::Version
171
- version: '2.3'
259
+ version: 2.7.0
172
260
  required_rubygems_version: !ruby/object:Gem::Requirement
173
261
  requirements:
174
262
  - - ">="
175
263
  - !ruby/object:Gem::Version
176
264
  version: '0'
177
265
  requirements: []
178
- rubygems_version: 3.1.4
266
+ rubygems_version: 3.5.9
179
267
  signing_key:
180
268
  specification_version: 4
181
269
  summary: SDK for operating with Aspose.CAD Cloud API to manipulate with CAD and BIM