class_docstr: NOTE: This class is auto generated by the swagger code generator program.
  
  Do not edit the class manually.
docstr: Sets the slug of this KernelPushRequest.
  
  The full slug of the kernel to push to, in the format `USERNAME/KERNEL-SLUG`. The kernel slug must be the title lowercased with dashes (`-`) replacing spaces. One of `id` and `slug` are required. If both are specified, `id` will be preferred  # noqa: E501
  
  :param slug: The slug of this KernelPushRequest.  # noqa: E501
  :type: str
docstr_tok: ["Sets","the","slug","of","this","KernelPushRequest",".","The","full","slug","of","the","kernel","to","push","to",",","in","the","format","`","USERNAME\/KERNEL-SLUG","`",".","The","kernel","slug","must","be","the","title","lowercased","with","dashes","(","`","-","`",")","replacing","spaces",".","One","of","`","id","`","and","`","slug","`","are","required",".","If","both","are","specified",",","`","id","`","will","be","preferred","#","noqa",":","E501",":","param","slug",":","The","slug","of","this","KernelPushRequest",".","#","noqa",":","E501",":","type",":","str"]
code: def slug(self, slug):
      """Sets the slug of this KernelPushRequest.
  
      The full slug of the kernel to push to, in the format `USERNAME/KERNEL-SLUG`. The kernel slug must be the title lowercased with dashes (`-`) replacing spaces. One of `id` and `slug` are required. If both are specified, `id` will be preferred  # noqa: E501
  
      :param slug: The slug of this KernelPushRequest.  # noqa: E501
      :type: str
      """
  
      self._slug = slug
  
imports: import pprint
  import re
  import six
label_desc: Use image node_id 5 for calling the KernelPushRequest obj's underlying member method code with example usage: obj.slug(slug) without return types