Class: TencentCloud::Cwp::V20180228::ProtectMachineInfo
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cwp::V20180228::ProtectMachineInfo
- Defined in:
- lib/v20180228/models.rb
Overview
授权机器信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(hostname = nil, hostip = nil, createtime = nil, expiretime = nil) ⇒ ProtectMachineInfo
constructor
A new instance of ProtectMachineInfo.
Constructor Details
#initialize(hostname = nil, hostip = nil, createtime = nil, expiretime = nil) ⇒ ProtectMachineInfo
Returns a new instance of ProtectMachineInfo.
35653 35654 35655 35656 35657 35658 |
# File 'lib/v20180228/models.rb', line 35653 def initialize(hostname=nil, hostip=nil, createtime=nil, expiretime=nil) @HostName = hostname @HostIp = hostip @CreateTime = createtime @ExpireTime = expiretime end |
Instance Attribute Details
#CreateTime ⇒ Object
35651 35652 35653 |
# File 'lib/v20180228/models.rb', line 35651 def CreateTime @CreateTime end |
#ExpireTime ⇒ Object
35651 35652 35653 |
# File 'lib/v20180228/models.rb', line 35651 def ExpireTime @ExpireTime end |
#HostIp ⇒ Object
35651 35652 35653 |
# File 'lib/v20180228/models.rb', line 35651 def HostIp @HostIp end |
#HostName ⇒ Object
35651 35652 35653 |
# File 'lib/v20180228/models.rb', line 35651 def HostName @HostName end |
Instance Method Details
#deserialize(params) ⇒ Object
35660 35661 35662 35663 35664 35665 |
# File 'lib/v20180228/models.rb', line 35660 def deserialize(params) @HostName = params['HostName'] @HostIp = params['HostIp'] @CreateTime = params['CreateTime'] @ExpireTime = params['ExpireTime'] end |