Sha256: 9cc8cb1b64001897194e5d2d414a136b8bf3a14dd175289a1bd8c6b5898fcdec
Contents?: true
Size: 1.08 KB
Versions: 3
Compression:
Stored size: 1.08 KB
Contents
module AsposeTasksCloud # class ExtendedAttributeItem < BaseObject attr_accessor :link, :index, :field_name # attribute mapping from ruby-style variable name to JSON key def self.attribute_map { # :'link' => :'Link', # :'index' => :'Index', # :'field_name' => :'FieldName' } end # attribute type def self.swagger_types { :'link' => :'Link', :'index' => :'Integer', :'field_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[:'Index'] self.index = attributes[:'Index'] end if attributes[:'FieldName'] self.field_name = attributes[:'FieldName'] end end end end
Version data entries
3 entries across 3 versions & 1 rubygems