def set_gateway_direction(self, value):
if value is None or not isinstance(value, str):<EOL><INDENT>raise TypeError("<STR_LIT>")<EOL><DEDENT>elif value not in Gateway.__gateway_directions_list:<EOL><INDENT>raise ValueError("<STR_LIT>"<EOL>"<STR_LIT>")<EOL><DEDENT>else:<EOL><INDENT>self.__gateway_direction = value<EOL><DEDENT>
Setter for 'gateway_direction' field.
:param value - a new value of 'gateway_direction' field.