Class: GroupDocsConversionCloud::MoveFileRequest
- Inherits:
-
Object
- Object
- GroupDocsConversionCloud::MoveFileRequest
- Defined in:
- lib/groupdocs_conversion_cloud/api/file_api.rb
Overview
Request model for move_file operation.
Instance Attribute Summary collapse
-
#dest_path ⇒ Object
Destination file path e.g.
-
#dest_storage_name ⇒ Object
Destination storage name.
-
#src_path ⇒ Object
Source file path e.g.
-
#src_storage_name ⇒ Object
Source storage name.
-
#version_id ⇒ Object
File version ID to move.
Instance Method Summary collapse
-
#initialize(src_path, dest_path, src_storage_name = nil, dest_storage_name = nil, version_id = nil) ⇒ MoveFileRequest
constructor
Initializes a new instance.
Constructor Details
#initialize(src_path, dest_path, src_storage_name = nil, dest_storage_name = nil, version_id = nil) ⇒ MoveFileRequest
Initializes a new instance.
668 669 670 671 672 673 674 |
# File 'lib/groupdocs_conversion_cloud/api/file_api.rb', line 668 def initialize(src_path, dest_path, src_storage_name = nil, dest_storage_name = nil, version_id = nil) self.src_path = src_path self.dest_path = dest_path self.src_storage_name = src_storage_name self.dest_storage_name = dest_storage_name self.version_id = version_id end |
Instance Attribute Details
#dest_path ⇒ Object
Destination file path e.g. ‘/dest.ext’
653 654 655 |
# File 'lib/groupdocs_conversion_cloud/api/file_api.rb', line 653 def dest_path @dest_path end |
#dest_storage_name ⇒ Object
Destination storage name
657 658 659 |
# File 'lib/groupdocs_conversion_cloud/api/file_api.rb', line 657 def dest_storage_name @dest_storage_name end |
#src_path ⇒ Object
Source file path e.g. ‘/src.ext’
651 652 653 |
# File 'lib/groupdocs_conversion_cloud/api/file_api.rb', line 651 def src_path @src_path end |
#src_storage_name ⇒ Object
Source storage name
655 656 657 |
# File 'lib/groupdocs_conversion_cloud/api/file_api.rb', line 655 def src_storage_name @src_storage_name end |
#version_id ⇒ Object
File version ID to move
659 660 661 |
# File 'lib/groupdocs_conversion_cloud/api/file_api.rb', line 659 def version_id @version_id end |