# generated by datamodel-codegen:
#   filename:  type/function.json
#   timestamp: 2022-10-04T14:49:18+00:00

from __future__ import annotations

from typing import List, Optional

from pydantic import BaseModel, Field


class Function(BaseModel):
    name: Optional[str] = Field(None, description='Name of the function.')
    input: Optional[str] = Field(
        None, description='Description of input taken by the function.'
    )
    description: Optional[str] = Field(None, description='Description fo the function.')
    examples: Optional[List] = Field(
        None, description='Examples of the function to help users author conditions.'
    )
