The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Bb::Collaborate::V3::Session::Attendance - Session Attendance Report

DESCRIPTION

This is the main entity class for session attendance reports.

PROPERTIES

roomName (Str)

The name of the room. This is derived from the name of the session as it was defined at the time the scheduled session was launched.

roomOpened (HiResDate)

The date and time that the room opened (also known as the date and time session was launched) in milliseconds.

roomClosed (HiResDate)

The date and time that the room shut down.

attendees (Arr)

This is a collection of Bb::Collaborate::V3::Session::Attendee objects. This collection represents all the attendees who were present in this session between the roomOpen and roomClosed time.

Since guests can attend sessions, not all the attendees may be users in your system.

METHODS

list

    my $session_id = '123456789012';
    my $yesterday = DateTime->today->subtract(days => 1);

    my $attendance = Bb::Collaborate::V3::Session::Attendance->list(
                                    sessionId => $session_id,
                                    startTime => $yesterday->epoch.'000');

Gets a session attendance report. It returns a reference to an array of Bb::Collaborate::V3::Session::Attendance objects.

The attendance information is returned for the specified session for the 24 hour period starting from the date/time passed in. If the session ran more than once during that 24 hour period, you will get the attendance data for all instances of the session that ran during that date.