def __init__(self, cluster_ip=None, external_i_ps=None, external_name=None, external_traffic_policy=None, health_check_node_port=None, load_balancer_ip=None, load_balancer_source_ranges=None, ports=None, publish_not_ready_addresses=None, selector=None, session_affinity=None, session_affinity_config=None, type=None):
self._cluster_ip = None<EOL>self._external_i_ps = None<EOL>self._external_name = None<EOL>self._external_traffic_policy = None<EOL>self._health_check_node_port = None<EOL>self._load_balancer_ip = None<EOL>self._load_balancer_source_ranges = None<EOL>self._ports = None<EOL>self._publish_not_ready_addresses = None<EOL>self._selector = None<EOL>self._session_affinity = None<EOL>self._session_affinity_config = None<EOL>self._type = None<EOL>self.discriminator = None<EOL>if cluster_ip is not None:<EOL><INDENT>self.cluster_ip = cluster_ip<EOL><DEDENT>if external_i_ps is not None:<EOL><INDENT>self.external_i_ps = external_i_ps<EOL><DEDENT>if external_name is not None:<EOL><INDENT>self.external_name = external_name<EOL><DEDENT>if external_traffic_policy is not None:<EOL><INDENT>self.external_traffic_policy = external_traffic_policy<EOL><DEDENT>if health_check_node_port is not None:<EOL><INDENT>self.health_check_node_port = health_check_node_port<EOL><DEDENT>if load_balancer_ip is not None:<EOL><INDENT>self.load_balancer_ip = load_balancer_ip<EOL><DEDENT>if load_balancer_source_ranges is not None:<EOL><INDENT>self.load_balancer_source_ranges = load_balancer_source_ranges<EOL><DEDENT>if ports is not None:<EOL><INDENT>self.ports = ports<EOL><DEDENT>if publish_not_ready_addresses is not None:<EOL><INDENT>self.publish_not_ready_addresses = publish_not_ready_addresses<EOL><DEDENT>if selector is not None:<EOL><INDENT>self.selector = selector<EOL><DEDENT>if session_affinity is not None:<EOL><INDENT>self.session_affinity = session_affinity<EOL><DEDENT>if session_affinity_config is not None:<EOL><INDENT>self.session_affinity_config = session_affinity_config<EOL><DEDENT>if type is not None:<EOL><INDENT>self.type = type<EOL><DEDENT>
V1ServiceSpec - a model defined in Swagger