# 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 QuotaDimension(Model):
    """Information about a specific quota dimension.

    :param id: Unique id of this dimension.
    :type id: str
    :param scope: The scope of this quota dimension.
    :type scope: str
    :param period: The reset period of this quota dimension.
    :type period: str
    :param quota: The max limit of this dimension.
    :type quota: float
    :param name: The display name of this quota dimension.
    :type name: str
    :param description: A description about this quota dimension.
    :type description: str
    :param unit: The standard unit of measurement used for this quota
     dimension.
    :type unit: str
    :param unit_plural: The standard unit of measurement used for this quota
     dimension in plural form.
    :type unit_plural: str
    """

    _attribute_map = {
        'id': {'key': 'id', 'type': 'str'},
        'scope': {'key': 'scope', 'type': 'str'},
        'period': {'key': 'period', 'type': 'str'},
        'quota': {'key': 'quota', 'type': 'float'},
        'name': {'key': 'name', 'type': 'str'},
        'description': {'key': 'description', 'type': 'str'},
        'unit': {'key': 'unit', 'type': 'str'},
        'unit_plural': {'key': 'unitPlural', 'type': 'str'},
    }

    def __init__(self, *, id: str=None, scope: str=None, period: str=None, quota: float=None, name: str=None, description: str=None, unit: str=None, unit_plural: str=None, **kwargs) -> None:
        super(QuotaDimension, self).__init__(**kwargs)
        self.id = id
        self.scope = scope
        self.period = period
        self.quota = quota
        self.name = name
        self.description = description
        self.unit = unit
        self.unit_plural = unit_plural

# 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 QuotaDimension(Model):
    """Information about a specific quota dimension.

    :param id: Unique id of this dimension.
    :type id: str
    :param scope: The scope of this quota dimension.
    :type scope: str
    :param period: The reset period of this quota dimension.
    :type period: str
    :param quota: The max limit of this dimension.
    :type quota: float
    :param name: The display name of this quota dimension.
    :type name: str
    :param description: A description about this quota dimension.
    :type description: str
    :param unit: The standard unit of measurement used for this quota
     dimension.
    :type unit: str
    :param unit_plural: The standard unit of measurement used for this quota
     dimension in plural form.
    :type unit_plural: str
    """

    _attribute_map = {
        'id': {'key': 'id', 'type': 'str'},
        'scope': {'key': 'scope', 'type': 'str'},
        'period': {'key': 'period', 'type': 'str'},
        'quota': {'key': 'quota', 'type': 'float'},
        'name': {'key': 'name', 'type': 'str'},
        'description': {'key': 'description', 'type': 'str'},
        'unit': {'key': 'unit', 'type': 'str'},
        'unit_plural': {'key': 'unitPlural', 'type': 'str'},
    }

    def __init__(self, *, id: str=None, scope: str=None, period: str=None, quota: float=None, name: str=None, description: str=None, unit: str=None, unit_plural: str=None, **kwargs) -> None:
        super(QuotaDimension, self).__init__(**kwargs)
        self.id = id
        self.scope = scope
        self.period = period
        self.quota = quota
        self.name = name
        self.description = description
        self.unit = unit
        self.unit_plural = unit_plural

# 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. # -------------------------------------------------------------------------- Information about a specific quota dimension.      :param id: Unique id of this dimension.     :type id: str     :param scope: The scope of this quota dimension.     :type scope: str     :param period: The reset period of this quota dimension.     :type period: str     :param quota: The max limit of this dimension.     :type quota: float     :param name: The display name of this quota dimension.     :type name: str     :param description: A description about this quota dimension.     :type description: str     :param unit: The standard unit of measurement used for this quota      dimension.     :type unit: str     :param unit_plural: The standard unit of measurement used for this quota      dimension in plural form.     :type unit_plural: str