models.pattern module¶
-
class
models.pattern.
Pattern
(is_system_defined=None, name=None, mtype=None, value=None)[source]¶ Bases:
object
Implementation of the ‘Pattern’ model.
TODO: type model description here.
- Attributes:
is_system_defined (bool): Whether this pattern is system defined. name (string): Name of the pattern. This is marked optional but is
required.
mtype (int): Pattern type. value (string): Value of the pattern. This is marked optional but is
required.
-
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.