Class: TencentCloud::Mrs::V20200910::EyeItem

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20200910/models.rb

Overview

眼科结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#LeftObject

Parameters:

  • Left:

    左眼

  • Right:

    右眼

  • Pd:

    瞳距



3396
3397
3398
# File 'lib/v20200910/models.rb', line 3396

def Left
  @Left
end

#PdObject

Parameters:

  • Left:

    左眼

  • Right:

    右眼

  • Pd:

    瞳距



3396
3397
3398
# File 'lib/v20200910/models.rb', line 3396

def Pd
  @Pd
end

#RightObject

Parameters:

  • Left:

    左眼

  • Right:

    右眼

  • Pd:

    瞳距



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