class TencentCloud::Iotexplorer::V20190423::ListEventHistoryResponse
ListEventHistory返回参数结构体
def deserialize(params)
def deserialize(params) @Context = params['Context'] @Total = params['Total'] @Listover = params['Listover'] unless params['EventHistory'].nil? @EventHistory = [] params['EventHistory'].each do |i| eventhistoryitem_tmp = EventHistoryItem.new eventhistoryitem_tmp.deserialize(i) @EventHistory << eventhistoryitem_tmp end end @RequestId = params['RequestId'] end
def initialize(context=nil, total=nil, listover=nil, eventhistory=nil, requestid=nil)
def initialize(context=nil, total=nil, listover=nil, eventhistory=nil, requestid=nil) @Context = context @Total = total @Listover = listover @EventHistory = eventhistory @RequestId = requestid end