# 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 ApplicationTalentSnsInfo(object):
    _types = {
        "id": str,
        "sns_type": int,
        "link": str,
    }

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

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


class ApplicationTalentSnsInfoBuilder(object):
    def __init__(self) -> None:
        self._application_talent_sns_info = ApplicationTalentSnsInfo()

    def id(self, id: str) -> "ApplicationTalentSnsInfoBuilder":
        self._application_talent_sns_info.id = id
        return self

    def sns_type(self, sns_type: int) -> "ApplicationTalentSnsInfoBuilder":
        self._application_talent_sns_info.sns_type = sns_type
        return self

    def link(self, link: str) -> "ApplicationTalentSnsInfoBuilder":
        self._application_talent_sns_info.link = link
        return self

    def build(self) -> "ApplicationTalentSnsInfo":
        return self._application_talent_sns_info
