Sha256: cfac8a68d7c0c87212d722f401f6b0bb9dc2a361c5f69bb261ebdb20577f42fc

Contents?: true

Size: 946 Bytes

Versions: 3

Compression:

Stored size: 946 Bytes

Contents

module AsposeTasksCloud
  # 
  class CalendarItems < BaseObject
    attr_accessor :list, :link
    # attribute mapping from ruby-style variable name to JSON key
    def self.attribute_map
      {
        
        # 
        :'list' => :'List',
        
        # 
        :'link' => :'link'
        
      }
    end

    # attribute type
    def self.swagger_types
      {
        :'list' => :'Array<CalendarItem>',
        :'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[:'List']
        if (value = attributes[:'List']).is_a?(Array)
          self.list = value
        end
      end
      
      if attributes[:'link']
        self.link = attributes[:'link']
      end
      
    end

  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
aspose_tasks_cloud-1.0.2 lib/aspose_tasks_cloud/models/calendar_items.rb
aspose_tasks_cloud-1.0.1 lib/aspose_tasks_cloud/models/calendar_items.rb
aspose_tasks_cloud-1.0.0 lib/aspose_tasks_cloud/models/calendar_items.rb