Class: TencentCloud::Mps::V20190612::DescribeWordSamplesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mps::V20190612::DescribeWordSamplesResponse
- Defined in:
- lib/v20190612/models.rb
Overview
DescribeWordSamples返回参数结构体
Instance Attribute Summary collapse
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#WordSet ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, wordset = nil, requestid = nil) ⇒ DescribeWordSamplesResponse
constructor
A new instance of DescribeWordSamplesResponse.
Constructor Details
#initialize(totalcount = nil, wordset = nil, requestid = nil) ⇒ DescribeWordSamplesResponse
Returns a new instance of DescribeWordSamplesResponse.
13356 13357 13358 13359 13360 |
# File 'lib/v20190612/models.rb', line 13356 def initialize(totalcount=nil, wordset=nil, requestid=nil) @TotalCount = totalcount @WordSet = wordset @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
13354 13355 13356 |
# File 'lib/v20190612/models.rb', line 13354 def RequestId @RequestId end |
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
13354 13355 13356 |
# File 'lib/v20190612/models.rb', line 13354 def TotalCount @TotalCount end |
#WordSet ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
13354 13355 13356 |
# File 'lib/v20190612/models.rb', line 13354 def WordSet @WordSet end |
Instance Method Details
#deserialize(params) ⇒ Object
13362 13363 13364 13365 13366 13367 13368 13369 13370 13371 13372 13373 |
# File 'lib/v20190612/models.rb', line 13362 def deserialize(params) @TotalCount = params['TotalCount'] unless params['WordSet'].nil? @WordSet = [] params['WordSet'].each do |i| aisampleword_tmp = AiSampleWord.new aisampleword_tmp.deserialize(i) @WordSet << aisampleword_tmp end end @RequestId = params['RequestId'] end |