Class: TencentCloud::Iotexplorer::V20190423::CloudStorageEventWithAITasks
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotexplorer::V20190423::CloudStorageEventWithAITasks
- Defined in:
- lib/v20190423/models.rb
Overview
云存事件及其关联的云存 AI 任务
Instance Attribute Summary collapse
- #AITasks ⇒ Object
- #Data ⇒ Object
- #EndTime ⇒ Object
- #EventId ⇒ Object
- #StartTime ⇒ Object
- #Thumbnail ⇒ Object
- #UploadStatus ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(starttime = nil, endtime = nil, thumbnail = nil, eventid = nil, uploadstatus = nil, data = nil, aitasks = nil) ⇒ CloudStorageEventWithAITasks
constructor
A new instance of CloudStorageEventWithAITasks.
Constructor Details
#initialize(starttime = nil, endtime = nil, thumbnail = nil, eventid = nil, uploadstatus = nil, data = nil, aitasks = nil) ⇒ CloudStorageEventWithAITasks
Returns a new instance of CloudStorageEventWithAITasks.
1194 1195 1196 1197 1198 1199 1200 1201 1202 |
# File 'lib/v20190423/models.rb', line 1194 def initialize(starttime=nil, endtime=nil, thumbnail=nil, eventid=nil, uploadstatus=nil, data=nil, aitasks=nil) @StartTime = starttime @EndTime = endtime @Thumbnail = thumbnail @EventId = eventid @UploadStatus = uploadstatus @Data = data @AITasks = aitasks end |
Instance Attribute Details
#AITasks ⇒ Object
1192 1193 1194 |
# File 'lib/v20190423/models.rb', line 1192 def AITasks @AITasks end |
#Data ⇒ Object
1192 1193 1194 |
# File 'lib/v20190423/models.rb', line 1192 def Data @Data end |
#EndTime ⇒ Object
1192 1193 1194 |
# File 'lib/v20190423/models.rb', line 1192 def EndTime @EndTime end |
#EventId ⇒ Object
1192 1193 1194 |
# File 'lib/v20190423/models.rb', line 1192 def EventId @EventId end |
#StartTime ⇒ Object
1192 1193 1194 |
# File 'lib/v20190423/models.rb', line 1192 def StartTime @StartTime end |
#Thumbnail ⇒ Object
1192 1193 1194 |
# File 'lib/v20190423/models.rb', line 1192 def Thumbnail @Thumbnail end |
#UploadStatus ⇒ Object
1192 1193 1194 |
# File 'lib/v20190423/models.rb', line 1192 def UploadStatus @UploadStatus end |
Instance Method Details
#deserialize(params) ⇒ Object
1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 |
# File 'lib/v20190423/models.rb', line 1204 def deserialize(params) @StartTime = params['StartTime'] @EndTime = params['EndTime'] @Thumbnail = params['Thumbnail'] @EventId = params['EventId'] @UploadStatus = params['UploadStatus'] @Data = params['Data'] unless params['AITasks'].nil? @AITasks = [] params['AITasks'].each do |i| cloudstorageaiservicetask_tmp = CloudStorageAIServiceTask.new cloudstorageaiservicetask_tmp.deserialize(i) @AITasks << cloudstorageaiservicetask_tmp end end end |