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

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

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


class WifiInfoBuilder(object):
    def __init__(self) -> None:
        self._wifi_info = WifiInfo()

    def status(self, status: int) -> "WifiInfoBuilder":
        self._wifi_info.status = status
        return self

    def build(self) -> "WifiInfo":
        return self._wifi_info
