# 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 .common_schema import CommonSchema


class QueryTalentObjectResponseBody(object):
    _types = {
        "items": List[CommonSchema],
    }

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

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


class QueryTalentObjectResponseBodyBuilder(object):
    def __init__(self) -> None:
        self._query_talent_object_response_body = QueryTalentObjectResponseBody()

    def items(self, items: List[CommonSchema]) -> "QueryTalentObjectResponseBodyBuilder":
        self._query_talent_object_response_body.items = items
        return self

    def build(self) -> "QueryTalentObjectResponseBody":
        return self._query_talent_object_response_body
