def __init__(self, _from=None, ports=None):
self.__from = None<EOL>self._ports = None<EOL>self.discriminator = None<EOL>if _from is not None:<EOL><INDENT>self._from = _from<EOL><DEDENT>if ports is not None:<EOL><INDENT>self.ports = ports<EOL><DEDENT>
V1NetworkPolicyIngressRule - a model defined in Swagger