# generated by datamodel-codegen:
#   filename:  same_name_objects.yaml
#   timestamp: 2019-07-26T00:00:00+00:00

from __future__ import annotations

from typing import List, Optional

from pydantic import BaseModel, Extra


class Pets(BaseModel):
    pass

    class Config:
        extra = Extra.forbid


class Pet(BaseModel):
    id: int
    name: str
    tag: Optional[str] = None


class Error(BaseModel):
    code: int
    message: str


class Resolved(BaseModel):
    resolved: Optional[List[str]] = None


class PetsModel(BaseModel):
    __root__: List[Pet]


class Friends2(BaseModel):
    __root__: PetsModel


class Friends1(BaseModel):
    __root__: PetsModel
