Class: TencentCloud::Sqlserver::V20180328::DescribeBackupsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Sqlserver::V20180328::DescribeBackupsResponse
- Defined in:
- lib/v20180328/models.rb
Overview
DescribeBackups返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, backups = nil, requestid = nil) ⇒ DescribeBackupsResponse
constructor
A new instance of DescribeBackupsResponse.
Constructor Details
#initialize(totalcount = nil, backups = nil, requestid = nil) ⇒ DescribeBackupsResponse
Returns a new instance of DescribeBackupsResponse.
3958 3959 3960 3961 3962 |
# File 'lib/v20180328/models.rb', line 3958 def initialize(totalcount=nil, backups=nil, requestid=nil) @TotalCount = totalcount @Backups = backups @RequestId = requestid end |
Instance Attribute Details
#Backups ⇒ Object
3956 3957 3958 |
# File 'lib/v20180328/models.rb', line 3956 def Backups @Backups end |
#RequestId ⇒ Object
3956 3957 3958 |
# File 'lib/v20180328/models.rb', line 3956 def RequestId @RequestId end |
#TotalCount ⇒ Object
3956 3957 3958 |
# File 'lib/v20180328/models.rb', line 3956 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 |
# File 'lib/v20180328/models.rb', line 3964 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Backups'].nil? @Backups = [] params['Backups'].each do |i| backup_tmp = Backup.new backup_tmp.deserialize(i) @Backups << backup_tmp end end @RequestId = params['RequestId'] end |