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


"""

from marshmallow import EXCLUDE, fields  # type: ignore
from netapp_ontap.resource import Resource, ResourceSchema, ImpreciseDateTime, Size


__all__ = ["ZappNvmeRpo", "ZappNvmeRpoSchema"]
__pdoc__ = {
    "ZappNvmeRpoSchema.resource": False,
    "ZappNvmeRpo": False,
}


class ZappNvmeRpoSchema(ResourceSchema):
    """The fields of the ZappNvmeRpo object"""

    local = fields.Nested("netapp_ontap.models.zapp_nvme_rpo_local.ZappNvmeRpoLocalSchema", unknown=EXCLUDE, data_key="local")
    r""" The local field of the zapp_nvme_rpo. """

    @property
    def resource(self):
        return ZappNvmeRpo

    gettable_fields = [
        "local",
    ]
    """local,"""

    patchable_fields = [
        "local",
    ]
    """local,"""

    postable_fields = [
        "local",
    ]
    """local,"""


class ZappNvmeRpo(Resource):

    _schema = ZappNvmeRpoSchema
