Class: TencentCloud::Tci::V20190318::FacePoseResult
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tci::V20190318::FacePoseResult
- Defined in:
- lib/v20190318/models.rb
Overview
FacePoseResult
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(direction = nil, pitch = nil, roll = nil, yaw = nil) ⇒ FacePoseResult
constructor
A new instance of FacePoseResult.
Constructor Details
#initialize(direction = nil, pitch = nil, roll = nil, yaw = nil) ⇒ FacePoseResult
Returns a new instance of FacePoseResult.
2098 2099 2100 2101 2102 2103 |
# File 'lib/v20190318/models.rb', line 2098 def initialize(direction=nil, pitch=nil, roll=nil, yaw=nil) @Direction = direction @Pitch = pitch @Roll = roll @Yaw = yaw end |
Instance Attribute Details
#Direction ⇒ Object
2096 2097 2098 |
# File 'lib/v20190318/models.rb', line 2096 def Direction @Direction end |
#Pitch ⇒ Object
2096 2097 2098 |
# File 'lib/v20190318/models.rb', line 2096 def Pitch @Pitch end |
#Roll ⇒ Object
2096 2097 2098 |
# File 'lib/v20190318/models.rb', line 2096 def Roll @Roll end |
#Yaw ⇒ Object
2096 2097 2098 |
# File 'lib/v20190318/models.rb', line 2096 def Yaw @Yaw end |
Instance Method Details
#deserialize(params) ⇒ Object
2105 2106 2107 2108 2109 2110 |
# File 'lib/v20190318/models.rb', line 2105 def deserialize(params) @Direction = params['Direction'] @Pitch = params['Pitch'] @Roll = params['Roll'] @Yaw = params['Yaw'] end |