Class: TencentCloud::Msp::V20180319::SrcInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Msp::V20180319::SrcInfo
- 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) ⇒ SrcInfo
constructor
A new instance of SrcInfo.
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
#InstanceId ⇒ Object
418 419 420 |
# File 'lib/v20180319/models.rb', line 418 def InstanceId @InstanceId end |
#Ip ⇒ Object
418 419 420 |
# File 'lib/v20180319/models.rb', line 418 def Ip @Ip end |
#Port ⇒ Object
418 419 420 |
# File 'lib/v20180319/models.rb', line 418 def Port @Port end |
#Region ⇒ Object
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 |