# 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
