The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Bb::Collaborate::Ultra::Context - Session/recording context

DESCRIPTION

A Context entity allows for grouping or classification of sessions and associated recordings.

METHODS

This class supports the `get` and `post` methods as described in https://xx-csa.bbcollab.com/documentation#Context.

BUGS AND LIMITATIONS

associate_session

    my $now = time();
    my $session = Bb::Collaborate::Ultra::Session->post($connection, {
            name => 'My Session',
            startTime => $now,
            endTime   => $now + 1800,
            },
        );
    my $context = Bb::Collaborate::Ultra::Context->find_or_create(
            $connection, {
                extId => 'demo-sessions',
                name => 'Demo Sessions',
            });
    $context->associate_session($session);

    # retrieve all sessions that have been associated with this context

    my @sessions = Bb::Collaborate::Ultra::Session->get($connection, {contextId => $context->id, limit => 5}, )