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

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

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


class CreateLocationAddressResponseBodyBuilder(object):
    def __init__(self) -> None:
        self._create_location_address_response_body = CreateLocationAddressResponseBody()

    def address_id(self, address_id: str) -> "CreateLocationAddressResponseBodyBuilder":
        self._create_location_address_response_body.address_id = address_id
        return self

    def build(self) -> "CreateLocationAddressResponseBody":
        return self._create_location_address_response_body
