Class: TencentCloud::Tdai::V20250717::DescribeChatsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdai::V20250717::DescribeChatsResponse
- Defined in:
- lib/v20250717/models.rb
Overview
DescribeChats返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, chats = nil, requestid = nil) ⇒ DescribeChatsResponse
constructor
A new instance of DescribeChatsResponse.
Constructor Details
#initialize(totalcount = nil, chats = nil, requestid = nil) ⇒ DescribeChatsResponse
864 865 866 867 868 |
# File 'lib/v20250717/models.rb', line 864 def initialize(totalcount=nil, chats=nil, requestid=nil) @TotalCount = totalcount @Chats = chats @RequestId = requestid end |
Instance Attribute Details
#Chats ⇒ Object
862 863 864 |
# File 'lib/v20250717/models.rb', line 862 def Chats @Chats end |
#RequestId ⇒ Object
862 863 864 |
# File 'lib/v20250717/models.rb', line 862 def RequestId @RequestId end |
#TotalCount ⇒ Object
862 863 864 |
# File 'lib/v20250717/models.rb', line 862 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
870 871 872 873 874 875 876 877 878 879 880 881 |
# File 'lib/v20250717/models.rb', line 870 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Chats'].nil? @Chats = [] params['Chats'].each do |i| chatbrief_tmp = ChatBrief.new chatbrief_tmp.deserialize(i) @Chats << chatbrief_tmp end end @RequestId = params['RequestId'] end |