# 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::DataFactory::Mgmt::V2018_06_01
  module Models
    #
    # Columns that define the structure of the dataset.
    #
    class DatasetDataElement

      include MsRestAzure

      # @return Name of the column. Type: string (or Expression with resultType
      # string).
      attr_accessor :name

      # @return Type of the column. Type: string (or Expression with resultType
      # string).
      attr_accessor :type


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