Method: AsposeCellsCloud::CellsObjectOperateTaskParameter#initialize

Defined in:
lib/aspose_cells_cloud/models/cells_object_operate_task_parameter.rb

#initialize(attributes = {}) ⇒ CellsObjectOperateTaskParameter

Initializes the object

Parameters:

  • attributes (Hash) (defaults to: {})

    Model attributes in the form of hash



65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
# File 'lib/aspose_cells_cloud/models/cells_object_operate_task_parameter.rb', line 65

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?(:'OperateObject')
      self.operate_object = attributes[:'OperateObject']
  end
  if attributes.has_key?(:'OperateParameter')
      self.operate_parameter = attributes[:'OperateParameter']
  end
  if attributes.has_key?(:'DestinationDataSource')
      self.destination_data_source = attributes[:'DestinationDataSource']
  end
  if attributes.has_key?(:'DestinationWorkbook')
      self.destination_workbook = attributes[:'DestinationWorkbook']
  end

end