Sha256: 46a0c6cf2a80af897ec7f644020c509eb3448a858ed00fd8b32397135f1bc1dc
Contents?: true
Size: 1.92 KB
Versions: 12
Compression:
Stored size: 1.92 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_03_30_preview module Models # # The Audio Analyzer preset applies a pre-defined set of AI-based analysis # operations, including speech transcription. Currently, the preset # supports processing of content with a single audio track. # class AudioAnalyzerPreset < Preset include MsRestAzure def initialize @odatatype = "#Microsoft.Media.AudioAnalyzerPreset" end attr_accessor :odatatype # @return [String] The language for the audio payload in the input using # the BCP-47 format of 'language tag-region' (e.g: 'en-US'). The list of # supported languages are, 'en-US', 'en-GB', 'es-ES', 'es-MX', 'fr-FR', # 'it-IT', 'ja-JP', 'pt-BR', 'zh-CN'. attr_accessor :audio_language # # Mapper for AudioAnalyzerPreset class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: '#Microsoft.Media.AudioAnalyzerPreset', type: { name: 'Composite', class_name: 'AudioAnalyzerPreset', model_properties: { odatatype: { client_side_validation: true, required: true, serialized_name: '@odata\\.type', type: { name: 'String' } }, audio_language: { client_side_validation: true, required: false, serialized_name: 'audioLanguage', type: { name: 'String' } } } } } end end end end
Version data entries
12 entries across 12 versions & 1 rubygems