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

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

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


class SummaryBuilder(object):
    def __init__(self) -> None:
        self._summary = Summary()

    def content(self, content: str) -> "SummaryBuilder":
        self._summary.content = content
        return self

    def build(self) -> "Summary":
        return self._summary
