Class: TencentCloud::Bda::V20200324::BodyRect
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Bda::V20200324::BodyRect
- Defined in:
- lib/v20200324/models.rb
Overview
人体框
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(x = nil, y = nil, width = nil, height = nil) ⇒ BodyRect
constructor
A new instance of BodyRect.
Constructor Details
#initialize(x = nil, y = nil, width = nil, height = nil) ⇒ BodyRect
Returns a new instance of BodyRect.
245 246 247 248 249 250 |
# File 'lib/v20200324/models.rb', line 245 def initialize(x=nil, y=nil, width=nil, height=nil) @X = x @Y = y @Width = width @Height = height end |
Instance Attribute Details
#Height ⇒ Object
243 244 245 |
# File 'lib/v20200324/models.rb', line 243 def Height @Height end |
#Width ⇒ Object
243 244 245 |
# File 'lib/v20200324/models.rb', line 243 def Width @Width end |
#X ⇒ Object
243 244 245 |
# File 'lib/v20200324/models.rb', line 243 def X @X end |
#Y ⇒ Object
243 244 245 |
# File 'lib/v20200324/models.rb', line 243 def Y @Y end |
Instance Method Details
#deserialize(params) ⇒ Object
252 253 254 255 256 257 |
# File 'lib/v20200324/models.rb', line 252 def deserialize(params) @X = params['X'] @Y = params['Y'] @Width = params['Width'] @Height = params['Height'] end |