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.
9623 9624 9625 9626 9627 9628 |
# File 'lib/v20190423/models.rb', line 9623 def initialize(summary=nil, targets=nil, videourl=nil, requestid=nil) @Summary = summary @Targets = targets @VideoURL = videourl @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
9621 9622 9623 |
# File 'lib/v20190423/models.rb', line 9621 def RequestId @RequestId end |
#Summary ⇒ Object
9621 9622 9623 |
# File 'lib/v20190423/models.rb', line 9621 def Summary @Summary end |
#Targets ⇒ Object
9621 9622 9623 |
# File 'lib/v20190423/models.rb', line 9621 def Targets @Targets end |
#VideoURL ⇒ Object
9621 9622 9623 |
# File 'lib/v20190423/models.rb', line 9621 def VideoURL @VideoURL end |
Instance Method Details
#deserialize(params) ⇒ Object
9630 9631 9632 9633 9634 9635 9636 9637 9638 9639 9640 9641 9642 |
# File 'lib/v20190423/models.rb', line 9630 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 |