Class: TencentCloud::Mps::V20190612::ModifyAsrHotwordsRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mps::V20190612::ModifyAsrHotwordsRequest
- Defined in:
- lib/v20190612/models.rb
Overview
ModifyAsrHotwords请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(hotwordsid = nil, name = nil, content = nil, filecontent = nil, filename = nil) ⇒ ModifyAsrHotwordsRequest
constructor
A new instance of ModifyAsrHotwordsRequest.
Constructor Details
#initialize(hotwordsid = nil, name = nil, content = nil, filecontent = nil, filename = nil) ⇒ ModifyAsrHotwordsRequest
Returns a new instance of ModifyAsrHotwordsRequest.
21704 21705 21706 21707 21708 21709 21710 |
# File 'lib/v20190612/models.rb', line 21704 def initialize(hotwordsid=nil, name=nil, content=nil, filecontent=nil, filename=nil) @HotwordsId = hotwordsid @Name = name @Content = content @FileContent = filecontent @FileName = filename end |
Instance Attribute Details
#Content ⇒ Object
21702 21703 21704 |
# File 'lib/v20190612/models.rb', line 21702 def Content @Content end |
#FileContent ⇒ Object
21702 21703 21704 |
# File 'lib/v20190612/models.rb', line 21702 def FileContent @FileContent end |
#FileName ⇒ Object
21702 21703 21704 |
# File 'lib/v20190612/models.rb', line 21702 def FileName @FileName end |
#HotwordsId ⇒ Object
21702 21703 21704 |
# File 'lib/v20190612/models.rb', line 21702 def HotwordsId @HotwordsId end |
#Name ⇒ Object
21702 21703 21704 |
# File 'lib/v20190612/models.rb', line 21702 def Name @Name end |
Instance Method Details
#deserialize(params) ⇒ Object
21712 21713 21714 21715 21716 21717 21718 |
# File 'lib/v20190612/models.rb', line 21712 def deserialize(params) @HotwordsId = params['HotwordsId'] @Name = params['Name'] @Content = params['Content'] @FileContent = params['FileContent'] @FileName = params['FileName'] end |