Sha256: 79e4dc6fbf1c5094699852e8bd3f298d88a79028dd655381102a1866fc1e11f0
Contents?: true
Size: 1.09 KB
Versions: 4
Compression:
Stored size: 1.09 KB
Contents
module AsposeSlidesCloud # class SlideComment < BaseObject attr_accessor :author, :text, :created_time # attribute mapping from ruby-style variable name to JSON key def self.attribute_map { # :'author' => :'Author', # :'text' => :'Text', # :'created_time' => :'CreatedTime' } end # attribute type def self.swagger_types { :'author' => :'String', :'text' => :'String', :'created_time' => :'String' } 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[:'Author'] self.author = attributes[:'Author'] end if attributes[:'Text'] self.text = attributes[:'Text'] end if attributes[:'CreatedTime'] self.created_time = attributes[:'CreatedTime'] end end end end
Version data entries
4 entries across 4 versions & 1 rubygems