# 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::V2018_06_01_preview
  module Models
    #
    # Class to specify one track property condition
    #
    class TrackPropertyCondition

      include MsRestAzure

      # @return [TrackPropertyType] Track property type. Possible values
      # include: 'Unknown', 'FourCC'
      attr_accessor :property

      # @return [TrackPropertyCompareOperation] Track property condition
      # operation. Possible values include: 'Unknown', 'Equal'
      attr_accessor :operation

      # @return [String] Track property value
      attr_accessor :value


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