Sha256: 4051dae255c57bea9f409dbaf873c8504f5fc403f2ab7a28ce4fff7b8b9ca96b
Contents?: true
Size: 1.91 KB
Versions: 10
Compression:
Stored size: 1.91 KB
Contents
module AsposeCellsCloud # class Cells < BaseObject attr_accessor :max_row, :max_column, :cell_count, :rows, :columns, :cell_list, :link # attribute mapping from ruby-style variable name to JSON key def self.attribute_map { # :'max_row' => :'MaxRow', # :'max_column' => :'MaxColumn', # :'cell_count' => :'CellCount', # :'rows' => :'Rows', # :'columns' => :'Columns', # :'cell_list' => :'CellList', # :'link' => :'link' } end # attribute type def self.swagger_types { :'max_row' => :'Integer', :'max_column' => :'Integer', :'cell_count' => :'Integer', :'rows' => :'LinkElement', :'columns' => :'LinkElement', :'cell_list' => :'Array<LinkElement>', :'link' => :'Link' } 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[:'MaxRow'] self.max_row = attributes[:'MaxRow'] end if attributes[:'MaxColumn'] self.max_column = attributes[:'MaxColumn'] end if attributes[:'CellCount'] self.cell_count = attributes[:'CellCount'] end if attributes[:'Rows'] self.rows = attributes[:'Rows'] end if attributes[:'Columns'] self.columns = attributes[:'Columns'] end if attributes[:'CellList'] if (value = attributes[:'CellList']).is_a?(Array) self.cell_list = value end end if attributes[:'link'] self.link = attributes[:'link'] end end end end
Version data entries
10 entries across 10 versions & 1 rubygems