Class: TencentCloud::Mrs::V20200910::MainDiseaseHistoryBlock
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mrs::V20200910::MainDiseaseHistoryBlock
- Defined in:
- lib/v20200910/models.rb
Overview
既往史
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, src = nil, state = nil, value = nil, neglist = nil, poslist = nil) ⇒ MainDiseaseHistoryBlock
constructor
A new instance of MainDiseaseHistoryBlock.
Constructor Details
#initialize(name = nil, src = nil, state = nil, value = nil, neglist = nil, poslist = nil) ⇒ MainDiseaseHistoryBlock
Returns a new instance of MainDiseaseHistoryBlock.
6296 6297 6298 6299 6300 6301 6302 6303 |
# File 'lib/v20200910/models.rb', line 6296 def initialize(name=nil, src=nil, state=nil, value=nil, neglist=nil, poslist=nil) @Name = name @Src = src @State = state @Value = value @Neglist = neglist @Poslist = poslist end |
Instance Attribute Details
#Name ⇒ Object
6294 6295 6296 |
# File 'lib/v20200910/models.rb', line 6294 def Name @Name end |
#Neglist ⇒ Object
6294 6295 6296 |
# File 'lib/v20200910/models.rb', line 6294 def Neglist @Neglist end |
#Poslist ⇒ Object
6294 6295 6296 |
# File 'lib/v20200910/models.rb', line 6294 def Poslist @Poslist end |
#Src ⇒ Object
6294 6295 6296 |
# File 'lib/v20200910/models.rb', line 6294 def Src @Src end |
#State ⇒ Object
6294 6295 6296 |
# File 'lib/v20200910/models.rb', line 6294 def State @State end |
#Value ⇒ Object
6294 6295 6296 |
# File 'lib/v20200910/models.rb', line 6294 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
6305 6306 6307 6308 6309 6310 6311 6312 6313 6314 6315 6316 6317 6318 |
# File 'lib/v20200910/models.rb', line 6305 def deserialize(params) @Name = params['Name'] @Src = params['Src'] @State = params['State'] @Value = params['Value'] unless params['Neglist'].nil? @Neglist = NeglistBlock.new @Neglist.deserialize(params['Neglist']) end unless params['Poslist'].nil? @Poslist = PoslistBlock.new @Poslist.deserialize(params['Poslist']) end end |