Class: GroupDocsConversionCloud::CopyFileRequest
- Inherits:
-
Object
- Object
- GroupDocsConversionCloud::CopyFileRequest
- Defined in:
- lib/groupdocs_conversion_cloud/api/file_api.rb
Overview
Request model for copy_file operation.
Instance Attribute Summary collapse
-
#dest_path ⇒ Object
Destination file path.
-
#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 copy.
Instance Method Summary collapse
-
#initialize(src_path, dest_path, src_storage_name = nil, dest_storage_name = nil, version_id = nil) ⇒ CopyFileRequest
constructor
Initializes a new instance.
Constructor Details
#initialize(src_path, dest_path, src_storage_name = nil, dest_storage_name = nil, version_id = nil) ⇒ CopyFileRequest
Initializes a new instance.
501 502 503 504 505 506 507 |
# File 'lib/groupdocs_conversion_cloud/api/file_api.rb', line 501 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
486 487 488 |
# File 'lib/groupdocs_conversion_cloud/api/file_api.rb', line 486 def dest_path @dest_path end |
#dest_storage_name ⇒ Object
Destination storage name
490 491 492 |
# File 'lib/groupdocs_conversion_cloud/api/file_api.rb', line 490 def dest_storage_name @dest_storage_name end |
#src_path ⇒ Object
Source file path e.g. ‘/folder/file.ext’
484 485 486 |
# File 'lib/groupdocs_conversion_cloud/api/file_api.rb', line 484 def src_path @src_path end |
#src_storage_name ⇒ Object
Source storage name
488 489 490 |
# File 'lib/groupdocs_conversion_cloud/api/file_api.rb', line 488 def src_storage_name @src_storage_name end |
#version_id ⇒ Object
File version ID to copy
492 493 494 |
# File 'lib/groupdocs_conversion_cloud/api/file_api.rb', line 492 def version_id @version_id end |