sdk/oapiSdk/lark_oapi/api/apaas/v1/model/attachment.py

31 lines
735 B
Python
Raw Permalink 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 Attachment(object):
_types = {
"file_id": str,
}
def __init__(self, d=None):
self.file_id: Optional[str] = None
init(self, d, self._types)
@staticmethod
def builder() -> "AttachmentBuilder":
return AttachmentBuilder()
class AttachmentBuilder(object):
def __init__(self) -> None:
self._attachment = Attachment()
def file_id(self, file_id: str) -> "AttachmentBuilder":
self._attachment.file_id = file_id
return self
def build(self) -> "Attachment":
return self._attachment