Class: TencentCloud::Weilingwith::V20230427::BatchReportAppMessageRes
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Weilingwith::V20230427::BatchReportAppMessageRes
- Defined in:
- lib/v20230427/models.rb
Overview
批量消息上报结果
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalelements = nil, commit = nil, spanmap = nil) ⇒ BatchReportAppMessageRes
constructor
A new instance of BatchReportAppMessageRes.
Constructor Details
#initialize(totalelements = nil, commit = nil, spanmap = nil) ⇒ BatchReportAppMessageRes
Returns a new instance of BatchReportAppMessageRes.
1062 1063 1064 1065 1066 |
# File 'lib/v20230427/models.rb', line 1062 def initialize(totalelements=nil, commit=nil, spanmap=nil) @TotalElements = totalelements @Commit = commit @SpanMap = spanmap end |
Instance Attribute Details
#Commit ⇒ Object
1060 1061 1062 |
# File 'lib/v20230427/models.rb', line 1060 def Commit @Commit end |
#SpanMap ⇒ Object
1060 1061 1062 |
# File 'lib/v20230427/models.rb', line 1060 def SpanMap @SpanMap end |
#TotalElements ⇒ Object
1060 1061 1062 |
# File 'lib/v20230427/models.rb', line 1060 def TotalElements @TotalElements end |
Instance Method Details
#deserialize(params) ⇒ Object
1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 |
# File 'lib/v20230427/models.rb', line 1068 def deserialize(params) @TotalElements = params['TotalElements'] @Commit = params['Commit'] unless params['SpanMap'].nil? @SpanMap = [] params['SpanMap'].each do |i| reportmsgres_tmp = ReportMsgRes.new reportmsgres_tmp.deserialize(i) @SpanMap << reportmsgres_tmp end end end |