Class: TencentCloud::Iotexplorer::V20190423::InvokeCloudStorageAIServiceTaskResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotexplorer::V20190423::InvokeCloudStorageAIServiceTaskResponse
- Defined in:
- lib/v20190423/models.rb
Overview
InvokeCloudStorageAIServiceTask返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(completed = nil, taskid = nil, taskinfo = nil, requestid = nil) ⇒ InvokeCloudStorageAIServiceTaskResponse
constructor
A new instance of InvokeCloudStorageAIServiceTaskResponse.
Constructor Details
#initialize(completed = nil, taskid = nil, taskinfo = nil, requestid = nil) ⇒ InvokeCloudStorageAIServiceTaskResponse
Returns a new instance of InvokeCloudStorageAIServiceTaskResponse.
9697 9698 9699 9700 9701 9702 |
# File 'lib/v20190423/models.rb', line 9697 def initialize(completed=nil, taskid=nil, taskinfo=nil, requestid=nil) @Completed = completed @TaskId = taskid @TaskInfo = taskinfo @RequestId = requestid end |
Instance Attribute Details
#Completed ⇒ Object
9695 9696 9697 |
# File 'lib/v20190423/models.rb', line 9695 def Completed @Completed end |
#RequestId ⇒ Object
9695 9696 9697 |
# File 'lib/v20190423/models.rb', line 9695 def RequestId @RequestId end |
#TaskId ⇒ Object
9695 9696 9697 |
# File 'lib/v20190423/models.rb', line 9695 def TaskId @TaskId end |
#TaskInfo ⇒ Object
9695 9696 9697 |
# File 'lib/v20190423/models.rb', line 9695 def TaskInfo @TaskInfo end |
Instance Method Details
#deserialize(params) ⇒ Object
9704 9705 9706 9707 9708 9709 9710 9711 9712 |
# File 'lib/v20190423/models.rb', line 9704 def deserialize(params) @Completed = params['Completed'] @TaskId = params['TaskId'] unless params['TaskInfo'].nil? @TaskInfo = CloudStorageAIServiceTask.new @TaskInfo.deserialize(params['TaskInfo']) end @RequestId = params['RequestId'] end |