def from_dict(cls, d):
        """
        Create a enclave object from a dictionary.

        :param d: The dictionary.
        :return: The EnclavePermissions object.
        """

        enclave = super(cls, EnclavePermissions).from_dict(d)
        enclave_permissions = cls.from_enclave(enclave)

        enclave_permissions.read = d.get('read')
        enclave_permissions.create = d.get('create')
        enclave_permissions.update = d.get('update')

        return enclave_permissions
def from_dict ( cls , d ) : enclave = super ( cls , EnclavePermissions ) . from_dict ( d ) enclave_permissions = cls . from_enclave ( enclave ) enclave_permissions . read = d . get ( 'read' ) enclave_permissions . create = d . get ( 'create' ) enclave_permissions . update = d . get ( 'update' ) return enclave_permissions
Create a enclave object from a dictionary.

        :param d: The dictionary.
        :return: The EnclavePermissions object.