Class: TencentCloud::Cwp::V20180228::ProtectDirRelatedServer
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cwp::V20180228::ProtectDirRelatedServer
- Defined in:
- lib/v20180228/models.rb
Overview
防护目录关联服务器列表信息
Instance Attribute Summary collapse
- #Authorization ⇒ Object
- #AutoRestoreSwitchStatus ⇒ Object
- #Exception ⇒ Object
- #ExceptionMessage ⇒ Object
- #HostIp ⇒ Object
- #HostName ⇒ Object
- #Id ⇒ Object
- #MachineExtraInfo ⇒ Object
- #MachineOs ⇒ Object
- #Progress ⇒ Object
- #ProtectStatus ⇒ Object
- #ProtectSwitch ⇒ Object
- #Quuid ⇒ Object
- #RelateDirNum ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(id = nil, hostname = nil, hostip = nil, machineos = nil, relatedirnum = nil, protectstatus = nil, protectswitch = nil, autorestoreswitchstatus = nil, quuid = nil, authorization = nil, exception = nil, progress = nil, exceptionmessage = nil, machineextrainfo = nil) ⇒ ProtectDirRelatedServer
constructor
A new instance of ProtectDirRelatedServer.
Constructor Details
#initialize(id = nil, hostname = nil, hostip = nil, machineos = nil, relatedirnum = nil, protectstatus = nil, protectswitch = nil, autorestoreswitchstatus = nil, quuid = nil, authorization = nil, exception = nil, progress = nil, exceptionmessage = nil, machineextrainfo = nil) ⇒ ProtectDirRelatedServer
Returns a new instance of ProtectDirRelatedServer.
35865 35866 35867 35868 35869 35870 35871 35872 35873 35874 35875 35876 35877 35878 35879 35880 |
# File 'lib/v20180228/models.rb', line 35865 def initialize(id=nil, hostname=nil, hostip=nil, machineos=nil, =nil, protectstatus=nil, protectswitch=nil, autorestoreswitchstatus=nil, quuid=nil, =nil, exception=nil, progress=nil, =nil, machineextrainfo=nil) @Id = id @HostName = hostname @HostIp = hostip @MachineOs = machineos @RelateDirNum = @ProtectStatus = protectstatus @ProtectSwitch = protectswitch @AutoRestoreSwitchStatus = autorestoreswitchstatus @Quuid = quuid @Authorization = @Exception = exception @Progress = progress @ExceptionMessage = @MachineExtraInfo = machineextrainfo end |
Instance Attribute Details
#Authorization ⇒ Object
35863 35864 35865 |
# File 'lib/v20180228/models.rb', line 35863 def Authorization @Authorization end |
#AutoRestoreSwitchStatus ⇒ Object
35863 35864 35865 |
# File 'lib/v20180228/models.rb', line 35863 def AutoRestoreSwitchStatus @AutoRestoreSwitchStatus end |
#Exception ⇒ Object
35863 35864 35865 |
# File 'lib/v20180228/models.rb', line 35863 def Exception @Exception end |
#ExceptionMessage ⇒ Object
35863 35864 35865 |
# File 'lib/v20180228/models.rb', line 35863 def ExceptionMessage @ExceptionMessage end |
#HostIp ⇒ Object
35863 35864 35865 |
# File 'lib/v20180228/models.rb', line 35863 def HostIp @HostIp end |
#HostName ⇒ Object
35863 35864 35865 |
# File 'lib/v20180228/models.rb', line 35863 def HostName @HostName end |
#Id ⇒ Object
35863 35864 35865 |
# File 'lib/v20180228/models.rb', line 35863 def Id @Id end |
#MachineExtraInfo ⇒ Object
35863 35864 35865 |
# File 'lib/v20180228/models.rb', line 35863 def MachineExtraInfo @MachineExtraInfo end |
#MachineOs ⇒ Object
35863 35864 35865 |
# File 'lib/v20180228/models.rb', line 35863 def MachineOs @MachineOs end |
#Progress ⇒ Object
35863 35864 35865 |
# File 'lib/v20180228/models.rb', line 35863 def Progress @Progress end |
#ProtectStatus ⇒ Object
35863 35864 35865 |
# File 'lib/v20180228/models.rb', line 35863 def ProtectStatus @ProtectStatus end |
#ProtectSwitch ⇒ Object
35863 35864 35865 |
# File 'lib/v20180228/models.rb', line 35863 def ProtectSwitch @ProtectSwitch end |
#Quuid ⇒ Object
35863 35864 35865 |
# File 'lib/v20180228/models.rb', line 35863 def Quuid @Quuid end |
#RelateDirNum ⇒ Object
35863 35864 35865 |
# File 'lib/v20180228/models.rb', line 35863 def RelateDirNum @RelateDirNum end |
Instance Method Details
#deserialize(params) ⇒ Object
35882 35883 35884 35885 35886 35887 35888 35889 35890 35891 35892 35893 35894 35895 35896 35897 35898 35899 35900 |
# File 'lib/v20180228/models.rb', line 35882 def deserialize(params) @Id = params['Id'] @HostName = params['HostName'] @HostIp = params['HostIp'] @MachineOs = params['MachineOs'] @RelateDirNum = params['RelateDirNum'] @ProtectStatus = params['ProtectStatus'] @ProtectSwitch = params['ProtectSwitch'] @AutoRestoreSwitchStatus = params['AutoRestoreSwitchStatus'] @Quuid = params['Quuid'] @Authorization = params['Authorization'] @Exception = params['Exception'] @Progress = params['Progress'] @ExceptionMessage = params['ExceptionMessage'] unless params['MachineExtraInfo'].nil? @MachineExtraInfo = MachineExtraInfo.new @MachineExtraInfo.deserialize(params['MachineExtraInfo']) end end |