def __init__(self, port=None, protocol=None):
self._port = None<EOL>self._protocol = None<EOL>self.discriminator = None<EOL>if port is not None:<EOL><INDENT>self.port = port<EOL><DEDENT>if protocol is not None:<EOL><INDENT>self.protocol = protocol<EOL><DEDENT>
V1beta1NetworkPolicyPort - a model defined in Swagger