NAME
WebService::Mattermost::V4::API::Response - Container for API responses.
VERSION
version 0.31
DESCRIPTION
A common container for responses from the Mattermost API.
ATTRIBUTES
code-
The HTTP code returned.
headers-
Headers from the
Mojo::Message::Responseobject. message-
A message (or undef) from the API (for example if there is a
codeof 403, themessagewill be "Forbidden"). prev-
The returned
Mojo::Message::Responseobject. raw_content-
JSON-encoded content or undef.
is_erroris_successcontent-
Decoded content in ArrayRef or HashRef form.
item_view-
Whether or not the response should try to create a v4::Object object.
single_item-
Whether or not the expected v4::Object should be an ArrayRef.
item-
The first v4::Object object.
items-
All view objects.
AUTHOR
Mike Jones <mike@netsplit.org.uk>
COPYRIGHT AND LICENSE
This software is Copyright (c) 2023 by Mike Jones.
This is free software, licensed under:
The MIT (X11) License