models_v2.shell_key_value_pair module¶
-
class
models_v2.shell_key_value_pair.
ShellKeyValuePair
(key=None, value=None)[source]¶ Bases:
object
Implementation of the ‘ShellKeyValuePair’ model.
Specifies key value pairs of shell variables which defines the restore shell environment.
- Attributes:
key (string): Specifies the name of the shell environment variable. value (string): Specifies the value of the shell environment
variable.
-
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.