Class: TencentCloud::Mrs::V20200910::ParentInfo

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, age = nil, idcard = nil, ethnicity = nil, nationality = nil, address = nil) ⇒ ParentInfo

Returns a new instance of ParentInfo.



8118
8119
8120
8121
8122
8123
8124
8125
# File 'lib/v20200910/models.rb', line 8118

def initialize(name=nil, age=nil, idcard=nil, ethnicity=nil, nationality=nil, address=nil)
  @Name = name
  @Age = age
  @IdCard = idcard
  @Ethnicity = ethnicity
  @Nationality = nationality
  @Address = address
end

Instance Attribute Details

#AddressObject

Parameters:

  • Name:

    名字

  • Age:

    年龄

  • IdCard:

    证件号

  • Ethnicity:

    民族

  • Nationality:

    国籍

  • Address:

    地址



8116
8117
8118
# File 'lib/v20200910/models.rb', line 8116

def Address
  @Address
end

#AgeObject

Parameters:

  • Name:

    名字

  • Age:

    年龄

  • IdCard:

    证件号

  • Ethnicity:

    民族

  • Nationality:

    国籍

  • Address:

    地址



8116
8117
8118
# File 'lib/v20200910/models.rb', line 8116

def Age
  @Age
end

#EthnicityObject

Parameters:

  • Name:

    名字

  • Age:

    年龄

  • IdCard:

    证件号

  • Ethnicity:

    民族

  • Nationality:

    国籍

  • Address:

    地址



8116
8117
8118
# File 'lib/v20200910/models.rb', line 8116

def Ethnicity
  @Ethnicity
end

#IdCardObject

Parameters:

  • Name:

    名字

  • Age:

    年龄

  • IdCard:

    证件号

  • Ethnicity:

    民族

  • Nationality:

    国籍

  • Address:

    地址



8116
8117
8118
# File 'lib/v20200910/models.rb', line 8116

def IdCard
  @IdCard
end

#NameObject

Parameters:

  • Name:

    名字

  • Age:

    年龄

  • IdCard:

    证件号

  • Ethnicity:

    民族

  • Nationality:

    国籍

  • Address:

    地址



8116
8117
8118
# File 'lib/v20200910/models.rb', line 8116

def Name
  @Name
end

#NationalityObject

Parameters:

  • Name:

    名字

  • Age:

    年龄

  • IdCard:

    证件号

  • Ethnicity:

    民族

  • Nationality:

    国籍

  • Address:

    地址



8116
8117
8118
# File 'lib/v20200910/models.rb', line 8116

def Nationality
  @Nationality
end

Instance Method Details

#deserialize(params) ⇒ Object



8127
8128
8129
8130
8131
8132
8133
8134
# File 'lib/v20200910/models.rb', line 8127

def deserialize(params)
  @Name = params['Name']
  @Age = params['Age']
  @IdCard = params['IdCard']
  @Ethnicity = params['Ethnicity']
  @Nationality = params['Nationality']
  @Address = params['Address']
end