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

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

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


class DepartmentDisplayInfoBuilder(object):
    def __init__(self) -> None:
        self._department_display_info = DepartmentDisplayInfo()

    def profile_node_path_type(self, profile_node_path_type: int) -> "DepartmentDisplayInfoBuilder":
        self._department_display_info.profile_node_path_type = profile_node_path_type
        return self

    def chatter_node_path_type(self, chatter_node_path_type: int) -> "DepartmentDisplayInfoBuilder":
        self._department_display_info.chatter_node_path_type = chatter_node_path_type
        return self

    def build(self) -> "DepartmentDisplayInfo":
        return self._department_display_info
