Asterisk - The Open Source Telephony Project
18.5.0
|
Public Member Functions | |
def | __init__ (self) |
def | load (self, err_json, processor, context) |
Public Member Functions inherited from Stringify | |
def | __repr__ (self) |
Data Fields | |
code | |
reason | |
Static Public Attributes | |
list | required_fields = ['code', 'reason'] |
Model of an error response. See https://github.com/wordnik/swagger-core/wiki/errors
Definition at line 306 of file swagger_model.py.
def __init__ | ( | self | ) |
Definition at line 314 of file swagger_model.py.
def load | ( | self, | |
err_json, | |||
processor, | |||
context | |||
) |
Definition at line 318 of file swagger_model.py.
References ast_bridge_hook_dtmf_parms.code, ErrorResponse.code, ast_control_pvt_cause_code.code, ast_party_redirecting_reason.code, aor_core_response.code, reasons.code, sip_reasons.code, registration_response.code, ast_party_redirecting_reason_ies.code, after_bridge_cb_node.reason, ast_state_cb_info.reason, ast_ari_channels_hangup_args.reason, misdn_party_redirecting.reason, ErrorResponse.reason, jingle_reason_mapping.reason, ast_party_redirecting.reason, pbx_exception.reason, Parameter.required_fields, ErrorResponse.required_fields, and swagger_model.validate_required_fields().
Referenced by ApiDeclaration.load_file(), and ResourceListing.load_file().
code |
Definition at line 315 of file swagger_model.py.
Referenced by ErrorResponse.load().
reason |
Definition at line 316 of file swagger_model.py.
Referenced by ErrorResponse.load().
Definition at line 312 of file swagger_model.py.
Referenced by ErrorResponse.load(), Operation.load(), Api.load(), Property.load(), Model.load(), ApiDeclaration.load(), ResourceApi.load(), and ResourceListing.load().