com.sforce.soap.metadata.PardotSettings Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of force-metadata-api Show documentation
Show all versions of force-metadata-api Show documentation
Force.com Web Service Connector
package com.sforce.soap.metadata;
/**
* This is a generated class for the SObject Enterprise API.
* Do not edit this file, as your changes will be lost.
*/
public class PardotSettings extends com.sforce.soap.metadata.Metadata {
/**
* Constructor
*/
public PardotSettings() {}
/* Cache the typeInfo instead of declaring static fields throughout*/
private transient java.util.Map typeInfoCache = new java.util.HashMap();
private com.sforce.ws.bind.TypeInfo _lookupTypeInfo(String fieldName, String namespace, String name, String typeNS, String type, int minOcc, int maxOcc, boolean elementForm) {
com.sforce.ws.bind.TypeInfo typeInfo = typeInfoCache.get(fieldName);
if (typeInfo == null) {
typeInfo = new com.sforce.ws.bind.TypeInfo(namespace, name, typeNS, type, minOcc, maxOcc, elementForm);
typeInfoCache.put(fieldName, typeInfo);
}
return typeInfo;
}
/**
* element : enableAIEinsteinEngageFreq of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean enableAIEinsteinEngageFreq__is_set = false;
private boolean enableAIEinsteinEngageFreq;
public boolean getEnableAIEinsteinEngageFreq() {
return enableAIEinsteinEngageFreq;
}
public boolean isEnableAIEinsteinEngageFreq() {
return enableAIEinsteinEngageFreq;
}
public void setEnableAIEinsteinEngageFreq(boolean enableAIEinsteinEngageFreq) {
this.enableAIEinsteinEngageFreq = enableAIEinsteinEngageFreq;
enableAIEinsteinEngageFreq__is_set = true;
}
protected void setEnableAIEinsteinEngageFreq(com.sforce.ws.parser.XmlInputStream __in,
com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
__in.peekTag();
if (__typeMapper.isElement(__in, _lookupTypeInfo("enableAIEinsteinEngageFreq", "http://soap.sforce.com/2006/04/metadata","enableAIEinsteinEngageFreq","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
setEnableAIEinsteinEngageFreq(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableAIEinsteinEngageFreq", "http://soap.sforce.com/2006/04/metadata","enableAIEinsteinEngageFreq","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
}
}
private void writeFieldEnableAIEinsteinEngageFreq(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("enableAIEinsteinEngageFreq", "http://soap.sforce.com/2006/04/metadata","enableAIEinsteinEngageFreq","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableAIEinsteinEngageFreq, enableAIEinsteinEngageFreq__is_set);
}
/**
* element : enableAIOptimizedSendTime of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean enableAIOptimizedSendTime__is_set = false;
private boolean enableAIOptimizedSendTime;
public boolean getEnableAIOptimizedSendTime() {
return enableAIOptimizedSendTime;
}
public boolean isEnableAIOptimizedSendTime() {
return enableAIOptimizedSendTime;
}
public void setEnableAIOptimizedSendTime(boolean enableAIOptimizedSendTime) {
this.enableAIOptimizedSendTime = enableAIOptimizedSendTime;
enableAIOptimizedSendTime__is_set = true;
}
protected void setEnableAIOptimizedSendTime(com.sforce.ws.parser.XmlInputStream __in,
com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
__in.peekTag();
if (__typeMapper.isElement(__in, _lookupTypeInfo("enableAIOptimizedSendTime", "http://soap.sforce.com/2006/04/metadata","enableAIOptimizedSendTime","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
setEnableAIOptimizedSendTime(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableAIOptimizedSendTime", "http://soap.sforce.com/2006/04/metadata","enableAIOptimizedSendTime","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
}
}
private void writeFieldEnableAIOptimizedSendTime(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("enableAIOptimizedSendTime", "http://soap.sforce.com/2006/04/metadata","enableAIOptimizedSendTime","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableAIOptimizedSendTime, enableAIOptimizedSendTime__is_set);
}
/**
* element : enableB2bmaAppEnabled of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean enableB2bmaAppEnabled__is_set = false;
private boolean enableB2bmaAppEnabled;
public boolean getEnableB2bmaAppEnabled() {
return enableB2bmaAppEnabled;
}
public boolean isEnableB2bmaAppEnabled() {
return enableB2bmaAppEnabled;
}
public void setEnableB2bmaAppEnabled(boolean enableB2bmaAppEnabled) {
this.enableB2bmaAppEnabled = enableB2bmaAppEnabled;
enableB2bmaAppEnabled__is_set = true;
}
protected void setEnableB2bmaAppEnabled(com.sforce.ws.parser.XmlInputStream __in,
com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
__in.peekTag();
if (__typeMapper.isElement(__in, _lookupTypeInfo("enableB2bmaAppEnabled", "http://soap.sforce.com/2006/04/metadata","enableB2bmaAppEnabled","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
setEnableB2bmaAppEnabled(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableB2bmaAppEnabled", "http://soap.sforce.com/2006/04/metadata","enableB2bmaAppEnabled","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
}
}
private void writeFieldEnableB2bmaAppEnabled(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("enableB2bmaAppEnabled", "http://soap.sforce.com/2006/04/metadata","enableB2bmaAppEnabled","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableB2bmaAppEnabled, enableB2bmaAppEnabled__is_set);
}
/**
* element : enableEngagementHistoryDashboards of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean enableEngagementHistoryDashboards__is_set = false;
private boolean enableEngagementHistoryDashboards;
public boolean getEnableEngagementHistoryDashboards() {
return enableEngagementHistoryDashboards;
}
public boolean isEnableEngagementHistoryDashboards() {
return enableEngagementHistoryDashboards;
}
public void setEnableEngagementHistoryDashboards(boolean enableEngagementHistoryDashboards) {
this.enableEngagementHistoryDashboards = enableEngagementHistoryDashboards;
enableEngagementHistoryDashboards__is_set = true;
}
protected void setEnableEngagementHistoryDashboards(com.sforce.ws.parser.XmlInputStream __in,
com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
__in.peekTag();
if (__typeMapper.isElement(__in, _lookupTypeInfo("enableEngagementHistoryDashboards", "http://soap.sforce.com/2006/04/metadata","enableEngagementHistoryDashboards","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
setEnableEngagementHistoryDashboards(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableEngagementHistoryDashboards", "http://soap.sforce.com/2006/04/metadata","enableEngagementHistoryDashboards","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
}
}
private void writeFieldEnableEngagementHistoryDashboards(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("enableEngagementHistoryDashboards", "http://soap.sforce.com/2006/04/metadata","enableEngagementHistoryDashboards","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableEngagementHistoryDashboards, enableEngagementHistoryDashboards__is_set);
}
/**
* element : enableEnhancedProspectCustomFieldsSync of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean enableEnhancedProspectCustomFieldsSync__is_set = false;
private boolean enableEnhancedProspectCustomFieldsSync;
public boolean getEnableEnhancedProspectCustomFieldsSync() {
return enableEnhancedProspectCustomFieldsSync;
}
public boolean isEnableEnhancedProspectCustomFieldsSync() {
return enableEnhancedProspectCustomFieldsSync;
}
public void setEnableEnhancedProspectCustomFieldsSync(boolean enableEnhancedProspectCustomFieldsSync) {
this.enableEnhancedProspectCustomFieldsSync = enableEnhancedProspectCustomFieldsSync;
enableEnhancedProspectCustomFieldsSync__is_set = true;
}
protected void setEnableEnhancedProspectCustomFieldsSync(com.sforce.ws.parser.XmlInputStream __in,
com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
__in.peekTag();
if (__typeMapper.isElement(__in, _lookupTypeInfo("enableEnhancedProspectCustomFieldsSync", "http://soap.sforce.com/2006/04/metadata","enableEnhancedProspectCustomFieldsSync","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
setEnableEnhancedProspectCustomFieldsSync(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableEnhancedProspectCustomFieldsSync", "http://soap.sforce.com/2006/04/metadata","enableEnhancedProspectCustomFieldsSync","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
}
}
private void writeFieldEnableEnhancedProspectCustomFieldsSync(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("enableEnhancedProspectCustomFieldsSync", "http://soap.sforce.com/2006/04/metadata","enableEnhancedProspectCustomFieldsSync","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableEnhancedProspectCustomFieldsSync, enableEnhancedProspectCustomFieldsSync__is_set);
}
/**
* element : enablePardotAppV1Enabled of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean enablePardotAppV1Enabled__is_set = false;
private boolean enablePardotAppV1Enabled;
public boolean getEnablePardotAppV1Enabled() {
return enablePardotAppV1Enabled;
}
public boolean isEnablePardotAppV1Enabled() {
return enablePardotAppV1Enabled;
}
public void setEnablePardotAppV1Enabled(boolean enablePardotAppV1Enabled) {
this.enablePardotAppV1Enabled = enablePardotAppV1Enabled;
enablePardotAppV1Enabled__is_set = true;
}
protected void setEnablePardotAppV1Enabled(com.sforce.ws.parser.XmlInputStream __in,
com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
__in.peekTag();
if (__typeMapper.isElement(__in, _lookupTypeInfo("enablePardotAppV1Enabled", "http://soap.sforce.com/2006/04/metadata","enablePardotAppV1Enabled","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
setEnablePardotAppV1Enabled(__typeMapper.readBoolean(__in, _lookupTypeInfo("enablePardotAppV1Enabled", "http://soap.sforce.com/2006/04/metadata","enablePardotAppV1Enabled","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
}
}
private void writeFieldEnablePardotAppV1Enabled(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("enablePardotAppV1Enabled", "http://soap.sforce.com/2006/04/metadata","enablePardotAppV1Enabled","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enablePardotAppV1Enabled, enablePardotAppV1Enabled__is_set);
}
/**
* element : enablePardotEnabled of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean enablePardotEnabled__is_set = false;
private boolean enablePardotEnabled;
public boolean getEnablePardotEnabled() {
return enablePardotEnabled;
}
public boolean isEnablePardotEnabled() {
return enablePardotEnabled;
}
public void setEnablePardotEnabled(boolean enablePardotEnabled) {
this.enablePardotEnabled = enablePardotEnabled;
enablePardotEnabled__is_set = true;
}
protected void setEnablePardotEnabled(com.sforce.ws.parser.XmlInputStream __in,
com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
__in.peekTag();
if (__typeMapper.isElement(__in, _lookupTypeInfo("enablePardotEnabled", "http://soap.sforce.com/2006/04/metadata","enablePardotEnabled","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
setEnablePardotEnabled(__typeMapper.readBoolean(__in, _lookupTypeInfo("enablePardotEnabled", "http://soap.sforce.com/2006/04/metadata","enablePardotEnabled","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
}
}
private void writeFieldEnablePardotEnabled(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("enablePardotEnabled", "http://soap.sforce.com/2006/04/metadata","enablePardotEnabled","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enablePardotEnabled, enablePardotEnabled__is_set);
}
/**
* element : enablePardotObjectSync of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean enablePardotObjectSync__is_set = false;
private boolean enablePardotObjectSync;
public boolean getEnablePardotObjectSync() {
return enablePardotObjectSync;
}
public boolean isEnablePardotObjectSync() {
return enablePardotObjectSync;
}
public void setEnablePardotObjectSync(boolean enablePardotObjectSync) {
this.enablePardotObjectSync = enablePardotObjectSync;
enablePardotObjectSync__is_set = true;
}
protected void setEnablePardotObjectSync(com.sforce.ws.parser.XmlInputStream __in,
com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
__in.peekTag();
if (__typeMapper.isElement(__in, _lookupTypeInfo("enablePardotObjectSync", "http://soap.sforce.com/2006/04/metadata","enablePardotObjectSync","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
setEnablePardotObjectSync(__typeMapper.readBoolean(__in, _lookupTypeInfo("enablePardotObjectSync", "http://soap.sforce.com/2006/04/metadata","enablePardotObjectSync","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
}
}
private void writeFieldEnablePardotObjectSync(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("enablePardotObjectSync", "http://soap.sforce.com/2006/04/metadata","enablePardotObjectSync","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enablePardotObjectSync, enablePardotObjectSync__is_set);
}
/**
* element : enableProspectActivityDataset of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean enableProspectActivityDataset__is_set = false;
private boolean enableProspectActivityDataset;
public boolean getEnableProspectActivityDataset() {
return enableProspectActivityDataset;
}
public boolean isEnableProspectActivityDataset() {
return enableProspectActivityDataset;
}
public void setEnableProspectActivityDataset(boolean enableProspectActivityDataset) {
this.enableProspectActivityDataset = enableProspectActivityDataset;
enableProspectActivityDataset__is_set = true;
}
protected void setEnableProspectActivityDataset(com.sforce.ws.parser.XmlInputStream __in,
com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
__in.peekTag();
if (__typeMapper.isElement(__in, _lookupTypeInfo("enableProspectActivityDataset", "http://soap.sforce.com/2006/04/metadata","enableProspectActivityDataset","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
setEnableProspectActivityDataset(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableProspectActivityDataset", "http://soap.sforce.com/2006/04/metadata","enableProspectActivityDataset","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
}
}
private void writeFieldEnableProspectActivityDataset(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("enableProspectActivityDataset", "http://soap.sforce.com/2006/04/metadata","enableProspectActivityDataset","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableProspectActivityDataset, enableProspectActivityDataset__is_set);
}
/**
*/
@Override
public void write(javax.xml.namespace.QName __element,
com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper)
throws java.io.IOException {
__out.writeStartTag(__element.getNamespaceURI(), __element.getLocalPart());
__typeMapper.writeXsiType(__out, "http://soap.sforce.com/2006/04/metadata", "PardotSettings");
writeFields(__out, __typeMapper);
__out.writeEndTag(__element.getNamespaceURI(), __element.getLocalPart());
}
protected void writeFields(com.sforce.ws.parser.XmlOutputStream __out,
com.sforce.ws.bind.TypeMapper __typeMapper)
throws java.io.IOException {
super.writeFields(__out, __typeMapper);
writeFields1(__out, __typeMapper);
}
@Override
public void load(com.sforce.ws.parser.XmlInputStream __in,
com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
__typeMapper.consumeStartTag(__in);
loadFields(__in, __typeMapper);
__typeMapper.consumeEndTag(__in);
}
protected void loadFields(com.sforce.ws.parser.XmlInputStream __in,
com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
super.loadFields(__in, __typeMapper);
loadFields1(__in, __typeMapper);
}
@Override
public String toString() {
java.lang.StringBuilder sb = new java.lang.StringBuilder();
sb.append("[PardotSettings ");
sb.append(super.toString());
toString1(sb);
sb.append("]\n");
return sb.toString();
}
private void toStringHelper(StringBuilder sb, String name, Object value) {
sb.append(' ').append(name).append("='").append(com.sforce.ws.util.Verbose.toString(value)).append("'\n");
}
private void writeFields1(com.sforce.ws.parser.XmlOutputStream __out,
com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
writeFieldEnableAIEinsteinEngageFreq(__out, __typeMapper);
writeFieldEnableAIOptimizedSendTime(__out, __typeMapper);
writeFieldEnableB2bmaAppEnabled(__out, __typeMapper);
writeFieldEnableEngagementHistoryDashboards(__out, __typeMapper);
writeFieldEnableEnhancedProspectCustomFieldsSync(__out, __typeMapper);
writeFieldEnablePardotAppV1Enabled(__out, __typeMapper);
writeFieldEnablePardotEnabled(__out, __typeMapper);
writeFieldEnablePardotObjectSync(__out, __typeMapper);
writeFieldEnableProspectActivityDataset(__out, __typeMapper);
}
private void loadFields1(com.sforce.ws.parser.XmlInputStream __in,
com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
setEnableAIEinsteinEngageFreq(__in, __typeMapper);
setEnableAIOptimizedSendTime(__in, __typeMapper);
setEnableB2bmaAppEnabled(__in, __typeMapper);
setEnableEngagementHistoryDashboards(__in, __typeMapper);
setEnableEnhancedProspectCustomFieldsSync(__in, __typeMapper);
setEnablePardotAppV1Enabled(__in, __typeMapper);
setEnablePardotEnabled(__in, __typeMapper);
setEnablePardotObjectSync(__in, __typeMapper);
setEnableProspectActivityDataset(__in, __typeMapper);
}
private void toString1(StringBuilder sb) {
toStringHelper(sb, "enableAIEinsteinEngageFreq", enableAIEinsteinEngageFreq);
toStringHelper(sb, "enableAIOptimizedSendTime", enableAIOptimizedSendTime);
toStringHelper(sb, "enableB2bmaAppEnabled", enableB2bmaAppEnabled);
toStringHelper(sb, "enableEngagementHistoryDashboards", enableEngagementHistoryDashboards);
toStringHelper(sb, "enableEnhancedProspectCustomFieldsSync", enableEnhancedProspectCustomFieldsSync);
toStringHelper(sb, "enablePardotAppV1Enabled", enablePardotAppV1Enabled);
toStringHelper(sb, "enablePardotEnabled", enablePardotEnabled);
toStringHelper(sb, "enablePardotObjectSync", enablePardotObjectSync);
toStringHelper(sb, "enableProspectActivityDataset", enableProspectActivityDataset);
}
}