class TencentCloud::Sqlserver::V20180328::CreatePublishSubscribeRequest
CreatePublishSubscribe请求参数结构体
def deserialize(params)
def deserialize(params) @PublishInstanceId = params['PublishInstanceId'] @SubscribeInstanceId = params['SubscribeInstanceId'] unless params['DatabaseTupleSet'].nil? @DatabaseTupleSet = [] params['DatabaseTupleSet'].each do |i| databasetuple_tmp = DatabaseTuple.new databasetuple_tmp.deserialize(i) @DatabaseTupleSet << databasetuple_tmp end end @PublishSubscribeName = params['PublishSubscribeName'] end
def initialize(publishinstanceid=nil, subscribeinstanceid=nil, databasetupleset=nil, publishsubscribename=nil)
def initialize(publishinstanceid=nil, subscribeinstanceid=nil, databasetupleset=nil, publishsubscribename=nil) @PublishInstanceId = publishinstanceid @SubscribeInstanceId = subscribeinstanceid @DatabaseTupleSet = databasetupleset @PublishSubscribeName = publishsubscribename end