models.key_value_pair module¶
-
class
models.key_value_pair.
KeyValuePair
(key=None, value=None)[source]¶ Bases:
object
Implementation of the ‘KeyValuePair’ model.
Specifies a key/value pair.
- Attributes:
key (string): Specifies the name of the key. value (Value): Specifies a data type and data field used to store
data.
-
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.