class TencentCloud::Eb::V20210416::EventBus

事件集信息

def deserialize(params)

def deserialize(params)
  @ModTime = params['ModTime']
  @Description = params['Description']
  @AddTime = params['AddTime']
  @EventBusName = params['EventBusName']
  @EventBusId = params['EventBusId']
  @Type = params['Type']
  @PayMode = params['PayMode']
  unless params['ConnectionBriefs'].nil?
    @ConnectionBriefs = []
    params['ConnectionBriefs'].each do |i|
      connectionbrief_tmp = ConnectionBrief.new
      connectionbrief_tmp.deserialize(i)
      @ConnectionBriefs << connectionbrief_tmp
    end
  end
  unless params['TargetBriefs'].nil?
    @TargetBriefs = []
    params['TargetBriefs'].each do |i|
      targetbrief_tmp = TargetBrief.new
      targetbrief_tmp.deserialize(i)
      @TargetBriefs << targetbrief_tmp
    end
  end
end

def initialize(modtime=nil, description=nil, addtime=nil, eventbusname=nil, eventbusid=nil, type=nil, paymode=nil, connectionbriefs=nil, targetbriefs=nil)

def initialize(modtime=nil, description=nil, addtime=nil, eventbusname=nil, eventbusid=nil, type=nil, paymode=nil, connectionbriefs=nil, targetbriefs=nil)
  @ModTime = modtime
  @Description = description
  @AddTime = addtime
  @EventBusName = eventbusname
  @EventBusId = eventbusid
  @Type = type
  @PayMode = paymode
  @ConnectionBriefs = connectionbriefs
  @TargetBriefs = targetbriefs
end