Class: TencentCloud::Tdai::V20250717::DescribeChatDetailResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdai::V20250717::DescribeChatDetailResponse
- Defined in:
- lib/v20250717/models.rb
Overview
DescribeChatDetail返回参数结构体
Instance Attribute Summary collapse
- #AppId ⇒ Object
- #ChatId ⇒ Object
- #InstanceId ⇒ Object
- #LastStreamingTokenId ⇒ Object
- #OwnerUin ⇒ Object
- #RequestId ⇒ Object
- #StreamingCount ⇒ Object
- #Streamings ⇒ Object
- #Uin ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(appid = nil, uin = nil, owneruin = nil, instanceid = nil, chatid = nil, laststreamingtokenid = nil, streamingcount = nil, streamings = nil, requestid = nil) ⇒ DescribeChatDetailResponse
constructor
A new instance of DescribeChatDetailResponse.
Constructor Details
#initialize(appid = nil, uin = nil, owneruin = nil, instanceid = nil, chatid = nil, laststreamingtokenid = nil, streamingcount = nil, streamings = nil, requestid = nil) ⇒ DescribeChatDetailResponse
797 798 799 800 801 802 803 804 805 806 807 |
# File 'lib/v20250717/models.rb', line 797 def initialize(appid=nil, uin=nil, owneruin=nil, instanceid=nil, chatid=nil, laststreamingtokenid=nil, streamingcount=nil, streamings=nil, requestid=nil) @AppId = appid @Uin = uin @OwnerUin = owneruin @InstanceId = instanceid @ChatId = chatid @LastStreamingTokenId = laststreamingtokenid @StreamingCount = streamingcount @Streamings = streamings @RequestId = requestid end |
Instance Attribute Details
#AppId ⇒ Object
795 796 797 |
# File 'lib/v20250717/models.rb', line 795 def AppId @AppId end |
#ChatId ⇒ Object
795 796 797 |
# File 'lib/v20250717/models.rb', line 795 def ChatId @ChatId end |
#InstanceId ⇒ Object
795 796 797 |
# File 'lib/v20250717/models.rb', line 795 def InstanceId @InstanceId end |
#LastStreamingTokenId ⇒ Object
795 796 797 |
# File 'lib/v20250717/models.rb', line 795 def LastStreamingTokenId @LastStreamingTokenId end |
#OwnerUin ⇒ Object
795 796 797 |
# File 'lib/v20250717/models.rb', line 795 def OwnerUin @OwnerUin end |
#RequestId ⇒ Object
795 796 797 |
# File 'lib/v20250717/models.rb', line 795 def RequestId @RequestId end |
#StreamingCount ⇒ Object
795 796 797 |
# File 'lib/v20250717/models.rb', line 795 def StreamingCount @StreamingCount end |
#Streamings ⇒ Object
795 796 797 |
# File 'lib/v20250717/models.rb', line 795 def Streamings @Streamings end |
#Uin ⇒ Object
795 796 797 |
# File 'lib/v20250717/models.rb', line 795 def Uin @Uin end |
Instance Method Details
#deserialize(params) ⇒ Object
809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 |
# File 'lib/v20250717/models.rb', line 809 def deserialize(params) @AppId = params['AppId'] @Uin = params['Uin'] @OwnerUin = params['OwnerUin'] @InstanceId = params['InstanceId'] @ChatId = params['ChatId'] @LastStreamingTokenId = params['LastStreamingTokenId'] @StreamingCount = params['StreamingCount'] unless params['Streamings'].nil? @Streamings = [] params['Streamings'].each do |i| chatdetail_tmp = ChatDetail.new chatdetail_tmp.deserialize(i) @Streamings << chatdetail_tmp end end @RequestId = params['RequestId'] end |