# 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 PatchCompanyResponseBody(object):
    _types = {
        "company": Company,
    }

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

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


class PatchCompanyResponseBodyBuilder(object):
    def __init__(self) -> None:
        self._patch_company_response_body = PatchCompanyResponseBody()

    def company(self, company: Company) -> "PatchCompanyResponseBodyBuilder":
        self._patch_company_response_body.company = company
        return self

    def build(self) -> "PatchCompanyResponseBody":
        return self._patch_company_response_body
