Class: TencentCloud::Tci::V20190318::GestureResult
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tci::V20190318::GestureResult
- Defined in:
- lib/v20190318/models.rb
Overview
GestureResult
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(_class = nil, confidence = nil, height = nil, left = nil, top = nil, width = nil) ⇒ GestureResult
constructor
A new instance of GestureResult.
Constructor Details
#initialize(_class = nil, confidence = nil, height = nil, left = nil, top = nil, width = nil) ⇒ GestureResult
Returns a new instance of GestureResult.
2186 2187 2188 2189 2190 2191 2192 2193 |
# File 'lib/v20190318/models.rb', line 2186 def initialize(_class=nil, confidence=nil, height=nil, left=nil, top=nil, width=nil) @Class = _class @Confidence = confidence @Height = height @Left = left @Top = top @Width = width end |
Instance Attribute Details
#Class ⇒ Object
2184 2185 2186 |
# File 'lib/v20190318/models.rb', line 2184 def Class @Class end |
#Confidence ⇒ Object
2184 2185 2186 |
# File 'lib/v20190318/models.rb', line 2184 def Confidence @Confidence end |
#Height ⇒ Object
2184 2185 2186 |
# File 'lib/v20190318/models.rb', line 2184 def Height @Height end |
#Left ⇒ Object
2184 2185 2186 |
# File 'lib/v20190318/models.rb', line 2184 def Left @Left end |
#Top ⇒ Object
2184 2185 2186 |
# File 'lib/v20190318/models.rb', line 2184 def Top @Top end |
#Width ⇒ Object
2184 2185 2186 |
# File 'lib/v20190318/models.rb', line 2184 def Width @Width end |
Instance Method Details
#deserialize(params) ⇒ Object
2195 2196 2197 2198 2199 2200 2201 2202 |
# File 'lib/v20190318/models.rb', line 2195 def deserialize(params) @Class = params['Class'] @Confidence = params['Confidence'] @Height = params['Height'] @Left = params['Left'] @Top = params['Top'] @Width = params['Width'] end |