class TencentCloud::Sqlserver::V20180328::PublishSubscribe

发布订阅对象

def deserialize(params)

def deserialize(params)
  @Id = params['Id']
  @Name = params['Name']
  @PublishInstanceId = params['PublishInstanceId']
  @PublishInstanceName = params['PublishInstanceName']
  @PublishInstanceIp = params['PublishInstanceIp']
  @SubscribeInstanceId = params['SubscribeInstanceId']
  @SubscribeInstanceName = params['SubscribeInstanceName']
  @SubscribeInstanceIp = params['SubscribeInstanceIp']
  unless params['DatabaseTupleSet'].nil?
    @DatabaseTupleSet = []
    params['DatabaseTupleSet'].each do |i|
      databasetuplestatus_tmp = DatabaseTupleStatus.new
      databasetuplestatus_tmp.deserialize(i)
      @DatabaseTupleSet << databasetuplestatus_tmp
    end
  end
end

def initialize(id=nil, name=nil, publishinstanceid=nil, publishinstancename=nil, publishinstanceip=nil, subscribeinstanceid=nil, subscribeinstancename=nil, subscribeinstanceip=nil, databasetupleset=nil)

def initialize(id=nil, name=nil, publishinstanceid=nil, publishinstancename=nil, publishinstanceip=nil, subscribeinstanceid=nil, subscribeinstancename=nil, subscribeinstanceip=nil, databasetupleset=nil)
  @Id = id
  @Name = name
  @PublishInstanceId = publishinstanceid
  @PublishInstanceName = publishinstancename
  @PublishInstanceIp = publishinstanceip
  @SubscribeInstanceId = subscribeinstanceid
  @SubscribeInstanceName = subscribeinstancename
  @SubscribeInstanceIp = subscribeinstanceip
  @DatabaseTupleSet = databasetupleset
end