sdk/oapiSdk/lark_oapi/api/sheets/v3/model/option_properties.py

31 lines
867 B
Python

# 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 OptionProperties(object):
_types = {
"show_dropdown_icon": bool,
}
def __init__(self, d=None):
self.show_dropdown_icon: Optional[bool] = None
init(self, d, self._types)
@staticmethod
def builder() -> "OptionPropertiesBuilder":
return OptionPropertiesBuilder()
class OptionPropertiesBuilder(object):
def __init__(self) -> None:
self._option_properties = OptionProperties()
def show_dropdown_icon(self, show_dropdown_icon: bool) -> "OptionPropertiesBuilder":
self._option_properties.show_dropdown_icon = show_dropdown_icon
return self
def build(self) -> "OptionProperties":
return self._option_properties