Class: TencentCloud::Cls::V20201016::SearchLogTopics
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cls::V20201016::SearchLogTopics
- Defined in:
- lib/v20201016/models.rb
Overview
多主题检索返回信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(errors = nil, infos = nil) ⇒ SearchLogTopics
constructor
A new instance of SearchLogTopics.
Constructor Details
#initialize(errors = nil, infos = nil) ⇒ SearchLogTopics
Returns a new instance of SearchLogTopics.
17142 17143 17144 17145 |
# File 'lib/v20201016/models.rb', line 17142 def initialize(errors=nil, infos=nil) @Errors = errors @Infos = infos end |
Instance Attribute Details
#Errors ⇒ Object
17140 17141 17142 |
# File 'lib/v20201016/models.rb', line 17140 def Errors @Errors end |
#Infos ⇒ Object
17140 17141 17142 |
# File 'lib/v20201016/models.rb', line 17140 def Infos @Infos end |
Instance Method Details
#deserialize(params) ⇒ Object
17147 17148 17149 17150 17151 17152 17153 17154 17155 17156 17157 17158 17159 17160 17161 17162 17163 17164 |
# File 'lib/v20201016/models.rb', line 17147 def deserialize(params) unless params['Errors'].nil? @Errors = [] params['Errors'].each do |i| searchlogerrors_tmp = SearchLogErrors.new searchlogerrors_tmp.deserialize(i) @Errors << searchlogerrors_tmp end end unless params['Infos'].nil? @Infos = [] params['Infos'].each do |i| searchloginfos_tmp = SearchLogInfos.new searchloginfos_tmp.deserialize(i) @Infos << searchloginfos_tmp end end end |