Class: TencentCloud::Gaap::V20180529::NewRealServer

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

Overview

新添加源站信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(realserverid = nil, realserverip = nil) ⇒ NewRealServer

Returns a new instance of NewRealServer.



6325
6326
6327
6328
# File 'lib/v20180529/models.rb', line 6325

def initialize(realserverid=nil, realserverip=nil)
  @RealServerId = realserverid
  @RealServerIP = realserverip
end

Instance Attribute Details

#RealServerIdObject

Parameters:

  • RealServerId:

    源站ID

  • RealServerIP:

    源站ip或域名



6323
6324
6325
# File 'lib/v20180529/models.rb', line 6323

def RealServerId
  @RealServerId
end

#RealServerIPObject

Parameters:

  • RealServerId:

    源站ID

  • RealServerIP:

    源站ip或域名



6323
6324
6325
# File 'lib/v20180529/models.rb', line 6323

def RealServerIP
  @RealServerIP
end

Instance Method Details

#deserialize(params) ⇒ Object



6330
6331
6332
6333
# File 'lib/v20180529/models.rb', line 6330

def deserialize(params)
  @RealServerId = params['RealServerId']
  @RealServerIP = params['RealServerIP']
end