# 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 CampusVolumnteerInfo(object):
    _types = {
        "volunteer_seq": int,
    }

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

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


class CampusVolumnteerInfoBuilder(object):
    def __init__(self) -> None:
        self._campus_volumnteer_info = CampusVolumnteerInfo()

    def volunteer_seq(self, volunteer_seq: int) -> "CampusVolumnteerInfoBuilder":
        self._campus_volumnteer_info.volunteer_seq = volunteer_seq
        return self

    def build(self) -> "CampusVolumnteerInfo":
        return self._campus_volumnteer_info
