Enclave¶
-
class
trustar.models.enclave.
Enclave
(id, name=None, type=None)¶ Models an Enclave.
Variables: - id – The guid of the enclave.
- name – The name of the enclave.
-
classmethod
from_dict
(enclave)¶ Create a enclave object from a dictionary.
Parameters: enclave – The dictionary. Returns: The enclave object.
-
to_dict
(remove_nones=False)¶ Creates a dictionary representation of the enclave.
Parameters: remove_nones – Whether None
values should be filtered out of the dictionary. Defaults toFalse
.Returns: A dictionary representation of the enclave.