package WebService::Mattermost::V4::API::Object::Audit; # ABSTRACT: An audit item. use Moo; use Types::Standard qw(Maybe Str); extends 'WebService::Mattermost::V4::API::Object'; with qw( WebService::Mattermost::V4::API::Object::Role::BelongingToUser WebService::Mattermost::V4::API::Object::Role::CreatedAt WebService::Mattermost::V4::API::Object::Role::ID ); ################################################################################ has [ qw( action extra_info session_id ) ] => (is => 'ro', isa => Str, lazy => 1, builder => 1); ################################################################################ sub _build_action { shift->raw_data->{action} } sub _build_extra_info { shift->raw_data->{extra_info} } sub _build_session_id { shift->raw_data->{session_id} } ################################################################################ 1; __END__ =pod =encoding UTF-8 =head1 NAME WebService::Mattermost::V4::API::Object::Audit - An audit item. =head1 VERSION version 0.31 =head1 DESCRIPTION Details a generic response from Mattermost. =head1 SEE ALSO =over 4 =item L =item L =item L =back =head1 AUTHOR Mike Jones =head1 COPYRIGHT AND LICENSE This software is Copyright (c) 2023 by Mike Jones. This is free software, licensed under: The MIT (X11) License =cut