# 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::StorSimple8000Series::Mgmt::V2017_06_01
  module Models
    #
    # The dimension filter.
    #
    class DimensionFilter

      include MsRestAzure

      # @return [String] Specifies the dimension name. E.g., NetworkInterface.
      # Valid values are the ones specified in the field "dimensions" in the
      # ListMetricDefinitions call. Only 'Equality' operator is supported for
      # this property.
      attr_accessor :name

      # @return [String] Specifies the dimension value. E.g., Data0. Valid
      # values are the ones returned in the field "dimensions" in the
      # ListMetricDefinitions call. Only 'Equality' operator is supported for
      # this property.
      attr_accessor :values


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