module AsposeCellsCloud # class ImportBatchDataOption < BaseObject attr_accessor :destination_worksheet, :is_insert, :source, :import_data_type, :batch_data # attribute mapping from ruby-style variable name to JSON key def self.attribute_map { # :'destination_worksheet' => :'DestinationWorksheet', # :'is_insert' => :'IsInsert', # :'source' => :'Source', # :'import_data_type' => :'ImportDataType', # :'batch_data' => :'BatchData' } end # attribute type def self.swagger_types { :'destination_worksheet' => :'String', :'is_insert' => :'BOOLEAN', :'source' => :'ImportSource', :'import_data_type' => :'String', :'batch_data' => :'Array' } end def initialize(attributes = {}) return if !attributes.is_a?(Hash) || attributes.empty? # convert string to symbol for hash key attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo} if attributes[:'DestinationWorksheet'] self.destination_worksheet = attributes[:'DestinationWorksheet'] end if attributes[:'IsInsert'] self.is_insert = attributes[:'IsInsert'] end if attributes[:'Source'] self.source = attributes[:'Source'] end if attributes[:'ImportDataType'] self.import_data_type = attributes[:'ImportDataType'] end if attributes[:'BatchData'] if (value = attributes[:'BatchData']).is_a?(Array) self.batch_data = value end end end end end