Class: TencentCloud::Mrs::V20200910::RelativeHistoryBlock
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mrs::V20200910::RelativeHistoryBlock
- Defined in:
- lib/v20200910/models.rb
Overview
家庭成员
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, detail = nil, src = nil, value = nil) ⇒ RelativeHistoryBlock
constructor
A new instance of RelativeHistoryBlock.
Constructor Details
#initialize(name = nil, detail = nil, src = nil, value = nil) ⇒ RelativeHistoryBlock
Returns a new instance of RelativeHistoryBlock.
9045 9046 9047 9048 9049 9050 |
# File 'lib/v20200910/models.rb', line 9045 def initialize(name=nil, detail=nil, src=nil, value=nil) @Name = name @Detail = detail @Src = src @Value = value end |
Instance Attribute Details
#Detail ⇒ Object
9043 9044 9045 |
# File 'lib/v20200910/models.rb', line 9043 def Detail @Detail end |
#Name ⇒ Object
9043 9044 9045 |
# File 'lib/v20200910/models.rb', line 9043 def Name @Name end |
#Src ⇒ Object
9043 9044 9045 |
# File 'lib/v20200910/models.rb', line 9043 def Src @Src end |
#Value ⇒ Object
9043 9044 9045 |
# File 'lib/v20200910/models.rb', line 9043 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
9052 9053 9054 9055 9056 9057 9058 9059 9060 9061 9062 9063 9064 |
# File 'lib/v20200910/models.rb', line 9052 def deserialize(params) @Name = params['Name'] unless params['Detail'].nil? @Detail = [] params['Detail'].each do |i| relativehistorydetailblock_tmp = RelativeHistoryDetailBlock.new relativehistorydetailblock_tmp.deserialize(i) @Detail << relativehistorydetailblock_tmp end end @Src = params['Src'] @Value = params['Value'] end |