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

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

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


class DeleteGridColumnRequestBuilder(object):
    def __init__(self) -> None:
        self._delete_grid_column_request = DeleteGridColumnRequest()

    def column_index(self, column_index: int) -> "DeleteGridColumnRequestBuilder":
        self._delete_grid_column_request.column_index = column_index
        return self

    def build(self) -> "DeleteGridColumnRequest":
        return self._delete_grid_column_request
