# 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 LeftBorderStyle(object):
    _types = {
        "style": str,
        "color": str,
    }

    def __init__(self, d=None):
        self.style: Optional[str] = None
        self.color: Optional[str] = None
        init(self, d, self._types)

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


class LeftBorderStyleBuilder(object):
    def __init__(self) -> None:
        self._left_border_style = LeftBorderStyle()

    def style(self, style: str) -> "LeftBorderStyleBuilder":
        self._left_border_style.style = style
        return self

    def color(self, color: str) -> "LeftBorderStyleBuilder":
        self._left_border_style.color = color
        return self

    def build(self) -> "LeftBorderStyle":
        return self._left_border_style
