Class: TencentCloud::Msp::V20180319::DstInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Msp::V20180319::DstInfo
- Defined in:
- lib/v20180319/models.rb
Overview
迁移目的信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(region = nil, ip = nil, port = nil, instanceid = nil) ⇒ DstInfo
constructor
A new instance of DstInfo.
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
#InstanceId ⇒ Object
106 107 108 |
# File 'lib/v20180319/models.rb', line 106 def InstanceId @InstanceId end |
#Ip ⇒ Object
106 107 108 |
# File 'lib/v20180319/models.rb', line 106 def Ip @Ip end |
#Port ⇒ Object
106 107 108 |
# File 'lib/v20180319/models.rb', line 106 def Port @Port end |
#Region ⇒ Object
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 |