Class: TencentCloud::Cdwch::V20200915::DescribeBackUpJobResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdwch::V20200915::DescribeBackUpJobResponse
- Defined in:
- lib/v20200915/models.rb
Overview
DescribeBackUpJob返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(backupjobs = nil, errormsg = nil, totalcount = nil, requestid = nil) ⇒ DescribeBackUpJobResponse
constructor
A new instance of DescribeBackUpJobResponse.
Constructor Details
#initialize(backupjobs = nil, errormsg = nil, totalcount = nil, requestid = nil) ⇒ DescribeBackUpJobResponse
Returns a new instance of DescribeBackUpJobResponse.
834 835 836 837 838 839 |
# File 'lib/v20200915/models.rb', line 834 def initialize(backupjobs=nil, errormsg=nil, totalcount=nil, requestid=nil) @BackUpJobs = backupjobs @ErrorMsg = errormsg @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#BackUpJobs ⇒ Object
832 833 834 |
# File 'lib/v20200915/models.rb', line 832 def BackUpJobs @BackUpJobs end |
#ErrorMsg ⇒ Object
832 833 834 |
# File 'lib/v20200915/models.rb', line 832 def ErrorMsg @ErrorMsg end |
#RequestId ⇒ Object
832 833 834 |
# File 'lib/v20200915/models.rb', line 832 def RequestId @RequestId end |
#TotalCount ⇒ Object
832 833 834 |
# File 'lib/v20200915/models.rb', line 832 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
841 842 843 844 845 846 847 848 849 850 851 852 853 |
# File 'lib/v20200915/models.rb', line 841 def deserialize(params) unless params['BackUpJobs'].nil? @BackUpJobs = [] params['BackUpJobs'].each do |i| backupjobdisplay_tmp = BackUpJobDisplay.new backupjobdisplay_tmp.deserialize(i) @BackUpJobs << backupjobdisplay_tmp end end @ErrorMsg = params['ErrorMsg'] @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |