Class: TencentCloud::Tci::V20190318::FaceInfoResult
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tci::V20190318::FaceInfoResult
- Defined in:
- lib/v20190318/models.rb
Overview
FaceInfoResult
Instance Attribute Summary collapse
- #FaceRatio ⇒ Object
- #FrameHeight ⇒ Object
- #FrameWidth ⇒ Object
- #Height ⇒ Object
- #Left ⇒ Object
- #Top ⇒ Object
- #Width ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(faceratio = nil, frameheight = nil, framewidth = nil, height = nil, left = nil, top = nil, width = nil) ⇒ FaceInfoResult
constructor
A new instance of FaceInfoResult.
Constructor Details
#initialize(faceratio = nil, frameheight = nil, framewidth = nil, height = nil, left = nil, top = nil, width = nil) ⇒ FaceInfoResult
Returns a new instance of FaceInfoResult.
2064 2065 2066 2067 2068 2069 2070 2071 2072 |
# File 'lib/v20190318/models.rb', line 2064 def initialize(faceratio=nil, frameheight=nil, framewidth=nil, height=nil, left=nil, top=nil, width=nil) @FaceRatio = faceratio @FrameHeight = frameheight @FrameWidth = framewidth @Height = height @Left = left @Top = top @Width = width end |
Instance Attribute Details
#FaceRatio ⇒ Object
2062 2063 2064 |
# File 'lib/v20190318/models.rb', line 2062 def FaceRatio @FaceRatio end |
#FrameHeight ⇒ Object
2062 2063 2064 |
# File 'lib/v20190318/models.rb', line 2062 def FrameHeight @FrameHeight end |
#FrameWidth ⇒ Object
2062 2063 2064 |
# File 'lib/v20190318/models.rb', line 2062 def FrameWidth @FrameWidth end |
#Height ⇒ Object
2062 2063 2064 |
# File 'lib/v20190318/models.rb', line 2062 def Height @Height end |
#Left ⇒ Object
2062 2063 2064 |
# File 'lib/v20190318/models.rb', line 2062 def Left @Left end |
#Top ⇒ Object
2062 2063 2064 |
# File 'lib/v20190318/models.rb', line 2062 def Top @Top end |
#Width ⇒ Object
2062 2063 2064 |
# File 'lib/v20190318/models.rb', line 2062 def Width @Width end |
Instance Method Details
#deserialize(params) ⇒ Object
2074 2075 2076 2077 2078 2079 2080 2081 2082 |
# File 'lib/v20190318/models.rb', line 2074 def deserialize(params) @FaceRatio = params['FaceRatio'] @FrameHeight = params['FrameHeight'] @FrameWidth = params['FrameWidth'] @Height = params['Height'] @Left = params['Left'] @Top = params['Top'] @Width = params['Width'] end |