Class: TencentCloud::Msp::V20180319::SrcInfo

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

Overview

迁移源信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(region = nil, ip = nil, port = nil, instanceid = nil) ⇒ SrcInfo

Returns a new instance of SrcInfo.



420
421
422
423
424
425
# File 'lib/v20180319/models.rb', line 420

def initialize(region=nil, ip=nil, port=nil, instanceid=nil)
  @Region = region
  @Ip = ip
  @Port = port
  @InstanceId = instanceid
end

Instance Attribute Details

#InstanceIdObject

Parameters:

  • Region:

    迁移源地域

  • Ip:

    迁移源Ip

  • Port:

    迁移源端口

  • InstanceId:

    迁移源实例Id



418
419
420
# File 'lib/v20180319/models.rb', line 418

def InstanceId
  @InstanceId
end

#IpObject

Parameters:

  • Region:

    迁移源地域

  • Ip:

    迁移源Ip

  • Port:

    迁移源端口

  • InstanceId:

    迁移源实例Id



418
419
420
# File 'lib/v20180319/models.rb', line 418

def Ip
  @Ip
end

#PortObject

Parameters:

  • Region:

    迁移源地域

  • Ip:

    迁移源Ip

  • Port:

    迁移源端口

  • InstanceId:

    迁移源实例Id



418
419
420
# File 'lib/v20180319/models.rb', line 418

def Port
  @Port
end

#RegionObject

Parameters:

  • Region:

    迁移源地域

  • Ip:

    迁移源Ip

  • Port:

    迁移源端口

  • InstanceId:

    迁移源实例Id



418
419
420
# File 'lib/v20180319/models.rb', line 418

def Region
  @Region
end

Instance Method Details

#deserialize(params) ⇒ Object



427
428
429
430
431
432
# File 'lib/v20180319/models.rb', line 427

def deserialize(params)
  @Region = params['Region']
  @Ip = params['Ip']
  @Port = params['Port']
  @InstanceId = params['InstanceId']
end