Class: TencentCloud::Mrs::V20200910::ParentInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mrs::V20200910::ParentInfo
- Defined in:
- lib/v20200910/models.rb
Overview
母亲或父亲信息
Instance Attribute Summary collapse
- #Address ⇒ Object
- #Age ⇒ Object
- #Ethnicity ⇒ Object
- #IdCard ⇒ Object
- #Name ⇒ Object
- #Nationality ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, age = nil, idcard = nil, ethnicity = nil, nationality = nil, address = nil) ⇒ ParentInfo
constructor
A new instance of ParentInfo.
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
#Address ⇒ Object
8116 8117 8118 |
# File 'lib/v20200910/models.rb', line 8116 def Address @Address end |
#Age ⇒ Object
8116 8117 8118 |
# File 'lib/v20200910/models.rb', line 8116 def Age @Age end |
#Ethnicity ⇒ Object
8116 8117 8118 |
# File 'lib/v20200910/models.rb', line 8116 def Ethnicity @Ethnicity end |
#IdCard ⇒ Object
8116 8117 8118 |
# File 'lib/v20200910/models.rb', line 8116 def IdCard @IdCard end |
#Name ⇒ Object
8116 8117 8118 |
# File 'lib/v20200910/models.rb', line 8116 def Name @Name end |
#Nationality ⇒ Object
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 |