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

class ApplicationRpoRemoteSchema(ResourceSchema, metaclass=ResourceSchemaMeta):
    """The fields of the ApplicationRpoRemote object"""

    description = marshmallow_fields.Str(data_key="description", allow_none=True)
    r""" A detailed description of the remote RPO. """

    name = marshmallow_fields.Str(data_key="name", allow_none=True)
    r""" The remote RPO of the application. A remote RPO of zero indicates that the application is synchronously replicated to another cluster.

Valid choices:

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

    @property
    def resource(self):
        return ApplicationRpoRemote

    gettable_fields = [
        "description",
        "name",
    ]
    """description,name,"""

    patchable_fields = [
    ]
    """"""

    postable_fields = [
    ]
    """"""


class ApplicationRpoRemote(Resource):

    _schema = ApplicationRpoRemoteSchema
