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.
9096 9097 9098 9099 9100 |
# File 'lib/v20190423/models.rb', line 9096 def initialize(data=nil, totalcount=nil, requestid=nil) @Data = data @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#Data ⇒ Object
9094 9095 9096 |
# File 'lib/v20190423/models.rb', line 9094 def Data @Data end |
#RequestId ⇒ Object
9094 9095 9096 |
# File 'lib/v20190423/models.rb', line 9094 def RequestId @RequestId end |
#TotalCount ⇒ Object
9094 9095 9096 |
# File 'lib/v20190423/models.rb', line 9094 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
9102 9103 9104 9105 9106 9107 9108 9109 9110 9111 9112 9113 |
# File 'lib/v20190423/models.rb', line 9102 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 |