Class: TencentCloud::Asr::V20190614::SentenceWord
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Asr::V20190614::SentenceWord
- Defined in:
- lib/v20190614/models.rb
Overview
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(word = nil, starttime = nil, endtime = nil) ⇒ SentenceWord
constructor
A new instance of SentenceWord.
Constructor Details
#initialize(word = nil, starttime = nil, endtime = nil) ⇒ SentenceWord
Returns a new instance of SentenceWord.
1731 1732 1733 1734 1735 |
# File 'lib/v20190614/models.rb', line 1731 def initialize(word=nil, starttime=nil, endtime=nil) @Word = word @StartTime = starttime @EndTime = endtime end |
Instance Attribute Details
#EndTime ⇒ Object
1729 1730 1731 |
# File 'lib/v20190614/models.rb', line 1729 def EndTime @EndTime end |
#StartTime ⇒ Object
1729 1730 1731 |
# File 'lib/v20190614/models.rb', line 1729 def StartTime @StartTime end |
#Word ⇒ Object
1729 1730 1731 |
# File 'lib/v20190614/models.rb', line 1729 def Word @Word end |
Instance Method Details
#deserialize(params) ⇒ Object
1737 1738 1739 1740 1741 |
# File 'lib/v20190614/models.rb', line 1737 def deserialize(params) @Word = params['Word'] @StartTime = params['StartTime'] @EndTime = params['EndTime'] end |