swat.cas.response.CASDisposition
- class swat.cas.response.CASDisposition(_sw_response)
Bases: object
Disposition of a CAS response
This class is never instantiated directly. It is instantiated behind the scenes when the CASResponse is created.
- Attributes:
- severityint
The severity of the action result. A value of zero means that no problems were reported. A value of one means that warnings were reported. A value of two means that errors were reported.
- reasonstring
Reason for the error (if any).
- statusstring
Human-readable message for the response.
- status_codestring
Status code for technical support assistance.
- Returns:
- CASDisposition object
- __init__(_sw_response)
Methods
__init__(_sw_response)
to_dict()
Return dispositoin attributes as a dictionary
Attributes
debug
Disposition debug information
reason
Disposition reason
severity
Disposition severity
status
Disposition status
status_code
Disposition status code