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.
36023 36024 36025 36026 36027 36028 |
# File 'lib/v20180228/models.rb', line 36023 def initialize(hostname=nil, hostip=nil, createtime=nil, expiretime=nil) @HostName = hostname @HostIp = hostip @CreateTime = createtime @ExpireTime = expiretime end |
Instance Attribute Details
#CreateTime ⇒ Object
36021 36022 36023 |
# File 'lib/v20180228/models.rb', line 36021 def CreateTime @CreateTime end |
#ExpireTime ⇒ Object
36021 36022 36023 |
# File 'lib/v20180228/models.rb', line 36021 def ExpireTime @ExpireTime end |
#HostIp ⇒ Object
36021 36022 36023 |
# File 'lib/v20180228/models.rb', line 36021 def HostIp @HostIp end |
#HostName ⇒ Object
36021 36022 36023 |
# File 'lib/v20180228/models.rb', line 36021 def HostName @HostName end |
Instance Method Details
#deserialize(params) ⇒ Object
36030 36031 36032 36033 36034 36035 |
# File 'lib/v20180228/models.rb', line 36030 def deserialize(params) @HostName = params['HostName'] @HostIp = params['HostIp'] @CreateTime = params['CreateTime'] @ExpireTime = params['ExpireTime'] end |