Class: TencentCloud::Iotexplorer::V20190423::InvokeAISearchServiceResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotexplorer::V20190423::InvokeAISearchServiceResponse
- Defined in:
- lib/v20190423/models.rb
Overview
InvokeAISearchService返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(summary = nil, targets = nil, videourl = nil, requestid = nil) ⇒ InvokeAISearchServiceResponse
constructor
A new instance of InvokeAISearchServiceResponse.
Constructor Details
#initialize(summary = nil, targets = nil, videourl = nil, requestid = nil) ⇒ InvokeAISearchServiceResponse
Returns a new instance of InvokeAISearchServiceResponse.
9607 9608 9609 9610 9611 9612 |
# File 'lib/v20190423/models.rb', line 9607 def initialize(summary=nil, targets=nil, videourl=nil, requestid=nil) @Summary = summary @Targets = targets @VideoURL = videourl @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
9605 9606 9607 |
# File 'lib/v20190423/models.rb', line 9605 def RequestId @RequestId end |
#Summary ⇒ Object
9605 9606 9607 |
# File 'lib/v20190423/models.rb', line 9605 def Summary @Summary end |
#Targets ⇒ Object
9605 9606 9607 |
# File 'lib/v20190423/models.rb', line 9605 def Targets @Targets end |
#VideoURL ⇒ Object
9605 9606 9607 |
# File 'lib/v20190423/models.rb', line 9605 def VideoURL @VideoURL end |
Instance Method Details
#deserialize(params) ⇒ Object
9614 9615 9616 9617 9618 9619 9620 9621 9622 9623 9624 9625 9626 |
# File 'lib/v20190423/models.rb', line 9614 def deserialize(params) @Summary = params['Summary'] unless params['Targets'].nil? @Targets = [] params['Targets'].each do |i| targetinfo_tmp = TargetInfo.new targetinfo_tmp.deserialize(i) @Targets << targetinfo_tmp end end @VideoURL = params['VideoURL'] @RequestId = params['RequestId'] end |