class Calendly::Invitee

Calendly's invitee model. An individual who has been invited to meet with a Calendly member.

Constants

ASSOCIATION
TIME_FIELDS
UUID_RE

Attributes

cancel_url[RW]

@return [String] Link to cancelling the event for the invitee.

cancellation[RW]

@return [InviteeCancellation] Provides data pertaining to the cancellation of the Invitee.

created_at[RW]

@return [Time] Moment when user record was first created.

email[RW]

@return [String] The invitee's email address.

event[RW]

@return [Event] Reference to Event associated with this invitee.

first_name[RW]

@return [String] The first name of the invitee who booked the event when the event type is configured to use separate fields for first name and last name. Null when event type is configured to use a single field for name.

last_name[RW]

@return [String] The last name of the invitee who booked the event when the event type is configured to use separate fields for first name and last name. Null when event type is configured to use a single field for name.

name[RW]

@return [String] The invitee's human-readable name.

new_invitee[RW]

@return [String, nil] Link to new invitee, after reschedule.

old_invitee[RW]

@return [String, nil] Reference to old Invitee instance that got rescheduled.

payment[RW]

@return [InviteePayment] Invitee payment.

questions_and_answers[RW]

@return [Array<Calendly::InviteeQuestionAndAnswer>] A collection of form responses from the invitee.

reschedule_url[RW]

@return [String] Link to rescheduling the event for the invitee.

rescheduled[RW]

@return [Boolean] Indicates if this invitee has rescheduled. If true, a reference to the new Invitee instance is provided in the new_invitee field.

status[RW]

@return [String] Whether the invitee has canceled or is still active.

text_reminder_number[RW]

@return [String] Text (SMS) reminder phone number.

timezone[RW]

@return [String] Timezone offest to use when presenting time information to invitee.

tracking[RW]

@return [Calendly::InviteeTracking]

updated_at[RW]

@return [Time] Moment when user record was last updated.

uri[RW]

@return [String] Canonical resource reference.

uuid[RW]

@return [String] unique id of the Invitee object.

Public Instance Methods

fetch() click to toggle source

Get Event Invitee associated with self.

@return [Calendly::Invitee] @raise [Calendly::Error] if the event.uuid is empty. @raise [Calendly::Error] if the uuid is empty. @raise [Calendly::ApiError] if the api returns error code. @since 0.1.0

# File lib/calendly/models/invitee.rb, line 118
def fetch
  ev_uuid = event.uuid if event
  client.event_invitee ev_uuid, uuid
end