Class: TencentCloud::Mrs::V20200910::RelativeHistoryBlock

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, 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

#DetailObject

Parameters:

  • Name:

    名称

  • Detail:

    成员列表

  • Src:

    原文

  • Value:

    对外输出值



9070
9071
9072
# File 'lib/v20200910/models.rb', line 9070

def Detail
  @Detail
end

#NameObject

Parameters:

  • Name:

    名称

  • Detail:

    成员列表

  • Src:

    原文

  • Value:

    对外输出值



9070
9071
9072
# File 'lib/v20200910/models.rb', line 9070

def Name
  @Name
end

#SrcObject

Parameters:

  • Name:

    名称

  • Detail:

    成员列表

  • Src:

    原文

  • Value:

    对外输出值



9070
9071
9072
# File 'lib/v20200910/models.rb', line 9070

def Src
  @Src
end

#ValueObject

Parameters:

  • Name:

    名称

  • Detail:

    成员列表

  • Src:

    原文

  • Value:

    对外输出值



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