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

class S3ServiceDeleteResponseRecordsSchema(ResourceSchema, metaclass=ResourceSchemaMeta):
    """The fields of the S3ServiceDeleteResponseRecords object"""

    job = marshmallow_fields.Nested(
                lambda: lazy_import_schema("netapp_ontap.models.job_link", "JobLinkSchema"),
                unknown=EXCLUDE,
                data_key="job",
                allow_none=True
            )
    r""" The job field of the s3_service_delete_response_records. """

    @property
    def resource(self):
        return S3ServiceDeleteResponseRecords

    gettable_fields = [
        "job",
    ]
    """job,"""

    patchable_fields = [
        "job",
    ]
    """job,"""

    postable_fields = [
        "job",
    ]
    """job,"""


class S3ServiceDeleteResponseRecords(Resource):

    _schema = S3ServiceDeleteResponseRecordsSchema
