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.
9072 9073 9074 9075 9076 9077 |
# File 'lib/v20200910/models.rb', line 9072 def initialize(name=nil, detail=nil, src=nil, value=nil) @Name = name @Detail = detail @Src = src @Value = value end |
Instance Attribute Details
#Detail ⇒ Object
9070 9071 9072 |
# File 'lib/v20200910/models.rb', line 9070 def Detail @Detail end |
#Name ⇒ Object
9070 9071 9072 |
# File 'lib/v20200910/models.rb', line 9070 def Name @Name end |
#Src ⇒ Object
9070 9071 9072 |
# File 'lib/v20200910/models.rb', line 9070 def Src @Src end |
#Value ⇒ Object
9070 9071 9072 |
# File 'lib/v20200910/models.rb', line 9070 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
9079 9080 9081 9082 9083 9084 9085 9086 9087 9088 9089 9090 9091 |
# File 'lib/v20200910/models.rb', line 9079 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 |