Class: TencentCloud::Hunyuan::V20230901::GetThreadMessageListResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Hunyuan::V20230901::GetThreadMessageListResponse
- Extended by:
- Gem::Deprecate
- Defined in:
- lib/v20230901/models.rb
Overview
GetThreadMessageList返回参数结构体
Instance Attribute Summary collapse
-
#Data ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#FirstID ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#FirstMsgID ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#HasMore ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#LastID ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#LastMsgID ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Object ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(data = nil, firstid = nil, lastid = nil, hasmore = nil, object = nil, firstmsgid = nil, lastmsgid = nil, requestid = nil) ⇒ GetThreadMessageListResponse
constructor
A new instance of GetThreadMessageListResponse.
Constructor Details
#initialize(data = nil, firstid = nil, lastid = nil, hasmore = nil, object = nil, firstmsgid = nil, lastmsgid = nil, requestid = nil) ⇒ GetThreadMessageListResponse
Returns a new instance of GetThreadMessageListResponse.
1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 |
# File 'lib/v20230901/models.rb', line 1060 def initialize(data=nil, firstid=nil, lastid=nil, hasmore=nil, object=nil, firstmsgid=nil, lastmsgid=nil, requestid=nil) @Data = data @FirstID = firstid @LastID = lastid @HasMore = hasmore @Object = object @FirstMsgID = firstmsgid @LastMsgID = lastmsgid @RequestId = requestid end |
Instance Attribute Details
#Data ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
1053 1054 1055 |
# File 'lib/v20230901/models.rb', line 1053 def Data @Data end |
#FirstID ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
1053 1054 1055 |
# File 'lib/v20230901/models.rb', line 1053 def FirstID @FirstID end |
#FirstMsgID ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
1053 1054 1055 |
# File 'lib/v20230901/models.rb', line 1053 def FirstMsgID @FirstMsgID end |
#HasMore ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
1053 1054 1055 |
# File 'lib/v20230901/models.rb', line 1053 def HasMore @HasMore end |
#LastID ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
1053 1054 1055 |
# File 'lib/v20230901/models.rb', line 1053 def LastID @LastID end |
#LastMsgID ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
1053 1054 1055 |
# File 'lib/v20230901/models.rb', line 1053 def LastMsgID @LastMsgID end |
#Object ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
1053 1054 1055 |
# File 'lib/v20230901/models.rb', line 1053 def Object @Object end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
1053 1054 1055 |
# File 'lib/v20230901/models.rb', line 1053 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 |
# File 'lib/v20230901/models.rb', line 1071 def deserialize(params) unless params['Data'].nil? @Data = [] params['Data'].each do |i| = ThreadMessage.new .deserialize(i) @Data << end end @FirstID = params['FirstID'] @LastID = params['LastID'] @HasMore = params['HasMore'] @Object = params['Object'] @FirstMsgID = params['FirstMsgID'] @LastMsgID = params['LastMsgID'] @RequestId = params['RequestId'] end |