Class: TencentCloud::Dayu::V20180709::DescribeInsurePacksResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dayu::V20180709::DescribeInsurePacksResponse
- Defined in:
- lib/v20180709/models.rb
Overview
DescribeInsurePacks返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(insurepacks = nil, requestid = nil) ⇒ DescribeInsurePacksResponse
constructor
A new instance of DescribeInsurePacksResponse.
Constructor Details
#initialize(insurepacks = nil, requestid = nil) ⇒ DescribeInsurePacksResponse
Returns a new instance of DescribeInsurePacksResponse.
4662 4663 4664 4665 |
# File 'lib/v20180709/models.rb', line 4662 def initialize(insurepacks=nil, requestid=nil) @InsurePacks = insurepacks @RequestId = requestid end |
Instance Attribute Details
#InsurePacks ⇒ Object
4660 4661 4662 |
# File 'lib/v20180709/models.rb', line 4660 def InsurePacks @InsurePacks end |
#RequestId ⇒ Object
4660 4661 4662 |
# File 'lib/v20180709/models.rb', line 4660 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 |
# File 'lib/v20180709/models.rb', line 4667 def deserialize(params) unless params['InsurePacks'].nil? @InsurePacks = [] params['InsurePacks'].each do |i| keyvaluerecord_tmp = KeyValueRecord.new keyvaluerecord_tmp.deserialize(i) @InsurePacks << keyvaluerecord_tmp end end @RequestId = params['RequestId'] end |