# 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 WebsiteDeliveryAttachmentIndentification(object):
    _types = {
        "identification_type": int,
        "identification_number": str,
    }

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

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


class WebsiteDeliveryAttachmentIndentificationBuilder(object):
    def __init__(self) -> None:
        self._website_delivery_attachment_indentification = WebsiteDeliveryAttachmentIndentification()

    def identification_type(self, identification_type: int) -> "WebsiteDeliveryAttachmentIndentificationBuilder":
        self._website_delivery_attachment_indentification.identification_type = identification_type
        return self

    def identification_number(self, identification_number: str) -> "WebsiteDeliveryAttachmentIndentificationBuilder":
        self._website_delivery_attachment_indentification.identification_number = identification_number
        return self

    def build(self) -> "WebsiteDeliveryAttachmentIndentification":
        return self._website_delivery_attachment_indentification
