# coding: utf-8

from __future__ import annotations
from datetime import date, datetime  # noqa: F401

import re  # noqa: F401
from typing import Any, Dict, List, Optional  # noqa: F401

from pydantic import AnyUrl, BaseModel, EmailStr, Field, validator  # noqa: F401
from server.models.root_fs import RootFS


class RootFSInfo(BaseModel):
    """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

    Do not edit the class manually.

    RootFSInfo - a model defined in OpenAPI

        rootfs0: The rootfs0 of this RootFSInfo [Optional].
        rootfs1: The rootfs1 of this RootFSInfo [Optional].
        operation: The operation of this RootFSInfo [Optional].
        primary: The primary of this RootFSInfo [Optional].
        last_error: The last_error of this RootFSInfo [Optional].
    """

    rootfs0: Optional[RootFS] = Field(alias="rootfs.0", default=None)
    rootfs1: Optional[RootFS] = Field(alias="rootfs.1", default=None)
    operation: Optional[str] = Field(alias="operation", default=None)
    primary: Optional[str] = Field(alias="primary", default=None)
    last_error: Optional[str] = Field(alias="last-error", default=None)


RootFSInfo.update_forward_refs()
