Class: TencentCloud::Mrs::V20200910::Surgery

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

Overview

手术记录

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(surgeryhistory = nil, otherinfo = nil, page = nil) ⇒ Surgery

Returns a new instance of Surgery.



9596
9597
9598
9599
9600
# File 'lib/v20200910/models.rb', line 9596

def initialize(surgeryhistory=nil, otherinfo=nil, page=nil)
  @SurgeryHistory = surgeryhistory
  @OtherInfo = otherinfo
  @Page = page
end

Instance Attribute Details

#OtherInfoObject

Parameters:

  • SurgeryHistory:

    手术史

  • OtherInfo:

    其他信息

  • Page:

    数据在原PDF文件中的第几页



9594
9595
9596
# File 'lib/v20200910/models.rb', line 9594

def OtherInfo
  @OtherInfo
end

#PageObject

Parameters:

  • SurgeryHistory:

    手术史

  • OtherInfo:

    其他信息

  • Page:

    数据在原PDF文件中的第几页



9594
9595
9596
# File 'lib/v20200910/models.rb', line 9594

def Page
  @Page
end

#SurgeryHistoryObject

Parameters:

  • SurgeryHistory:

    手术史

  • OtherInfo:

    其他信息

  • Page:

    数据在原PDF文件中的第几页



9594
9595
9596
# File 'lib/v20200910/models.rb', line 9594

def SurgeryHistory
  @SurgeryHistory
end

Instance Method Details

#deserialize(params) ⇒ Object



9602
9603
9604
9605
9606
9607
9608
9609
9610
9611
9612
# File 'lib/v20200910/models.rb', line 9602

def deserialize(params)
  unless params['SurgeryHistory'].nil?
    @SurgeryHistory = SurgeryHistory.new
    @SurgeryHistory.deserialize(params['SurgeryHistory'])
  end
  unless params['OtherInfo'].nil?
    @OtherInfo = OtherInfo.new
    @OtherInfo.deserialize(params['OtherInfo'])
  end
  @Page = params['Page']
end