V3/Session/Attendee.pm

filter: Statementstmt 100% 16 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 19 / 19 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« V3/Session/Attendance.pm ↑ Summary
1 package Bb::Collaborate::V3::Session::Attendee;
2 7 ▶use warnings; use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
Subroutine BEGIN: called CC=1 SCAR=0.0
3  
4 7 ▶use Mouse;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 7 extends 'Bb::Collaborate::V3';
7  
8 =head1 NAME
9  
10 Bb::Collaborate::V3::Session::Attendee - Collaborate Attendee instance class
11  
12 =head1 DESCRIPTION
13  
14 This is the element class of Bb::Collaborate::V3::Session::Attendees
15  
16 =cut
17  
18 7 __PACKAGE__->entity_name('Attendee');
19  
20 =head1 PROPERTIES
21  
22 =head2 attendeeName (Str)
23  
24 The display name of the attendee as it appeared in the Collaborate session.
25  
26 =cut
27  
28 7 has 'attendeeName' => (is => 'rw', isa => 'Str',
29 documentation => 'attendee user id',
30 );
31  
32 =head2 attendeeJoinedAt (HiResDate)
33  
34 The date and time that the attendee joined the session.
35  
36 Note: This is a epoch date, but to the nearest millsecond. You can convert it to a standard unix epoch date, by removing the last three digits.
37  
38 my $join_date_msec = $attendee->attendeeJoinedAt;
39 my $join_date_epoch = substr($date_msec, -3);
40 my $join_date_dt = DateTime->from_epoch( epoch => $join_date_epoch );
41  
42 =cut
43  
44 7 has 'attendeeJoinedAt' => (is => 'rw', isa => 'HiResDate', required => 1,
45 documentation => 'date/time attendee joined the session');
46  
47 =head2 attendeeLeftAt (HiResDate)
48  
49 The date and time that the attendee left the session.
50  
51 Note: This is also a epoch date, to the nearest millsecond. See L<attendeeJoinedAt> above:
52  
53 =cut
54  
55 7 has 'attendeeLeftAt' => (is => 'rw', isa => 'HiResDate', required => 1,
56 documentation => 'date/time attendee left the session');
57  
58 =head2 attendeeWasChair (Bool)
59  
60 Flag value that indicates if the attendee joined the session as a chairperson (moderator).
61  
62 =cut
63  
64 7 has 'attendeeWasChair' => (is => 'rw', isa => 'Bool',
65 documentation => 'Whether the attendee was a chairperson'
66 );
67  
68 =head1 METHODS
69  
70 =cut
71  
72 7 1;
« V3/Session/Attendance.pm ↑ Summary