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
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.

__init__(self, _sw_response)

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__(self, _sw_response)

Initialize self.

to_dict(self)

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