Class: TencentCloud::Aai::V20180522::SentenceRecognitionRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Aai::V20180522::SentenceRecognitionRequest
- Defined in:
- lib/v20180522/models.rb
Overview
SentenceRecognition请求参数结构体
Instance Attribute Summary collapse
- #Data ⇒ Object
- #DataLen ⇒ Object
- #EngSerViceType ⇒ Object
- #ProjectId ⇒ Object
- #SourceType ⇒ Object
- #SubServiceType ⇒ Object
- #Url ⇒ Object
- #UsrAudioKey ⇒ Object
- #VoiceFormat ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(projectid = nil, subservicetype = nil, engservicetype = nil, sourcetype = nil, voiceformat = nil, usraudiokey = nil, url = nil, data = nil, datalen = nil) ⇒ SentenceRecognitionRequest
constructor
A new instance of SentenceRecognitionRequest.
Constructor Details
#initialize(projectid = nil, subservicetype = nil, engservicetype = nil, sourcetype = nil, voiceformat = nil, usraudiokey = nil, url = nil, data = nil, datalen = nil) ⇒ SentenceRecognitionRequest
Returns a new instance of SentenceRecognitionRequest.
87 88 89 90 91 92 93 94 95 96 97 |
# File 'lib/v20180522/models.rb', line 87 def initialize(projectid=nil, subservicetype=nil, engservicetype=nil, sourcetype=nil, voiceformat=nil, usraudiokey=nil, url=nil, data=nil, datalen=nil) @ProjectId = projectid @SubServiceType = subservicetype @EngSerViceType = engservicetype @SourceType = sourcetype @VoiceFormat = voiceformat @UsrAudioKey = usraudiokey @Url = url @Data = data @DataLen = datalen end |
Instance Attribute Details
#Data ⇒ Object
85 86 87 |
# File 'lib/v20180522/models.rb', line 85 def Data @Data end |
#DataLen ⇒ Object
85 86 87 |
# File 'lib/v20180522/models.rb', line 85 def DataLen @DataLen end |
#EngSerViceType ⇒ Object
85 86 87 |
# File 'lib/v20180522/models.rb', line 85 def EngSerViceType @EngSerViceType end |
#ProjectId ⇒ Object
85 86 87 |
# File 'lib/v20180522/models.rb', line 85 def ProjectId @ProjectId end |
#SourceType ⇒ Object
85 86 87 |
# File 'lib/v20180522/models.rb', line 85 def SourceType @SourceType end |
#SubServiceType ⇒ Object
85 86 87 |
# File 'lib/v20180522/models.rb', line 85 def SubServiceType @SubServiceType end |
#Url ⇒ Object
85 86 87 |
# File 'lib/v20180522/models.rb', line 85 def Url @Url end |
#UsrAudioKey ⇒ Object
85 86 87 |
# File 'lib/v20180522/models.rb', line 85 def UsrAudioKey @UsrAudioKey end |
#VoiceFormat ⇒ Object
85 86 87 |
# File 'lib/v20180522/models.rb', line 85 def VoiceFormat @VoiceFormat end |
Instance Method Details
#deserialize(params) ⇒ Object
99 100 101 102 103 104 105 106 107 108 109 |
# File 'lib/v20180522/models.rb', line 99 def deserialize(params) @ProjectId = params['ProjectId'] @SubServiceType = params['SubServiceType'] @EngSerViceType = params['EngSerViceType'] @SourceType = params['SourceType'] @VoiceFormat = params['VoiceFormat'] @UsrAudioKey = params['UsrAudioKey'] @Url = params['Url'] @Data = params['Data'] @DataLen = params['DataLen'] end |