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

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

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


class UpdateApplicationOwnerRequestBodyBuilder(object):
    def __init__(self) -> None:
        self._update_application_owner_request_body = UpdateApplicationOwnerRequestBody()

    def owner_id(self, owner_id: str) -> "UpdateApplicationOwnerRequestBodyBuilder":
        self._update_application_owner_request_body.owner_id = owner_id
        return self

    def build(self) -> "UpdateApplicationOwnerRequestBody":
        return self._update_application_owner_request_body
