models_v2.error module¶
-
class
models_v2.error.
Error
(error_code=None, message=None)[source]¶ Bases:
object
Implementation of the ‘Error.’ model.
Specifies the error object with error code and a message.
- Attributes:
error_code (string): Specifies the error code. message (string): Specifies the error message.
-
classmethod
from_dictionary
(dictionary)[source]¶ Creates an instance of this model from a dictionary
- Args:
dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.
- Returns:
object: An instance of this structure class.