Sha256: aafaa56e2b5d45bdb5b2e7f51da26ef39aa9a0cd9af3308df842a2cc62faa56b
Contents?: true
Size: 1.78 KB
Versions: 4
Compression:
Stored size: 1.78 KB
Contents
module AsposeSlidesCloud # class FontScheme < BaseObject attr_accessor :major, :minor, :name, :self_uri, :alternate_links, :links # attribute mapping from ruby-style variable name to JSON key def self.attribute_map { # :'major' => :'Major', # :'minor' => :'Minor', # :'name' => :'Name', # :'self_uri' => :'SelfUri', # :'alternate_links' => :'AlternateLinks', # :'links' => :'Links' } end # attribute type def self.swagger_types { :'major' => :'FontSet', :'minor' => :'FontSet', :'name' => :'String', :'self_uri' => :'ResourceUri', :'alternate_links' => :'Array<ResourceUri>', :'links' => :'Array<ResourceUri>' } 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[:'Major'] self.major = attributes[:'Major'] end if attributes[:'Minor'] self.minor = attributes[:'Minor'] end if attributes[:'Name'] self.name = attributes[:'Name'] end if attributes[:'SelfUri'] self.self_uri = attributes[:'SelfUri'] end if attributes[:'AlternateLinks'] if (value = attributes[:'AlternateLinks']).is_a?(Array) self.alternate_links = value end end if attributes[:'Links'] if (value = attributes[:'Links']).is_a?(Array) self.links = value end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems