Sha256: 487bd2ca0d92bf206190b1c8d1daf06d5dc93199ea0a5347630accbe3c6ba743
Contents?: true
Size: 1.02 KB
Versions: 3
Compression:
Stored size: 1.02 KB
Contents
module AsposeTasksCloud # class CalendarItem < BaseObject attr_accessor :link, :uid, :name # attribute mapping from ruby-style variable name to JSON key def self.attribute_map { # :'link' => :'Link', # :'uid' => :'Uid', # :'name' => :'Name' } end # attribute type def self.swagger_types { :'link' => :'Link', :'uid' => :'Integer', :'name' => :'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[:'Link'] self.link = attributes[:'Link'] end if attributes[:'Uid'] self.uid = attributes[:'Uid'] end if attributes[:'Name'] self.name = attributes[:'Name'] end end end end
Version data entries
3 entries across 3 versions & 1 rubygems