Class: TencentCloud::Mps::V20190612::DescribeAsrHotwordsListResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mps::V20190612::DescribeAsrHotwordsListResponse
- Defined in:
- lib/v20190612/models.rb
Overview
DescribeAsrHotwordsList返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, offset = nil, limit = nil, asrhotwordsset = nil, requestid = nil) ⇒ DescribeAsrHotwordsListResponse
constructor
A new instance of DescribeAsrHotwordsListResponse.
Constructor Details
#initialize(totalcount = nil, offset = nil, limit = nil, asrhotwordsset = nil, requestid = nil) ⇒ DescribeAsrHotwordsListResponse
Returns a new instance of DescribeAsrHotwordsListResponse.
10573 10574 10575 10576 10577 10578 10579 |
# File 'lib/v20190612/models.rb', line 10573 def initialize(totalcount=nil, offset=nil, limit=nil, asrhotwordsset=nil, requestid=nil) @TotalCount = totalcount @Offset = offset @Limit = limit @AsrHotwordsSet = asrhotwordsset @RequestId = requestid end |
Instance Attribute Details
#AsrHotwordsSet ⇒ Object
10571 10572 10573 |
# File 'lib/v20190612/models.rb', line 10571 def AsrHotwordsSet @AsrHotwordsSet end |
#Limit ⇒ Object
10571 10572 10573 |
# File 'lib/v20190612/models.rb', line 10571 def Limit @Limit end |
#Offset ⇒ Object
10571 10572 10573 |
# File 'lib/v20190612/models.rb', line 10571 def Offset @Offset end |
#RequestId ⇒ Object
10571 10572 10573 |
# File 'lib/v20190612/models.rb', line 10571 def RequestId @RequestId end |
#TotalCount ⇒ Object
10571 10572 10573 |
# File 'lib/v20190612/models.rb', line 10571 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
10581 10582 10583 10584 10585 10586 10587 10588 10589 10590 10591 10592 10593 10594 |
# File 'lib/v20190612/models.rb', line 10581 def deserialize(params) @TotalCount = params['TotalCount'] @Offset = params['Offset'] @Limit = params['Limit'] unless params['AsrHotwordsSet'].nil? @AsrHotwordsSet = [] params['AsrHotwordsSet'].each do |i| asrhotwordsset_tmp = AsrHotwordsSet.new asrhotwordsset_tmp.deserialize(i) @AsrHotwordsSet << asrhotwordsset_tmp end end @RequestId = params['RequestId'] end |