Class: AsposeCadCloud::GetDrawingRotateFlipRequest

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

Overview

Request model for get_drawing_rotate_flip operation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, output_format, rotate_flip_type, folder = nil, out_path = nil, storage = nil) ⇒ GetDrawingRotateFlipRequest

Initializes a new instance.

Parameters:

  • name

    Filename of a 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

  • folder (defaults to: nil)

    Folder with a drawing to process.

  • 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.



56
57
58
59
60
61
62
63
# File 'lib/aspose_cad_cloud/models/requests/GetDrawingRotateFlipRequest.rb', line 56

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

Instance Attribute Details

#folderObject

Folder with a drawing to process.



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

def folder
  @folder
end

#nameObject

Filename of a drawing.



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

def name
  @name
end

#out_pathObject

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



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

def out_path
  @out_path
end

#output_formatObject

Resulting file format.



38
39
40
# File 'lib/aspose_cad_cloud/models/requests/GetDrawingRotateFlipRequest.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/GetDrawingRotateFlipRequest.rb', line 40

def rotate_flip_type
  @rotate_flip_type
end

#storageObject

Your Aspose Cloud Storage name.



46
47
48
# File 'lib/aspose_cad_cloud/models/requests/GetDrawingRotateFlipRequest.rb', line 46

def storage
  @storage
end