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

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

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


class DeleteCostCenterVersionRequestBodyBuilder(object):
    def __init__(self) -> None:
        self._delete_cost_center_version_request_body = DeleteCostCenterVersionRequestBody()

    def operation_reason(self, operation_reason: str) -> "DeleteCostCenterVersionRequestBodyBuilder":
        self._delete_cost_center_version_request_body.operation_reason = operation_reason
        return self

    def build(self) -> "DeleteCostCenterVersionRequestBody":
        return self._delete_cost_center_version_request_body
