# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

from pydantic import Field as FieldInfo

from ....._models import BaseModel

__all__ = ["Retailer", "Vertical", "VerticalDepartment"]


class VerticalDepartment(BaseModel):
    id: int
    """Numeric identifier for a resource"""

    api_type: str = FieldInfo(alias="_type")

    name: str
    """The official name of the retailer department"""


class Vertical(BaseModel):
    id: int
    """Numeric identifier for a resource"""

    api_type: str = FieldInfo(alias="_type")

    department: VerticalDepartment

    name: str
    """The official name of the retailer vertical"""


class Retailer(BaseModel):
    id: int
    """Numeric identifier for a resource"""

    api_type: str = FieldInfo(alias="_type")

    name: str
    """The official name of the retailer"""

    pub_id: str = FieldInfo(alias="pubId")
    """A retailer public facing Id (String). (pub_id on server side)"""

    vertical: Vertical
