# 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::Resources::Mgmt::V2020_06_01
  module Models
    #
    # Model object.
    #
    #
    class AliasPathMetadata

      include MsRestAzure

      # @return [AliasPathTokenType] The type of the token that the alias path
      # is referring to. Possible values include: 'NotSpecified', 'Any',
      # 'String', 'Object', 'Array', 'Integer', 'Number', 'Boolean'
      attr_accessor :type

      # @return [AliasPathAttributes] The attributes of the token that the
      # alias path is referring to. Possible values include: 'None',
      # 'Modifiable'
      attr_accessor :attributes


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