Class: Azure::MediaServices::Mgmt::V2020_05_01::Models::UtcClipTime
- Inherits:
-
ClipTime
- Object
- ClipTime
- Azure::MediaServices::Mgmt::V2020_05_01::Models::UtcClipTime
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-05-01/generated/azure_mgmt_media_services/models/utc_clip_time.rb
Overview
Specifies the clip time as a Utc time position in the media file. The Utc 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 ⇒ DateTime
based on Utc time.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for UtcClipTime class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ UtcClipTime
constructor
A new instance of UtcClipTime.
Constructor Details
#initialize ⇒ UtcClipTime
Returns a new instance of UtcClipTime.
18 19 20 |
# File 'lib/2020-05-01/generated/azure_mgmt_media_services/models/utc_clip_time.rb', line 18 def initialize @odatatype = "#Microsoft.Media.UtcClipTime" end |
Instance Attribute Details
#odatatype ⇒ Object
Returns the value of attribute odatatype.
22 23 24 |
# File 'lib/2020-05-01/generated/azure_mgmt_media_services/models/utc_clip_time.rb', line 22 def odatatype @odatatype end |
#time ⇒ DateTime
based on Utc time.
26 27 28 |
# File 'lib/2020-05-01/generated/azure_mgmt_media_services/models/utc_clip_time.rb', line 26 def time @time end |
Class Method Details
.mapper ⇒ Object
Mapper for UtcClipTime class as Ruby Hash. This will be used for serialization/deserialization.
33 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 |
# File 'lib/2020-05-01/generated/azure_mgmt_media_services/models/utc_clip_time.rb', line 33 def self.mapper() { client_side_validation: true, required: false, serialized_name: '#Microsoft.Media.UtcClipTime', type: { name: 'Composite', class_name: 'UtcClipTime', 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: 'DateTime' } } } } } end |