def _set_prefix_list_direction_out(self, v, load=False):
    '\n    Setter method for prefix_list_direction_out, mapped from YANG variable /routing_system/router/router_bgp/address_family/ipv4/ipv4_unicast/default_vrf/neighbor/af_ipv4_neighbor_peergroup_holder/af_ipv4_neighbor_peergroup/prefix_list/direction_out/prefix_list_direction_out (empty)\n    If this variable is read-only (config: false) in the\n    source YANG file, then _set_prefix_list_direction_out is considered as a private\n    method. Backends looking to populate this variable should\n    do so via calling thisObj._set_prefix_list_direction_out() directly.\n    '
    if hasattr(v, '_utype'):
        v = v._utype(v)
    try:
        t = YANGDynClass(v, base=YANGBool, is_leaf=True, yang_name='prefix-list-direction-out', rest_name='out', parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'info': u'Filter outgoing routes', u'alt-name': u'out'}}, namespace='urn:brocade.com:mgmt:brocade-bgp', defining_module='brocade-bgp', yang_type='empty', is_config=True)
    except (TypeError, ValueError):
        raise ValueError({'error-string': 'prefix_list_direction_out must be of a type compatible with empty', 'defined-type': 'empty', 'generated-type': 'YANGDynClass(base=YANGBool, is_leaf=True, yang_name="prefix-list-direction-out", rest_name="out", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u\'tailf-common\': {u\'info\': u\'Filter outgoing routes\', u\'alt-name\': u\'out\'}}, namespace=\'urn:brocade.com:mgmt:brocade-bgp\', defining_module=\'brocade-bgp\', yang_type=\'empty\', is_config=True)'})
    self.__prefix_list_direction_out = t
    if hasattr(self, '_set'):
        self._set()
Setter method for prefix_list_direction_out, mapped from YANG variable /routing_system/router/router_bgp/address_family/ipv4/ipv4_unicast/default_vrf/neighbor/af_ipv4_neighbor_peergroup_holder/af_ipv4_neighbor_peergroup/prefix_list/direction_out/prefix_list_direction_out (empty)
If this variable is read-only (config: false) in the
source YANG file, then _set_prefix_list_direction_out is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_prefix_list_direction_out() directly.
def _set_prefix_list_direction_out(self, v, load=False):
    '\n    Setter method for prefix_list_direction_out, mapped from YANG variable /routing_system/router/router_bgp/address_family/ipv4/ipv4_unicast/default_vrf/neighbor/af_ipv4_neighbor_peergroup_holder/af_ipv4_neighbor_peergroup/prefix_list/direction_out/prefix_list_direction_out (empty)\n    If this variable is read-only (config: false) in the\n    source YANG file, then _set_prefix_list_direction_out is considered as a private\n    method. Backends looking to populate this variable should\n    do so via calling thisObj._set_prefix_list_direction_out() directly.\n    '
    if hasattr(v, '_utype'):
        v = v._utype(v)
    try:
        t = YANGDynClass(v, base=YANGBool, is_leaf=True, yang_name='prefix-list-direction-out', rest_name='out', parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'info': u'Filter outgoing routes', u'alt-name': u'out'}}, namespace='urn:brocade.com:mgmt:brocade-bgp', defining_module='brocade-bgp', yang_type='empty', is_config=True)
    except (TypeError, ValueError):
        raise ValueError({'error-string': 'prefix_list_direction_out must be of a type compatible with empty', 'defined-type': 'empty', 'generated-type': 'YANGDynClass(base=YANGBool, is_leaf=True, yang_name="prefix-list-direction-out", rest_name="out", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u\'tailf-common\': {u\'info\': u\'Filter outgoing routes\', u\'alt-name\': u\'out\'}}, namespace=\'urn:brocade.com:mgmt:brocade-bgp\', defining_module=\'brocade-bgp\', yang_type=\'empty\', is_config=True)'})
    self.__prefix_list_direction_out = t
    if hasattr(self, '_set'):
        self._set()