Class: TencentCloud::Tdai::V20250717::DescribeChatDetailResponse

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20250717/models.rb

Overview

DescribeChatDetail返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#AppIdObject



795
796
797
# File 'lib/v20250717/models.rb', line 795

def AppId
  @AppId
end

#ChatIdObject



795
796
797
# File 'lib/v20250717/models.rb', line 795

def ChatId
  @ChatId
end

#InstanceIdObject



795
796
797
# File 'lib/v20250717/models.rb', line 795

def InstanceId
  @InstanceId
end

#LastStreamingTokenIdObject



795
796
797
# File 'lib/v20250717/models.rb', line 795

def LastStreamingTokenId
  @LastStreamingTokenId
end

#OwnerUinObject



795
796
797
# File 'lib/v20250717/models.rb', line 795

def OwnerUin
  @OwnerUin
end

#RequestIdObject



795
796
797
# File 'lib/v20250717/models.rb', line 795

def RequestId
  @RequestId
end

#StreamingCountObject



795
796
797
# File 'lib/v20250717/models.rb', line 795

def StreamingCount
  @StreamingCount
end

#StreamingsObject



795
796
797
# File 'lib/v20250717/models.rb', line 795

def Streamings
  @Streamings
end

#UinObject



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