sdk/oapiSdk/lark_oapi/api/okr/v1/model/content_person.py

31 lines
768 B
Python
Raw Normal View History

2025-08-19 10:20:23 +00:00
# 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 ContentPerson(object):
_types = {
"open_id": str,
}
def __init__(self, d=None):
self.open_id: Optional[str] = None
init(self, d, self._types)
@staticmethod
def builder() -> "ContentPersonBuilder":
return ContentPersonBuilder()
class ContentPersonBuilder(object):
def __init__(self) -> None:
self._content_person = ContentPerson()
def open_id(self, open_id: str) -> "ContentPersonBuilder":
self._content_person.open_id = open_id
return self
def build(self) -> "ContentPerson":
return self._content_person