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.



8145
8146
8147
8148
8149
8150
8151
8152
# File 'lib/v20200910/models.rb', line 8145

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:

    地址



8143
8144
8145
# File 'lib/v20200910/models.rb', line 8143

def Address
  @Address
end

#AgeObject

Parameters:

  • Name:

    名字

  • Age:

    年龄

  • IdCard:

    证件号

  • Ethnicity:

    民族

  • Nationality:

    国籍

  • Address:

    地址



8143
8144
8145
# File 'lib/v20200910/models.rb', line 8143

def Age
  @Age
end

#EthnicityObject

Parameters:

  • Name:

    名字

  • Age:

    年龄

  • IdCard:

    证件号

  • Ethnicity:

    民族

  • Nationality:

    国籍

  • Address:

    地址



8143
8144
8145
# File 'lib/v20200910/models.rb', line 8143

def Ethnicity
  @Ethnicity
end

#IdCardObject

Parameters:

  • Name:

    名字

  • Age:

    年龄

  • IdCard:

    证件号

  • Ethnicity:

    民族

  • Nationality:

    国籍

  • Address:

    地址



8143
8144
8145
# File 'lib/v20200910/models.rb', line 8143

def IdCard
  @IdCard
end

#NameObject

Parameters:

  • Name:

    名字

  • Age:

    年龄

  • IdCard:

    证件号

  • Ethnicity:

    民族

  • Nationality:

    国籍

  • Address:

    地址



8143
8144
8145
# File 'lib/v20200910/models.rb', line 8143

def Name
  @Name
end

#NationalityObject

Parameters:

  • Name:

    名字

  • Age:

    年龄

  • IdCard:

    证件号

  • Ethnicity:

    民族

  • Nationality:

    国籍

  • Address:

    地址



8143
8144
8145
# File 'lib/v20200910/models.rb', line 8143

def Nationality
  @Nationality
end

Instance Method Details

#deserialize(params) ⇒ Object



8154
8155
8156
8157
8158
8159
8160
8161
# File 'lib/v20200910/models.rb', line 8154

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