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