@property<EOL><INDENT>def affinity(self):<DEDENT>
return self._affinity<EOL>
Gets the affinity of this V1PodSpec.
If specified, the pod's scheduling constraints

:return: The affinity of this V1PodSpec.
:rtype: V1Affinity