# Code generated by Lark OpenAPI.

from typing import Optional

from lark_oapi.core.construct import init


class ListTicketCustomizedFieldRequestBody(object):
    _types = {
        "visible": bool,
    }

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

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


class ListTicketCustomizedFieldRequestBodyBuilder(object):
    def __init__(self) -> None:
        self._list_ticket_customized_field_request_body = ListTicketCustomizedFieldRequestBody()

    def visible(self, visible: bool) -> "ListTicketCustomizedFieldRequestBodyBuilder":
        self._list_ticket_customized_field_request_body.visible = visible
        return self

    def build(self) -> "ListTicketCustomizedFieldRequestBody":
        return self._list_ticket_customized_field_request_body
