Elive

 view release on metacpan or  search on metacpan

lib/Elive/Entity/Session.pm  view on Meta::CPAN

    my $end_msec   = $end->epoch   . '000';
    my $until_msec = $until->epoch . '000';
    
    my %insert_data = (
	name              => 'daily scrum meeting',
	facilitatorId     => Elive->login->userId,
	password          => 'sssh!',
	privateMeeting    => 1,
	restricted        => 1,
        participants => '*the_team',
	start =>  $start_msec,
	end   => $end_msec,

	until                 => $until_msec,
	repeatEvery           => 1,
	repeatSessionInterval => 1,
    );

    my @sessions = $class->insert(\%insert_data);

=head1 Session Property Reference

Here's an alphabetical list of all available session properties

=head2 adapter C<(Str)>

This property is read-only. It should always have the value C<default> for sessions created via L<Elive::Entity::Session>.

=head2 allModerators C<(Bool)>

All participants can moderate.

=head2 boundaryMinutes C<(Int)>

Session boundary time C<(minutes)>.

=head2 costCenter C<(Str)>

User defined cost center.

=head2 deleted C<(Bool)>

True if the session has been deleted.

=head2 enableTelephony C<(Bool)>

Telephony is enabled

=head2 end C<(HiResDate)>

The session end time C<(milliseconds)>. This can be constructed by appending
'000' to a unix ten digit epoch date.

=head2 facilitatorId C<(Str)>

The userId of the facilitator who created the session. They will
always have moderator access.

=head2 followModerator C<(Bool)>

Whiteboard slides are locked to moderator view.

=head2 fullPermissions C<(Bool)>

Whether participants can perform activities (e.g. use the whiteboard) before
the supervisor arrives.

=head2 id C<(Int)>

The sessionId (meetingId).

=head2 inSessionInvitation C<(Bool)>

Whether moderators can invite other individuals from within the online session

=head2 maxTalkers C<(Int)>

The maximum number of simultaneous talkers.

=head2 moderatorNotes C<(Str)>

General notes for moderators. These are not uploaded to the live session).

=head2 moderatorTelephonyAddress C<(Str)>

Either a PHONE number or SIP address for the moderator for telephone.

=head2 moderatorTelephonyPIN C<(Str)>

PIN for moderator telephony

=head2 name C<(Str)>

Session name.

=head2 participantTelephonyAddress C<(Str)>

Either a PHONE number or SIP address for the participants for telephone.

=head2 participantTelephonyPIN C<(Str)>

PIN for participants telephony.

=head2 participants C<(Array)>

A list of users, groups and invited guest that are attending the session,
along with their access levels (moderator or participant). See
L<Working with Participants>.

=head2 password C<(Str)>

A password for the session.

=head2 privateMeeting C<(Str)>

Whether to hide the session (meeting) from the public schedule.

=head2 profile C<(Str)>

Which user profiles are displayed on mouse-over: C<none>, C<mod>
(moderators only) or C<all>.



( run in 0.836 second using v1.01-cache-2.11-cpan-8f98c5d2c55 )