NAME
WebService::Mattermost::API::Response - container for responses from the Mattermost API
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 email:mike@netsplit.org.uk