# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::Signalr::Mgmt::V2020_05_01
  module Models
    #
    # Localizable String object containing the name and a localized value.
    #
    class SignalRUsageName

      include MsRestAzure

      # @return [String] The identifier of the usage.
      attr_accessor :value

      # @return [String] Localized name of the usage.
      attr_accessor :localized_value


      #
      # Mapper for SignalRUsageName class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'SignalRUsageName',
          type: {
            name: 'Composite',
            class_name: 'SignalRUsageName',
            model_properties: {
              value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'value',
                type: {
                  name: 'String'
                }
              },
              localized_value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'localizedValue',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end
