use of com.marketo.mktows.ResultSyncMultipleLeads in project components by Talend.
the class MarketoSOAPClientTest method getSyncMultipleLeadsResult.
public SuccessSyncMultipleLeads getSyncMultipleLeadsResult() {
SuccessSyncMultipleLeads result = new SuccessSyncMultipleLeads();
ResultSyncMultipleLeads rsml = new ResultSyncMultipleLeads();
ArrayOfSyncStatus aoss = new ArrayOfSyncStatus();
SyncStatus ss = new SyncStatus();
ss.setLeadId(12345);
ss.setStatus(LeadSyncStatus.CREATED);
ss.setError(objectFactory.createSyncStatusError(null));
aoss.getSyncStatuses().add(ss);
rsml.setSyncStatusList(aoss);
result.setResult(rsml);
return result;
}
Aggregations