# 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 PatchWorkingHoursTypeResponseBody(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() -> "PatchWorkingHoursTypeResponseBodyBuilder":
        return PatchWorkingHoursTypeResponseBodyBuilder()


class PatchWorkingHoursTypeResponseBodyBuilder(object):
    def __init__(self) -> None:
        self._patch_working_hours_type_response_body = PatchWorkingHoursTypeResponseBody()

    def working_hours_type(self, working_hours_type: WorkingHoursType) -> "PatchWorkingHoursTypeResponseBodyBuilder":
        self._patch_working_hours_type_response_body.working_hours_type = working_hours_type
        return self

    def build(self) -> "PatchWorkingHoursTypeResponseBody":
        return self._patch_working_hours_type_response_body
