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

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

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


class CreateWebsiteChannelRequestBodyBuilder(object):
    def __init__(self) -> None:
        self._create_website_channel_request_body = CreateWebsiteChannelRequestBody()

    def channel_name(self, channel_name: str) -> "CreateWebsiteChannelRequestBodyBuilder":
        self._create_website_channel_request_body.channel_name = channel_name
        return self

    def build(self) -> "CreateWebsiteChannelRequestBody":
        return self._create_website_channel_request_body
