Sha256: af94758289bf2c0e82662290e756b0e80a70b758a76c9f4e79ac07d9a76b0653

Contents?: true

Size: 2 KB

Versions: 1

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
    #
    # Describes a built-in preset for encoding the input video with the
    # Standard Encoder.
    #
    class BuiltInStandardEncoderPreset < Preset

      include MsRestAzure


      def initialize
        @odatatype = "#Microsoft.Media.BuiltInStandardEncoderPreset"
      end

      attr_accessor :odatatype

      # @return [EncoderNamedPreset] The built-in preset to be used for
      # encoding videos. Possible values include: 'H264SingleBitrateSD',
      # 'H264SingleBitrate720p', 'H264SingleBitrate1080p', 'AdaptiveStreaming',
      # 'AACGoodQualityAudio', 'ContentAwareEncodingExperimental',
      # 'ContentAwareEncoding', 'CopyAllBitrateNonInterleaved',
      # 'H264MultipleBitrate1080p', 'H264MultipleBitrate720p',
      # 'H264MultipleBitrateSD'
      attr_accessor :preset_name


      #
      # Mapper for BuiltInStandardEncoderPreset class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: '#Microsoft.Media.BuiltInStandardEncoderPreset',
          type: {
            name: 'Composite',
            class_name: 'BuiltInStandardEncoderPreset',
            model_properties: {
              odatatype: {
                client_side_validation: true,
                required: true,
                serialized_name: '@odata\\.type',
                type: {
                  name: 'String'
                }
              },
              preset_name: {
                client_side_validation: true,
                required: true,
                serialized_name: 'presetName',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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