# Code generated by Lark OpenAPI.

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


class CreateWorkingHoursTypeResponseBody(object):
    _types = {
        "working_hours_type": WorkingHoursType,
    }

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

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


class CreateWorkingHoursTypeResponseBodyBuilder(object):
    def __init__(self) -> None:
        self._create_working_hours_type_response_body = CreateWorkingHoursTypeResponseBody()

    def working_hours_type(self, working_hours_type: WorkingHoursType) -> "CreateWorkingHoursTypeResponseBodyBuilder":
        self._create_working_hours_type_response_body.working_hours_type = working_hours_type
        return self

    def build(self) -> "CreateWorkingHoursTypeResponseBody":
        return self._create_working_hours_type_response_body
