Sha256: 80a94e49184035d9f695dc78fefa717c4823669ada36a8891b939b2d8c998bab

Contents?: true

Size: 1.64 KB

Versions: 3

Compression:

Stored size: 1.64 KB

Contents

# frozen_string_literal: true

module YouCanBookMe
  # YouCanBookMe's Calendar model.
  class Calendar
    include ModelUtils

    ASSOCIATION = {
      events: Event,
      links: Link,
      remoteAccount: RemoteAccount
    }.freeze

    # @return [String]
    attr_accessor :backgroundColor
    # @return [Boolean]
    attr_accessor :changesRarely
    # @return [Boolean]
    attr_accessor :deleted
    # @return [String]
    attr_accessor :description
    # @return [Array<YouCanBookMe::Event>]
    attr_accessor :events
    # @return [Boolean]
    attr_accessor :failed
    # @return [String]
    attr_accessor :failure
    # @return [String]
    attr_accessor :foregroundColor
    # @return [Boolean]
    attr_accessor :freeBusy
    # @return [Boolean]
    attr_accessor :freeBusyOnly
    # @return [Boolean]
    attr_accessor :hidden
    # @return [String]
    attr_accessor :id
    # @return [Array<YouCanBookMe::Link>]
    attr_accessor :links
    # @return [Integer]
    attr_accessor :permissionLevel
    # @return [Boolean]
    attr_accessor :primary
    # @return [Boolean]
    attr_accessor :readable
    # @return [Boolean]
    attr_accessor :readableOnly
    # @return [YouCanBookMe::RemoteAccount]
    attr_accessor :remoteAccount
    # @return [String]
    attr_accessor :revision
    # @return [Boolean]
    attr_accessor :shared
    # @return [String]
    attr_accessor :systemUniqueId
    # @return [String]
    attr_accessor :timeZone
    # @return [String]
    attr_accessor :title
    # @return [String]
    attr_accessor :userName
    # @return [Boolean]
    attr_accessor :writeable
    # @return [Boolean]
    attr_accessor :writeableOnly
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
youcanbookme-0.0.3.alpha lib/youcanbookme/models/calendar.rb
youcanbookme-0.0.2.alpha lib/youcanbookme/models/calendar.rb
youcanbookme-0.0.1.alpha lib/youcanbookme/models/calendar.rb