Class: TencentCloud::Cvm::V20170312::ModifyHostsAttributeRequest

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20170312/models.rb

Overview

ModifyHostsAttribute请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(hostids = nil, hostname = nil, renewflag = nil, projectid = nil) ⇒ ModifyHostsAttributeRequest

Returns a new instance of ModifyHostsAttributeRequest.



6252
6253
6254
6255
6256
6257
# File 'lib/v20170312/models.rb', line 6252

def initialize(hostids=nil, hostname=nil, renewflag=nil, projectid=nil)
  @HostIds = hostids
  @HostName = hostname
  @RenewFlag = renewflag
  @ProjectId = projectid
end

Instance Attribute Details

#HostIdsObject

Parameters:



6250
6251
6252
# File 'lib/v20170312/models.rb', line 6250

def HostIds
  @HostIds
end

#HostNameObject

Parameters:



6250
6251
6252
# File 'lib/v20170312/models.rb', line 6250

def HostName
  @HostName
end

#ProjectIdObject

Parameters:



6250
6251
6252
# File 'lib/v20170312/models.rb', line 6250

def ProjectId
  @ProjectId
end

#RenewFlagObject

Parameters:



6250
6251
6252
# File 'lib/v20170312/models.rb', line 6250

def RenewFlag
  @RenewFlag
end

Instance Method Details

#deserialize(params) ⇒ Object



6259
6260
6261
6262
6263
6264
# File 'lib/v20170312/models.rb', line 6259

def deserialize(params)
  @HostIds = params['HostIds']
  @HostName = params['HostName']
  @RenewFlag = params['RenewFlag']
  @ProjectId = params['ProjectId']
end