# 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 .object_field_data import ObjectFieldData


class EditOffboardingResponseBody(object):
    _types = {
        "data": List[ObjectFieldData],
    }

    def __init__(self, d=None):
        self.data: Optional[List[ObjectFieldData]] = None
        init(self, d, self._types)

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


class EditOffboardingResponseBodyBuilder(object):
    def __init__(self) -> None:
        self._edit_offboarding_response_body = EditOffboardingResponseBody()

    def data(self, data: List[ObjectFieldData]) -> "EditOffboardingResponseBodyBuilder":
        self._edit_offboarding_response_body.data = data
        return self

    def build(self) -> "EditOffboardingResponseBody":
        return self._edit_offboarding_response_body
