Asterisk - The Open Source Telephony Project GIT-master-0bf3178
|
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_control_pvt_cause_code.code, ast_bridge_hook_dtmf_parms.code, ast_party_redirecting_reason.code, ast_party_redirecting_reason_ies.code, response_code_map.code, reasons.code, registration_response.code, aor_core_response.code, ErrorResponse.code, jingle_reason_mapping.reason, ast_party_redirecting.reason, ast_state_cb_info.reason, after_bridge_cb_node.reason, pbx_exception.reason, ast_ari_channels_hangup_args.reason, ErrorResponse.reason, Parameter.required_fields, ErrorResponse.required_fields, Operation.required_fields, Api.required_fields, Property.required_fields, Model.required_fields, ApiDeclaration.required_fields, ResourceApi.required_fields, ResourceListing.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 ApiDeclaration.load(), Api.load(), ResourceApi.load(), ErrorResponse.load(), Model.load(), Operation.load(), Parameter.load(), Property.load(), and ResourceListing.load().