Bb-Collaborate-V3

 view release on metacpan or  search on metacpan

lib/Bb/Collaborate/V3.pm  view on Meta::CPAN


C<update> can also be called as a class-level method. The primary key and all other
required fields must be specified.

   my $obj = Bb::Collaborate::V3::Session->update({sessionId => 123456,
                                                   startTime => '1448922188000',
                                                   ... });

=cut

sub update {
    my ($class, $data, %opt) = @_;

    $opt{command} ||= 'Set'.$class->entity_name;

    return $class->SUPER::update($data, %opt);
}

sub _fetch {
    my ($class, $key, %opt) = @_;

lib/Bb/Collaborate/V3/Session.pm  view on Meta::CPAN


    #
    # ...or...
    #
    $session->update({maxCameras => 5, hideParticipantNames => 0});

Updates an existing session.

=cut

sub update {
    my ($class, $data, %opt) = @_;

    $opt{command} ||= 'Update'.$class->entity_name;

    return $class->SUPER::update($data, %opt);
}

=head2 retrieve

    my $session = Bb::Collaborate::V3::Session->retrieve( $session_id );

lib/Bb/Collaborate/V3/Session/Telephony.pm  view on Meta::CPAN


	$rec{isPhone} = $is_phone;

        return [ \%rec ]
    }

    warn "problems unpacking Telephony response";
    return $class->SUPER::_get_results( $som, $connection );
}

sub update {
    my $self = shift;
    my $updates = shift;
    my %opt = @_;

    # include the entire record
    my @properties = grep { defined $self->$_ } ($self->properties);

    return $self->SUPER::update($updates, %opt, changed => \@properties);
}



( run in 0.267 second using v1.01-cache-2.11-cpan-95122f20152 )