Sha256: 4a7b6758ec8e5316c9ec56d474e4773a672837ce9e17072f8a110e684d49afdb
Contents?: true
Size: 1006 Bytes
Versions: 3
Compression:
Stored size: 1006 Bytes
Contents
module AsposeTasksCloud # class ResourceItems < BaseObject attr_accessor :resource_item, :link # attribute mapping from ruby-style variable name to JSON key def self.attribute_map { # :'resource_item' => :'ResourceItem', # :'link' => :'link' } end # attribute type def self.swagger_types { :'resource_item' => :'Array<ResourceItem>', :'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[:'ResourceItem'] if (value = attributes[:'ResourceItem']).is_a?(Array) self.resource_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