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 name of this License.
  
  Name of the license  # noqa: E501
  
  :param name: The name of this License.  # noqa: E501
  :type: str
docstr_tok: ["Sets","the","name","of","this","License",".","Name","of","the","license","#","noqa",":","E501",":","param","name",":","The","name","of","this","License",".","#","noqa",":","E501",":","type",":","str"]
code: def name(self, name):
      """Sets the name of this License.
  
      Name of the license  # noqa: E501
  
      :param name: The name of this License.  # noqa: E501
      :type: str
      """
      if name is None:
          raise ValueError(
              "Invalid value for `name`, must not be `None`"
          )  # noqa: E501
      allowed_values = [
          "CC0-1.0",
          "CC-BY-SA-4.0",
          "GPL-2.0",
          "ODbL-1.0",
          "CC-BY-NC-SA-4.0",
          "unknown",
          "DbCL-1.0",
          "CC-BY-SA-3.0",
          "copyright-authors",
          "other",
          "reddit-api",
          "world-bank",
          "CC-BY-4.0",
          "CC-BY-NC-4.0",
          "PDDL",
          "CC-BY-3.0",
          "CC-BY-3.0-IGO",
          "US-Government-Works",
          "CC-BY-NC-SA-3.0-IGO",
          "CDLA-Permissive-1.0",
          "CDLA-Sharing-1.0",
          "CC-BY-ND-4.0",
          "CC-BY-NC-ND-4.0",
          "ODC-BY-1.0",
          "LGPL-3.0",
          "AGPL-3.0",
          "FDL-1.3",
          "EU-ODP-Legal-Notice",
          "apache-2.0",
          "GPL-3.0",
      ]  # noqa: E501
      if name not in allowed_values:
          raise ValueError(
              "Invalid value for `name` ({0}), must be one of {1}".format(  # noqa: E501
                  name, allowed_values
              )
          )
  
      self._name = name
  
file_path: kaggle-api/kaggle/models/license.py
imports: import pprint
  import re
  import six
label_desc: Use image node_id 3 for calling the License obj's underlying member method code with example usage: obj.name(name) without return types