Sha256: 4ebf8dfb8073d09bacc765eb5bba4a2dc42621ccd51844e4d240ee742fc3bed7

Contents?: true

Size: 1.22 KB

Versions: 1

Compression:

Stored size: 1.22 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::ARM::Web
  module Models
    #
    # Name value pair.
    #
    class NameValuePair

      include MsRestAzure

      include MsRest::JSONable
      # @return [String] Pair name.
      attr_accessor :name

      # @return [String] Pair value.
      attr_accessor :value


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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
azure_mgmt_web-0.13.0 lib/generated/azure_mgmt_web/models/name_value_pair.rb