Class: TencentCloud::Msp::V20180319::DstInfo

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) ⇒ DstInfo

Returns a new instance of DstInfo.



108
109
110
111
112
113
# File 'lib/v20180319/models.rb', line 108

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



106
107
108
# File 'lib/v20180319/models.rb', line 106

def InstanceId
  @InstanceId
end

#IpObject

Parameters:

  • Region:

    迁移目的地域

  • Ip:

    迁移目的Ip

  • Port:

    迁移目的端口

  • InstanceId:

    迁移目的实例Id



106
107
108
# File 'lib/v20180319/models.rb', line 106

def Ip
  @Ip
end

#PortObject

Parameters:

  • Region:

    迁移目的地域

  • Ip:

    迁移目的Ip

  • Port:

    迁移目的端口

  • InstanceId:

    迁移目的实例Id



106
107
108
# File 'lib/v20180319/models.rb', line 106

def Port
  @Port
end

#RegionObject

Parameters:

  • Region:

    迁移目的地域

  • Ip:

    迁移目的Ip

  • Port:

    迁移目的端口

  • InstanceId:

    迁移目的实例Id



106
107
108
# File 'lib/v20180319/models.rb', line 106

def Region
  @Region
end

Instance Method Details

#deserialize(params) ⇒ Object



115
116
117
118
119
120
# File 'lib/v20180319/models.rb', line 115

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