Class: TencentCloud::Dts::V20211206::MigrateDBItem

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

Overview

查询迁移实例列表的实例对象

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(instanceid = nil, instancename = nil, vip = nil, vport = nil, usable = nil, hint = nil) ⇒ MigrateDBItem

Returns a new instance of MigrateDBItem.



4734
4735
4736
4737
4738
4739
4740
4741
# File 'lib/v20211206/models.rb', line 4734

def initialize(instanceid=nil, instancename=nil, vip=nil, vport=nil, usable=nil, hint=nil)
  @InstanceId = instanceid
  @InstanceName = instancename
  @Vip = vip
  @Vport = vport
  @Usable = usable
  @Hint = hint
end

Instance Attribute Details

#HintObject

Parameters:

  • InstanceId:

    实例ID

  • InstanceName:

    实例名称

  • Vip:

    实例Vip

  • Vport:

    实例Vport

  • Usable:

    是否可以作为迁移对象,1-可以,0-不可以

  • Hint:

    不可以作为迁移对象的原因



4732
4733
4734
# File 'lib/v20211206/models.rb', line 4732

def Hint
  @Hint
end

#InstanceIdObject

Parameters:

  • InstanceId:

    实例ID

  • InstanceName:

    实例名称

  • Vip:

    实例Vip

  • Vport:

    实例Vport

  • Usable:

    是否可以作为迁移对象,1-可以,0-不可以

  • Hint:

    不可以作为迁移对象的原因



4732
4733
4734
# File 'lib/v20211206/models.rb', line 4732

def InstanceId
  @InstanceId
end

#InstanceNameObject

Parameters:

  • InstanceId:

    实例ID

  • InstanceName:

    实例名称

  • Vip:

    实例Vip

  • Vport:

    实例Vport

  • Usable:

    是否可以作为迁移对象,1-可以,0-不可以

  • Hint:

    不可以作为迁移对象的原因



4732
4733
4734
# File 'lib/v20211206/models.rb', line 4732

def InstanceName
  @InstanceName
end

#UsableObject

Parameters:

  • InstanceId:

    实例ID

  • InstanceName:

    实例名称

  • Vip:

    实例Vip

  • Vport:

    实例Vport

  • Usable:

    是否可以作为迁移对象,1-可以,0-不可以

  • Hint:

    不可以作为迁移对象的原因



4732
4733
4734
# File 'lib/v20211206/models.rb', line 4732

def Usable
  @Usable
end

#VipObject

Parameters:

  • InstanceId:

    实例ID

  • InstanceName:

    实例名称

  • Vip:

    实例Vip

  • Vport:

    实例Vport

  • Usable:

    是否可以作为迁移对象,1-可以,0-不可以

  • Hint:

    不可以作为迁移对象的原因



4732
4733
4734
# File 'lib/v20211206/models.rb', line 4732

def Vip
  @Vip
end

#VportObject

Parameters:

  • InstanceId:

    实例ID

  • InstanceName:

    实例名称

  • Vip:

    实例Vip

  • Vport:

    实例Vport

  • Usable:

    是否可以作为迁移对象,1-可以,0-不可以

  • Hint:

    不可以作为迁移对象的原因



4732
4733
4734
# File 'lib/v20211206/models.rb', line 4732

def Vport
  @Vport
end

Instance Method Details

#deserialize(params) ⇒ Object



4743
4744
4745
4746
4747
4748
4749
4750
# File 'lib/v20211206/models.rb', line 4743

def deserialize(params)
  @InstanceId = params['InstanceId']
  @InstanceName = params['InstanceName']
  @Vip = params['Vip']
  @Vport = params['Vport']
  @Usable = params['Usable']
  @Hint = params['Hint']
end