Class: TencentCloud::Cii::V20210408::MachineUnderwriteOutput
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cii::V20210408::MachineUnderwriteOutput
- Defined in:
- lib/v20210408/models.rb
Overview
机器核保输出
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(customerid = nil, customername = nil, results = nil) ⇒ MachineUnderwriteOutput
constructor
A new instance of MachineUnderwriteOutput.
Constructor Details
#initialize(customerid = nil, customername = nil, results = nil) ⇒ MachineUnderwriteOutput
Returns a new instance of MachineUnderwriteOutput.
1012 1013 1014 1015 1016 |
# File 'lib/v20210408/models.rb', line 1012 def initialize(customerid=nil, customername=nil, results=nil) @CustomerId = customerid @CustomerName = customername @Results = results end |
Instance Attribute Details
#CustomerId ⇒ Object
1010 1011 1012 |
# File 'lib/v20210408/models.rb', line 1010 def CustomerId @CustomerId end |
#CustomerName ⇒ Object
1010 1011 1012 |
# File 'lib/v20210408/models.rb', line 1010 def CustomerName @CustomerName end |
#Results ⇒ Object
1010 1011 1012 |
# File 'lib/v20210408/models.rb', line 1010 def Results @Results end |
Instance Method Details
#deserialize(params) ⇒ Object
1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 |
# File 'lib/v20210408/models.rb', line 1018 def deserialize(params) @CustomerId = params['CustomerId'] @CustomerName = params['CustomerName'] unless params['Results'].nil? @Results = [] params['Results'].each do |i| insuranceresult_tmp = InsuranceResult.new insuranceresult_tmp.deserialize(i) @Results << insuranceresult_tmp end end end |