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.
15428 15429 15430 15431 15432 |
# File 'lib/v20190612/models.rb', line 15428 def initialize(totalcount=nil, wordset=nil, requestid=nil) @TotalCount = totalcount @WordSet = wordset @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
15426 15427 15428 |
# File 'lib/v20190612/models.rb', line 15426 def RequestId @RequestId end |
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
15426 15427 15428 |
# File 'lib/v20190612/models.rb', line 15426 def TotalCount @TotalCount end |
#WordSet ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
15426 15427 15428 |
# File 'lib/v20190612/models.rb', line 15426 def WordSet @WordSet end |
Instance Method Details
#deserialize(params) ⇒ Object
15434 15435 15436 15437 15438 15439 15440 15441 15442 15443 15444 15445 |
# File 'lib/v20190612/models.rb', line 15434 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 |