Class: TencentCloud::Gs::V20191118::DescribeAndroidInstanceBackupsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Gs::V20191118::DescribeAndroidInstanceBackupsResponse
- Defined in:
- lib/v20191118/models.rb
Overview
DescribeAndroidInstanceBackups返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(backups = nil, totalcount = nil, requestid = nil) ⇒ DescribeAndroidInstanceBackupsResponse
constructor
A new instance of DescribeAndroidInstanceBackupsResponse.
Constructor Details
#initialize(backups = nil, totalcount = nil, requestid = nil) ⇒ DescribeAndroidInstanceBackupsResponse
Returns a new instance of DescribeAndroidInstanceBackupsResponse.
2016 2017 2018 2019 2020 |
# File 'lib/v20191118/models.rb', line 2016 def initialize(backups=nil, totalcount=nil, requestid=nil) @Backups = backups @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#Backups ⇒ Object
2014 2015 2016 |
# File 'lib/v20191118/models.rb', line 2014 def Backups @Backups end |
#RequestId ⇒ Object
2014 2015 2016 |
# File 'lib/v20191118/models.rb', line 2014 def RequestId @RequestId end |
#TotalCount ⇒ Object
2014 2015 2016 |
# File 'lib/v20191118/models.rb', line 2014 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 |
# File 'lib/v20191118/models.rb', line 2022 def deserialize(params) unless params['Backups'].nil? @Backups = [] params['Backups'].each do |i| androidinstancebackup_tmp = AndroidInstanceBackup.new androidinstancebackup_tmp.deserialize(i) @Backups << androidinstancebackup_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |