# 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 ApplicationTalentAttachmentResumeInfo(object):
    _types = {
        "id": str,
        "name": str,
    }

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

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


class ApplicationTalentAttachmentResumeInfoBuilder(object):
    def __init__(self) -> None:
        self._application_talent_attachment_resume_info = ApplicationTalentAttachmentResumeInfo()

    def id(self, id: str) -> "ApplicationTalentAttachmentResumeInfoBuilder":
        self._application_talent_attachment_resume_info.id = id
        return self

    def name(self, name: str) -> "ApplicationTalentAttachmentResumeInfoBuilder":
        self._application_talent_attachment_resume_info.name = name
        return self

    def build(self) -> "ApplicationTalentAttachmentResumeInfo":
        return self._application_talent_attachment_resume_info
