# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------

from msrest.serialization import Model


class ResourceUsage(Model):
    """Output of check resource usage API.

    :param resource_type: Resource type of the usages.
    :type resource_type: str
    :param unit: Unit of the usage. e.g. Count.
    :type unit: str
    :param current_value: Actual value of the resource type.
    :type current_value: int
    :param limit: Quota of the resource type.
    :type limit: int
    """

    _attribute_map = {
        'resource_type': {'key': 'resourceType', 'type': 'str'},
        'unit': {'key': 'unit', 'type': 'str'},
        'current_value': {'key': 'currentValue', 'type': 'int'},
        'limit': {'key': 'limit', 'type': 'int'},
    }

    def __init__(self, resource_type=None, unit=None, current_value=None, limit=None):
        self.resource_type = resource_type
        self.unit = unit
        self.current_value = current_value
        self.limit = limit
