Class: TencentCloud::Tms::V20200713::DescribeTextStatResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tms::V20200713::DescribeTextStatResponse
- Defined in:
- lib/v20200713/models.rb
Overview
DescribeTextStat返回参数结构体
Instance Attribute Summary collapse
-
#EvilCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Overview ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#TrendCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(overview = nil, trendcount = nil, evilcount = nil, requestid = nil) ⇒ DescribeTextStatResponse
constructor
A new instance of DescribeTextStatResponse.
Constructor Details
#initialize(overview = nil, trendcount = nil, evilcount = nil, requestid = nil) ⇒ DescribeTextStatResponse
Returns a new instance of DescribeTextStatResponse.
168 169 170 171 172 173 |
# File 'lib/v20200713/models.rb', line 168 def initialize(overview=nil, trendcount=nil, evilcount=nil, requestid=nil) @Overview = overview @TrendCount = trendcount @EvilCount = evilcount @RequestId = requestid end |
Instance Attribute Details
#EvilCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
166 167 168 |
# File 'lib/v20200713/models.rb', line 166 def EvilCount @EvilCount end |
#Overview ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
166 167 168 |
# File 'lib/v20200713/models.rb', line 166 def Overview @Overview end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
166 167 168 |
# File 'lib/v20200713/models.rb', line 166 def RequestId @RequestId end |
#TrendCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
166 167 168 |
# File 'lib/v20200713/models.rb', line 166 def TrendCount @TrendCount end |
Instance Method Details
#deserialize(params) ⇒ Object
175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 |
# File 'lib/v20200713/models.rb', line 175 def deserialize(params) unless params['Overview'].nil? @Overview = Overview.new @Overview.deserialize(params['Overview']) end unless params['TrendCount'].nil? @TrendCount = [] params['TrendCount'].each do |i| trendcount_tmp = TrendCount.new trendcount_tmp.deserialize(i) @TrendCount << trendcount_tmp end end unless params['EvilCount'].nil? @EvilCount = [] params['EvilCount'].each do |i| evilcount_tmp = EvilCount.new evilcount_tmp.deserialize(i) @EvilCount << evilcount_tmp end end @RequestId = params['RequestId'] end |