Class: Calendly::ActivityLogEntry

Inherits:
Object
  • Object
show all
Includes:
ModelUtils
Defined in:
lib/calendly/models/activity_log_entry.rb

Overview

Calendly’s activity log entry model.

Constant Summary collapse

UUID_RE =
%r{\A#{Client::API_HOST}/activity_log_entries/(#{UUID_FORMAT})\z}.freeze
TIME_FIELDS =
%i[occurred_at].freeze

Constants included from ModelUtils

ModelUtils::UUID_FORMAT

Instance Attribute Summary collapse

Class Method Summary collapse

Methods included from ModelUtils

#client, #id, included, #initialize, #inspect

Instance Attribute Details

#actionString

The action associated with the entry.

Returns:

  • (String)


44
45
46
# File 'lib/calendly/models/activity_log_entry.rb', line 44

def action
  @action
end

#actorHash

The Calendly actor that took the action creating the activity log entry.

Returns:

  • (Hash)


30
31
32
# File 'lib/calendly/models/activity_log_entry.rb', line 30

def actor
  @actor
end

#detailsHash

Returns:

  • (Hash)


33
34
35
# File 'lib/calendly/models/activity_log_entry.rb', line 33

def details
  @details
end

#fully_qualified_nameString

Returns:

  • (String)


36
37
38
# File 'lib/calendly/models/activity_log_entry.rb', line 36

def fully_qualified_name
  @fully_qualified_name
end

#namespaceString

The category associated with the entry.

Returns:

  • (String)


40
41
42
# File 'lib/calendly/models/activity_log_entry.rb', line 40

def namespace
  @namespace
end

#occurred_atTime

The date and time of the entry.

Returns:

  • (Time)


26
27
28
# File 'lib/calendly/models/activity_log_entry.rb', line 26

def occurred_at
  @occurred_at
end

#organizationOrganization

The organization associated with the entry.

Returns:



48
49
50
# File 'lib/calendly/models/activity_log_entry.rb', line 48

def organization
  @organization
end

#uriString

Canonical reference (unique identifier) for the activity log entry.

Returns:

  • (String)


22
23
24
# File 'lib/calendly/models/activity_log_entry.rb', line 22

def uri
  @uri
end

#uuidString

unique id of the ActivityLogEntry object.

Returns:

  • (String)


18
19
20
# File 'lib/calendly/models/activity_log_entry.rb', line 18

def uuid
  @uuid
end

Class Method Details

.associationObject



10
11
12
13
14
# File 'lib/calendly/models/activity_log_entry.rb', line 10

def self.association
  {
    organization: Organization
  }
end