r"""
Copyright &copy; 2026 NetApp Inc.
All rights reserved.

This file has been automatically generated based on the ONTAP REST API documentation.

"""
from marshmallow import EXCLUDE, fields as marshmallow_fields  # type: ignore
from netapp_ontap.resource import Resource, ResourceSchema, ResourceSchemaMeta, ImpreciseDateTime, Size, lazy_import_schema


__all__ = ["HwAssist", "HwAssistSchema"]
__pdoc__ = {
    "HwAssistSchema.resource": False,
    "HwAssistSchema.opts": False,
    "HwAssist": False,
}

class HwAssistSchema(ResourceSchema, metaclass=ResourceSchemaMeta):
    """The fields of the HwAssist object"""

    status = marshmallow_fields.Nested(
                lambda: lazy_import_schema("netapp_ontap.models.cluster_nodes_hw_assist_status", "ClusterNodesHwAssistStatusSchema"),
                unknown=EXCLUDE,
                data_key="status",
                allow_none=True
            )
    r""" The status field of the hw_assist. """

    @property
    def resource(self):
        return HwAssist

    gettable_fields = [
        "status",
    ]
    """status,"""

    patchable_fields = [
    ]
    """"""

    postable_fields = [
    ]
    """"""


class HwAssist(Resource):

    _schema = HwAssistSchema
