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

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

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


class RevokeOffboardingRequestBodyBuilder(object):
    def __init__(self) -> None:
        self._revoke_offboarding_request_body = RevokeOffboardingRequestBody()

    def offboarding_id(self, offboarding_id: str) -> "RevokeOffboardingRequestBodyBuilder":
        self._revoke_offboarding_request_body.offboarding_id = offboarding_id
        return self

    def operator_id(self, operator_id: str) -> "RevokeOffboardingRequestBodyBuilder":
        self._revoke_offboarding_request_body.operator_id = operator_id
        return self

    def build(self) -> "RevokeOffboardingRequestBody":
        return self._revoke_offboarding_request_body
