# Code generated by Lark OpenAPI.

from typing import Any, Optional, Union, Dict, List, Set, IO, Callable, Type
from lark_oapi.core.construct import init
from .company import Company


class GetCompanyResponseBody(object):
    _types = {
        "company": Company,
    }

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

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


class GetCompanyResponseBodyBuilder(object):
    def __init__(self) -> None:
        self._get_company_response_body = GetCompanyResponseBody()

    def company(self, company: Company) -> "GetCompanyResponseBodyBuilder":
        self._get_company_response_body.company = company
        return self

    def build(self) -> "GetCompanyResponseBody":
        return self._get_company_response_body
