# Code generated by Lark OpenAPI.

from typing import Any, Optional, Union, Dict, List, Set, IO, Callable, Type
from lark_oapi.core.model import BaseRequest
from lark_oapi.core.enum import HttpMethod, AccessTokenType


class QueryTalentObjectRequest(BaseRequest):
    def __init__(self) -> None:
        super().__init__()

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


class QueryTalentObjectRequestBuilder(object):

    def __init__(self) -> None:
        query_talent_object_request = QueryTalentObjectRequest()
        query_talent_object_request.http_method = HttpMethod.GET
        query_talent_object_request.uri = "/open-apis/hire/v1/talent_objects/query"
        query_talent_object_request.token_types = {AccessTokenType.TENANT}
        self._query_talent_object_request: QueryTalentObjectRequest = query_talent_object_request

    def build(self) -> QueryTalentObjectRequest:
        return self._query_talent_object_request
