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

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

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


class WithdrawProbationRequestBodyBuilder(object):
    def __init__(self) -> None:
        self._withdraw_probation_request_body = WithdrawProbationRequestBody()

    def employment_id(self, employment_id: str) -> "WithdrawProbationRequestBodyBuilder":
        self._withdraw_probation_request_body.employment_id = employment_id
        return self

    def build(self) -> "WithdrawProbationRequestBody":
        return self._withdraw_probation_request_body
