# 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__ = ["ApplicationStatisticsIops", "ApplicationStatisticsIopsSchema"]
__pdoc__ = {
    "ApplicationStatisticsIopsSchema.resource": False,
    "ApplicationStatisticsIops": False,
}


class ApplicationStatisticsIopsSchema(ResourceSchema):
    """The fields of the ApplicationStatisticsIops object"""

    per_tb = fields.Integer(data_key="per_tb")
    r""" The number of IOPS per terabyte of logical space currently being used by the application component. """

    total = fields.Integer(data_key="total")
    r""" The total number of IOPS being used by the application component. """

    @property
    def resource(self):
        return ApplicationStatisticsIops

    @property
    def patchable_fields(self):
        return [
        ]

    @property
    def postable_fields(self):
        return [
        ]


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

    _schema = ApplicationStatisticsIopsSchema
