# 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::MediaServices::Mgmt::V2020_05_01
  module Models
    #
    # The class to specify one track property condition.
    #
    class FilterTrackPropertyCondition

      include MsRestAzure

      # @return [FilterTrackPropertyType] The track property type. Possible
      # values include: 'Unknown', 'Type', 'Name', 'Language', 'FourCC',
      # 'Bitrate'
      attr_accessor :property

      # @return [String] The track property value.
      attr_accessor :value

      # @return [FilterTrackPropertyCompareOperation] The track property
      # condition operation. Possible values include: 'Equal', 'NotEqual'
      attr_accessor :operation


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