Sha256: 20f99d58389a0d8cbc3e5c45e9a5fdc7bf3ec985ecb6df0e180e5f71362d2fdf

Contents?: true

Size: 1.27 KB

Versions: 3

Compression:

Stored size: 1.27 KB

Contents

# frozen_string_literal: true

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

    ASSOCIATION = {
      permissionsIn: CaligraphPermission,
      permissionsOut: CaligraphPermission,
      remoteAccounts: CaligraphRemoteAccount
    }.freeze

    # @return [String]
    attr_accessor :apiKey
    # @return [String]
    attr_accessor :email
    # @return [String]
    attr_accessor :id
    # @return [Boolean]
    attr_accessor :inDebugMode
    # @return [String]
    attr_accessor :lifecycle
    # @return [String]
    attr_accessor :parentId
    # @return [Array<YouCanBookMe::CaligraphPermission>]
    attr_accessor :permissionsIn
    # @return [Array<YouCanBookMe::CaligraphPermission>]
    attr_accessor :permissionsOut
    # @return [String]
    attr_accessor :plan
    # @return [Integer]
    attr_accessor :planMonths
    # @return [Integer]
    attr_accessor :quantityAllocated
    # @return [Integer]
    attr_accessor :quantityForFree
    # @return [Integer]
    attr_accessor :quantityFreeTrial
    # @return [Integer]
    attr_accessor :quantityPaidFor
    # @return [Array<YouCanBookMe::CaligraphRemoteAccount>]
    attr_accessor :remoteAccounts
    # @return [String]
    attr_accessor :trialEndsAt
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

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