Sha256: dc91120ac06bc6e37d5cc3c3d08300d6880823477cbf92a46489dfa5f0b37fde
Contents?: true
Size: 1009 Bytes
Versions: 4
Compression:
Stored size: 1009 Bytes
Contents
module AsposeWordsCloud # class SearchResultsCollection < BaseObject attr_accessor :results_list, :link # attribute mapping from ruby-style variable name to JSON key def self.attribute_map { # :'results_list' => :'ResultsList', # :'link' => :'link' } end # attribute type def self.swagger_types { :'results_list' => :'Array<SearchResult>', :'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[:'ResultsList'] if (value = attributes[:'ResultsList']).is_a?(Array) self.results_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