Sha256: 814ee3f29fd03f1d6a4f0702feb751cc239481ece52d139c623c03882d1387c8
Contents?: true
Size: 1.29 KB
Versions: 4
Compression:
Stored size: 1.29 KB
Contents
module AsposeWordsCloud # class SaveResult < BaseObject attr_accessor :source_document, :dest_document, :additional_items # attribute mapping from ruby-style variable name to JSON key def self.attribute_map { # :'source_document' => :'SourceDocument', # :'dest_document' => :'DestDocument', # :'additional_items' => :'AdditionalItems' } end # attribute type def self.swagger_types { :'source_document' => :'Link', :'dest_document' => :'Link', :'additional_items' => :'Array<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[:'SourceDocument'] self.source_document = attributes[:'SourceDocument'] end if attributes[:'DestDocument'] self.dest_document = attributes[:'DestDocument'] end if attributes[:'AdditionalItems'] if (value = attributes[:'AdditionalItems']).is_a?(Array) self.additional_items = value end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems