Class: TencentCloud::Cwp::V20180228::ProtectDirInfo
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cwp::V20180228::ProtectDirInfo
- Defined in:
- lib/v20180228/models.rb
Overview
防护目录列表集
Instance Attribute Summary collapse
- #AutoRestoreSwitchStatus ⇒ Object
- #DirName ⇒ Object
- #DirPath ⇒ Object
- #FirstProtectTime ⇒ Object
- #Id ⇒ Object
- #LatestProtectTime ⇒ Object
- #NoProtectServerNum ⇒ Object
- #ProtectException ⇒ Object
- #ProtectFilesCount ⇒ Object
- #ProtectFileType ⇒ Object
- #ProtectServerNum ⇒ Object
- #ProtectStatus ⇒ Object
- #RelatedServerNum ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(dirname = nil, dirpath = nil, relatedservernum = nil, protectservernum = nil, noprotectservernum = nil, id = nil, protectstatus = nil, protectexception = nil, autorestoreswitchstatus = nil, firstprotecttime = nil, latestprotecttime = nil, protectfiletype = nil, protectfilescount = nil) ⇒ ProtectDirInfo
constructor
A new instance of ProtectDirInfo.
Constructor Details
#initialize(dirname = nil, dirpath = nil, relatedservernum = nil, protectservernum = nil, noprotectservernum = nil, id = nil, protectstatus = nil, protectexception = nil, autorestoreswitchstatus = nil, firstprotecttime = nil, latestprotecttime = nil, protectfiletype = nil, protectfilescount = nil) ⇒ ProtectDirInfo
Returns a new instance of ProtectDirInfo.
35429 35430 35431 35432 35433 35434 35435 35436 35437 35438 35439 35440 35441 35442 35443 |
# File 'lib/v20180228/models.rb', line 35429 def initialize(dirname=nil, dirpath=nil, =nil, protectservernum=nil, noprotectservernum=nil, id=nil, protectstatus=nil, protectexception=nil, autorestoreswitchstatus=nil, firstprotecttime=nil, latestprotecttime=nil, protectfiletype=nil, protectfilescount=nil) @DirName = dirname @DirPath = dirpath = @ProtectServerNum = protectservernum @NoProtectServerNum = noprotectservernum @Id = id @ProtectStatus = protectstatus @ProtectException = protectexception @AutoRestoreSwitchStatus = autorestoreswitchstatus @FirstProtectTime = firstprotecttime @LatestProtectTime = latestprotecttime @ProtectFileType = protectfiletype @ProtectFilesCount = protectfilescount end |
Instance Attribute Details
#AutoRestoreSwitchStatus ⇒ Object
35427 35428 35429 |
# File 'lib/v20180228/models.rb', line 35427 def AutoRestoreSwitchStatus @AutoRestoreSwitchStatus end |
#DirName ⇒ Object
35427 35428 35429 |
# File 'lib/v20180228/models.rb', line 35427 def DirName @DirName end |
#DirPath ⇒ Object
35427 35428 35429 |
# File 'lib/v20180228/models.rb', line 35427 def DirPath @DirPath end |
#FirstProtectTime ⇒ Object
35427 35428 35429 |
# File 'lib/v20180228/models.rb', line 35427 def FirstProtectTime @FirstProtectTime end |
#Id ⇒ Object
35427 35428 35429 |
# File 'lib/v20180228/models.rb', line 35427 def Id @Id end |
#LatestProtectTime ⇒ Object
35427 35428 35429 |
# File 'lib/v20180228/models.rb', line 35427 def LatestProtectTime @LatestProtectTime end |
#NoProtectServerNum ⇒ Object
35427 35428 35429 |
# File 'lib/v20180228/models.rb', line 35427 def NoProtectServerNum @NoProtectServerNum end |
#ProtectException ⇒ Object
35427 35428 35429 |
# File 'lib/v20180228/models.rb', line 35427 def ProtectException @ProtectException end |
#ProtectFilesCount ⇒ Object
35427 35428 35429 |
# File 'lib/v20180228/models.rb', line 35427 def ProtectFilesCount @ProtectFilesCount end |
#ProtectFileType ⇒ Object
35427 35428 35429 |
# File 'lib/v20180228/models.rb', line 35427 def ProtectFileType @ProtectFileType end |
#ProtectServerNum ⇒ Object
35427 35428 35429 |
# File 'lib/v20180228/models.rb', line 35427 def ProtectServerNum @ProtectServerNum end |
#ProtectStatus ⇒ Object
35427 35428 35429 |
# File 'lib/v20180228/models.rb', line 35427 def ProtectStatus @ProtectStatus end |
#RelatedServerNum ⇒ Object
35427 35428 35429 |
# File 'lib/v20180228/models.rb', line 35427 def end |
Instance Method Details
#deserialize(params) ⇒ Object
35445 35446 35447 35448 35449 35450 35451 35452 35453 35454 35455 35456 35457 35458 35459 |
# File 'lib/v20180228/models.rb', line 35445 def deserialize(params) @DirName = params['DirName'] @DirPath = params['DirPath'] = params['RelatedServerNum'] @ProtectServerNum = params['ProtectServerNum'] @NoProtectServerNum = params['NoProtectServerNum'] @Id = params['Id'] @ProtectStatus = params['ProtectStatus'] @ProtectException = params['ProtectException'] @AutoRestoreSwitchStatus = params['AutoRestoreSwitchStatus'] @FirstProtectTime = params['FirstProtectTime'] @LatestProtectTime = params['LatestProtectTime'] @ProtectFileType = params['ProtectFileType'] @ProtectFilesCount = params['ProtectFilesCount'] end |