# Code generated by Lark OpenAPI.

from typing import Optional

from lark_oapi.core.construct import init


class WebsiteDeliveryIdentification(object):
    _types = {
        "identification_number": str,
        "identification_type": int,
    }

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

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


class WebsiteDeliveryIdentificationBuilder(object):
    def __init__(self) -> None:
        self._website_delivery_identification = WebsiteDeliveryIdentification()

    def identification_number(self, identification_number: str) -> "WebsiteDeliveryIdentificationBuilder":
        self._website_delivery_identification.identification_number = identification_number
        return self

    def identification_type(self, identification_type: int) -> "WebsiteDeliveryIdentificationBuilder":
        self._website_delivery_identification.identification_type = identification_type
        return self

    def build(self) -> "WebsiteDeliveryIdentification":
        return self._website_delivery_identification
