class_docstr: NOTE: This class is auto generated by the swagger code generator program.
  
  Do not edit the class manually.
class_docstr_tok: ["NOTE",":","This","class","is","auto","generated","by","the","swagger","code","generator","program",".","Do","not","edit","the","class","manually","."]
docstr: Sets the delete_old_versions of this DatasetNewVersionRequest.
  
  Whether or not all previous versions of the dataset should be deleted upon creating the new version  # noqa: E501
  
  :param delete_old_versions: The delete_old_versions of this DatasetNewVersionRequest.  # noqa: E501
  :type: bool
docstr_tok: ["Sets","the","delete_old_versions","of","this","DatasetNewVersionRequest",".","Whether","or","not","all","previous","versions","of","the","dataset","should","be","deleted","upon","creating","the","new","version","#","noqa",":","E501",":","param","delete_old_versions",":","The","delete_old_versions","of","this","DatasetNewVersionRequest",".","#","noqa",":","E501",":","type",":","bool"]
code: def delete_old_versions(self, delete_old_versions):
      """Sets the delete_old_versions of this DatasetNewVersionRequest.
  
      Whether or not all previous versions of the dataset should be deleted upon creating the new version  # noqa: E501
  
      :param delete_old_versions: The delete_old_versions of this DatasetNewVersionRequest.  # noqa: E501
      :type: bool
      """
  
      self._delete_old_versions = delete_old_versions
  
imports: import pprint
  import re
  import six
  from kaggle.models.upload_file import UploadFile
label_desc: Use image node_id 15 for calling the DatasetNewVersionRequest obj's underlying member method code with example usage: obj.delete_old_versions(delete_old_versions) without return types