Sha256: 1254ffd84cd645a0ac360b4dd4001f49fc04c6597257ef370880f3c2bc9167f7
Contents?: true
Size: 1.71 KB
Versions: 6
Compression:
Stored size: 1.71 KB
Contents
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<CellValue>' } 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
Version data entries
6 entries across 6 versions & 1 rubygems