Class: TencentCloud::Dts::V20180330::DstInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dts::V20180330::DstInfo
- Extended by:
- Gem::Deprecate
- Defined in:
- lib/v20180330/models.rb
Overview
目的实例信息,具体内容跟迁移任务类型相关
Instance Attribute Summary collapse
- #InstanceId ⇒ Object
- #Ip ⇒ Object
- #Password ⇒ Object
- #Port ⇒ Object
- #ReadOnly ⇒ Object
- #Region ⇒ Object
- #User ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(region = nil, instanceid = nil, ip = nil, port = nil, readonly = nil, user = nil, password = nil) ⇒ DstInfo
constructor
A new instance of DstInfo.
Constructor Details
#initialize(region = nil, instanceid = nil, ip = nil, port = nil, readonly = nil, user = nil, password = nil) ⇒ DstInfo
Returns a new instance of DstInfo.
839 840 841 842 843 844 845 846 847 |
# File 'lib/v20180330/models.rb', line 839 def initialize(region=nil, instanceid=nil, ip=nil, port=nil, readonly=nil, user=nil, password=nil) @Region = region @InstanceId = instanceid @Ip = ip @Port = port @ReadOnly = readonly @User = user @Password = password end |
Instance Attribute Details
#InstanceId ⇒ Object
832 833 834 |
# File 'lib/v20180330/models.rb', line 832 def InstanceId @InstanceId end |
#Ip ⇒ Object
832 833 834 |
# File 'lib/v20180330/models.rb', line 832 def Ip @Ip end |
#Password ⇒ Object
832 833 834 |
# File 'lib/v20180330/models.rb', line 832 def Password @Password end |
#Port ⇒ Object
832 833 834 |
# File 'lib/v20180330/models.rb', line 832 def Port @Port end |
#ReadOnly ⇒ Object
832 833 834 |
# File 'lib/v20180330/models.rb', line 832 def ReadOnly @ReadOnly end |
#Region ⇒ Object
832 833 834 |
# File 'lib/v20180330/models.rb', line 832 def Region @Region end |
#User ⇒ Object
832 833 834 |
# File 'lib/v20180330/models.rb', line 832 def User @User end |
Instance Method Details
#deserialize(params) ⇒ Object
849 850 851 852 853 854 855 856 857 |
# File 'lib/v20180330/models.rb', line 849 def deserialize(params) @Region = params['Region'] @InstanceId = params['InstanceId'] @Ip = params['Ip'] @Port = params['Port'] @ReadOnly = params['ReadOnly'] @User = params['User'] @Password = params['Password'] end |