Class: AsposeSlidesCloud::FontSet
- Inherits:
-
BaseObject
- Object
- BaseObject
- AsposeSlidesCloud::FontSet
- Defined in:
- lib/aspose_slides_cloud/models/font_set.rb
Instance Attribute Summary collapse
-
#complex_script ⇒ Object
Returns the value of attribute complex_script.
-
#east_asian ⇒ Object
Returns the value of attribute east_asian.
-
#latin ⇒ Object
Returns the value of attribute latin.
Class Method Summary collapse
-
.attribute_map ⇒ Object
attribute mapping from ruby-style variable name to JSON key.
-
.swagger_types ⇒ Object
attribute type.
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ FontSet
constructor
A new instance of FontSet.
Methods inherited from BaseObject
#_deserialize, #_to_hash, #build_from_hash, #to_body, #to_hash, #to_s
Constructor Details
#initialize(attributes = {}) ⇒ FontSet
Returns a new instance of FontSet.
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 |
# File 'lib/aspose_slides_cloud/models/font_set.rb', line 31 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 |
Instance Attribute Details
#complex_script ⇒ Object
Returns the value of attribute complex_script.
4 5 6 |
# File 'lib/aspose_slides_cloud/models/font_set.rb', line 4 def complex_script @complex_script end |
#east_asian ⇒ Object
Returns the value of attribute east_asian.
4 5 6 |
# File 'lib/aspose_slides_cloud/models/font_set.rb', line 4 def east_asian @east_asian end |
#latin ⇒ Object
Returns the value of attribute latin.
4 5 6 |
# File 'lib/aspose_slides_cloud/models/font_set.rb', line 4 def latin @latin end |
Class Method Details
.attribute_map ⇒ Object
attribute mapping from ruby-style variable name to JSON key
6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/aspose_slides_cloud/models/font_set.rb', line 6 def self.attribute_map { # :'complex_script' => :'ComplexScript', # :'east_asian' => :'EastAsian', # :'latin' => :'Latin' } end |
.swagger_types ⇒ Object
attribute type
22 23 24 25 26 27 28 29 |
# File 'lib/aspose_slides_cloud/models/font_set.rb', line 22 def self.swagger_types { :'complex_script' => :'String', :'east_asian' => :'String', :'latin' => :'String' } end |