Class: TencentCloud::Postgres::V20170312::DescribeLogBackupsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Postgres::V20170312::DescribeLogBackupsResponse
- Defined in:
- lib/v20170312/models.rb
Overview
DescribeLogBackups返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, logbackupset = nil, requestid = nil) ⇒ DescribeLogBackupsResponse
constructor
A new instance of DescribeLogBackupsResponse.
Constructor Details
#initialize(totalcount = nil, logbackupset = nil, requestid = nil) ⇒ DescribeLogBackupsResponse
Returns a new instance of DescribeLogBackupsResponse.
3876 3877 3878 3879 3880 |
# File 'lib/v20170312/models.rb', line 3876 def initialize(totalcount=nil, logbackupset=nil, requestid=nil) @TotalCount = totalcount @LogBackupSet = logbackupset @RequestId = requestid end |
Instance Attribute Details
#LogBackupSet ⇒ Object
3874 3875 3876 |
# File 'lib/v20170312/models.rb', line 3874 def LogBackupSet @LogBackupSet end |
#RequestId ⇒ Object
3874 3875 3876 |
# File 'lib/v20170312/models.rb', line 3874 def RequestId @RequestId end |
#TotalCount ⇒ Object
3874 3875 3876 |
# File 'lib/v20170312/models.rb', line 3874 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 |
# File 'lib/v20170312/models.rb', line 3882 def deserialize(params) @TotalCount = params['TotalCount'] unless params['LogBackupSet'].nil? @LogBackupSet = [] params['LogBackupSet'].each do |i| logbackup_tmp = LogBackup.new logbackup_tmp.deserialize(i) @LogBackupSet << logbackup_tmp end end @RequestId = params['RequestId'] end |