Source code for azure.mgmt.signalr.models.signal_rusage_name_py3

# 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


[docs]class SignalRUsageName(Model): """Localizable String object containing the name and a localized value. :param value: The identifier of the usage. :type value: str :param localized_value: Localized name of the usage. :type localized_value: str """ _attribute_map = { 'value': {'key': 'value', 'type': 'str'}, 'localized_value': {'key': 'localizedValue', 'type': 'str'}, } def __init__(self, *, value: str=None, localized_value: str=None, **kwargs) -> None: super(SignalRUsageName, self).__init__(**kwargs) self.value = value self.localized_value = localized_value