line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package WebService::Mattermost::V4::API::Object::Bot; |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
|
5
|
7
|
|
|
7
|
|
163266
|
use Moo; |
|
7
|
|
|
|
|
6693
|
|
|
7
|
|
|
|
|
37
|
|
6
|
7
|
|
|
7
|
|
3930
|
use Types::Standard 'Str'; |
|
7
|
|
|
|
|
65288
|
|
|
7
|
|
|
|
|
47
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
extends 'WebService::Mattermost::V4::API::Object'; |
9
|
|
|
|
|
|
|
with qw( |
10
|
|
|
|
|
|
|
WebService::Mattermost::V4::API::Object::Role::BelongingToUser |
11
|
|
|
|
|
|
|
WebService::Mattermost::V4::API::Object::Role::Timestamps |
12
|
|
|
|
|
|
|
); |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
has description => (is => 'ro', isa => Str, lazy => 1, builder => '_build_description'); |
17
|
|
|
|
|
|
|
has display_name => (is => 'ro', isa => Str, lazy => 1, builder => '_build_display_name'); |
18
|
|
|
|
|
|
|
has username => (is => 'ro', isa => Str, lazy => 1, builder => '_build_username'); |
19
|
|
|
|
|
|
|
has user_id => (is => 'ro', isa => Str, lazy => 1, builder => '_build_user_id'); |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
|
23
|
1
|
|
|
1
|
|
12213
|
sub _build_description { shift->raw_data->{description} } |
24
|
1
|
|
|
1
|
|
1168
|
sub _build_display_name { shift->raw_data->{display_name} } |
25
|
1
|
|
|
1
|
|
749
|
sub _build_username { shift->raw_data->{username} } |
26
|
1
|
|
|
1
|
|
808
|
sub _build_user_id { shift->raw_data->{user_id} } |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
1; |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
__END__ |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=pod |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=encoding UTF-8 |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=head1 NAME |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
WebService::Mattermost::V4::API::Object::Bot - A bot item. |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=head1 VERSION |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
version 0.26 |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=head1 DESCRIPTION |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
Object version of a Mattermost bot user. |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
=head2 ATTRIBUTES |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
=over 4 |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
=item * C<description> |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
=item * C<display_name> |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
=item * C<username> |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
=item * C<user_id> |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
=back |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
=head1 SEE ALSO |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
=over 4 |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
=item * L<WebService::Mattermost::V4::API::Object::Role::BelongingToUser> |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
=item * L<WebService::Mattermost::V4::API::Object::Role::Timestamp> |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
=back |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
=head1 AUTHOR |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
Mike Jones <mike@netsplit.org.uk> |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
This software is Copyright (c) 2020 by Mike Jones. |
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
This is free software, licensed under: |
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
The MIT (X11) License |
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
=cut |
87
|
|
|
|
|
|
|
|