github.com/phrase/openapi@v0.0.0-20240514140800-49e8a106740e/openapi-generator/templates/python/python-experimental/model_templates/model_normal.mustache (about) 1 class {{unescapedDescription}}(ModelNormal): 2 """NOTE: This class is auto generated by OpenAPI Generator. 3 Ref: https://openapi-generator.tech 4 5 Do not edit the class manually. 6 7 Attributes: 8 {{> python-experimental/model_templates/docstring_allowed }} 9 attribute_map (dict): The key is attribute name 10 and the value is json key in definition. 11 discriminator_value_class_map (dict): A dict to go from the discriminator 12 variable value to the discriminator class name. 13 {{> python-experimental/model_templates/docstring_openapi_validations }} 14 """ 15 16 {{> python-experimental/model_templates/classvars }} 17 18 attribute_map = { 19 {{#requiredVars}} 20 '{{name}}': '{{baseName}}', # noqa: E501 21 {{/requiredVars}} 22 {{#optionalVars}} 23 '{{name}}': '{{baseName}}', # noqa: E501 24 {{/optionalVars}} 25 } 26 27 @staticmethod 28 def _composed_schemas(): 29 return None 30 31 {{> python-experimental/model_templates/method_init_normal}}{{#discriminator}} 32 33 {{> python-experimental/model_templates/method_discriminator }}{{/discriminator}}