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

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

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


class UpdateWebsiteChannelRequestBodyBuilder(object):
    def __init__(self) -> None:
        self._update_website_channel_request_body = UpdateWebsiteChannelRequestBody()

    def channel_name(self, channel_name: str) -> "UpdateWebsiteChannelRequestBodyBuilder":
        self._update_website_channel_request_body.channel_name = channel_name
        return self

    def build(self) -> "UpdateWebsiteChannelRequestBody":
        return self._update_website_channel_request_body
