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__ = ["QtreeNas", "QtreeNasSchema"]
__pdoc__ = {
    "QtreeNasSchema.resource": False,
    "QtreeNasSchema.opts": False,
    "QtreeNas": False,
}

class QtreeNasSchema(ResourceSchema, metaclass=ResourceSchemaMeta):
    """The fields of the QtreeNas object"""

    path = marshmallow_fields.Str(data_key="path", allow_none=True)
    r""" Client visible path to the qtree. This field is not available if the volume does not have a junction-path configured. Not valid in POST or PATCH.

Example: /volume3/qtree1 """

    @property
    def resource(self):
        return QtreeNas

    gettable_fields = [
        "path",
    ]
    """path,"""

    patchable_fields = [
    ]
    """"""

    postable_fields = [
    ]
    """"""


class QtreeNas(Resource):

    _schema = QtreeNasSchema
