Class: TencentCloud::Mrs::V20200910::RelativeHistoryDetailBlock

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, relation = nil, timeofdeath = nil, timetype = nil) ⇒ RelativeHistoryDetailBlock

Returns a new instance of RelativeHistoryDetailBlock.



9107
9108
9109
9110
9111
9112
# File 'lib/v20200910/models.rb', line 9107

def initialize(name=nil, relation=nil, timeofdeath=nil, timetype=nil)
  @Name = name
  @Relation = relation
  @TimeOfDeath = timeofdeath
  @TimeType = timetype
end

Instance Attribute Details

#NameObject

Parameters:

  • Name:

    名称

  • Relation:

    关系

  • TimeOfDeath:

    死亡时间

  • TimeType:

    时间类型



9105
9106
9107
# File 'lib/v20200910/models.rb', line 9105

def Name
  @Name
end

#RelationObject

Parameters:

  • Name:

    名称

  • Relation:

    关系

  • TimeOfDeath:

    死亡时间

  • TimeType:

    时间类型



9105
9106
9107
# File 'lib/v20200910/models.rb', line 9105

def Relation
  @Relation
end

#TimeOfDeathObject

Parameters:

  • Name:

    名称

  • Relation:

    关系

  • TimeOfDeath:

    死亡时间

  • TimeType:

    时间类型



9105
9106
9107
# File 'lib/v20200910/models.rb', line 9105

def TimeOfDeath
  @TimeOfDeath
end

#TimeTypeObject

Parameters:

  • Name:

    名称

  • Relation:

    关系

  • TimeOfDeath:

    死亡时间

  • TimeType:

    时间类型



9105
9106
9107
# File 'lib/v20200910/models.rb', line 9105

def TimeType
  @TimeType
end

Instance Method Details

#deserialize(params) ⇒ Object



9114
9115
9116
9117
9118
9119
# File 'lib/v20200910/models.rb', line 9114

def deserialize(params)
  @Name = params['Name']
  @Relation = params['Relation']
  @TimeOfDeath = params['TimeOfDeath']
  @TimeType = params['TimeType']
end