Class: TencentCloud::Postgres::V20170312::DescribeBackupPlansResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Postgres::V20170312::DescribeBackupPlansResponse
- Defined in:
- lib/v20170312/models.rb
Overview
DescribeBackupPlans返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(plans = nil, requestid = nil) ⇒ DescribeBackupPlansResponse
constructor
A new instance of DescribeBackupPlansResponse.
Constructor Details
#initialize(plans = nil, requestid = nil) ⇒ DescribeBackupPlansResponse
Returns a new instance of DescribeBackupPlansResponse.
2682 2683 2684 2685 |
# File 'lib/v20170312/models.rb', line 2682 def initialize(plans=nil, requestid=nil) @Plans = plans @RequestId = requestid end |
Instance Attribute Details
#Plans ⇒ Object
2680 2681 2682 |
# File 'lib/v20170312/models.rb', line 2680 def Plans @Plans end |
#RequestId ⇒ Object
2680 2681 2682 |
# File 'lib/v20170312/models.rb', line 2680 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 |
# File 'lib/v20170312/models.rb', line 2687 def deserialize(params) unless params['Plans'].nil? @Plans = [] params['Plans'].each do |i| backupplan_tmp = BackupPlan.new backupplan_tmp.deserialize(i) @Plans << backupplan_tmp end end @RequestId = params['RequestId'] end |