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.
1162 1163 1164 1165 1166 1167 1168 1169 1170 |
# File 'lib/v20190423/models.rb', line 1162 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
1160 1161 1162 |
# File 'lib/v20190423/models.rb', line 1160 def AITasks @AITasks end |
#Data ⇒ Object
1160 1161 1162 |
# File 'lib/v20190423/models.rb', line 1160 def Data @Data end |
#EndTime ⇒ Object
1160 1161 1162 |
# File 'lib/v20190423/models.rb', line 1160 def EndTime @EndTime end |
#EventId ⇒ Object
1160 1161 1162 |
# File 'lib/v20190423/models.rb', line 1160 def EventId @EventId end |
#StartTime ⇒ Object
1160 1161 1162 |
# File 'lib/v20190423/models.rb', line 1160 def StartTime @StartTime end |
#Thumbnail ⇒ Object
1160 1161 1162 |
# File 'lib/v20190423/models.rb', line 1160 def Thumbnail @Thumbnail end |
#UploadStatus ⇒ Object
1160 1161 1162 |
# File 'lib/v20190423/models.rb', line 1160 def UploadStatus @UploadStatus end |
Instance Method Details
#deserialize(params) ⇒ Object
1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 |
# File 'lib/v20190423/models.rb', line 1172 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 |