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.
35495 35496 35497 35498 35499 35500 35501 35502 35503 35504 35505 35506 35507 35508 35509 35510 |
# File 'lib/v20180228/models.rb', line 35495 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
35493 35494 35495 |
# File 'lib/v20180228/models.rb', line 35493 def Authorization @Authorization end |
#AutoRestoreSwitchStatus ⇒ Object
35493 35494 35495 |
# File 'lib/v20180228/models.rb', line 35493 def AutoRestoreSwitchStatus @AutoRestoreSwitchStatus end |
#Exception ⇒ Object
35493 35494 35495 |
# File 'lib/v20180228/models.rb', line 35493 def Exception @Exception end |
#ExceptionMessage ⇒ Object
35493 35494 35495 |
# File 'lib/v20180228/models.rb', line 35493 def ExceptionMessage @ExceptionMessage end |
#HostIp ⇒ Object
35493 35494 35495 |
# File 'lib/v20180228/models.rb', line 35493 def HostIp @HostIp end |
#HostName ⇒ Object
35493 35494 35495 |
# File 'lib/v20180228/models.rb', line 35493 def HostName @HostName end |
#Id ⇒ Object
35493 35494 35495 |
# File 'lib/v20180228/models.rb', line 35493 def Id @Id end |
#MachineExtraInfo ⇒ Object
35493 35494 35495 |
# File 'lib/v20180228/models.rb', line 35493 def MachineExtraInfo @MachineExtraInfo end |
#MachineOs ⇒ Object
35493 35494 35495 |
# File 'lib/v20180228/models.rb', line 35493 def MachineOs @MachineOs end |
#Progress ⇒ Object
35493 35494 35495 |
# File 'lib/v20180228/models.rb', line 35493 def Progress @Progress end |
#ProtectStatus ⇒ Object
35493 35494 35495 |
# File 'lib/v20180228/models.rb', line 35493 def ProtectStatus @ProtectStatus end |
#ProtectSwitch ⇒ Object
35493 35494 35495 |
# File 'lib/v20180228/models.rb', line 35493 def ProtectSwitch @ProtectSwitch end |
#Quuid ⇒ Object
35493 35494 35495 |
# File 'lib/v20180228/models.rb', line 35493 def Quuid @Quuid end |
#RelateDirNum ⇒ Object
35493 35494 35495 |
# File 'lib/v20180228/models.rb', line 35493 def RelateDirNum @RelateDirNum end |
Instance Method Details
#deserialize(params) ⇒ Object
35512 35513 35514 35515 35516 35517 35518 35519 35520 35521 35522 35523 35524 35525 35526 35527 35528 35529 35530 |
# File 'lib/v20180228/models.rb', line 35512 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 |