def __init__(self, category=None, code=None, detail=None, field=None):
self.swagger_types = {<EOL>'<STR_LIT>': '<STR_LIT:str>',<EOL>'<STR_LIT:code>': '<STR_LIT:str>',<EOL>'<STR_LIT>': '<STR_LIT:str>',<EOL>'<STR_LIT>': '<STR_LIT:str>'<EOL>}<EOL>self.attribute_map = {<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT:code>': '<STR_LIT:code>',<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': '<STR_LIT>'<EOL>}<EOL>self._category = category<EOL>self._code = code<EOL>self._detail = detail<EOL>self._field = field<EOL>
Error - a model defined in Swagger

:param dict swaggerTypes: The key is attribute name
                          and the value is attribute type.
:param dict attributeMap: The key is attribute name
                          and the value is json key in definition.