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

class ApplicationProtectionGroupsRpoLocalSchema(ResourceSchema, metaclass=ResourceSchemaMeta):
    """The fields of the ApplicationProtectionGroupsRpoLocal object"""

    description = marshmallow_fields.Str(data_key="description", allow_none=True)
    r""" A detailed description of the local RPO. This includes details on the snapshot schedule. """

    name = marshmallow_fields.Str(data_key="name", allow_none=True)
    r""" The local RPO of the component. This indicates how often component snapshots are automatically created.

Valid choices:

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

    @property
    def resource(self):
        return ApplicationProtectionGroupsRpoLocal

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

    patchable_fields = [
    ]
    """"""

    postable_fields = [
    ]
    """"""


class ApplicationProtectionGroupsRpoLocal(Resource):

    _schema = ApplicationProtectionGroupsRpoLocalSchema
