# 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 CreateInstanceCommentResponseBody(object):
    _types = {
        "comment_id": int,
    }

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

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


class CreateInstanceCommentResponseBodyBuilder(object):
    def __init__(self) -> None:
        self._create_instance_comment_response_body = CreateInstanceCommentResponseBody()

    def comment_id(self, comment_id: int) -> "CreateInstanceCommentResponseBodyBuilder":
        self._create_instance_comment_response_body.comment_id = comment_id
        return self

    def build(self) -> "CreateInstanceCommentResponseBody":
        return self._create_instance_comment_response_body
