Class: TencentCloud::Iotexplorer::V20190423::GetTWeTalkAIBotListResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotexplorer::V20190423::GetTWeTalkAIBotListResponse
- Defined in:
- lib/v20190423/models.rb
Overview
GetTWeTalkAIBotList返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(data = nil, totalcount = nil, requestid = nil) ⇒ GetTWeTalkAIBotListResponse
constructor
A new instance of GetTWeTalkAIBotListResponse.
Constructor Details
#initialize(data = nil, totalcount = nil, requestid = nil) ⇒ GetTWeTalkAIBotListResponse
Returns a new instance of GetTWeTalkAIBotListResponse.
9112 9113 9114 9115 9116 |
# File 'lib/v20190423/models.rb', line 9112 def initialize(data=nil, totalcount=nil, requestid=nil) @Data = data @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#Data ⇒ Object
9110 9111 9112 |
# File 'lib/v20190423/models.rb', line 9110 def Data @Data end |
#RequestId ⇒ Object
9110 9111 9112 |
# File 'lib/v20190423/models.rb', line 9110 def RequestId @RequestId end |
#TotalCount ⇒ Object
9110 9111 9112 |
# File 'lib/v20190423/models.rb', line 9110 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
9118 9119 9120 9121 9122 9123 9124 9125 9126 9127 9128 9129 |
# File 'lib/v20190423/models.rb', line 9118 def deserialize(params) unless params['Data'].nil? @Data = [] params['Data'].each do |i| talkaibotinfo_tmp = TalkAIBotInfo.new talkaibotinfo_tmp.deserialize(i) @Data << talkaibotinfo_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |