def __init__(self, preferred_during_scheduling_ignored_during_execution=None, required_during_scheduling_ignored_during_execution=None):
self._preferred_during_scheduling_ignored_during_execution = None<EOL>self._required_during_scheduling_ignored_during_execution = None<EOL>self.discriminator = None<EOL>if preferred_during_scheduling_ignored_during_execution is not None:<EOL><INDENT>self.preferred_during_scheduling_ignored_during_execution = preferred_during_scheduling_ignored_during_execution<EOL><DEDENT>if required_during_scheduling_ignored_during_execution is not None:<EOL><INDENT>self.required_during_scheduling_ignored_during_execution = required_during_scheduling_ignored_during_execution<EOL><DEDENT>
V1PodAntiAffinity - a model defined in Swagger