line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Mastodon::Entity::Report; |
2
|
|
|
|
|
|
|
|
3
|
2
|
|
|
2
|
|
7518
|
use strict; |
|
2
|
|
|
|
|
6
|
|
|
2
|
|
|
|
|
63
|
|
4
|
2
|
|
|
2
|
|
12
|
use warnings; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
81
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
our $VERSION = '0.017'; |
7
|
|
|
|
|
|
|
|
8
|
2
|
|
|
2
|
|
14
|
use Moo; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
12
|
|
9
|
|
|
|
|
|
|
with 'Mastodon::Role::Entity'; |
10
|
|
|
|
|
|
|
|
11
|
2
|
|
|
2
|
|
683
|
use Types::Standard qw( Int Bool ); |
|
2
|
|
|
|
|
6
|
|
|
2
|
|
|
|
|
15
|
|
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
has id => ( is => 'ro', isa => Int, ); |
14
|
|
|
|
|
|
|
has action_taken => ( is => 'ro', isa => Bool, coerce => 1, required => 1, ); |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
1; |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
=encoding utf8 |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
=head1 NAME |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
Mastodon::Entity::Report- A Mastodon report |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
=head1 DESCRIPTION |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
This object should not be manually created. It is intended to be generated |
27
|
|
|
|
|
|
|
from the data received from a Mastodon server using the coercions in |
28
|
|
|
|
|
|
|
L<Mastodon::Types>. |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
For current information, see the |
31
|
|
|
|
|
|
|
L<Mastodon API documentation|https://github.com/tootsuite/documentation/blob/master/Using-the-API/API.md#report> |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=over 4 |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=item B<id> |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
Target id of the report. |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
=item B<action_taken> |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
The action taken in response to the report. |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
=back |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
=head1 AUTHOR |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
=over 4 |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
=item * |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
José JoaquÃn Atria <jjatria@cpan.org> |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
=back |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
This software is copyright (c) 2017 by José JoaquÃn Atria. |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
62
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
=cut |