| 1 | package WebService::Mattermost::V4::API::Object::Results; | ||
| 2 | |||
| 3 | # ABSTRACT: A result object. | ||
| 4 | |||
| 5 | 12 | ▶ | use Moo; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | 12 | ▶ | use Types::Standard qw(Maybe Str); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | 12 | extends 'WebService::Mattermost::V4::API::Object'; | |
| 9 | |||
| 10 | ################################################################################ | ||
| 11 | |||
| 12 | 12 | has results => (is => 'ro', isa => Maybe[Str], lazy => 1, builder => 1); | |
| 13 | |||
| 14 | ################################################################################ | ||
| 15 | |||
| 16 | 0 | ▶ | sub _build_results { shift->raw_data->{results} } |
|
Subroutine
_build_results: not called CC=1 SCAR=6.9
| |||
| 17 | |||
| 18 | ################################################################################ | ||
| 19 | |||
| 20 | 12 | 1; | |
| 21 | |||
| 22 | __END__ | ||
| 23 | |||
| 24 | =pod | ||
| 25 | |||
| 26 | =encoding UTF-8 | ||
| 27 | |||
| 28 | =head1 NAME | ||
| 29 | |||
| 30 | WebService::Mattermost::V4::API::Object::Results - A result object. | ||
| 31 | |||
| 32 | =head1 VERSION | ||
| 33 | |||
| 34 | version 0.28 | ||
| 35 | |||
| 36 | =head1 DESCRIPTION | ||
| 37 | |||
| 38 | Details a Mattermost Results object. Returned only by L<WebService::Mattermost::V4::API::Resource::Team>'s | ||
| 39 | C<import_from_existing()> method. | ||
| 40 | |||
| 41 | =head2 ATTRIBUTES | ||
| 42 | |||
| 43 | =over 4 | ||
| 44 | |||
| 45 | =item * C<results> | ||
| 46 | |||
| 47 | Stringified "results". | ||
| 48 | |||
| 49 | =back | ||
| 50 | |||
| 51 | =head1 AUTHOR | ||
| 52 | |||
| 53 | Mike Jones <mike@netsplit.org.uk> | ||
| 54 | |||
| 55 | =head1 COPYRIGHT AND LICENSE | ||
| 56 | |||
| 57 | This software is Copyright (c) 2020 by Mike Jones. | ||
| 58 | |||
| 59 | This is free software, licensed under: | ||
| 60 | |||
| 61 | The MIT (X11) License | ||
| 62 | |||
| 63 | =cut | ||