Class: TencentCloud::Mps::V20190612::DescribeAsrHotwordsListResponse

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20190612/models.rb

Overview

DescribeAsrHotwordsList返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#AsrHotwordsSetObject

Parameters:

  • TotalCount:

    总热词库数量

  • Offset:

    分页偏移量,默认值:0。

  • Limit:

    返回记录条数,默认返回所有热词库

  • AsrHotwordsSet:

    热词库列表

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



10571
10572
10573
# File 'lib/v20190612/models.rb', line 10571

def AsrHotwordsSet
  @AsrHotwordsSet
end

#LimitObject

Parameters:

  • TotalCount:

    总热词库数量

  • Offset:

    分页偏移量,默认值:0。

  • Limit:

    返回记录条数,默认返回所有热词库

  • AsrHotwordsSet:

    热词库列表

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



10571
10572
10573
# File 'lib/v20190612/models.rb', line 10571

def Limit
  @Limit
end

#OffsetObject

Parameters:

  • TotalCount:

    总热词库数量

  • Offset:

    分页偏移量,默认值:0。

  • Limit:

    返回记录条数,默认返回所有热词库

  • AsrHotwordsSet:

    热词库列表

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



10571
10572
10573
# File 'lib/v20190612/models.rb', line 10571

def Offset
  @Offset
end

#RequestIdObject

Parameters:

  • TotalCount:

    总热词库数量

  • Offset:

    分页偏移量,默认值:0。

  • Limit:

    返回记录条数,默认返回所有热词库

  • AsrHotwordsSet:

    热词库列表

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



10571
10572
10573
# File 'lib/v20190612/models.rb', line 10571

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • TotalCount:

    总热词库数量

  • Offset:

    分页偏移量,默认值:0。

  • Limit:

    返回记录条数,默认返回所有热词库

  • AsrHotwordsSet:

    热词库列表

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



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