Sha256: f8165aa8927c11e0cad0416c789400697bafb8cb916fef7d46932b243100906c

Contents?: true

Size: 2 KB

Versions: 2

Compression:

Stored size: 2 KB

Contents

# 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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_media_services-0.21.1 lib/2020-05-01/generated/azure_mgmt_media_services/models/filter_track_property_condition.rb
azure_mgmt_media_services-0.21.0 lib/2020-05-01/generated/azure_mgmt_media_services/models/filter_track_property_condition.rb