# Generated by smithplates HTTP codegen. Do not edit.

from __future__ import annotations

from datetime import datetime

from pydantic import BaseModel, Field

from generated.petstore.api.pet_attribute import PetAttribute
from generated.petstore.api.pet_species import PetSpecies
from generated.petstore.api.pet_status import PetStatus


class UpdatePetBody(BaseModel):
    name: str = Field(...)
    status: PetStatus = Field(...)
    species: PetSpecies = Field(...)
    category_id: str = Field(...)
    owner_id: str | None = Field(default=None)
    tag_count: int = Field(...)
    tags: list[str] = Field(...)
    attributes: list[PetAttribute] = Field(...)
    photo: bytes | None = Field(default=None)
    metadata: object | None = Field(default=None)
    adopted_at: datetime | None = Field(default=None)
