Sha256: 535de54bcecf9f2b9c055ec27bb97f19c7cda306ac10b8da6e3db823f183db78

Contents?: true

Size: 1.08 KB

Versions: 3

Compression:

Stored size: 1.08 KB

Contents

module AsposeCellsCloud
  # 
  class FontSetting < BaseObject
    attr_accessor :font, :length, :start_index
    # attribute mapping from ruby-style variable name to JSON key
    def self.attribute_map
      {
        
        # 
        :'font' => :'Font',
        
        # 
        :'length' => :'Length',
        
        # 
        :'start_index' => :'StartIndex'
        
      }
    end

    # attribute type
    def self.swagger_types
      {
        :'font' => :'Font',
        :'length' => :'Integer',
        :'start_index' => :'Integer'
        
      }
    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[:'Font']
        self.font = attributes[:'Font']
      end
      
      if attributes[:'Length']
        self.length = attributes[:'Length']
      end
      
      if attributes[:'StartIndex']
        self.start_index = attributes[:'StartIndex']
      end
      
    end

  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
aspose_cells_cloud-1.0.10 lib/aspose_cells_cloud/models/font_setting.rb
aspose_cells_cloud-1.0.9 lib/aspose_cells_cloud/models/font_setting.rb
aspose_cells_cloud-1.0.8 lib/aspose_cells_cloud/models/font_setting.rb