Sha256: 739089194a368ba853f01ee44be6808e200b8140dd1f5e27ae8035c97c9942d2
Contents?: true
Size: 1.01 KB
Versions: 4
Compression:
Stored size: 1.01 KB
Contents
module AsposeWordsCloud # class SectionLinkCollection < BaseObject attr_accessor :section_link_list, :link # attribute mapping from ruby-style variable name to JSON key def self.attribute_map { # :'section_link_list' => :'SectionLinkList', # :'link' => :'link' } end # attribute type def self.swagger_types { :'section_link_list' => :'Array<SectionLink>', :'link' => :'Link' } 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[:'SectionLinkList'] if (value = attributes[:'SectionLinkList']).is_a?(Array) self.section_link_list = value end end if attributes[:'link'] self.link = attributes[:'link'] end end end end
Version data entries
4 entries across 4 versions & 1 rubygems