# 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 QueryRecentChangeJobFamilyResponseBody(object):
    _types = {
        "job_family_ids": List[str],
        "page_token": str,
        "has_more": bool,
        "deleted_job_family_ids": List[str],
    }

    def __init__(self, d=None):
        self.job_family_ids: Optional[List[str]] = None
        self.page_token: Optional[str] = None
        self.has_more: Optional[bool] = None
        self.deleted_job_family_ids: Optional[List[str]] = None
        init(self, d, self._types)

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


class QueryRecentChangeJobFamilyResponseBodyBuilder(object):
    def __init__(self) -> None:
        self._query_recent_change_job_family_response_body = QueryRecentChangeJobFamilyResponseBody()

    def job_family_ids(self, job_family_ids: List[str]) -> "QueryRecentChangeJobFamilyResponseBodyBuilder":
        self._query_recent_change_job_family_response_body.job_family_ids = job_family_ids
        return self

    def page_token(self, page_token: str) -> "QueryRecentChangeJobFamilyResponseBodyBuilder":
        self._query_recent_change_job_family_response_body.page_token = page_token
        return self

    def has_more(self, has_more: bool) -> "QueryRecentChangeJobFamilyResponseBodyBuilder":
        self._query_recent_change_job_family_response_body.has_more = has_more
        return self

    def deleted_job_family_ids(self,
                               deleted_job_family_ids: List[str]) -> "QueryRecentChangeJobFamilyResponseBodyBuilder":
        self._query_recent_change_job_family_response_body.deleted_job_family_ids = deleted_job_family_ids
        return self

    def build(self) -> "QueryRecentChangeJobFamilyResponseBody":
        return self._query_recent_change_job_family_response_body
