Sha256: cb0961a9e9ef1dc170adc3a94063ab3d1714c5823d48ae1b10f37f8328d3e249

Contents?: true

Size: 1.5 KB

Versions: 6

Compression:

Stored size: 1.5 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::V2018_07_01
  module Models
    #
    # Base type for all Presets, which define the recipe or instructions on how
    # the input media files should be processed.
    #
    class Preset

      include MsRestAzure

      @@discriminatorMap = Hash.new
      @@discriminatorMap["#Microsoft.Media.FaceDetectorPreset"] = "FaceDetectorPreset"
      @@discriminatorMap["#Microsoft.Media.AudioAnalyzerPreset"] = "AudioAnalyzerPreset"
      @@discriminatorMap["#Microsoft.Media.BuiltInStandardEncoderPreset"] = "BuiltInStandardEncoderPreset"
      @@discriminatorMap["#Microsoft.Media.StandardEncoderPreset"] = "StandardEncoderPreset"
      @@discriminatorMap["#Microsoft.Media.VideoAnalyzerPreset"] = "VideoAnalyzerPreset"

      def initialize
        @odatatype = "Preset"
      end

      attr_accessor :odatatype


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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
azure_mgmt_media_services-0.21.1 lib/2018-07-01/generated/azure_mgmt_media_services/models/preset.rb
azure_mgmt_media_services-0.21.0 lib/2018-07-01/generated/azure_mgmt_media_services/models/preset.rb
azure_mgmt_media_services-0.20.1 lib/2018-07-01/generated/azure_mgmt_media_services/models/preset.rb
azure_mgmt_media_services-0.20.0 lib/2018-07-01/generated/azure_mgmt_media_services/models/preset.rb
azure_mgmt_media_services-0.19.1 lib/2018-07-01/generated/azure_mgmt_media_services/models/preset.rb
azure_mgmt_media_services-0.19.0 lib/2018-07-01/generated/azure_mgmt_media_services/models/preset.rb