Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
1062 lines (1061 sloc) 71.3 KB
//Generated by wsdl2apex
public class Mktows {
public class SyncCustomObjStatus {
public String objTypeName;
public Mktows.ArrayOfAttribute customObjKeyList;
public String status;
public String error;
private String[] objTypeName_type_info = new String[]{'objTypeName','http://www.w3.org/2001/XMLSchema','string','1','1','false'};
private String[] customObjKeyList_type_info = new String[]{'customObjKeyList','http://www.marketo.com/mktows/','ArrayOfAttribute','0','1','true'};
private String[] status_type_info = new String[]{'status','http://www.marketo.com/mktows/','SyncStatusEnum','1','1','false'};
private String[] error_type_info = new String[]{'error','http://www.w3.org/2001/XMLSchema','string','0','1','true'};
private String[] apex_schema_type_info = new String[]{'http://www.marketo.com/mktows/','false','false'};
private String[] field_order_type_info = new String[]{'objTypeName','customObjKeyList','status','error'};
}
public class ParamsSyncLead {
public Mktows.LeadRecord leadRecord;
public Boolean returnLead;
public String marketoCookie;
private String[] leadRecord_type_info = new String[]{'leadRecord','http://www.marketo.com/mktows/','LeadRecord','1','1','false'};
private String[] returnLead_type_info = new String[]{'returnLead','http://www.w3.org/2001/XMLSchema','boolean','1','1','false'};
private String[] marketoCookie_type_info = new String[]{'marketoCookie','http://www.w3.org/2001/XMLSchema','string','0','1','true'};
private String[] apex_schema_type_info = new String[]{'http://www.marketo.com/mktows/','false','false'};
private String[] field_order_type_info = new String[]{'leadRecord','returnLead','marketoCookie'};
}
public class ActivityTypeFilter {
public Mktows.ArrayOfActivityType includeTypes;
public Mktows.ArrayOfActivityType excludeTypes;
private String[] includeTypes_type_info = new String[]{'includeTypes','http://www.marketo.com/mktows/','ArrayOfActivityType','0','1','false'};
private String[] excludeTypes_type_info = new String[]{'excludeTypes','http://www.marketo.com/mktows/','ArrayOfActivityType','0','1','false'};
private String[] apex_schema_type_info = new String[]{'http://www.marketo.com/mktows/','false','false'};
private String[] field_order_type_info = new String[]{'includeTypes','excludeTypes'};
}
public class SuccessListMObjects {
public Mktows.ResultListMObjects result;
private String[] result_type_info = new String[]{'result','http://www.marketo.com/mktows/','ResultListMObjects','1','1','false'};
private String[] apex_schema_type_info = new String[]{'http://www.marketo.com/mktows/','false','false'};
private String[] field_order_type_info = new String[]{'result'};
}
public class LeadKey {
public String keyType;
public String keyValue;
private String[] keyType_type_info = new String[]{'keyType','http://www.marketo.com/mktows/','LeadKeyRef','1','1','false'};
private String[] keyValue_type_info = new String[]{'keyValue','http://www.w3.org/2001/XMLSchema','string','1','1','false'};
private String[] apex_schema_type_info = new String[]{'http://www.marketo.com/mktows/','false','false'};
private String[] field_order_type_info = new String[]{'keyType','keyValue'};
}
public class ArrayOfKeyList {
public Mktows.ArrayOfAttribute[] keyList;
private String[] keyList_type_info = new String[]{'keyList','http://www.marketo.com/mktows/','ArrayOfAttribute','0','-1','false'};
private String[] apex_schema_type_info = new String[]{'http://www.marketo.com/mktows/','false','false'};
private String[] field_order_type_info = new String[]{'keyList'};
}
public class ResultMergeLeads {
public Mktows.MergeStatus mergeStatus;
private String[] mergeStatus_type_info = new String[]{'mergeStatus','http://www.marketo.com/mktows/','MergeStatus','1','1','false'};
private String[] apex_schema_type_info = new String[]{'http://www.marketo.com/mktows/','false','false'};
private String[] field_order_type_info = new String[]{'mergeStatus'};
}
public class ResultDescribeMObject {
public Mktows.MObjectMetadata metadata;
private String[] metadata_type_info = new String[]{'metadata','http://www.marketo.com/mktows/','MObjectMetadata','1','1','false'};
private String[] apex_schema_type_info = new String[]{'http://www.marketo.com/mktows/','false','false'};
private String[] field_order_type_info = new String[]{'metadata'};
}
public class SuccessSyncLead {
public Mktows.ResultSyncLead result;
private String[] result_type_info = new String[]{'result','http://www.marketo.com/mktows/','ResultSyncLead','1','1','false'};
private String[] apex_schema_type_info = new String[]{'http://www.marketo.com/mktows/','false','false'};
private String[] field_order_type_info = new String[]{'result'};
}
public class LeadChangeRecord {
public Integer id;
public DateTime activityDateTime;
public String activityType;
public String mktgAssetName;
public Mktows.ArrayOfAttribute activityAttributes;
public String campaign;
public String mktPersonId;
private String[] id_type_info = new String[]{'id','http://www.w3.org/2001/XMLSchema','int','1','1','false'};
private String[] activityDateTime_type_info = new String[]{'activityDateTime','http://www.w3.org/2001/XMLSchema','dateTime','1','1','false'};
private String[] activityType_type_info = new String[]{'activityType','http://www.w3.org/2001/XMLSchema','string','1','1','false'};
private String[] mktgAssetName_type_info = new String[]{'mktgAssetName','http://www.w3.org/2001/XMLSchema','string','0','1','true'};
private String[] activityAttributes_type_info = new String[]{'activityAttributes','http://www.marketo.com/mktows/','ArrayOfAttribute','0','1','true'};
private String[] campaign_type_info = new String[]{'campaign','http://www.w3.org/2001/XMLSchema','string','0','1','false'};
private String[] mktPersonId_type_info = new String[]{'mktPersonId','http://www.w3.org/2001/XMLSchema','string','1','1','false'};
private String[] apex_schema_type_info = new String[]{'http://www.marketo.com/mktows/','false','false'};
private String[] field_order_type_info = new String[]{'id','activityDateTime','activityType','mktgAssetName','activityAttributes','campaign','mktPersonId'};
}
public class SuccessGetLead {
public Mktows.ResultGetLead result;
private String[] result_type_info = new String[]{'result','http://www.marketo.com/mktows/','ResultGetLead','1','1','false'};
private String[] apex_schema_type_info = new String[]{'http://www.marketo.com/mktows/','false','false'};
private String[] field_order_type_info = new String[]{'result'};
}
public class ArrayOfCustomObj {
public Mktows.CustomObj[] customObj;
private String[] customObj_type_info = new String[]{'customObj','http://www.marketo.com/mktows/','CustomObj','0','-1','false'};
private String[] apex_schema_type_info = new String[]{'http://www.marketo.com/mktows/','false','false'};
private String[] field_order_type_info = new String[]{'customObj'};
}
public class ArrayOfBase64Binary {
public String[] base64Binary;
private String[] base64Binary_type_info = new String[]{'base64Binary','http://www.w3.org/2001/XMLSchema','base64Binary','0','-1','false'};
private String[] apex_schema_type_info = new String[]{'http://www.marketo.com/mktows/','false','false'};
private String[] field_order_type_info = new String[]{'base64Binary'};
}
public class ParamsGetMultipleLeads {
public DateTime lastUpdatedAt;
public String streamPosition;
public Integer batchSize;
public Mktows.ArrayOfString includeAttributes;
private String[] lastUpdatedAt_type_info = new String[]{'lastUpdatedAt','http://www.w3.org/2001/XMLSchema','dateTime','1','1','false'};
private String[] streamPosition_type_info = new String[]{'streamPosition','http://www.w3.org/2001/XMLSchema','string','0','1','true'};
private String[] batchSize_type_info = new String[]{'batchSize','http://www.w3.org/2001/XMLSchema','int','0','1','true'};
private String[] includeAttributes_type_info = new String[]{'includeAttributes','http://www.marketo.com/mktows/','ArrayOfString','0','1','false'};
private String[] apex_schema_type_info = new String[]{'http://www.marketo.com/mktows/','false','false'};
private String[] field_order_type_info = new String[]{'lastUpdatedAt','streamPosition','batchSize','includeAttributes'};
}
public class CustomObj {
public Mktows.ArrayOfAttribute customObjKeyList;
public Mktows.ArrayOfAttribute customObjAttributeList;
private String[] customObjKeyList_type_info = new String[]{'customObjKeyList','http://www.marketo.com/mktows/','ArrayOfAttribute','0','1','true'};
private String[] customObjAttributeList_type_info = new String[]{'customObjAttributeList','http://www.marketo.com/mktows/','ArrayOfAttribute','0','1','true'};
private String[] apex_schema_type_info = new String[]{'http://www.marketo.com/mktows/','false','false'};
private String[] field_order_type_info = new String[]{'customObjKeyList','customObjAttributeList'};
}
public class ResultGetCustomObjects {
public String objTypeName;
public Integer returnCount;
public Integer remainingCount;
public String newStreamPosition;
public Mktows.ArrayOfCustomObj customObjList;
private String[] objTypeName_type_info = new String[]{'objTypeName','http://www.w3.org/2001/XMLSchema','string','1','1','false'};
private String[] returnCount_type_info = new String[]{'returnCount','http://www.w3.org/2001/XMLSchema','int','1','1','false'};
private String[] remainingCount_type_info = new String[]{'remainingCount','http://www.w3.org/2001/XMLSchema','int','1','1','false'};
private String[] newStreamPosition_type_info = new String[]{'newStreamPosition','http://www.w3.org/2001/XMLSchema','string','1','1','false'};
private String[] customObjList_type_info = new String[]{'customObjList','http://www.marketo.com/mktows/','ArrayOfCustomObj','0','1','true'};
private String[] apex_schema_type_info = new String[]{'http://www.marketo.com/mktows/','false','false'};
private String[] field_order_type_info = new String[]{'objTypeName','returnCount','remainingCount','newStreamPosition','customObjList'};
}
public class ArrayOfAttribute {
public Mktows.Attribute[] attribute;
private String[] attribute_type_info = new String[]{'attribute','http://www.marketo.com/mktows/','Attribute','0','-1','false'};
private String[] apex_schema_type_info = new String[]{'http://www.marketo.com/mktows/','false','false'};
private String[] field_order_type_info = new String[]{'attribute'};
}
public class ParamsListOperation {
public String listOperation;
public Mktows.ListKey listKey;
public Mktows.ArrayOfLeadKey listMemberList;
public Boolean strict;
private String[] listOperation_type_info = new String[]{'listOperation','http://www.marketo.com/mktows/','ListOperationType','1','1','false'};
private String[] listKey_type_info = new String[]{'listKey','http://www.marketo.com/mktows/','ListKey','1','1','false'};
private String[] listMemberList_type_info = new String[]{'listMemberList','http://www.marketo.com/mktows/','ArrayOfLeadKey','1','1','false'};
private String[] strict_type_info = new String[]{'strict','http://www.w3.org/2001/XMLSchema','boolean','0','1','true'};
private String[] apex_schema_type_info = new String[]{'http://www.marketo.com/mktows/','false','false'};
private String[] field_order_type_info = new String[]{'listOperation','listKey','listMemberList','strict'};
}
public class ResultGetLeadChanges {
public Integer returnCount;
public Integer remainingCount;
public Mktows.StreamPosition newStartPosition;
public Mktows.ArrayOfLeadChangeRecord leadChangeRecordList;
private String[] returnCount_type_info = new String[]{'returnCount','http://www.w3.org/2001/XMLSchema','int','1','1','false'};
private String[] remainingCount_type_info = new String[]{'remainingCount','http://www.w3.org/2001/XMLSchema','int','1','1','false'};
private String[] newStartPosition_type_info = new String[]{'newStartPosition','http://www.marketo.com/mktows/','StreamPosition','1','1','false'};
private String[] leadChangeRecordList_type_info = new String[]{'leadChangeRecordList','http://www.marketo.com/mktows/','ArrayOfLeadChangeRecord','0','1','true'};
private String[] apex_schema_type_info = new String[]{'http://www.marketo.com/mktows/','false','false'};
private String[] field_order_type_info = new String[]{'returnCount','remainingCount','newStartPosition','leadChangeRecordList'};
}
public class MObjectMetadata {
public String name;
public String description;
public Boolean isCustom;
public Boolean isVirtual;
public Mktows.ArrayOfMObjFieldMetadata fieldList;
public DateTime updatedAt;
private String[] name_type_info = new String[]{'name','http://www.w3.org/2001/XMLSchema','string','1','1','false'};
private String[] description_type_info = new String[]{'description','http://www.w3.org/2001/XMLSchema','string','1','1','true'};
private String[] isCustom_type_info = new String[]{'isCustom','http://www.w3.org/2001/XMLSchema','boolean','1','1','false'};
private String[] isVirtual_type_info = new String[]{'isVirtual','http://www.w3.org/2001/XMLSchema','boolean','1','1','false'};
private String[] fieldList_type_info = new String[]{'fieldList','http://www.marketo.com/mktows/','ArrayOfMObjFieldMetadata','1','1','false'};
private String[] updatedAt_type_info = new String[]{'updatedAt','http://www.w3.org/2001/XMLSchema','dateTime','1','1','false'};
private String[] apex_schema_type_info = new String[]{'http://www.marketo.com/mktows/','false','false'};
private String[] field_order_type_info = new String[]{'name','description','isCustom','isVirtual','fieldList','updatedAt'};
}
public class ResultDeleteCustomObjects {
public Mktows.ArrayOfSyncCustomObjStatus deleteCustomObjStatusList;
private String[] deleteCustomObjStatusList_type_info = new String[]{'deleteCustomObjStatusList','http://www.marketo.com/mktows/','ArrayOfSyncCustomObjStatus','1','1','false'};
private String[] apex_schema_type_info = new String[]{'http://www.marketo.com/mktows/','false','false'};
private String[] field_order_type_info = new String[]{'deleteCustomObjStatusList'};
}
public class Attribute {
public String attrName;
public String attrType;
public String attrValue;
private String[] attrName_type_info = new String[]{'attrName','http://www.w3.org/2001/XMLSchema','string','1','1','false'};
private String[] attrType_type_info = new String[]{'attrType','http://www.w3.org/2001/XMLSchema','string','0','1','true'};
private String[] attrValue_type_info = new String[]{'attrValue','http://www.w3.org/2001/XMLSchema','string','1','1','false'};
private String[] apex_schema_type_info = new String[]{'http://www.marketo.com/mktows/','false','false'};
private String[] field_order_type_info = new String[]{'attrName','attrType','attrValue'};
}
public class VersionedItem {
public Integer id;
public String name;
public String type_x;
public String description;
public DateTime timestamp;
private String[] id_type_info = new String[]{'id','http://www.w3.org/2001/XMLSchema','integer','1','1','false'};
private String[] name_type_info = new String[]{'name','http://www.w3.org/2001/XMLSchema','string','1','1','false'};
private String[] type_x_type_info = new String[]{'type','http://www.w3.org/2001/XMLSchema','string','0','1','true'};
private String[] description_type_info = new String[]{'description','http://www.w3.org/2001/XMLSchema','string','0','1','true'};
private String[] timestamp_type_info = new String[]{'timestamp','http://www.w3.org/2001/XMLSchema','dateTime','1','1','false'};
private String[] apex_schema_type_info = new String[]{'http://www.marketo.com/mktows/','false','false'};
private String[] field_order_type_info = new String[]{'id','name','type_x','description','timestamp'};
}
public class SuccessSyncMultipleLeads {
public Mktows.ResultSyncMultipleLeads result;
private String[] result_type_info = new String[]{'result','http://www.marketo.com/mktows/','ResultSyncMultipleLeads','1','1','false'};
private String[] apex_schema_type_info = new String[]{'http://www.marketo.com/mktows/','false','false'};
private String[] field_order_type_info = new String[]{'result'};
}
public class AuthenticationHeaderInfo {
public String mktowsUserId;
public String requestSignature;
public String requestTimestamp;
public String audit;
public Integer mode;
private String[] mktowsUserId_type_info = new String[]{'mktowsUserId','http://www.w3.org/2001/XMLSchema','string','1','1','false'};
private String[] requestSignature_type_info = new String[]{'requestSignature','http://www.w3.org/2001/XMLSchema','string','1','1','false'};
private String[] requestTimestamp_type_info = new String[]{'requestTimestamp','http://www.w3.org/2001/XMLSchema','string','1','1','false'};
private String[] audit_type_info = new String[]{'audit','http://www.w3.org/2001/XMLSchema','string','0','1','false'};
private String[] mode_type_info = new String[]{'mode','http://www.w3.org/2001/XMLSchema','int','0','1','false'};
private String[] apex_schema_type_info = new String[]{'http://www.marketo.com/mktows/','false','false'};
private String[] field_order_type_info = new String[]{'mktowsUserId','requestSignature','requestTimestamp','audit','mode'};
}
public class ResultSyncLead {
public Integer leadId;
public Mktows.SyncStatus syncStatus;
public Mktows.LeadRecord leadRecord;
private String[] leadId_type_info = new String[]{'leadId','http://www.w3.org/2001/XMLSchema','int','1','1','false'};
private String[] syncStatus_type_info = new String[]{'syncStatus','http://www.marketo.com/mktows/','SyncStatus','1','1','false'};
private String[] leadRecord_type_info = new String[]{'leadRecord','http://www.marketo.com/mktows/','LeadRecord','0','1','true'};
private String[] apex_schema_type_info = new String[]{'http://www.marketo.com/mktows/','false','false'};
private String[] field_order_type_info = new String[]{'leadId','syncStatus','leadRecord'};
}
public class ArrayOfCampaignRecord {
public Mktows.CampaignRecord[] campaignRecord;
private String[] campaignRecord_type_info = new String[]{'campaignRecord','http://www.marketo.com/mktows/','CampaignRecord','0','-1','false'};
private String[] apex_schema_type_info = new String[]{'http://www.marketo.com/mktows/','false','false'};
private String[] field_order_type_info = new String[]{'campaignRecord'};
}
public class ArrayOfLeadChangeRecord {
public Mktows.LeadChangeRecord[] leadChangeRecord;
private String[] leadChangeRecord_type_info = new String[]{'leadChangeRecord','http://www.marketo.com/mktows/','LeadChangeRecord','0','-1','false'};
private String[] apex_schema_type_info = new String[]{'http://www.marketo.com/mktows/','false','false'};
private String[] field_order_type_info = new String[]{'leadChangeRecord'};
}
public class CampaignRecord {
public Integer id;
public String name;
public String description;
private String[] id_type_info = new String[]{'id','http://www.w3.org/2001/XMLSchema','int','1','1','false'};
private String[] name_type_info = new String[]{'name','http://www.w3.org/2001/XMLSchema','string','1','1','false'};
private String[] description_type_info = new String[]{'description','http://www.w3.org/2001/XMLSchema','string','1','1','false'};
private String[] apex_schema_type_info = new String[]{'http://www.marketo.com/mktows/','false','false'};
private String[] field_order_type_info = new String[]{'id','name','description'};
}
public class SuccessGetLeadChanges {
public Mktows.ResultGetLeadChanges result;
private String[] result_type_info = new String[]{'result','http://www.marketo.com/mktows/','ResultGetLeadChanges','1','1','false'};
private String[] apex_schema_type_info = new String[]{'http://www.marketo.com/mktows/','false','false'};
private String[] field_order_type_info = new String[]{'result'};
}
public class ArrayOfActivityRecord {
public Mktows.ActivityRecord[] activityRecord;
private String[] activityRecord_type_info = new String[]{'activityRecord','http://www.marketo.com/mktows/','ActivityRecord','0','-1','false'};
private String[] apex_schema_type_info = new String[]{'http://www.marketo.com/mktows/','false','false'};
private String[] field_order_type_info = new String[]{'activityRecord'};
}
public class ActivityRecord {
public Integer id;
public DateTime activityDateTime;
public String activityType;
public String mktgAssetName;
public Mktows.ArrayOfAttribute activityAttributes;
public String campaign;
public String personName;
public String mktPersonId;
public String foreignSysId;
public String orgName;
public String foreignSysOrgId;
private String[] id_type_info = new String[]{'id','http://www.w3.org/2001/XMLSchema','int','1','1','false'};
private String[] activityDateTime_type_info = new String[]{'activityDateTime','http://www.w3.org/2001/XMLSchema','dateTime','1','1','false'};
private String[] activityType_type_info = new String[]{'activityType','http://www.w3.org/2001/XMLSchema','string','1','1','false'};
private String[] mktgAssetName_type_info = new String[]{'mktgAssetName','http://www.w3.org/2001/XMLSchema','string','0','1','false'};
private String[] activityAttributes_type_info = new String[]{'activityAttributes','http://www.marketo.com/mktows/','ArrayOfAttribute','0','1','true'};
private String[] campaign_type_info = new String[]{'campaign','http://www.w3.org/2001/XMLSchema','string','0','1','true'};
private String[] personName_type_info = new String[]{'personName','http://www.w3.org/2001/XMLSchema','string','0','1','true'};
private String[] mktPersonId_type_info = new String[]{'mktPersonId','http://www.w3.org/2001/XMLSchema','string','1','1','false'};
private String[] foreignSysId_type_info = new String[]{'foreignSysId','http://www.w3.org/2001/XMLSchema','string','0','1','true'};
private String[] orgName_type_info = new String[]{'orgName','http://www.w3.org/2001/XMLSchema','string','0','1','true'};
private String[] foreignSysOrgId_type_info = new String[]{'foreignSysOrgId','http://www.w3.org/2001/XMLSchema','string','0','1','true'};
private String[] apex_schema_type_info = new String[]{'http://www.marketo.com/mktows/','false','false'};
private String[] field_order_type_info = new String[]{'id','activityDateTime','activityType','mktgAssetName','activityAttributes','campaign','personName','mktPersonId','foreignSysId','orgName','foreignSysOrgId'};
}
public class SuccessGetCustomObjects {
public Mktows.ResultGetCustomObjects result;
private String[] result_type_info = new String[]{'result','http://www.marketo.com/mktows/','ResultGetCustomObjects','1','1','false'};
private String[] apex_schema_type_info = new String[]{'http://www.marketo.com/mktows/','false','false'};
private String[] field_order_type_info = new String[]{'result'};
}
public class ParamsSyncCustomObjects {
public String objTypeName;
public Mktows.ArrayOfCustomObj customObjList;
public String operation;
private String[] objTypeName_type_info = new String[]{'objTypeName','http://www.w3.org/2001/XMLSchema','string','1','1','false'};
private String[] customObjList_type_info = new String[]{'customObjList','http://www.marketo.com/mktows/','ArrayOfCustomObj','1','1','false'};
private String[] operation_type_info = new String[]{'operation','http://www.marketo.com/mktows/','SyncOperationEnum','0','1','true'};
private String[] apex_schema_type_info = new String[]{'http://www.marketo.com/mktows/','false','false'};
private String[] field_order_type_info = new String[]{'objTypeName','customObjList','operation'};
}
public class MktowsContextHeaderInfo {
public String targetWorkspace;
private String[] targetWorkspace_type_info = new String[]{'targetWorkspace','http://www.w3.org/2001/XMLSchema','string','1','1','false'};
private String[] apex_schema_type_info = new String[]{'http://www.marketo.com/mktows/','false','false'};
private String[] field_order_type_info = new String[]{'targetWorkspace'};
}
public class ArrayOfString {
public String[] stringItem;
private String[] stringItem_type_info = new String[]{'stringItem','http://www.w3.org/2001/XMLSchema','string','0','-1','false'};
private String[] apex_schema_type_info = new String[]{'http://www.marketo.com/mktows/','false','false'};
private String[] field_order_type_info = new String[]{'stringItem'};
}
public class SuccessRequestCampaign {
public Mktows.ResultRequestCampaign result;
private String[] result_type_info = new String[]{'result','http://www.marketo.com/mktows/','ResultRequestCampaign','1','1','false'};
private String[] apex_schema_type_info = new String[]{'http://www.marketo.com/mktows/','false','false'};
private String[] field_order_type_info = new String[]{'result'};
}
public class ResultSyncMultipleLeads {
public Mktows.ArrayOfSyncStatus syncStatusList;
private String[] syncStatusList_type_info = new String[]{'syncStatusList','http://www.marketo.com/mktows/','ArrayOfSyncStatus','1','1','false'};
private String[] apex_schema_type_info = new String[]{'http://www.marketo.com/mktows/','false','false'};
private String[] field_order_type_info = new String[]{'syncStatusList'};
}
public class SuccessGetMultipleLeads {
public Mktows.ResultGetMultipleLeads result;
private String[] result_type_info = new String[]{'result','http://www.marketo.com/mktows/','ResultGetMultipleLeads','1','1','false'};
private String[] apex_schema_type_info = new String[]{'http://www.marketo.com/mktows/','false','false'};
private String[] field_order_type_info = new String[]{'result'};
}
public class SuccessGetCampaignsForSource {
public Mktows.ResultGetCampaignsForSource result;
private String[] result_type_info = new String[]{'result','http://www.marketo.com/mktows/','ResultGetCampaignsForSource','1','1','false'};
private String[] apex_schema_type_info = new String[]{'http://www.marketo.com/mktows/','false','false'};
private String[] field_order_type_info = new String[]{'result'};
}
public class SuccessGetLeadActivity {
public Mktows.LeadActivityList leadActivityList;
private String[] leadActivityList_type_info = new String[]{'leadActivityList','http://www.marketo.com/mktows/','LeadActivityList','1','1','false'};
private String[] apex_schema_type_info = new String[]{'http://www.marketo.com/mktows/','false','false'};
private String[] field_order_type_info = new String[]{'leadActivityList'};
}
public class ArrayOfVersionedItem {
public Mktows.VersionedItem[] versionedItem;
private String[] versionedItem_type_info = new String[]{'versionedItem','http://www.marketo.com/mktows/','VersionedItem','0','-1','false'};
private String[] apex_schema_type_info = new String[]{'http://www.marketo.com/mktows/','false','false'};
private String[] field_order_type_info = new String[]{'versionedItem'};
}
public class ResultListOperation {
public Boolean success;
public Mktows.ArrayOfLeadStatus statusList;
private String[] success_type_info = new String[]{'success','http://www.w3.org/2001/XMLSchema','boolean','1','1','false'};
private String[] statusList_type_info = new String[]{'statusList','http://www.marketo.com/mktows/','ArrayOfLeadStatus','0','1','true'};
private String[] apex_schema_type_info = new String[]{'http://www.marketo.com/mktows/','false','false'};
private String[] field_order_type_info = new String[]{'success','statusList'};
}
public class ArrayOfMObjFieldMetadata {
public Mktows.MObjFieldMetadata[] field;
private String[] field_type_info = new String[]{'field','http://www.marketo.com/mktows/','MObjFieldMetadata','0','-1','false'};
private String[] apex_schema_type_info = new String[]{'http://www.marketo.com/mktows/','false','false'};
private String[] field_order_type_info = new String[]{'field'};
}
public class ResultGetLead {
public Integer count;
public Mktows.ArrayOfLeadRecord leadRecordList;
private String[] count_type_info = new String[]{'count','http://www.w3.org/2001/XMLSchema','int','1','1','false'};
private String[] leadRecordList_type_info = new String[]{'leadRecordList','http://www.marketo.com/mktows/','ArrayOfLeadRecord','0','1','true'};
private String[] apex_schema_type_info = new String[]{'http://www.marketo.com/mktows/','false','false'};
private String[] field_order_type_info = new String[]{'count','leadRecordList'};
}
public class ParamsDeleteCustomObjects {
public String objTypeName;
public Mktows.ArrayOfKeyList customObjKeyLists;
private String[] objTypeName_type_info = new String[]{'objTypeName','http://www.w3.org/2001/XMLSchema','string','1','1','false'};
private String[] customObjKeyLists_type_info = new String[]{'customObjKeyLists','http://www.marketo.com/mktows/','ArrayOfKeyList','1','1','false'};
private String[] apex_schema_type_info = new String[]{'http://www.marketo.com/mktows/','false','false'};
private String[] field_order_type_info = new String[]{'objTypeName','customObjKeyLists'};
}
public class ParamsGetCampaignsForSource {
public String source;
public String name;
public Boolean exactName;
private String[] source_type_info = new String[]{'source','http://www.marketo.com/mktows/','ReqCampSourceType','1','1','false'};
private String[] name_type_info = new String[]{'name','http://www.w3.org/2001/XMLSchema','string','0','1','true'};
private String[] exactName_type_info = new String[]{'exactName','http://www.w3.org/2001/XMLSchema','boolean','0','1','true'};
private String[] apex_schema_type_info = new String[]{'http://www.marketo.com/mktows/','false','false'};
private String[] field_order_type_info = new String[]{'source','name','exactName'};
}
public class ArrayOfSyncCustomObjStatus {
public Mktows.SyncCustomObjStatus[] syncCustomObjStatus;
private String[] syncCustomObjStatus_type_info = new String[]{'syncCustomObjStatus','http://www.marketo.com/mktows/','SyncCustomObjStatus','0','-1','false'};
private String[] apex_schema_type_info = new String[]{'http://www.marketo.com/mktows/','false','false'};
private String[] field_order_type_info = new String[]{'syncCustomObjStatus'};
}
public class ParamsGetLeadActivity {
public Mktows.LeadKey leadKey;
public Mktows.ActivityTypeFilter activityFilter;
public Mktows.StreamPosition startPosition;
public Integer batchSize;
private String[] leadKey_type_info = new String[]{'leadKey','http://www.marketo.com/mktows/','LeadKey','1','1','false'};
private String[] activityFilter_type_info = new String[]{'activityFilter','http://www.marketo.com/mktows/','ActivityTypeFilter','0','1','true'};
private String[] startPosition_type_info = new String[]{'startPosition','http://www.marketo.com/mktows/','StreamPosition','0','1','true'};
private String[] batchSize_type_info = new String[]{'batchSize','http://www.w3.org/2001/XMLSchema','int','0','1','true'};
private String[] apex_schema_type_info = new String[]{'http://www.marketo.com/mktows/','false','false'};
private String[] field_order_type_info = new String[]{'leadKey','activityFilter','startPosition','batchSize'};
}
public class ResultSyncCustomObjects {
public Mktows.ArrayOfSyncCustomObjStatus syncCustomObjStatusList;
private String[] syncCustomObjStatusList_type_info = new String[]{'syncCustomObjStatusList','http://www.marketo.com/mktows/','ArrayOfSyncCustomObjStatus','1','1','false'};
private String[] apex_schema_type_info = new String[]{'http://www.marketo.com/mktows/','false','false'};
private String[] field_order_type_info = new String[]{'syncCustomObjStatusList'};
}
public class ParamsGetLeadChanges {
public Mktows.StreamPosition startPosition;
public Mktows.ActivityTypeFilter activityFilter;
public Integer batchSize;
private String[] startPosition_type_info = new String[]{'startPosition','http://www.marketo.com/mktows/','StreamPosition','1','1','false'};
private String[] activityFilter_type_info = new String[]{'activityFilter','http://www.marketo.com/mktows/','ActivityTypeFilter','0','1','true'};
private String[] batchSize_type_info = new String[]{'batchSize','http://www.w3.org/2001/XMLSchema','int','0','1','true'};
private String[] apex_schema_type_info = new String[]{'http://www.marketo.com/mktows/','false','false'};
private String[] field_order_type_info = new String[]{'startPosition','activityFilter','batchSize'};
}
public class ParamsDescribeMObject {
public String objectName;
private String[] objectName_type_info = new String[]{'objectName','http://www.w3.org/2001/XMLSchema','string','1','1','false'};
private String[] apex_schema_type_info = new String[]{'http://www.marketo.com/mktows/','false','false'};
private String[] field_order_type_info = new String[]{'objectName'};
}
public class SuccessDescribeMObject {
public Mktows.ResultDescribeMObject result;
private String[] result_type_info = new String[]{'result','http://www.marketo.com/mktows/','ResultDescribeMObject','1','1','false'};
private String[] apex_schema_type_info = new String[]{'http://www.marketo.com/mktows/','false','false'};
private String[] field_order_type_info = new String[]{'result'};
}
public class ParamsGetCustomObjects {
public String objTypeName;
public String streamPosition;
public Integer batchSize;
public Mktows.ArrayOfAttribute customObjKeyList;
public Mktows.ArrayOfString includeAttributes;
private String[] objTypeName_type_info = new String[]{'objTypeName','http://www.w3.org/2001/XMLSchema','string','1','1','false'};
private String[] streamPosition_type_info = new String[]{'streamPosition','http://www.w3.org/2001/XMLSchema','string','0','1','true'};
private String[] batchSize_type_info = new String[]{'batchSize','http://www.w3.org/2001/XMLSchema','int','0','1','true'};
private String[] customObjKeyList_type_info = new String[]{'customObjKeyList','http://www.marketo.com/mktows/','ArrayOfAttribute','0','1','true'};
private String[] includeAttributes_type_info = new String[]{'includeAttributes','http://www.marketo.com/mktows/','ArrayOfString','1','1','false'};
private String[] apex_schema_type_info = new String[]{'http://www.marketo.com/mktows/','false','false'};
private String[] field_order_type_info = new String[]{'objTypeName','streamPosition','batchSize','customObjKeyList','includeAttributes'};
}
public class ArrayOfActivityType {
public String[] activityType;
private String[] activityType_type_info = new String[]{'activityType','http://www.marketo.com/mktows/','ActivityType','0','-1','false'};
private String[] apex_schema_type_info = new String[]{'http://www.marketo.com/mktows/','false','false'};
private String[] field_order_type_info = new String[]{'activityType'};
}
public class ArrayOfInteger {
public Integer[] integerItem;
private String[] integerItem_type_info = new String[]{'integerItem','http://www.w3.org/2001/XMLSchema','int','0','-1','false'};
private String[] apex_schema_type_info = new String[]{'http://www.marketo.com/mktows/','false','false'};
private String[] field_order_type_info = new String[]{'integerItem'};
}
public class LeadRecord {
public Integer Id;
public String Email;
public String ForeignSysPersonId;
public String ForeignSysType;
public Mktows.ArrayOfAttribute leadAttributeList;
private String[] Id_type_info = new String[]{'Id','http://www.w3.org/2001/XMLSchema','int','0','1','true'};
private String[] Email_type_info = new String[]{'Email','http://www.w3.org/2001/XMLSchema','string','0','1','true'};
private String[] ForeignSysPersonId_type_info = new String[]{'ForeignSysPersonId','http://www.w3.org/2001/XMLSchema','string','0','1','true'};
private String[] ForeignSysType_type_info = new String[]{'ForeignSysType','http://www.marketo.com/mktows/','ForeignSysType','0','1','true'};
private String[] leadAttributeList_type_info = new String[]{'leadAttributeList','http://www.marketo.com/mktows/','ArrayOfAttribute','0','1','true'};
private String[] apex_schema_type_info = new String[]{'http://www.marketo.com/mktows/','false','false'};
private String[] field_order_type_info = new String[]{'Id','Email','ForeignSysPersonId','ForeignSysType','leadAttributeList'};
}
public class ParamsGetLead {
public Mktows.LeadKey leadKey;
private String[] leadKey_type_info = new String[]{'leadKey','http://www.marketo.com/mktows/','LeadKey','1','1','false'};
private String[] apex_schema_type_info = new String[]{'http://www.marketo.com/mktows/','false','false'};
private String[] field_order_type_info = new String[]{'leadKey'};
}
public class StreamPosition {
public DateTime latestCreatedAt;
public DateTime oldestCreatedAt;
public DateTime activityCreatedAt;
public String offset;
private String[] latestCreatedAt_type_info = new String[]{'latestCreatedAt','http://www.w3.org/2001/XMLSchema','dateTime','0','1','true'};
private String[] oldestCreatedAt_type_info = new String[]{'oldestCreatedAt','http://www.w3.org/2001/XMLSchema','dateTime','0','1','true'};
private String[] activityCreatedAt_type_info = new String[]{'activityCreatedAt','http://www.w3.org/2001/XMLSchema','dateTime','0','1','true'};
private String[] offset_type_info = new String[]{'offset','http://www.w3.org/2001/XMLSchema','string','0','1','true'};
private String[] apex_schema_type_info = new String[]{'http://www.marketo.com/mktows/','false','false'};
private String[] field_order_type_info = new String[]{'latestCreatedAt','oldestCreatedAt','activityCreatedAt','offset'};
}
public class ResultRequestCampaign {
public Boolean success;
private String[] success_type_info = new String[]{'success','http://www.w3.org/2001/XMLSchema','boolean','1','1','false'};
private String[] apex_schema_type_info = new String[]{'http://www.marketo.com/mktows/','false','false'};
private String[] field_order_type_info = new String[]{'success'};
}
public class SuccessDeleteCustomObjects {
public Mktows.ResultDeleteCustomObjects result;
private String[] result_type_info = new String[]{'result','http://www.marketo.com/mktows/','ResultDeleteCustomObjects','1','1','false'};
private String[] apex_schema_type_info = new String[]{'http://www.marketo.com/mktows/','false','false'};
private String[] field_order_type_info = new String[]{'result'};
}
public class ResultGetCampaignsForSource {
public Integer returnCount;
public Mktows.ArrayOfCampaignRecord campaignRecordList;
private String[] returnCount_type_info = new String[]{'returnCount','http://www.w3.org/2001/XMLSchema','int','1','1','false'};
private String[] campaignRecordList_type_info = new String[]{'campaignRecordList','http://www.marketo.com/mktows/','ArrayOfCampaignRecord','0','1','true'};
private String[] apex_schema_type_info = new String[]{'http://www.marketo.com/mktows/','false','false'};
private String[] field_order_type_info = new String[]{'returnCount','campaignRecordList'};
}
public class ParamsListMObjects {
private String[] apex_schema_type_info = new String[]{'http://www.marketo.com/mktows/','false','false'};
private String[] field_order_type_info = new String[]{};
}
public class ListKey {
public String keyType;
public String keyValue;
private String[] keyType_type_info = new String[]{'keyType','http://www.marketo.com/mktows/','ListKeyType','1','1','false'};
private String[] keyValue_type_info = new String[]{'keyValue','http://www.w3.org/2001/XMLSchema','string','1','1','false'};
private String[] apex_schema_type_info = new String[]{'http://www.marketo.com/mktows/','false','false'};
private String[] field_order_type_info = new String[]{'keyType','keyValue'};
}
public class SuccessMergeLeads {
public Mktows.ResultMergeLeads result;
private String[] result_type_info = new String[]{'result','http://www.marketo.com/mktows/','ResultMergeLeads','1','1','false'};
private String[] apex_schema_type_info = new String[]{'http://www.marketo.com/mktows/','false','false'};
private String[] field_order_type_info = new String[]{'result'};
}
public class MktowsApiSoapPort {
public String endpoint_x = 'http://localhost/soap/mktows';
public Map<String,String> inputHttpHeaders_x;
public Map<String,String> outputHttpHeaders_x;
public String clientCertName_x;
public String clientCert_x;
public String clientCertPasswd_x;
public Integer timeout_x;
public Mktows.AuthenticationHeaderInfo authentication;
public Mktows.MktowsContextHeaderInfo mktowsContext;
private String authentication_hns = 'AuthenticationHeader=http://www.marketo.com/mktows/';
private String mktowsContext_hns = 'MktowsContextHeader=http://www.marketo.com/mktows/';
private String[] ns_map_type_info = new String[]{'http://www.marketo.com/mktows/', 'Mktows'};
public Mktows.ResultSyncMultipleLeads syncMultipleLeads(Mktows.ArrayOfLeadRecord leadRecordList,Boolean dedupEnabled) {
Mktows.ParamsSyncMultipleLeads request_x = new Mktows.ParamsSyncMultipleLeads();
Mktows.SuccessSyncMultipleLeads response_x;
request_x.leadRecordList = leadRecordList;
request_x.dedupEnabled = dedupEnabled;
Map<String, Mktows.SuccessSyncMultipleLeads> response_map_x = new Map<String, Mktows.SuccessSyncMultipleLeads>();
response_map_x.put('response_x', response_x);
WebServiceCallout.invoke(
this,
request_x,
response_map_x,
new String[]{endpoint_x,
'http://www.marketo.com/mktows/syncMultipleLeads',
'http://www.marketo.com/mktows/',
'paramsSyncMultipleLeads',
'http://www.marketo.com/mktows/',
'successSyncMultipleLeads',
'Mktows.SuccessSyncMultipleLeads'}
);
response_x = response_map_x.get('response_x');
return response_x.result;
}
public Mktows.ResultRequestCampaign requestCampaign(String source,Integer campaignId,Mktows.ArrayOfLeadKey leadList) {
Mktows.ParamsRequestCampaign request_x = new Mktows.ParamsRequestCampaign();
Mktows.SuccessRequestCampaign response_x;
request_x.source = source;
request_x.campaignId = campaignId;
request_x.leadList = leadList;
Map<String, Mktows.SuccessRequestCampaign> response_map_x = new Map<String, Mktows.SuccessRequestCampaign>();
response_map_x.put('response_x', response_x);
WebServiceCallout.invoke(
this,
request_x,
response_map_x,
new String[]{endpoint_x,
'http://www.marketo.com/mktows/requestCampaign',
'http://www.marketo.com/mktows/',
'paramsRequestCampaign',
'http://www.marketo.com/mktows/',
'successRequestCampaign',
'Mktows.SuccessRequestCampaign'}
);
response_x = response_map_x.get('response_x');
return response_x.result;
}
public Mktows.ResultMergeLeads mergeLeads(Mktows.ArrayOfAttribute winningLeadKeyList,Mktows.ArrayOfKeyList losingLeadKeyLists) {
Mktows.ParamsMergeLeads request_x = new Mktows.ParamsMergeLeads();
Mktows.SuccessMergeLeads response_x;
request_x.winningLeadKeyList = winningLeadKeyList;
request_x.losingLeadKeyLists = losingLeadKeyLists;
Map<String, Mktows.SuccessMergeLeads> response_map_x = new Map<String, Mktows.SuccessMergeLeads>();
response_map_x.put('response_x', response_x);
WebServiceCallout.invoke(
this,
request_x,
response_map_x,
new String[]{endpoint_x,
'http://www.marketo.com/mktows/mergeLeads',
'http://www.marketo.com/mktows/',
'paramsMergeLeads',
'http://www.marketo.com/mktows/',
'successMergeLeads',
'Mktows.SuccessMergeLeads'}
);
response_x = response_map_x.get('response_x');
return response_x.result;
}
public Mktows.ResultGetLeadChanges getLeadChanges(Mktows.StreamPosition startPosition,Mktows.ActivityTypeFilter activityFilter,Integer batchSize) {
Mktows.ParamsGetLeadChanges request_x = new Mktows.ParamsGetLeadChanges();
Mktows.SuccessGetLeadChanges response_x;
request_x.startPosition = startPosition;
request_x.activityFilter = activityFilter;
request_x.batchSize = batchSize;
Map<String, Mktows.SuccessGetLeadChanges> response_map_x = new Map<String, Mktows.SuccessGetLeadChanges>();
response_map_x.put('response_x', response_x);
WebServiceCallout.invoke(
this,
request_x,
response_map_x,
new String[]{endpoint_x,
'http://www.marketo.com/mktows/getLeadChanges',
'http://www.marketo.com/mktows/',
'paramsGetLeadChanges',
'http://www.marketo.com/mktows/',
'successGetLeadChanges',
'Mktows.SuccessGetLeadChanges'}
);
response_x = response_map_x.get('response_x');
return response_x.result;
}
public Mktows.ResultSyncCustomObjects syncCustomObjects(String objTypeName,Mktows.ArrayOfCustomObj customObjList,String operation) {
Mktows.ParamsSyncCustomObjects request_x = new Mktows.ParamsSyncCustomObjects();
Mktows.SuccessSyncCustomObjects response_x;
request_x.objTypeName = objTypeName;
request_x.customObjList = customObjList;
request_x.operation = operation;
Map<String, Mktows.SuccessSyncCustomObjects> response_map_x = new Map<String, Mktows.SuccessSyncCustomObjects>();
response_map_x.put('response_x', response_x);
WebServiceCallout.invoke(
this,
request_x,
response_map_x,
new String[]{endpoint_x,
'http://www.marketo.com/mktows/syncCustomObjects',
'http://www.marketo.com/mktows/',
'paramsSyncCustomObjects',
'http://www.marketo.com/mktows/',
'successSyncCustomObjects',
'Mktows.SuccessSyncCustomObjects'}
);
response_x = response_map_x.get('response_x');
return response_x.result;
}
public Mktows.ResultSyncLead syncLead(Mktows.LeadRecord leadRecord,Boolean returnLead,String marketoCookie) {
Mktows.ParamsSyncLead request_x = new Mktows.ParamsSyncLead();
Mktows.SuccessSyncLead response_x;
request_x.leadRecord = leadRecord;
request_x.returnLead = returnLead;
request_x.marketoCookie = marketoCookie;
Map<String, Mktows.SuccessSyncLead> response_map_x = new Map<String, Mktows.SuccessSyncLead>();
response_map_x.put('response_x', response_x);
WebServiceCallout.invoke(
this,
request_x,
response_map_x,
new String[]{endpoint_x,
'http://www.marketo.com/mktows/syncLead',
'http://www.marketo.com/mktows/',
'paramsSyncLead',
'http://www.marketo.com/mktows/',
'successSyncLead',
'Mktows.SuccessSyncLead'}
);
response_x = response_map_x.get('response_x');
return response_x.result;
}
public Mktows.ResultGetCampaignsForSource getCampaignsForSource(String source,String name,Boolean exactName) {
Mktows.ParamsGetCampaignsForSource request_x = new Mktows.ParamsGetCampaignsForSource();
Mktows.SuccessGetCampaignsForSource response_x;
request_x.source = source;
request_x.name = name;
request_x.exactName = exactName;
Map<String, Mktows.SuccessGetCampaignsForSource> response_map_x = new Map<String, Mktows.SuccessGetCampaignsForSource>();
response_map_x.put('response_x', response_x);
WebServiceCallout.invoke(
this,
request_x,
response_map_x,
new String[]{endpoint_x,
'http://www.marketo.com/mktows/getCampaignsForSource',
'http://www.marketo.com/mktows/',
'paramsGetCampaignsForSource',
'http://www.marketo.com/mktows/',
'successGetCampaignsForSource',
'Mktows.SuccessGetCampaignsForSource'}
);
response_x = response_map_x.get('response_x');
return response_x.result;
}
public Mktows.LeadActivityList getLeadActivity(Mktows.LeadKey leadKey,Mktows.ActivityTypeFilter activityFilter,Mktows.StreamPosition startPosition,Integer batchSize) {
Mktows.ParamsGetLeadActivity request_x = new Mktows.ParamsGetLeadActivity();
Mktows.SuccessGetLeadActivity response_x;
request_x.leadKey = leadKey;
request_x.activityFilter = activityFilter;
request_x.startPosition = startPosition;
request_x.batchSize = batchSize;
Map<String, Mktows.SuccessGetLeadActivity> response_map_x = new Map<String, Mktows.SuccessGetLeadActivity>();
response_map_x.put('response_x', response_x);
WebServiceCallout.invoke(
this,
request_x,
response_map_x,
new String[]{endpoint_x,
'http://www.marketo.com/mktows/getLeadActivity',
'http://www.marketo.com/mktows/',
'paramsGetLeadActivity',
'http://www.marketo.com/mktows/',
'successGetLeadActivity',
'Mktows.SuccessGetLeadActivity'}
);
response_x = response_map_x.get('response_x');
return response_x.leadActivityList;
}
public Mktows.ResultListOperation listOperation(String listOperation,Mktows.ListKey listKey,Mktows.ArrayOfLeadKey listMemberList,Boolean strict) {
Mktows.ParamsListOperation request_x = new Mktows.ParamsListOperation();
Mktows.SuccessListOperation response_x;
request_x.listOperation = listOperation;
request_x.listKey = listKey;
request_x.listMemberList = listMemberList;
request_x.strict = strict;
Map<String, Mktows.SuccessListOperation> response_map_x = new Map<String, Mktows.SuccessListOperation>();
response_map_x.put('response_x', response_x);
WebServiceCallout.invoke(
this,
request_x,
response_map_x,
new String[]{endpoint_x,
'http://www.marketo.com/mktows/listOperation',
'http://www.marketo.com/mktows/',
'paramsListOperation',
'http://www.marketo.com/mktows/',
'successListOperation',
'Mktows.SuccessListOperation'}
);
response_x = response_map_x.get('response_x');
return response_x.result;
}
public Mktows.ResultDescribeMObject describeMObject(String objectName) {
Mktows.ParamsDescribeMObject request_x = new Mktows.ParamsDescribeMObject();
Mktows.SuccessDescribeMObject response_x;
request_x.objectName = objectName;
Map<String, Mktows.SuccessDescribeMObject> response_map_x = new Map<String, Mktows.SuccessDescribeMObject>();
response_map_x.put('response_x', response_x);
WebServiceCallout.invoke(
this,
request_x,
response_map_x,
new String[]{endpoint_x,
'http://www.marketo.com/mktows/describeMObject',
'http://www.marketo.com/mktows/',
'paramsDescribeMObject',
'http://www.marketo.com/mktows/',
'successDescribeMObject',
'Mktows.SuccessDescribeMObject'}
);
response_x = response_map_x.get('response_x');
return response_x.result;
}
public Mktows.ResultGetMultipleLeads getMultipleLeads(DateTime lastUpdatedAt,String streamPosition,Integer batchSize,Mktows.ArrayOfString includeAttributes) {
Mktows.ParamsGetMultipleLeads request_x = new Mktows.ParamsGetMultipleLeads();
Mktows.SuccessGetMultipleLeads response_x;
request_x.lastUpdatedAt = lastUpdatedAt;
request_x.streamPosition = streamPosition;
request_x.batchSize = batchSize;
request_x.includeAttributes = includeAttributes;
Map<String, Mktows.SuccessGetMultipleLeads> response_map_x = new Map<String, Mktows.SuccessGetMultipleLeads>();
response_map_x.put('response_x', response_x);
WebServiceCallout.invoke(
this,
request_x,
response_map_x,
new String[]{endpoint_x,
'http://www.marketo.com/mktows/getMultipleLeads',
'http://www.marketo.com/mktows/',
'paramsGetMultipleLeads',
'http://www.marketo.com/mktows/',
'successGetMultipleLeads',
'Mktows.SuccessGetMultipleLeads'}
);
response_x = response_map_x.get('response_x');
return response_x.result;
}
public Mktows.ResultGetLead getLead(Mktows.LeadKey leadKey) {
Mktows.ParamsGetLead request_x = new Mktows.ParamsGetLead();
Mktows.SuccessGetLead response_x;
request_x.leadKey = leadKey;
Map<String, Mktows.SuccessGetLead> response_map_x = new Map<String, Mktows.SuccessGetLead>();
response_map_x.put('response_x', response_x);
WebServiceCallout.invoke(
this,
request_x,
response_map_x,
new String[]{endpoint_x,
'http://www.marketo.com/mktows/getLead',
'http://www.marketo.com/mktows/',
'paramsGetLead',
'http://www.marketo.com/mktows/',
'successGetLead',
'Mktows.SuccessGetLead'}
);
response_x = response_map_x.get('response_x');
return response_x.result;
}
public Mktows.ResultGetCustomObjects getCustomObjects(String objTypeName,String streamPosition,Integer batchSize,Mktows.ArrayOfAttribute customObjKeyList,Mktows.ArrayOfString includeAttributes) {
Mktows.ParamsGetCustomObjects request_x = new Mktows.ParamsGetCustomObjects();
Mktows.SuccessGetCustomObjects response_x;
request_x.objTypeName = objTypeName;
request_x.streamPosition = streamPosition;
request_x.batchSize = batchSize;
request_x.customObjKeyList = customObjKeyList;
request_x.includeAttributes = includeAttributes;
Map<String, Mktows.SuccessGetCustomObjects> response_map_x = new Map<String, Mktows.SuccessGetCustomObjects>();
response_map_x.put('response_x', response_x);
WebServiceCallout.invoke(
this,
request_x,
response_map_x,
new String[]{endpoint_x,
'http://www.marketo.com/mktows/getCustomObjects',
'http://www.marketo.com/mktows/',
'paramsGetCustomObjects',
'http://www.marketo.com/mktows/',
'successGetCustomObjects',
'Mktows.SuccessGetCustomObjects'}
);
response_x = response_map_x.get('response_x');
return response_x.result;
}
public Mktows.ResultListMObjects listMObjects() {
Mktows.ParamsListMObjects request_x = new Mktows.ParamsListMObjects();
Mktows.SuccessListMObjects response_x;
Map<String, Mktows.SuccessListMObjects> response_map_x = new Map<String, Mktows.SuccessListMObjects>();
response_map_x.put('response_x', response_x);
WebServiceCallout.invoke(
this,
request_x,
response_map_x,
new String[]{endpoint_x,
'http://www.marketo.com/mktows/listMObjects',
'http://www.marketo.com/mktows/',
'paramsListMObjects',
'http://www.marketo.com/mktows/',
'successListMObjects',
'Mktows.SuccessListMObjects'}
);
response_x = response_map_x.get('response_x');
return response_x.result;
}
public Mktows.ResultDeleteCustomObjects deleteCustomObjects(String objTypeName,Mktows.ArrayOfKeyList customObjKeyLists) {
Mktows.ParamsDeleteCustomObjects request_x = new Mktows.ParamsDeleteCustomObjects();
Mktows.SuccessDeleteCustomObjects response_x;
request_x.objTypeName = objTypeName;
request_x.customObjKeyLists = customObjKeyLists;
Map<String, Mktows.SuccessDeleteCustomObjects> response_map_x = new Map<String, Mktows.SuccessDeleteCustomObjects>();
response_map_x.put('response_x', response_x);
WebServiceCallout.invoke(
this,
request_x,
response_map_x,
new String[]{endpoint_x,
'http://www.marketo.com/mktows/deleteCustomObjects',
'http://www.marketo.com/mktows/',
'paramsDeleteCustomObjects',
'http://www.marketo.com/mktows/',
'successDeleteCustomObjects',
'Mktows.SuccessDeleteCustomObjects'}
);
response_x = response_map_x.get('response_x');
return response_x.result;
}
}
public class SyncStatus {
public Integer leadId;
public String status;
public String error;
private String[] leadId_type_info = new String[]{'leadId','http://www.w3.org/2001/XMLSchema','int','1','1','false'};
private String[] status_type_info = new String[]{'status','http://www.marketo.com/mktows/','LeadSyncStatus','1','1','false'};
private String[] error_type_info = new String[]{'error','http://www.w3.org/2001/XMLSchema','string','0','1','true'};
private String[] apex_schema_type_info = new String[]{'http://www.marketo.com/mktows/','false','false'};
private String[] field_order_type_info = new String[]{'leadId','status','error'};
}
public class ArrayOfLeadRecord {
public Mktows.LeadRecord[] leadRecord;
private String[] leadRecord_type_info = new String[]{'leadRecord','http://www.marketo.com/mktows/','LeadRecord','0','-1','false'};
private String[] apex_schema_type_info = new String[]{'http://www.marketo.com/mktows/','false','false'};
private String[] field_order_type_info = new String[]{'leadRecord'};
}
public class MObjFieldMetadata {
public String name;
public String description;
public String displayName;
public String sourceObject;
public String dataType;
public Integer size;
public Boolean isReadonly;
public Boolean isUpdateBlocked;
public Boolean isName;
public Boolean isPrimaryKey;
public Boolean isCustom;
public Boolean isDynamic;
public String dynamicFieldRef;
public DateTime updatedAt;
private String[] name_type_info = new String[]{'name','http://www.w3.org/2001/XMLSchema','string','1','1','false'};
private String[] description_type_info = new String[]{'description','http://www.w3.org/2001/XMLSchema','string','1','1','true'};
private String[] displayName_type_info = new String[]{'displayName','http://www.w3.org/2001/XMLSchema','string','1','1','true'};
private String[] sourceObject_type_info = new String[]{'sourceObject','http://www.w3.org/2001/XMLSchema','string','1','1','true'};
private String[] dataType_type_info = new String[]{'dataType','http://www.w3.org/2001/XMLSchema','string','1','1','false'};
private String[] size_type_info = new String[]{'size','http://www.w3.org/2001/XMLSchema','int','1','1','true'};
private String[] isReadonly_type_info = new String[]{'isReadonly','http://www.w3.org/2001/XMLSchema','boolean','1','1','false'};
private String[] isUpdateBlocked_type_info = new String[]{'isUpdateBlocked','http://www.w3.org/2001/XMLSchema','boolean','1','1','false'};
private String[] isName_type_info = new String[]{'isName','http://www.w3.org/2001/XMLSchema','boolean','1','1','true'};
private String[] isPrimaryKey_type_info = new String[]{'isPrimaryKey','http://www.w3.org/2001/XMLSchema','boolean','1','1','false'};
private String[] isCustom_type_info = new String[]{'isCustom','http://www.w3.org/2001/XMLSchema','boolean','1','1','false'};
private String[] isDynamic_type_info = new String[]{'isDynamic','http://www.w3.org/2001/XMLSchema','boolean','1','1','false'};
private String[] dynamicFieldRef_type_info = new String[]{'dynamicFieldRef','http://www.w3.org/2001/XMLSchema','string','1','1','true'};
private String[] updatedAt_type_info = new String[]{'updatedAt','http://www.w3.org/2001/XMLSchema','dateTime','1','1','false'};
private String[] apex_schema_type_info = new String[]{'http://www.marketo.com/mktows/','false','false'};
private String[] field_order_type_info = new String[]{'name','description','displayName','sourceObject','dataType','size','isReadonly','isUpdateBlocked','isName','isPrimaryKey','isCustom','isDynamic','dynamicFieldRef','updatedAt'};
}
public class MergeStatus {
public Integer winningLeadId;
public Mktows.ArrayOfInteger losingLeadIdList;
public String status;
public String error;
private String[] winningLeadId_type_info = new String[]{'winningLeadId','http://www.w3.org/2001/XMLSchema','int','0','1','true'};
private String[] losingLeadIdList_type_info = new String[]{'losingLeadIdList','http://www.marketo.com/mktows/','ArrayOfInteger','0','1','true'};
private String[] status_type_info = new String[]{'status','http://www.marketo.com/mktows/','LeadMergeStatusEnum','1','1','false'};
private String[] error_type_info = new String[]{'error','http://www.w3.org/2001/XMLSchema','string','0','1','true'};
private String[] apex_schema_type_info = new String[]{'http://www.marketo.com/mktows/','false','false'};
private String[] field_order_type_info = new String[]{'winningLeadId','losingLeadIdList','status','error'};
}
public class LeadStatus {
public Mktows.LeadKey leadKey;
public Boolean status;
private String[] leadKey_type_info = new String[]{'leadKey','http://www.marketo.com/mktows/','LeadKey','1','1','false'};
private String[] status_type_info = new String[]{'status','http://www.w3.org/2001/XMLSchema','boolean','1','1','false'};
private String[] apex_schema_type_info = new String[]{'http://www.marketo.com/mktows/','false','false'};
private String[] field_order_type_info = new String[]{'leadKey','status'};
}
public class ResultListMObjects {
public String[] objects;
private String[] objects_type_info = new String[]{'objects','http://www.w3.org/2001/XMLSchema','string','0','-1','false'};
private String[] apex_schema_type_info = new String[]{'http://www.marketo.com/mktows/','false','false'};
private String[] field_order_type_info = new String[]{'objects'};
}
public class ParamsRequestCampaign {
public String source;
public Integer campaignId;
public Mktows.ArrayOfLeadKey leadList;
private String[] source_type_info = new String[]{'source','http://www.marketo.com/mktows/','ReqCampSourceType','1','1','false'};
private String[] campaignId_type_info = new String[]{'campaignId','http://www.w3.org/2001/XMLSchema','int','1','1','false'};
private String[] leadList_type_info = new String[]{'leadList','http://www.marketo.com/mktows/','ArrayOfLeadKey','1','1','false'};
private String[] apex_schema_type_info = new String[]{'http://www.marketo.com/mktows/','false','false'};
private String[] field_order_type_info = new String[]{'source','campaignId','leadList'};
}
public class ParamsMergeLeads {
public Mktows.ArrayOfAttribute winningLeadKeyList;
public Mktows.ArrayOfKeyList losingLeadKeyLists;
private String[] winningLeadKeyList_type_info = new String[]{'winningLeadKeyList','http://www.marketo.com/mktows/','ArrayOfAttribute','1','1','false'};
private String[] losingLeadKeyLists_type_info = new String[]{'losingLeadKeyLists','http://www.marketo.com/mktows/','ArrayOfKeyList','1','1','false'};
private String[] apex_schema_type_info = new String[]{'http://www.marketo.com/mktows/','false','false'};
private String[] field_order_type_info = new String[]{'winningLeadKeyList','losingLeadKeyLists'};
}
public class LeadActivityList {
public Integer returnCount;
public Integer remainingCount;
public Mktows.StreamPosition newStartPosition;
public Mktows.ArrayOfActivityRecord activityRecordList;
private String[] returnCount_type_info = new String[]{'returnCount','http://www.w3.org/2001/XMLSchema','int','1','1','false'};
private String[] remainingCount_type_info = new String[]{'remainingCount','http://www.w3.org/2001/XMLSchema','int','1','1','false'};
private String[] newStartPosition_type_info = new String[]{'newStartPosition','http://www.marketo.com/mktows/','StreamPosition','1','1','false'};
private String[] activityRecordList_type_info = new String[]{'activityRecordList','http://www.marketo.com/mktows/','ArrayOfActivityRecord','0','1','true'};
private String[] apex_schema_type_info = new String[]{'http://www.marketo.com/mktows/','false','false'};
private String[] field_order_type_info = new String[]{'returnCount','remainingCount','newStartPosition','activityRecordList'};
}
public class ResultGetMultipleLeads {
public Integer returnCount;
public Integer remainingCount;
public String newStreamPosition;
public Mktows.ArrayOfLeadRecord leadRecordList;
private String[] returnCount_type_info = new String[]{'returnCount','http://www.w3.org/2001/XMLSchema','int','1','1','false'};
private String[] remainingCount_type_info = new String[]{'remainingCount','http://www.w3.org/2001/XMLSchema','int','1','1','false'};
private String[] newStreamPosition_type_info = new String[]{'newStreamPosition','http://www.w3.org/2001/XMLSchema','string','1','1','false'};
private String[] leadRecordList_type_info = new String[]{'leadRecordList','http://www.marketo.com/mktows/','ArrayOfLeadRecord','0','1','true'};
private String[] apex_schema_type_info = new String[]{'http://www.marketo.com/mktows/','false','false'};
private String[] field_order_type_info = new String[]{'returnCount','remainingCount','newStreamPosition','leadRecordList'};
}
public class ArrayOfSyncStatus {
public Mktows.SyncStatus[] syncStatus;
private String[] syncStatus_type_info = new String[]{'syncStatus','http://www.marketo.com/mktows/','SyncStatus','0','-1','false'};
private String[] apex_schema_type_info = new String[]{'http://www.marketo.com/mktows/','false','false'};
private String[] field_order_type_info = new String[]{'syncStatus'};
}
public class SuccessSyncCustomObjects {
public Mktows.ResultSyncCustomObjects result;
private String[] result_type_info = new String[]{'result','http://www.marketo.com/mktows/','ResultSyncCustomObjects','1','1','false'};
private String[] apex_schema_type_info = new String[]{'http://www.marketo.com/mktows/','false','false'};
private String[] field_order_type_info = new String[]{'result'};
}
public class ParamsSyncMultipleLeads {
public Mktows.ArrayOfLeadRecord leadRecordList;
public Boolean dedupEnabled;
private String[] leadRecordList_type_info = new String[]{'leadRecordList','http://www.marketo.com/mktows/','ArrayOfLeadRecord','1','1','false'};
private String[] dedupEnabled_type_info = new String[]{'dedupEnabled','http://www.w3.org/2001/XMLSchema','boolean','0','1','true'};
private String[] apex_schema_type_info = new String[]{'http://www.marketo.com/mktows/','false','false'};
private String[] field_order_type_info = new String[]{'leadRecordList','dedupEnabled'};
}
public class ArrayOfLeadStatus {
public Mktows.LeadStatus[] leadStatus;
private String[] leadStatus_type_info = new String[]{'leadStatus','http://www.marketo.com/mktows/','LeadStatus','0','-1','false'};
private String[] apex_schema_type_info = new String[]{'http://www.marketo.com/mktows/','false','false'};
private String[] field_order_type_info = new String[]{'leadStatus'};
}
public class ArrayOfLeadKey {
public Mktows.LeadKey[] leadKey;
private String[] leadKey_type_info = new String[]{'leadKey','http://www.marketo.com/mktows/','LeadKey','0','-1','false'};
private String[] apex_schema_type_info = new String[]{'http://www.marketo.com/mktows/','false','false'};
private String[] field_order_type_info = new String[]{'leadKey'};
}
public class SuccessListOperation {
public Mktows.ResultListOperation result;
private String[] result_type_info = new String[]{'result','http://www.marketo.com/mktows/','ResultListOperation','1','1','false'};
private String[] apex_schema_type_info = new String[]{'http://www.marketo.com/mktows/','false','false'};
private String[] field_order_type_info = new String[]{'result'};
}
}