Sha256: 8fed53fd224259c2e8d1c2a282aadcea1c77224a2340402c6528823842afae82
Contents?: true
Size: 970 Bytes
Versions: 3
Compression:
Stored size: 970 Bytes
Contents
module AsposeTasksCloud # class TaskItems < BaseObject attr_accessor :task_item, :link # attribute mapping from ruby-style variable name to JSON key def self.attribute_map { # :'task_item' => :'TaskItem', # :'link' => :'link' } end # attribute type def self.swagger_types { :'task_item' => :'Array<TaskItem>', :'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[:'TaskItem'] if (value = attributes[:'TaskItem']).is_a?(Array) self.task_item = value end end if attributes[:'link'] self.link = attributes[:'link'] end end end end
Version data entries
3 entries across 3 versions & 1 rubygems