Sha256: db864d47e1cb27ebe9a448d1880a6aa2faf587521cdb778d8d43ce4275e685f8

Contents?: true

Size: 1.13 KB

Versions: 4

Compression:

Stored size: 1.13 KB

Contents

module AsposeSlidesCloud
  # 
  class FontSet < BaseObject
    attr_accessor :complex_script, :east_asian, :latin
    # attribute mapping from ruby-style variable name to JSON key
    def self.attribute_map
      {
        
        # 
        :'complex_script' => :'ComplexScript',
        
        # 
        :'east_asian' => :'EastAsian',
        
        # 
        :'latin' => :'Latin'
        
      }
    end

    # attribute type
    def self.swagger_types
      {
        :'complex_script' => :'String',
        :'east_asian' => :'String',
        :'latin' => :'String'
        
      }
    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[:'ComplexScript']
        self.complex_script = attributes[:'ComplexScript']
      end
      
      if attributes[:'EastAsian']
        self.east_asian = attributes[:'EastAsian']
      end
      
      if attributes[:'Latin']
        self.latin = attributes[:'Latin']
      end
      
    end

  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
aspose_slides_cloud-1.0.3 lib/aspose_slides_cloud/models/font_set.rb
aspose_slides_cloud-1.0.2 lib/aspose_slides_cloud/models/font_set.rb
aspose_slides_cloud-1.0.1 lib/aspose_slides_cloud/models/font_set.rb
aspose_slides_cloud-1.0.0 lib/aspose_slides_cloud/models/font_set.rb