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

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

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


class BasicJobDataBuilder(object):
    def __init__(self) -> None:
        self._basic_job_data = BasicJobData()

    def job_data_id(self, job_data_id: str) -> "BasicJobDataBuilder":
        self._basic_job_data.job_data_id = job_data_id
        return self

    def employment_id(self, employment_id: str) -> "BasicJobDataBuilder":
        self._basic_job_data.employment_id = employment_id
        return self

    def build(self) -> "BasicJobData":
        return self._basic_job_data
