JMAP::Tester::Response::Sentence::Set - the kind of sentence you get in reply to a setFoos call
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.
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.
This returns the hashref of data in the created property.
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.
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 <email@example.com>
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.
perl -MCPAN -e shell
For more information on module installation, please visit the detailed CPAN module installation guide.