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.
15508 15509 15510 15511 15512 |
# File 'lib/v20190612/models.rb', line 15508 def initialize(totalcount=nil, wordset=nil, requestid=nil) @TotalCount = totalcount @WordSet = wordset @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
15506 15507 15508 |
# File 'lib/v20190612/models.rb', line 15506 def RequestId @RequestId end |
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
15506 15507 15508 |
# File 'lib/v20190612/models.rb', line 15506 def TotalCount @TotalCount end |
#WordSet ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
15506 15507 15508 |
# File 'lib/v20190612/models.rb', line 15506 def WordSet @WordSet end |
Instance Method Details
#deserialize(params) ⇒ Object
15514 15515 15516 15517 15518 15519 15520 15521 15522 15523 15524 15525 |
# File 'lib/v20190612/models.rb', line 15514 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 |