blib/lib/WebService/Mattermost/V4/API/Object/NewLogEntry.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 6 | 7 | 85.7 |
branch | n/a | ||
condition | n/a | ||
subroutine | 2 | 3 | 66.6 |
pod | n/a | ||
total | 8 | 10 | 80.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package WebService::Mattermost::V4::API::Object::NewLogEntry; 2: 3: # ABSTRACT: A new log entry item. 4: 5: use Moo; 6: use Types::Standard qw(Maybe InstanceOf Int Str); 7: 8: extends 'WebService::Mattermost::V4::API::Object'; 9: with 'WebService::Mattermost::V4::API::Object::Role::Message'; 10: 11: ################################################################################ 12: 13: has level => (is => 'ro', isa => Maybe[Str], lazy => 1, builder => 1); 14: 15: ################################################################################ 16: 17: sub _build_level { shift->raw_data->{level} } 18: 19: ################################################################################ 20: 21: 1; 22: 23: __END__ 24: 25: =pod 26: 27: =encoding UTF-8 28: 29: =head1 NAME 30: 31: WebService::Mattermost::V4::API::Object::NewLogEntry - A new log entry item. 32: 33: =head1 VERSION 34: 35: version 0.28 36: 37: =head1 DESCRIPTION 38: 39: Details a Mattermost NewLogEntry object. 40: 41: =head1 SEE ALSO 42: 43: =over 4 44: 45: =item L<WebService::Mattermost::V4::API::Object::Role::Message> 46: 47: =back 48: 49: =head1 AUTHOR 50: 51: Mike Jones <mike@netsplit.org.uk> 52: 53: =head1 COPYRIGHT AND LICENSE 54: 55: This software is Copyright (c) 2020 by Mike Jones. 56: 57: This is free software, licensed under: 58: 59: The MIT (X11) License 60: 61: =cut 62: |