Class: TencentCloud::Cdwch::V20200915::DescribeBackUpScheduleResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdwch::V20200915::DescribeBackUpScheduleResponse
- Defined in:
- lib/v20200915/models.rb
Overview
DescribeBackUpSchedule返回参数结构体
Instance Attribute Summary collapse
- #BackUpContents ⇒ Object
- #BackUpOpened ⇒ Object
- #BackUpStatus ⇒ Object
- #DataStrategy ⇒ Object
- #ErrorMsg ⇒ Object
- #MetaStrategy ⇒ Object
- #RequestId ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(backupopened = nil, metastrategy = nil, datastrategy = nil, backupcontents = nil, backupstatus = nil, errormsg = nil, requestid = nil) ⇒ DescribeBackUpScheduleResponse
constructor
A new instance of DescribeBackUpScheduleResponse.
Constructor Details
#initialize(backupopened = nil, metastrategy = nil, datastrategy = nil, backupcontents = nil, backupstatus = nil, errormsg = nil, requestid = nil) ⇒ DescribeBackUpScheduleResponse
Returns a new instance of DescribeBackUpScheduleResponse.
891 892 893 894 895 896 897 898 899 |
# File 'lib/v20200915/models.rb', line 891 def initialize(backupopened=nil, =nil, datastrategy=nil, backupcontents=nil, backupstatus=nil, errormsg=nil, requestid=nil) @BackUpOpened = backupopened @MetaStrategy = @DataStrategy = datastrategy @BackUpContents = backupcontents @BackUpStatus = backupstatus @ErrorMsg = errormsg @RequestId = requestid end |
Instance Attribute Details
#BackUpContents ⇒ Object
889 890 891 |
# File 'lib/v20200915/models.rb', line 889 def BackUpContents @BackUpContents end |
#BackUpOpened ⇒ Object
889 890 891 |
# File 'lib/v20200915/models.rb', line 889 def BackUpOpened @BackUpOpened end |
#BackUpStatus ⇒ Object
889 890 891 |
# File 'lib/v20200915/models.rb', line 889 def BackUpStatus @BackUpStatus end |
#DataStrategy ⇒ Object
889 890 891 |
# File 'lib/v20200915/models.rb', line 889 def DataStrategy @DataStrategy end |
#ErrorMsg ⇒ Object
889 890 891 |
# File 'lib/v20200915/models.rb', line 889 def ErrorMsg @ErrorMsg end |
#MetaStrategy ⇒ Object
889 890 891 |
# File 'lib/v20200915/models.rb', line 889 def MetaStrategy @MetaStrategy end |
#RequestId ⇒ Object
889 890 891 |
# File 'lib/v20200915/models.rb', line 889 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 |
# File 'lib/v20200915/models.rb', line 901 def deserialize(params) @BackUpOpened = params['BackUpOpened'] unless params['MetaStrategy'].nil? @MetaStrategy = ScheduleStrategy.new @MetaStrategy.deserialize(params['MetaStrategy']) end unless params['DataStrategy'].nil? @DataStrategy = ScheduleStrategy.new @DataStrategy.deserialize(params['DataStrategy']) end unless params['BackUpContents'].nil? @BackUpContents = [] params['BackUpContents'].each do |i| backuptablecontent_tmp = BackupTableContent.new backuptablecontent_tmp.deserialize(i) @BackUpContents << backuptablecontent_tmp end end @BackUpStatus = params['BackUpStatus'] @ErrorMsg = params['ErrorMsg'] @RequestId = params['RequestId'] end |