# generated by datamodel-codegen:
#   filename:  auth/logoutRequest.json
#   timestamp: 2022-10-03T15:16:21+00:00

from __future__ import annotations

from typing import Optional

from pydantic import BaseModel, Extra, Field

from ..type import basic


class LogoutRequest(BaseModel):
    class Config:
        extra = Extra.forbid

    username: Optional[str] = Field(None, description='Logout Username')
    token: str = Field(..., description='Token To be Expired')
    logoutTime: Optional[basic.DateTime] = Field(None, description='Logout Time')
    refreshToken: Optional[str] = Field(None, description='Refresh Token')
