Class: TencentCloud::Cdb::V20170320::SlaveConfig

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

Overview

从库的配置信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(replicationmode = nil, zone = nil) ⇒ SlaveConfig



13447
13448
13449
13450
# File 'lib/v20170320/models.rb', line 13447

def initialize(replicationmode=nil, zone=nil)
  @ReplicationMode = replicationmode
  @Zone = zone
end

Instance Attribute Details

#ReplicationModeObject



13445
13446
13447
# File 'lib/v20170320/models.rb', line 13445

def ReplicationMode
  @ReplicationMode
end

#ZoneObject



13445
13446
13447
# File 'lib/v20170320/models.rb', line 13445

def Zone
  @Zone
end

Instance Method Details

#deserialize(params) ⇒ Object



13452
13453
13454
13455
# File 'lib/v20170320/models.rb', line 13452

def deserialize(params)
  @ReplicationMode = params['ReplicationMode']
  @Zone = params['Zone']
end