""" DTO objects for the SAS generator service """
from pydantic.main import BaseModel


class SASRequest(BaseModel):
    """ DTO for the generate_sas endpoint."""
    container: str
    duration_hours: int = 1


class SASResponse(BaseModel):
    """DTO for the response sas object"""
    storage_account: str
    container: str
    sas_token: str
    endpoint: str

""" DTO objects for the SAS generator service """
from pydantic.main import BaseModel


class SASRequest(BaseModel):
    """ DTO for the generate_sas endpoint."""
    container: str
    duration_hours: int = 1


class SASResponse(BaseModel):
    """DTO for the response sas object"""
    storage_account: str
    container: str
    sas_token: str
    endpoint: str

DTO objects for the SAS generator service DTO for the generate_sas endpoint. DTO for the response sas object