Class: Calendly::EventTypeAvailableTime

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

Overview

An available meeting time slot for the given event type.

Constant Summary collapse

TIME_FIELDS =
%i[start_time].freeze

Constants included from ModelUtils

ModelUtils::UUID_FORMAT

Instance Attribute Summary collapse

Method Summary

Methods included from ModelUtils

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

Instance Attribute Details

#invitees_remaining ⇒ Integer

Total remaining invitees for this available time. For Group Event Type, more than one invitee can book in this available time. For all other Event Types, only one invitee can book in this available time.

Returns:

  • (Integer)


17
18
19
# File 'lib/calendly/models/event_type_available_type.rb', line 17

def invitees_remaining
  @invitees_remaining
end

#scheduling_url ⇒ Time

The URL of the user’s scheduling site where invitees book this event type.

Returns:

  • (Time)


25
26
27
# File 'lib/calendly/models/event_type_available_type.rb', line 25

def scheduling_url
  @scheduling_url
end

#start_time ⇒ Time

The moment the event was scheduled to start in UTC time.

Returns:

  • (Time)


21
22
23
# File 'lib/calendly/models/event_type_available_type.rb', line 21

def start_time
  @start_time
end

#status ⇒ String

Indicates that the open time slot is "available".

Returns:

  • (String)


11
12
13
# File 'lib/calendly/models/event_type_available_type.rb', line 11

def status
  @status
end