Class: Azure::MediaServices::Mgmt::V2020_05_01::Models::VideoTrackDescriptor
- Inherits:
-
TrackDescriptor
- Object
- TrackDescriptor
- Azure::MediaServices::Mgmt::V2020_05_01::Models::VideoTrackDescriptor
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-05-01/generated/azure_mgmt_media_services/models/video_track_descriptor.rb
Overview
A TrackSelection to select video tracks.
Direct Known Subclasses
Instance Attribute Summary collapse
-
#odatatype ⇒ Object
Returns the value of attribute odatatype.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for VideoTrackDescriptor class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ VideoTrackDescriptor
constructor
A new instance of VideoTrackDescriptor.
Constructor Details
#initialize ⇒ VideoTrackDescriptor
Returns a new instance of VideoTrackDescriptor.
16 17 18 |
# File 'lib/2020-05-01/generated/azure_mgmt_media_services/models/video_track_descriptor.rb', line 16 def initialize @odatatype = "#Microsoft.Media.VideoTrackDescriptor" end |
Instance Attribute Details
#odatatype ⇒ Object
Returns the value of attribute odatatype.
20 21 22 |
# File 'lib/2020-05-01/generated/azure_mgmt_media_services/models/video_track_descriptor.rb', line 20 def odatatype @odatatype end |
Class Method Details
.mapper ⇒ Object
Mapper for VideoTrackDescriptor class as Ruby Hash. This will be used for serialization/deserialization.
27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 |
# File 'lib/2020-05-01/generated/azure_mgmt_media_services/models/video_track_descriptor.rb', line 27 def self.mapper() { client_side_validation: true, required: false, serialized_name: '#Microsoft.Media.VideoTrackDescriptor', type: { name: 'Composite', class_name: 'VideoTrackDescriptor', model_properties: { odatatype: { client_side_validation: true, required: true, serialized_name: '@odata\\.type', type: { name: 'String' } } } } } end |