Class: TencentCloud::Mps::V20190612::DescribeAsrHotwordsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mps::V20190612::DescribeAsrHotwordsResponse
- Defined in:
- lib/v20190612/models.rb
Overview
DescribeAsrHotwords返回参数结构体
Instance Attribute Summary collapse
-
#Content ⇒ Object
如果 Type 为 0,是热词库字符串 如果 Type 是 1,是热词库文本文件的文件内容 base64 编码.
-
#CreateTime ⇒ Object
如果 Type 为 0,是热词库字符串 如果 Type 是 1,是热词库文本文件的文件内容 base64 编码.
-
#FileName ⇒ Object
如果 Type 为 0,是热词库字符串 如果 Type 是 1,是热词库文本文件的文件内容 base64 编码.
-
#HotWords ⇒ Object
如果 Type 为 0,是热词库字符串 如果 Type 是 1,是热词库文本文件的文件内容 base64 编码.
-
#HotwordsId ⇒ Object
如果 Type 为 0,是热词库字符串 如果 Type 是 1,是热词库文本文件的文件内容 base64 编码.
-
#Limit ⇒ Object
如果 Type 为 0,是热词库字符串 如果 Type 是 1,是热词库文本文件的文件内容 base64 编码.
-
#Name ⇒ Object
如果 Type 为 0,是热词库字符串 如果 Type 是 1,是热词库文本文件的文件内容 base64 编码.
-
#Offset ⇒ Object
如果 Type 为 0,是热词库字符串 如果 Type 是 1,是热词库文本文件的文件内容 base64 编码.
-
#RequestId ⇒ Object
如果 Type 为 0,是热词库字符串 如果 Type 是 1,是热词库文本文件的文件内容 base64 编码.
-
#Status ⇒ Object
如果 Type 为 0,是热词库字符串 如果 Type 是 1,是热词库文本文件的文件内容 base64 编码.
-
#Type ⇒ Object
如果 Type 为 0,是热词库字符串 如果 Type 是 1,是热词库文本文件的文件内容 base64 编码.
-
#UpdateTime ⇒ Object
如果 Type 为 0,是热词库字符串 如果 Type 是 1,是热词库文本文件的文件内容 base64 编码.
-
#WordCount ⇒ Object
如果 Type 为 0,是热词库字符串 如果 Type 是 1,是热词库文本文件的文件内容 base64 编码.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(hotwordsid = nil, status = nil, name = nil, type = nil, filename = nil, hotwords = nil, content = nil, wordcount = nil, offset = nil, limit = nil, createtime = nil, updatetime = nil, requestid = nil) ⇒ DescribeAsrHotwordsResponse
constructor
A new instance of DescribeAsrHotwordsResponse.
Constructor Details
#initialize(hotwordsid = nil, status = nil, name = nil, type = nil, filename = nil, hotwords = nil, content = nil, wordcount = nil, offset = nil, limit = nil, createtime = nil, updatetime = nil, requestid = nil) ⇒ DescribeAsrHotwordsResponse
Returns a new instance of DescribeAsrHotwordsResponse.
10439 10440 10441 10442 10443 10444 10445 10446 10447 10448 10449 10450 10451 10452 10453 |
# File 'lib/v20190612/models.rb', line 10439 def initialize(hotwordsid=nil, status=nil, name=nil, type=nil, filename=nil, hotwords=nil, content=nil, wordcount=nil, offset=nil, limit=nil, createtime=nil, updatetime=nil, requestid=nil) @HotwordsId = hotwordsid @Status = status @Name = name @Type = type @FileName = filename @HotWords = hotwords @Content = content @WordCount = wordcount @Offset = offset @Limit = limit @CreateTime = createtime @UpdateTime = updatetime @RequestId = requestid end |
Instance Attribute Details
#Content ⇒ Object
如果 Type 为 0,是热词库字符串如果 Type 是 1,是热词库文本文件的文件内容 base64 编码
10437 10438 10439 |
# File 'lib/v20190612/models.rb', line 10437 def Content @Content end |
#CreateTime ⇒ Object
如果 Type 为 0,是热词库字符串如果 Type 是 1,是热词库文本文件的文件内容 base64 编码
10437 10438 10439 |
# File 'lib/v20190612/models.rb', line 10437 def CreateTime @CreateTime end |
#FileName ⇒ Object
如果 Type 为 0,是热词库字符串如果 Type 是 1,是热词库文本文件的文件内容 base64 编码
10437 10438 10439 |
# File 'lib/v20190612/models.rb', line 10437 def FileName @FileName end |
#HotWords ⇒ Object
如果 Type 为 0,是热词库字符串如果 Type 是 1,是热词库文本文件的文件内容 base64 编码
10437 10438 10439 |
# File 'lib/v20190612/models.rb', line 10437 def HotWords @HotWords end |
#HotwordsId ⇒ Object
如果 Type 为 0,是热词库字符串如果 Type 是 1,是热词库文本文件的文件内容 base64 编码
10437 10438 10439 |
# File 'lib/v20190612/models.rb', line 10437 def HotwordsId @HotwordsId end |
#Limit ⇒ Object
如果 Type 为 0,是热词库字符串如果 Type 是 1,是热词库文本文件的文件内容 base64 编码
10437 10438 10439 |
# File 'lib/v20190612/models.rb', line 10437 def Limit @Limit end |
#Name ⇒ Object
如果 Type 为 0,是热词库字符串如果 Type 是 1,是热词库文本文件的文件内容 base64 编码
10437 10438 10439 |
# File 'lib/v20190612/models.rb', line 10437 def Name @Name end |
#Offset ⇒ Object
如果 Type 为 0,是热词库字符串如果 Type 是 1,是热词库文本文件的文件内容 base64 编码
10437 10438 10439 |
# File 'lib/v20190612/models.rb', line 10437 def Offset @Offset end |
#RequestId ⇒ Object
如果 Type 为 0,是热词库字符串如果 Type 是 1,是热词库文本文件的文件内容 base64 编码
10437 10438 10439 |
# File 'lib/v20190612/models.rb', line 10437 def RequestId @RequestId end |
#Status ⇒ Object
如果 Type 为 0,是热词库字符串如果 Type 是 1,是热词库文本文件的文件内容 base64 编码
10437 10438 10439 |
# File 'lib/v20190612/models.rb', line 10437 def Status @Status end |
#Type ⇒ Object
如果 Type 为 0,是热词库字符串如果 Type 是 1,是热词库文本文件的文件内容 base64 编码
10437 10438 10439 |
# File 'lib/v20190612/models.rb', line 10437 def Type @Type end |
#UpdateTime ⇒ Object
如果 Type 为 0,是热词库字符串如果 Type 是 1,是热词库文本文件的文件内容 base64 编码
10437 10438 10439 |
# File 'lib/v20190612/models.rb', line 10437 def UpdateTime @UpdateTime end |
#WordCount ⇒ Object
如果 Type 为 0,是热词库字符串如果 Type 是 1,是热词库文本文件的文件内容 base64 编码
10437 10438 10439 |
# File 'lib/v20190612/models.rb', line 10437 def WordCount @WordCount end |
Instance Method Details
#deserialize(params) ⇒ Object
10455 10456 10457 10458 10459 10460 10461 10462 10463 10464 10465 10466 10467 10468 10469 10470 10471 10472 10473 10474 10475 10476 |
# File 'lib/v20190612/models.rb', line 10455 def deserialize(params) @HotwordsId = params['HotwordsId'] @Status = params['Status'] @Name = params['Name'] @Type = params['Type'] @FileName = params['FileName'] unless params['HotWords'].nil? @HotWords = [] params['HotWords'].each do |i| asrhotwordssetitem_tmp = AsrHotwordsSetItem.new asrhotwordssetitem_tmp.deserialize(i) @HotWords << asrhotwordssetitem_tmp end end @Content = params['Content'] @WordCount = params['WordCount'] @Offset = params['Offset'] @Limit = params['Limit'] @CreateTime = params['CreateTime'] @UpdateTime = params['UpdateTime'] @RequestId = params['RequestId'] end |