Class: Azure::MediaServices::Mgmt::V2020_05_01::Models::SelectVideoTrackByAttribute
- Inherits:
-
VideoTrackDescriptor
- Object
- TrackDescriptor
- VideoTrackDescriptor
- Azure::MediaServices::Mgmt::V2020_05_01::Models::SelectVideoTrackByAttribute
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-05-01/generated/azure_mgmt_media_services/models/select_video_track_by_attribute.rb
Overview
Select video tracks from the input by specifying an attribute and an attribute filter.
Instance Attribute Summary collapse
-
#attribute ⇒ TrackAttribute
Possible values include: ‘Bitrate’, ‘Language’.
-
#filter ⇒ AttributeFilter
TrackAttribute in order to select the tracks.
-
#filter_value ⇒ String
AttributeFilter.ValueEquals is specified for the Filter property.
-
#odatatype ⇒ Object
Returns the value of attribute odatatype.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for SelectVideoTrackByAttribute class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ SelectVideoTrackByAttribute
constructor
A new instance of SelectVideoTrackByAttribute.
Constructor Details
#initialize ⇒ SelectVideoTrackByAttribute
Returns a new instance of SelectVideoTrackByAttribute.
17 18 19 |
# File 'lib/2020-05-01/generated/azure_mgmt_media_services/models/select_video_track_by_attribute.rb', line 17 def initialize @odatatype = "#Microsoft.Media.SelectVideoTrackByAttribute" end |
Instance Attribute Details
#attribute ⇒ TrackAttribute
Possible values include: ‘Bitrate’, ‘Language’
25 26 27 |
# File 'lib/2020-05-01/generated/azure_mgmt_media_services/models/select_video_track_by_attribute.rb', line 25 def attribute @attribute end |
#filter ⇒ AttributeFilter
TrackAttribute in order to select the tracks. Possible values include: ‘All’, ‘Top’, ‘Bottom’, ‘ValueEquals’
30 31 32 |
# File 'lib/2020-05-01/generated/azure_mgmt_media_services/models/select_video_track_by_attribute.rb', line 30 def filter @filter end |
#filter_value ⇒ String
AttributeFilter.ValueEquals is specified for the Filter property. For TrackAttribute.Bitrate, this should be an integer value in bits per second (e.g: ‘1500000’). The TrackAttribute.Language is not supported for video tracks.
37 38 39 |
# File 'lib/2020-05-01/generated/azure_mgmt_media_services/models/select_video_track_by_attribute.rb', line 37 def filter_value @filter_value end |
#odatatype ⇒ Object
Returns the value of attribute odatatype.
21 22 23 |
# File 'lib/2020-05-01/generated/azure_mgmt_media_services/models/select_video_track_by_attribute.rb', line 21 def odatatype @odatatype end |
Class Method Details
.mapper ⇒ Object
Mapper for SelectVideoTrackByAttribute class as Ruby Hash. This will be used for serialization/deserialization.
44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 |
# File 'lib/2020-05-01/generated/azure_mgmt_media_services/models/select_video_track_by_attribute.rb', line 44 def self.mapper() { client_side_validation: true, required: false, serialized_name: '#Microsoft.Media.SelectVideoTrackByAttribute', type: { name: 'Composite', class_name: 'SelectVideoTrackByAttribute', model_properties: { odatatype: { client_side_validation: true, required: true, serialized_name: '@odata\\.type', type: { name: 'String' } }, attribute: { client_side_validation: true, required: true, serialized_name: 'attribute', type: { name: 'String' } }, filter: { client_side_validation: true, required: true, serialized_name: 'filter', type: { name: 'String' } }, filter_value: { client_side_validation: true, required: false, serialized_name: 'filterValue', type: { name: 'String' } } } } } end |