Message#

class Message(code=None, message=None, locale='en_US', severity=None, *args, **kwargs)#

Bases: object

Parameters:
  • code – (code) A code that uniquely identifies a message.

  • message – (message) The description of the message.

  • locale – (locale) The locale for the message description. (Default ‘en_US’)

  • severity – (severity)

property code#

A code that uniquely identifies a message.

Type:

str

property locale#

The locale for the message description.

Type:

str

property message#

The description of the message.

Type:

str

property severity#
Type:

MessageSeverity

to_dict()#

Returns the model properties as a dictionary

to_str()#

Returns the string representation of the model