# 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 PatchAgentRequestBody(object):
    _types = {
        "status": int,
    }

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

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


class PatchAgentRequestBodyBuilder(object):
    def __init__(self) -> None:
        self._patch_agent_request_body = PatchAgentRequestBody()

    def status(self, status: int) -> "PatchAgentRequestBodyBuilder":
        self._patch_agent_request_body.status = status
        return self

    def build(self) -> "PatchAgentRequestBody":
        return self._patch_agent_request_body
