Method: AsposeCellsCloud::RangeCopyRequest#initialize
- Defined in:
- lib/aspose_cells_cloud/models/range_copy_request.rb
#initialize(attributes = {}) ⇒ RangeCopyRequest
Initializes the object
69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 |
# File 'lib/aspose_cells_cloud/models/range_copy_request.rb', line 69 def initialize(attributes = {}) return unless attributes.is_a?(Hash) # convert string to symbol for hash key attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} if attributes.has_key?(:'Operate') self.operate = attributes[:'Operate'] end if attributes.has_key?(:'Source') self.source = attributes[:'Source'] end if attributes.has_key?(:'Target') self.target = attributes[:'Target'] end if attributes.has_key?(:'TargetWorkbook') self.target_workbook = attributes[:'TargetWorkbook'] end if attributes.has_key?(:'PasteOptions') self. = attributes[:'PasteOptions'] end end |