Class: TencentCloud::Ecc::V20181213::SentenceItem
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ecc::V20181213::SentenceItem
- Defined in:
- lib/v20181213/models.rb
Overview
句子的相关信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(sentence = nil, paraid = nil, sentenceid = nil) ⇒ SentenceItem
constructor
A new instance of SentenceItem.
Constructor Details
#initialize(sentence = nil, paraid = nil, sentenceid = nil) ⇒ SentenceItem
Returns a new instance of SentenceItem.
563 564 565 566 567 |
# File 'lib/v20181213/models.rb', line 563 def initialize(sentence=nil, paraid=nil, sentenceid=nil) @Sentence = sentence @ParaID = paraid @SentenceID = sentenceid end |
Instance Attribute Details
#ParaID ⇒ Object
561 562 563 |
# File 'lib/v20181213/models.rb', line 561 def ParaID @ParaID end |
#Sentence ⇒ Object
561 562 563 |
# File 'lib/v20181213/models.rb', line 561 def Sentence @Sentence end |
#SentenceID ⇒ Object
561 562 563 |
# File 'lib/v20181213/models.rb', line 561 def SentenceID @SentenceID end |
Instance Method Details
#deserialize(params) ⇒ Object
569 570 571 572 573 |
# File 'lib/v20181213/models.rb', line 569 def deserialize(params) @Sentence = params['Sentence'] @ParaID = params['ParaID'] @SentenceID = params['SentenceID'] end |