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

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

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


class IdpCredentialIdBuilder(object):
    def __init__(self) -> None:
        self._idp_credential_id = IdpCredentialId()

    def idp_credential_id(self, idp_credential_id: str) -> "IdpCredentialIdBuilder":
        self._idp_credential_id.idp_credential_id = idp_credential_id
        return self

    def build(self) -> "IdpCredentialId":
        return self._idp_credential_id
