Class: Azure::MediaServices::Mgmt::V2018_07_01::Models::AbsoluteClipTime
- Inherits:
-
ClipTime
- Object
- ClipTime
- Azure::MediaServices::Mgmt::V2018_07_01::Models::AbsoluteClipTime
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-07-01/generated/azure_mgmt_media_services/models/absolute_clip_time.rb
Overview
Specifies the clip time as an absolute time position in the media file. The absolute time can point to a different position depending on whether the media file starts from a timestamp of zero or not.
Instance Attribute Summary collapse
-
#odatatype ⇒ Object
Returns the value of attribute odatatype.
-
#time ⇒ Duration
media.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for AbsoluteClipTime class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ AbsoluteClipTime
constructor
A new instance of AbsoluteClipTime.
Constructor Details
#initialize ⇒ AbsoluteClipTime
Returns a new instance of AbsoluteClipTime.
18 19 20 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/absolute_clip_time.rb', line 18 def initialize @odatatype = "#Microsoft.Media.AbsoluteClipTime" end |
Instance Attribute Details
#odatatype ⇒ Object
Returns the value of attribute odatatype.
22 23 24 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/absolute_clip_time.rb', line 22 def odatatype @odatatype end |
#time ⇒ Duration
media. It is usually specified as an ISO8601 period. e.g PT30S for 30 seconds.
27 28 29 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/absolute_clip_time.rb', line 27 def time @time end |
Class Method Details
.mapper ⇒ Object
Mapper for AbsoluteClipTime 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/2018-07-01/generated/azure_mgmt_media_services/models/absolute_clip_time.rb', line 34 def self.mapper() { client_side_validation: true, required: false, serialized_name: '#Microsoft.Media.AbsoluteClipTime', type: { name: 'Composite', class_name: 'AbsoluteClipTime', model_properties: { odatatype: { client_side_validation: true, required: true, serialized_name: '@odata\\.type', type: { name: 'String' } }, time: { client_side_validation: true, required: true, serialized_name: 'time', type: { name: 'TimeSpan' } } } } } end |