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.
Returns: - CASDisposition object
Attributes: - severity : int
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.
- reason : string
Reason for the error (if any).
- status : string
Human-readable message for the response.
- status_code : string
Status code for technical support assistance.
-
__init__
(_sw_response)¶ Initialize self. See help(type(self)) for accurate signature.
Methods
__init__(_sw_response) Initialize self. to_dict() Return dispositoin attributes as a dictionary