python.python-experimental.model_templates.model_normal.mustache Maven / Gradle / Ivy
The newest version!
class {{unescapedDescription}}(ModelNormal):
"""NOTE: This class is auto generated by OpenAPI Generator.
Ref: https://openapi-generator.tech
Do not edit the class manually.
Attributes:
{{> python-experimental/model_templates/docstring_allowed }}
attribute_map (dict): The key is attribute name
and the value is json key in definition.
discriminator_value_class_map (dict): A dict to go from the discriminator
variable value to the discriminator class name.
{{> python-experimental/model_templates/docstring_openapi_validations }}
"""
{{> python-experimental/model_templates/classvars }}
attribute_map = {
{{#requiredVars}}
'{{name}}': '{{baseName}}', # noqa: E501
{{/requiredVars}}
{{#optionalVars}}
'{{name}}': '{{baseName}}', # noqa: E501
{{/optionalVars}}
}
@staticmethod
def _composed_schemas():
return None
{{> python-experimental/model_templates/method_init_normal}}{{#discriminator}}
{{> python-experimental/model_templates/method_discriminator }}{{/discriminator}}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy