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.
35799 35800 35801 35802 35803 35804 35805 35806 35807 35808 35809 35810 35811 35812 35813 |
# File 'lib/v20180228/models.rb', line 35799 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
35797 35798 35799 |
# File 'lib/v20180228/models.rb', line 35797 def AutoRestoreSwitchStatus @AutoRestoreSwitchStatus end |
#DirName ⇒ Object
35797 35798 35799 |
# File 'lib/v20180228/models.rb', line 35797 def DirName @DirName end |
#DirPath ⇒ Object
35797 35798 35799 |
# File 'lib/v20180228/models.rb', line 35797 def DirPath @DirPath end |
#FirstProtectTime ⇒ Object
35797 35798 35799 |
# File 'lib/v20180228/models.rb', line 35797 def FirstProtectTime @FirstProtectTime end |
#Id ⇒ Object
35797 35798 35799 |
# File 'lib/v20180228/models.rb', line 35797 def Id @Id end |
#LatestProtectTime ⇒ Object
35797 35798 35799 |
# File 'lib/v20180228/models.rb', line 35797 def LatestProtectTime @LatestProtectTime end |
#NoProtectServerNum ⇒ Object
35797 35798 35799 |
# File 'lib/v20180228/models.rb', line 35797 def NoProtectServerNum @NoProtectServerNum end |
#ProtectException ⇒ Object
35797 35798 35799 |
# File 'lib/v20180228/models.rb', line 35797 def ProtectException @ProtectException end |
#ProtectFilesCount ⇒ Object
35797 35798 35799 |
# File 'lib/v20180228/models.rb', line 35797 def ProtectFilesCount @ProtectFilesCount end |
#ProtectFileType ⇒ Object
35797 35798 35799 |
# File 'lib/v20180228/models.rb', line 35797 def ProtectFileType @ProtectFileType end |
#ProtectServerNum ⇒ Object
35797 35798 35799 |
# File 'lib/v20180228/models.rb', line 35797 def ProtectServerNum @ProtectServerNum end |
#ProtectStatus ⇒ Object
35797 35798 35799 |
# File 'lib/v20180228/models.rb', line 35797 def ProtectStatus @ProtectStatus end |
#RelatedServerNum ⇒ Object
35797 35798 35799 |
# File 'lib/v20180228/models.rb', line 35797 def end |
Instance Method Details
#deserialize(params) ⇒ Object
35815 35816 35817 35818 35819 35820 35821 35822 35823 35824 35825 35826 35827 35828 35829 |
# File 'lib/v20180228/models.rb', line 35815 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 |