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

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

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


class PublishAdvertisementRequestBodyBuilder(object):
    def __init__(self) -> None:
        self._publish_advertisement_request_body = PublishAdvertisementRequestBody()

    def job_channel_id(self, job_channel_id: str) -> "PublishAdvertisementRequestBodyBuilder":
        self._publish_advertisement_request_body.job_channel_id = job_channel_id
        return self

    def build(self) -> "PublishAdvertisementRequestBody":
        return self._publish_advertisement_request_body
