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.



9080
9081
9082
9083
9084
9085
# File 'lib/v20200910/models.rb', line 9080

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:

    时间类型



9078
9079
9080
# File 'lib/v20200910/models.rb', line 9078

def Name
  @Name
end

#RelationObject

Parameters:

  • Name:

    名称

  • Relation:

    关系

  • TimeOfDeath:

    死亡时间

  • TimeType:

    时间类型



9078
9079
9080
# File 'lib/v20200910/models.rb', line 9078

def Relation
  @Relation
end

#TimeOfDeathObject

Parameters:

  • Name:

    名称

  • Relation:

    关系

  • TimeOfDeath:

    死亡时间

  • TimeType:

    时间类型



9078
9079
9080
# File 'lib/v20200910/models.rb', line 9078

def TimeOfDeath
  @TimeOfDeath
end

#TimeTypeObject

Parameters:

  • Name:

    名称

  • Relation:

    关系

  • TimeOfDeath:

    死亡时间

  • TimeType:

    时间类型



9078
9079
9080
# File 'lib/v20200910/models.rb', line 9078

def TimeType
  @TimeType
end

Instance Method Details

#deserialize(params) ⇒ Object



9087
9088
9089
9090
9091
9092
# File 'lib/v20200910/models.rb', line 9087

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