# pylint: disable=trailing-newlines
# pylint: disable=line-too-long
# pylint: disable=too-many-lines
# pylint: disable=unused-import
# pylint: disable=invalid-name

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


"""

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


__all__ = ["ApplicationRpoRpoLocal", "ApplicationRpoRpoLocalSchema"]
__pdoc__ = {
    "ApplicationRpoRpoLocalSchema.resource": False,
    "ApplicationRpoRpoLocal": False,
}


class ApplicationRpoRpoLocalSchema(ResourceSchema):
    """The fields of the ApplicationRpoRpoLocal object"""

    description = fields.Str(data_key="description")
    r""" A detailed description of the local RPO. This will include details about the Snapshot copy schedule. """

    name = fields.Str(data_key="name")
    r""" The local RPO of the component. This indicates how often component Snapshot copies are automatically created.

Valid choices:

* 6_hourly
* 15_minutely
* hourly
* none """

    @property
    def resource(self):
        return ApplicationRpoRpoLocal

    @property
    def patchable_fields(self):
        return [
        ]

    @property
    def postable_fields(self):
        return [
        ]


class ApplicationRpoRpoLocal(Resource):  # pylint: disable=missing-docstring

    _schema = ApplicationRpoRpoLocalSchema
