def __init__(self, access_modes=None, data_source=None, resources=None, selector=None, storage_class_name=None, volume_mode=None, volume_name=None):
self._access_modes = None<EOL>self._data_source = None<EOL>self._resources = None<EOL>self._selector = None<EOL>self._storage_class_name = None<EOL>self._volume_mode = None<EOL>self._volume_name = None<EOL>self.discriminator = None<EOL>if access_modes is not None:<EOL><INDENT>self.access_modes = access_modes<EOL><DEDENT>if data_source is not None:<EOL><INDENT>self.data_source = data_source<EOL><DEDENT>if resources is not None:<EOL><INDENT>self.resources = resources<EOL><DEDENT>if selector is not None:<EOL><INDENT>self.selector = selector<EOL><DEDENT>if storage_class_name is not None:<EOL><INDENT>self.storage_class_name = storage_class_name<EOL><DEDENT>if volume_mode is not None:<EOL><INDENT>self.volume_mode = volume_mode<EOL><DEDENT>if volume_name is not None:<EOL><INDENT>self.volume_name = volume_name<EOL><DEDENT>
V1PersistentVolumeClaimSpec - a model defined in Swagger