Class: TencentCloud::Ocr::V20181119::ClassifyDetectInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::ClassifyDetectInfo
- Defined in:
- lib/v20181119/models.rb
Overview
卡证智能分类结果
Instance Attribute Summary collapse
-
#Name ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Rect ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Type ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, type = nil, rect = nil) ⇒ ClassifyDetectInfo
constructor
A new instance of ClassifyDetectInfo.
Constructor Details
#initialize(name = nil, type = nil, rect = nil) ⇒ ClassifyDetectInfo
Returns a new instance of ClassifyDetectInfo.
1261 1262 1263 1264 1265 |
# File 'lib/v20181119/models.rb', line 1261 def initialize(name=nil, type=nil, rect=nil) @Name = name @Type = type @Rect = rect end |
Instance Attribute Details
#Name ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1259 1260 1261 |
# File 'lib/v20181119/models.rb', line 1259 def Name @Name end |
#Rect ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1259 1260 1261 |
# File 'lib/v20181119/models.rb', line 1259 def Rect @Rect end |
#Type ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1259 1260 1261 |
# File 'lib/v20181119/models.rb', line 1259 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
1267 1268 1269 1270 1271 1272 1273 1274 |
# File 'lib/v20181119/models.rb', line 1267 def deserialize(params) @Name = params['Name'] @Type = params['Type'] unless params['Rect'].nil? @Rect = Rect.new @Rect.deserialize(params['Rect']) end end |