Class: TencentCloud::Mps::V20190612::DescribeAsrHotwordsRequest

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

Overview

DescribeAsrHotwords请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(hotwordsid = nil, name = nil, offset = nil, limit = nil, orderby = nil, ordertype = nil) ⇒ DescribeAsrHotwordsRequest

Returns a new instance of DescribeAsrHotwordsRequest.



10298
10299
10300
10301
10302
10303
10304
10305
# File 'lib/v20190612/models.rb', line 10298

def initialize(hotwordsid=nil, name=nil, offset=nil, limit=nil, orderby=nil, ordertype=nil)
  @HotwordsId = hotwordsid
  @Name = name
  @Offset = offset
  @Limit = limit
  @OrderBy = orderby
  @OrderType = ordertype
end

Instance Attribute Details

#HotwordsIdObject

  • Default:默认文件中的顺序

  • Weight:权重排序

  • Lexical:热词文本排序

Parameters:

  • OrderType:

    热词排序顺序 0:升序(默认) 1:降序



10296
10297
10298
# File 'lib/v20190612/models.rb', line 10296

def HotwordsId
  @HotwordsId
end

#LimitObject

  • Default:默认文件中的顺序

  • Weight:权重排序

  • Lexical:热词文本排序

Parameters:

  • OrderType:

    热词排序顺序 0:升序(默认) 1:降序



10296
10297
10298
# File 'lib/v20190612/models.rb', line 10296

def Limit
  @Limit
end

#NameObject

  • Default:默认文件中的顺序

  • Weight:权重排序

  • Lexical:热词文本排序

Parameters:

  • OrderType:

    热词排序顺序 0:升序(默认) 1:降序



10296
10297
10298
# File 'lib/v20190612/models.rb', line 10296

def Name
  @Name
end

#OffsetObject

  • Default:默认文件中的顺序

  • Weight:权重排序

  • Lexical:热词文本排序

Parameters:

  • OrderType:

    热词排序顺序 0:升序(默认) 1:降序



10296
10297
10298
# File 'lib/v20190612/models.rb', line 10296

def Offset
  @Offset
end

#OrderByObject

  • Default:默认文件中的顺序

  • Weight:权重排序

  • Lexical:热词文本排序

Parameters:

  • OrderType:

    热词排序顺序 0:升序(默认) 1:降序



10296
10297
10298
# File 'lib/v20190612/models.rb', line 10296

def OrderBy
  @OrderBy
end

#OrderTypeObject

  • Default:默认文件中的顺序

  • Weight:权重排序

  • Lexical:热词文本排序

Parameters:

  • OrderType:

    热词排序顺序 0:升序(默认) 1:降序



10296
10297
10298
# File 'lib/v20190612/models.rb', line 10296

def OrderType
  @OrderType
end

Instance Method Details

#deserialize(params) ⇒ Object



10307
10308
10309
10310
10311
10312
10313
10314
# File 'lib/v20190612/models.rb', line 10307

def deserialize(params)
  @HotwordsId = params['HotwordsId']
  @Name = params['Name']
  @Offset = params['Offset']
  @Limit = params['Limit']
  @OrderBy = params['OrderBy']
  @OrderType = params['OrderType']
end