JMAP::Tester::Response::Sentence::Set - the kind of sentence you get in reply to a setFoos call
version 0.103
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 library should run on perls released even a long time ago. It should work on any version of perl released in the last five years.
Although it may work on older versions of perl, no guarantee is made that the minimum required version will not be increased. The version may be increased for any reason, and there is no promise that patches will be accepted to lower the minimum required perl.
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 <cpan@semiotic.systems>
This software is copyright (c) 2016 by Fastmail Pty. 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.