Class: TencentCloud::Tci::V20190318::ActionInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tci::V20190318::ActionInfo
- Defined in:
- lib/v20190318/models.rb
Overview
大教室场景肢体动作识别信息
Instance Attribute Summary collapse
- #BodyPosture ⇒ Object
- #Handup ⇒ Object
- #Height ⇒ Object
- #Left ⇒ Object
- #LookHead ⇒ Object
- #Top ⇒ Object
- #Width ⇒ Object
- #Writing ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(bodyposture = nil, handup = nil, lookhead = nil, writing = nil, height = nil, left = nil, top = nil, width = nil) ⇒ ActionInfo
constructor
A new instance of ActionInfo.
Constructor Details
#initialize(bodyposture = nil, handup = nil, lookhead = nil, writing = nil, height = nil, left = nil, top = nil, width = nil) ⇒ ActionInfo
Returns a new instance of ActionInfo.
248 249 250 251 252 253 254 255 256 257 |
# File 'lib/v20190318/models.rb', line 248 def initialize(bodyposture=nil, handup=nil, lookhead=nil, writing=nil, height=nil, left=nil, top=nil, width=nil) @BodyPosture = bodyposture @Handup = handup @LookHead = lookhead @Writing = writing @Height = height @Left = left @Top = top @Width = width end |
Instance Attribute Details
#BodyPosture ⇒ Object
246 247 248 |
# File 'lib/v20190318/models.rb', line 246 def BodyPosture @BodyPosture end |
#Handup ⇒ Object
246 247 248 |
# File 'lib/v20190318/models.rb', line 246 def Handup @Handup end |
#Height ⇒ Object
246 247 248 |
# File 'lib/v20190318/models.rb', line 246 def Height @Height end |
#Left ⇒ Object
246 247 248 |
# File 'lib/v20190318/models.rb', line 246 def Left @Left end |
#LookHead ⇒ Object
246 247 248 |
# File 'lib/v20190318/models.rb', line 246 def LookHead @LookHead end |
#Top ⇒ Object
246 247 248 |
# File 'lib/v20190318/models.rb', line 246 def Top @Top end |
#Width ⇒ Object
246 247 248 |
# File 'lib/v20190318/models.rb', line 246 def Width @Width end |
#Writing ⇒ Object
246 247 248 |
# File 'lib/v20190318/models.rb', line 246 def Writing @Writing end |
Instance Method Details
#deserialize(params) ⇒ Object
259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 |
# File 'lib/v20190318/models.rb', line 259 def deserialize(params) unless params['BodyPosture'].nil? @BodyPosture = ActionType.new @BodyPosture.deserialize(params['BodyPosture']) end unless params['Handup'].nil? @Handup = ActionType.new @Handup.deserialize(params['Handup']) end unless params['LookHead'].nil? @LookHead = ActionType.new @LookHead.deserialize(params['LookHead']) end unless params['Writing'].nil? @Writing = ActionType.new @Writing.deserialize(params['Writing']) end @Height = params['Height'] @Left = params['Left'] @Top = params['Top'] @Width = params['Width'] end |