Class: TencentCloud::Soe::V20180724::Keyword
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Soe::V20180724::Keyword
- Defined in:
- lib/v20180724/models.rb
Overview
评测关键词
Instance Attribute Summary collapse
-
#EvalMode ⇒ Object
ServerType不填默认为0.
-
#RefText ⇒ Object
ServerType不填默认为0.
-
#ScoreCoeff ⇒ Object
ServerType不填默认为0.
-
#ServerType ⇒ Object
ServerType不填默认为0.
-
#TextMode ⇒ Object
ServerType不填默认为0.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(reftext = nil, evalmode = nil, scorecoeff = nil, servertype = nil, textmode = nil) ⇒ Keyword
constructor
A new instance of Keyword.
Constructor Details
#initialize(reftext = nil, evalmode = nil, scorecoeff = nil, servertype = nil, textmode = nil) ⇒ Keyword
Returns a new instance of Keyword.
149 150 151 152 153 154 155 |
# File 'lib/v20180724/models.rb', line 149 def initialize(reftext=nil, evalmode=nil, scorecoeff=nil, servertype=nil, textmode=nil) @RefText = reftext @EvalMode = evalmode @ScoreCoeff = scorecoeff @ServerType = servertype @TextMode = textmode end |
Instance Attribute Details
#EvalMode ⇒ Object
ServerType不填默认为0
147 148 149 |
# File 'lib/v20180724/models.rb', line 147 def EvalMode @EvalMode end |
#RefText ⇒ Object
ServerType不填默认为0
147 148 149 |
# File 'lib/v20180724/models.rb', line 147 def RefText @RefText end |
#ScoreCoeff ⇒ Object
ServerType不填默认为0
147 148 149 |
# File 'lib/v20180724/models.rb', line 147 def ScoreCoeff @ScoreCoeff end |
#ServerType ⇒ Object
ServerType不填默认为0
147 148 149 |
# File 'lib/v20180724/models.rb', line 147 def ServerType @ServerType end |
#TextMode ⇒ Object
ServerType不填默认为0
147 148 149 |
# File 'lib/v20180724/models.rb', line 147 def TextMode @TextMode end |
Instance Method Details
#deserialize(params) ⇒ Object
157 158 159 160 161 162 163 |
# File 'lib/v20180724/models.rb', line 157 def deserialize(params) @RefText = params['RefText'] @EvalMode = params['EvalMode'] @ScoreCoeff = params['ScoreCoeff'] @ServerType = params['ServerType'] @TextMode = params['TextMode'] end |