Class: TencentCloud::Ams::V20200608::ImageSegments
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ams::V20200608::ImageSegments
- Defined in:
- lib/v20200608/models.rb
Overview
图片段信息
Instance Attribute Summary collapse
-
#OffsetTime ⇒ Object
点播文件:该值为相对于视频偏移时间,单位为秒,例如:0,5,10 直播流:该值为时间戳,例如:1594650717.
-
#Result ⇒ Object
点播文件:该值为相对于视频偏移时间,单位为秒,例如:0,5,10 直播流:该值为时间戳,例如:1594650717.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(result = nil, offsettime = nil) ⇒ ImageSegments
constructor
A new instance of ImageSegments.
Constructor Details
#initialize(result = nil, offsettime = nil) ⇒ ImageSegments
Returns a new instance of ImageSegments.
1175 1176 1177 1178 |
# File 'lib/v20200608/models.rb', line 1175 def initialize(result=nil, offsettime=nil) @Result = result @OffsetTime = offsettime end |
Instance Attribute Details
#OffsetTime ⇒ Object
点播文件:该值为相对于视频偏移时间,单位为秒,例如:0,5,10 直播流:该值为时间戳,例如:1594650717
1173 1174 1175 |
# File 'lib/v20200608/models.rb', line 1173 def OffsetTime @OffsetTime end |
#Result ⇒ Object
点播文件:该值为相对于视频偏移时间,单位为秒,例如:0,5,10 直播流:该值为时间戳,例如:1594650717
1173 1174 1175 |
# File 'lib/v20200608/models.rb', line 1173 def Result @Result end |
Instance Method Details
#deserialize(params) ⇒ Object
1180 1181 1182 1183 1184 1185 1186 |
# File 'lib/v20200608/models.rb', line 1180 def deserialize(params) unless params['Result'].nil? @Result = ImageResult.new @Result.deserialize(params['Result']) end @OffsetTime = params['OffsetTime'] end |