# Code generated by Lark OpenAPI.

from typing import Any, Optional, Union, Dict, List, Set, IO, Callable, Type
from lark_oapi.core.construct import init


class CreateVisitorResponseBody(object):
    _types = {
        "visitor_id": int,
    }

    def __init__(self, d=None):
        self.visitor_id: Optional[int] = None
        init(self, d, self._types)

    @staticmethod
    def builder() -> "CreateVisitorResponseBodyBuilder":
        return CreateVisitorResponseBodyBuilder()


class CreateVisitorResponseBodyBuilder(object):
    def __init__(self) -> None:
        self._create_visitor_response_body = CreateVisitorResponseBody()

    def visitor_id(self, visitor_id: int) -> "CreateVisitorResponseBodyBuilder":
        self._create_visitor_response_body.visitor_id = visitor_id
        return self

    def build(self) -> "CreateVisitorResponseBody":
        return self._create_visitor_response_body
