Sha256: f4e95462be5b6798544d3ef38767a3110a437576f0155dcfd3743c530b698a5f

Contents?: true

Size: 1.42 KB

Versions: 10

Compression:

Stored size: 1.42 KB

Contents

# 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::Monitor::Mgmt::V2018_01_01
  module Models
    #
    # The localizable string class.
    #
    class LocalizableString

      include MsRestAzure

      # @return [String] the invariant value.
      attr_accessor :value

      # @return [String] the locale specific value.
      attr_accessor :localized_value


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

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
azure_mgmt_monitor-0.19.0 lib/2018-01-01/generated/azure_mgmt_monitor/models/localizable_string.rb
azure_mgmt_monitor-0.18.0 lib/2018-01-01/generated/azure_mgmt_monitor/models/localizable_string.rb
azure_mgmt_monitor-0.17.6 lib/2018-01-01/generated/azure_mgmt_monitor/models/localizable_string.rb
azure_mgmt_monitor-0.17.5 lib/2018-01-01/generated/azure_mgmt_monitor/models/localizable_string.rb
azure_mgmt_monitor-0.17.4 lib/2018-01-01/generated/azure_mgmt_monitor/models/localizable_string.rb
azure_mgmt_monitor-0.17.3 lib/2018-01-01/generated/azure_mgmt_monitor/models/localizable_string.rb
azure_mgmt_monitor-0.17.2 lib/2018-01-01/generated/azure_mgmt_monitor/models/localizable_string.rb
azure_mgmt_monitor-0.17.1 lib/2018-01-01/generated/azure_mgmt_monitor/models/localizable_string.rb
azure_mgmt_monitor-0.17.0 lib/2018-01-01/generated/azure_mgmt_monitor/models/localizable_string.rb
azure_mgmt_monitor-0.16.1 lib/2018-01-01/generated/azure_mgmt_monitor/models/localizable_string.rb