NAME
WebService::Mattermost::V4::API::Response - Container for API responses.
VERSION
version 0.29
DESCRIPTION
A common container for responses from the Mattermost API.
ATTRIBUTES
code
-
The HTTP code returned.
headers
-
Headers from the
Mojo::Message::Response
object. message
-
A message (or undef) from the API (for example if there is a
code
of 403, themessage
will be "Forbidden"). prev
-
The returned
Mojo::Message::Response
object. raw_content
-
JSON-encoded content or undef.
is_error
is_success
content
-
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) 2020 by Mike Jones.
This is free software, licensed under:
The MIT (X11) License