Class: TencentCloud::Mrs::V20200910::TransfusionHistoryBlock

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

Overview

输血史

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, src = nil, state = nil, value = nil) ⇒ TransfusionHistoryBlock



10715
10716
10717
10718
10719
10720
# File 'lib/v20200910/models.rb', line 10715

def initialize(name=nil, src=nil, state=nil, value=nil)
  @Name = name
  @Src = src
  @State = state
  @Value = value
end

Instance Attribute Details

#NameObject



10713
10714
10715
# File 'lib/v20200910/models.rb', line 10713

def Name
  @Name
end

#SrcObject



10713
10714
10715
# File 'lib/v20200910/models.rb', line 10713

def Src
  @Src
end

#StateObject



10713
10714
10715
# File 'lib/v20200910/models.rb', line 10713

def State
  @State
end

#ValueObject



10713
10714
10715
# File 'lib/v20200910/models.rb', line 10713

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



10722
10723
10724
10725
10726
10727
# File 'lib/v20200910/models.rb', line 10722

def deserialize(params)
  @Name = params['Name']
  @Src = params['Src']
  @State = params['State']
  @Value = params['Value']
end