Class: AsposeCadCloud::PostDrawingRotateFlipRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/aspose_cad_cloud/models/requests/PostDrawingRotateFlipRequest.rb

Overview

Request model for post_drawing_rotate_flip operation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(drawing_data, output_format, rotate_flip_type, out_path = nil, storage = nil) ⇒ PostDrawingRotateFlipRequest

Initializes a new instance.

Parameters:

  • drawing_data

    Input drawing

  • output_format

    Resulting file format.

  • rotate_flip_type

    Rotate/flip operation to apply. Possible values: RotateNoneFlipNone, Rotate90FlipNone, Rotate180FlipNone, Rotate270FlipNone, RotateNoneFlipX, Rotate90FlipX, Rotate180FlipX, Rotate270FlipX, RotateNoneFlipY, Rotate90FlipY, Rotate180FlipY, Rotate270FlipY, RotateNoneFlipXY, Rotate90FlipXY, Rotate180FlipXY, Rotate270FlipXY

  • out_path (defaults to: nil)

    Path to updated file (if this is empty, response contains streamed file).

  • storage (defaults to: nil)

    Your Aspose Cloud Storage name.



53
54
55
56
57
58
59
# File 'lib/aspose_cad_cloud/models/requests/PostDrawingRotateFlipRequest.rb', line 53

def initialize(drawing_data, output_format, rotate_flip_type, out_path = nil, storage = nil)
   self.drawing_data = drawing_data
   self.output_format = output_format
   self.rotate_flip_type = rotate_flip_type
   self.out_path = out_path
   self.storage = storage
end

Instance Attribute Details

#drawing_dataObject

Input drawing



36
37
38
# File 'lib/aspose_cad_cloud/models/requests/PostDrawingRotateFlipRequest.rb', line 36

def drawing_data
  @drawing_data
end

#out_pathObject

Path to updated file (if this is empty, response contains streamed file).



42
43
44
# File 'lib/aspose_cad_cloud/models/requests/PostDrawingRotateFlipRequest.rb', line 42

def out_path
  @out_path
end

#output_formatObject

Resulting file format.



38
39
40
# File 'lib/aspose_cad_cloud/models/requests/PostDrawingRotateFlipRequest.rb', line 38

def output_format
  @output_format
end

#rotate_flip_typeObject

Rotate/flip operation to apply. Possible values: RotateNoneFlipNone, Rotate90FlipNone, Rotate180FlipNone, Rotate270FlipNone, RotateNoneFlipX, Rotate90FlipX, Rotate180FlipX, Rotate270FlipX, RotateNoneFlipY, Rotate90FlipY, Rotate180FlipY, Rotate270FlipY, RotateNoneFlipXY, Rotate90FlipXY, Rotate180FlipXY, Rotate270FlipXY



40
41
42
# File 'lib/aspose_cad_cloud/models/requests/PostDrawingRotateFlipRequest.rb', line 40

def rotate_flip_type
  @rotate_flip_type
end

#storageObject

Your Aspose Cloud Storage name.



44
45
46
# File 'lib/aspose_cad_cloud/models/requests/PostDrawingRotateFlipRequest.rb', line 44

def storage
  @storage
end