JMAP::Tester::Response::Sentence::Set - the kind of sentence you get in reply to a setFoos call
version 0.016
A "Set" sentence is a kind of Sentence for representing foosSet results. It has convenience methods for getting out the data returned in these kinds of sentences.
foosSet
This returns the newState in the result.
newState
This returns the hashref of data in the created property.
created
my $id = $set->created_id( $cr_id );
This returns the id given to the object created for the given creation id. If that creation id doesn't correspond to a created object, undef is returned.
undef
This returns the list of creation ids that were successfully created. Note: this returns creation ids, not object ids.
This returns the list of object ids that were successfully created.
This returns the list of creation ids that were not successfully created.
This returns a hashref mapping creation ids to error properties.
This returns a list of object ids that were successfully updated.
This returns a list of object ids that were not successfully updated.
This returns a hashref mapping object ids to error properties.
This returns a list of object ids that were successfully destroyed.
This returns a list of object ids that were not successfully destroyed.
Ricardo SIGNES <rjbs@cpan.org>
This software is copyright (c) 2016 by FastMail, Ltd.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install JMAP::Tester, copy and paste the appropriate command in to your terminal.
cpanm
cpanm JMAP::Tester
CPAN shell
perl -MCPAN -e shell install JMAP::Tester
For more information on module installation, please visit the detailed CPAN module installation guide.