# 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::TimeSeriesInsights::Mgmt::V2018_08_15_preview
  module Models
    #
    # Model object.
    #
    #
    class ReferenceDataSetCreateOrUpdateParameters < CreateOrUpdateTrackedResourceProperties

      include MsRestAzure

      # @return [Array<ReferenceDataSetKeyProperty>] The list of key properties
      # for the reference data set.
      attr_accessor :key_properties

      # @return [DataStringComparisonBehavior] The reference data set key
      # comparison behavior can be set using this property. By default, the
      # value is 'Ordinal' - which means case sensitive key comparison will be
      # performed while joining reference data with events or while adding new
      # reference data. When 'OrdinalIgnoreCase' is set, case insensitive
      # comparison will be used. Possible values include: 'Ordinal',
      # 'OrdinalIgnoreCase'
      attr_accessor :data_string_comparison_behavior


      #
      # Mapper for ReferenceDataSetCreateOrUpdateParameters class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'ReferenceDataSetCreateOrUpdateParameters',
          type: {
            name: 'Composite',
            class_name: 'ReferenceDataSetCreateOrUpdateParameters',
            model_properties: {
              location: {
                client_side_validation: true,
                required: true,
                serialized_name: 'location',
                type: {
                  name: 'String'
                }
              },
              tags: {
                client_side_validation: true,
                required: false,
                serialized_name: 'tags',
                type: {
                  name: 'Dictionary',
                  value: {
                      client_side_validation: true,
                      required: false,
                      serialized_name: 'StringElementType',
                      type: {
                        name: 'String'
                      }
                  }
                }
              },
              key_properties: {
                client_side_validation: true,
                required: true,
                serialized_name: 'properties.keyProperties',
                type: {
                  name: 'Sequence',
                  element: {
                      client_side_validation: true,
                      required: false,
                      serialized_name: 'ReferenceDataSetKeyPropertyElementType',
                      type: {
                        name: 'Composite',
                        class_name: 'ReferenceDataSetKeyProperty'
                      }
                  }
                }
              },
              data_string_comparison_behavior: {
                client_side_validation: true,
                required: false,
                serialized_name: 'properties.dataStringComparisonBehavior',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end
