Class: TencentCloud::Iss::V20230517::BaseAIResultInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iss::V20230517::BaseAIResultInfo
- Defined in:
- lib/v20230517/models.rb
Overview
通用AI识别结果信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, score = nil, location = nil) ⇒ BaseAIResultInfo
constructor
A new instance of BaseAIResultInfo.
Constructor Details
#initialize(name = nil, score = nil, location = nil) ⇒ BaseAIResultInfo
Returns a new instance of BaseAIResultInfo.
1210 1211 1212 1213 1214 |
# File 'lib/v20230517/models.rb', line 1210 def initialize(name=nil, score=nil, location=nil) @Name = name @Score = score @Location = location end |
Instance Attribute Details
#Location ⇒ Object
1208 1209 1210 |
# File 'lib/v20230517/models.rb', line 1208 def Location @Location end |
#Name ⇒ Object
1208 1209 1210 |
# File 'lib/v20230517/models.rb', line 1208 def Name @Name end |
#Score ⇒ Object
1208 1209 1210 |
# File 'lib/v20230517/models.rb', line 1208 def Score @Score end |
Instance Method Details
#deserialize(params) ⇒ Object
1216 1217 1218 1219 1220 1221 1222 1223 |
# File 'lib/v20230517/models.rb', line 1216 def deserialize(params) @Name = params['Name'] @Score = params['Score'] unless params['Location'].nil? @Location = Location.new @Location.deserialize(params['Location']) end end |