def __init__(self, name=None, node_port=None, port=None, protocol=None, target_port=None):
self._name = None<EOL>self._node_port = None<EOL>self._port = None<EOL>self._protocol = None<EOL>self._target_port = None<EOL>self.discriminator = None<EOL>if name is not None:<EOL><INDENT>self.name = name<EOL><DEDENT>if node_port is not None:<EOL><INDENT>self.node_port = node_port<EOL><DEDENT>self.port = port<EOL>if protocol is not None:<EOL><INDENT>self.protocol = protocol<EOL><DEDENT>if target_port is not None:<EOL><INDENT>self.target_port = target_port<EOL><DEDENT>
V1ServicePort - a model defined in Swagger