Class: Azure::MediaServices::Mgmt::V2020_05_01::Models::AudioTrackDescriptor
- Inherits:
-
TrackDescriptor
- Object
- TrackDescriptor
- Azure::MediaServices::Mgmt::V2020_05_01::Models::AudioTrackDescriptor
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-05-01/generated/azure_mgmt_media_services/models/audio_track_descriptor.rb
Overview
A TrackSelection to select audio tracks.
Direct Known Subclasses
Instance Attribute Summary collapse
-
#channel_mapping ⇒ ChannelMapping
tracks.
-
#odatatype ⇒ Object
Returns the value of attribute odatatype.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for AudioTrackDescriptor class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ AudioTrackDescriptor
constructor
A new instance of AudioTrackDescriptor.
Constructor Details
#initialize ⇒ AudioTrackDescriptor
Returns a new instance of AudioTrackDescriptor.
16 17 18 |
# File 'lib/2020-05-01/generated/azure_mgmt_media_services/models/audio_track_descriptor.rb', line 16 def initialize @odatatype = "#Microsoft.Media.AudioTrackDescriptor" end |
Instance Attribute Details
#channel_mapping ⇒ ChannelMapping
tracks. Can be used to combine the tracks into stereo or multi-channel audio tracks. Possible values include: ‘FrontLeft’, ‘FrontRight’, ‘Center’, ‘LowFrequencyEffects’, ‘BackLeft’, ‘BackRight’, ‘StereoLeft’, ‘StereoRight’
27 28 29 |
# File 'lib/2020-05-01/generated/azure_mgmt_media_services/models/audio_track_descriptor.rb', line 27 def channel_mapping @channel_mapping end |
#odatatype ⇒ Object
Returns the value of attribute odatatype.
20 21 22 |
# File 'lib/2020-05-01/generated/azure_mgmt_media_services/models/audio_track_descriptor.rb', line 20 def odatatype @odatatype end |
Class Method Details
.mapper ⇒ Object
Mapper for AudioTrackDescriptor class as Ruby Hash. This will be used for serialization/deserialization.
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 |
# File 'lib/2020-05-01/generated/azure_mgmt_media_services/models/audio_track_descriptor.rb', line 34 def self.mapper() { client_side_validation: true, required: false, serialized_name: '#Microsoft.Media.AudioTrackDescriptor', type: { name: 'Composite', class_name: 'AudioTrackDescriptor', model_properties: { odatatype: { client_side_validation: true, required: true, serialized_name: '@odata\\.type', type: { name: 'String' } }, channel_mapping: { client_side_validation: true, required: false, serialized_name: 'channelMapping', type: { name: 'String' } } } } } end |