Class: TencentCloud::Mrs::V20200910::EyeItem
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mrs::V20200910::EyeItem
- Defined in:
- lib/v20200910/models.rb
Overview
眼科结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(left = nil, right = nil, pd = nil) ⇒ EyeItem
constructor
A new instance of EyeItem.
Constructor Details
#initialize(left = nil, right = nil, pd = nil) ⇒ EyeItem
Returns a new instance of EyeItem.
3398 3399 3400 3401 3402 |
# File 'lib/v20200910/models.rb', line 3398 def initialize(left=nil, right=nil, pd=nil) @Left = left @Right = right @Pd = pd end |
Instance Attribute Details
#Left ⇒ Object
3396 3397 3398 |
# File 'lib/v20200910/models.rb', line 3396 def Left @Left end |
#Pd ⇒ Object
3396 3397 3398 |
# File 'lib/v20200910/models.rb', line 3396 def Pd @Pd end |
#Right ⇒ Object
3396 3397 3398 |
# File 'lib/v20200910/models.rb', line 3396 def Right @Right end |
Instance Method Details
#deserialize(params) ⇒ Object
3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 |
# File 'lib/v20200910/models.rb', line 3404 def deserialize(params) unless params['Left'].nil? @Left = EyeChildItem.new @Left.deserialize(params['Left']) end unless params['Right'].nil? @Right = EyeChildItem.new @Right.deserialize(params['Right']) end unless params['Pd'].nil? @Pd = BaseItem2.new @Pd.deserialize(params['Pd']) end end |