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 IndustriesAutomotiveSettings extends com.sforce.soap.metadata.Metadata { /** * Constructor */ public IndustriesAutomotiveSettings() {} /* 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 : enableAutoAgentsPilot of type {http://www.w3.org/2001/XMLSchema}boolean * java type: boolean */ private boolean enableAutoAgentsPilot__is_set = false; private boolean enableAutoAgentsPilot; public boolean getEnableAutoAgentsPilot() { return enableAutoAgentsPilot; } public boolean isEnableAutoAgentsPilot() { return enableAutoAgentsPilot; } public void setEnableAutoAgentsPilot(boolean enableAutoAgentsPilot) { this.enableAutoAgentsPilot = enableAutoAgentsPilot; enableAutoAgentsPilot__is_set = true; } protected void setEnableAutoAgentsPilot(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("enableAutoAgentsPilot", "http://soap.sforce.com/2006/04/metadata","enableAutoAgentsPilot","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) { setEnableAutoAgentsPilot(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableAutoAgentsPilot", "http://soap.sforce.com/2006/04/metadata","enableAutoAgentsPilot","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class)); } } private void writeFieldEnableAutoAgentsPilot(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("enableAutoAgentsPilot", "http://soap.sforce.com/2006/04/metadata","enableAutoAgentsPilot","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableAutoAgentsPilot, enableAutoAgentsPilot__is_set); } /** * element : enableAutomotiveAgents of type {http://www.w3.org/2001/XMLSchema}boolean * java type: boolean */ private boolean enableAutomotiveAgents__is_set = false; private boolean enableAutomotiveAgents; public boolean getEnableAutomotiveAgents() { return enableAutomotiveAgents; } public boolean isEnableAutomotiveAgents() { return enableAutomotiveAgents; } public void setEnableAutomotiveAgents(boolean enableAutomotiveAgents) { this.enableAutomotiveAgents = enableAutomotiveAgents; enableAutomotiveAgents__is_set = true; } protected void setEnableAutomotiveAgents(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("enableAutomotiveAgents", "http://soap.sforce.com/2006/04/metadata","enableAutomotiveAgents","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) { setEnableAutomotiveAgents(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableAutomotiveAgents", "http://soap.sforce.com/2006/04/metadata","enableAutomotiveAgents","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class)); } } private void writeFieldEnableAutomotiveAgents(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("enableAutomotiveAgents", "http://soap.sforce.com/2006/04/metadata","enableAutomotiveAgents","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableAutomotiveAgents, enableAutomotiveAgents__is_set); } /** * element : enableAutomotiveAppraisals of type {http://www.w3.org/2001/XMLSchema}boolean * java type: boolean */ private boolean enableAutomotiveAppraisals__is_set = false; private boolean enableAutomotiveAppraisals; public boolean getEnableAutomotiveAppraisals() { return enableAutomotiveAppraisals; } public boolean isEnableAutomotiveAppraisals() { return enableAutomotiveAppraisals; } public void setEnableAutomotiveAppraisals(boolean enableAutomotiveAppraisals) { this.enableAutomotiveAppraisals = enableAutomotiveAppraisals; enableAutomotiveAppraisals__is_set = true; } protected void setEnableAutomotiveAppraisals(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("enableAutomotiveAppraisals", "http://soap.sforce.com/2006/04/metadata","enableAutomotiveAppraisals","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) { setEnableAutomotiveAppraisals(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableAutomotiveAppraisals", "http://soap.sforce.com/2006/04/metadata","enableAutomotiveAppraisals","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class)); } } private void writeFieldEnableAutomotiveAppraisals(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("enableAutomotiveAppraisals", "http://soap.sforce.com/2006/04/metadata","enableAutomotiveAppraisals","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableAutomotiveAppraisals, enableAutomotiveAppraisals__is_set); } /** * element : enableAutomotiveCloud of type {http://www.w3.org/2001/XMLSchema}boolean * java type: boolean */ private boolean enableAutomotiveCloud__is_set = false; private boolean enableAutomotiveCloud; public boolean getEnableAutomotiveCloud() { return enableAutomotiveCloud; } public boolean isEnableAutomotiveCloud() { return enableAutomotiveCloud; } public void setEnableAutomotiveCloud(boolean enableAutomotiveCloud) { this.enableAutomotiveCloud = enableAutomotiveCloud; enableAutomotiveCloud__is_set = true; } protected void setEnableAutomotiveCloud(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("enableAutomotiveCloud", "http://soap.sforce.com/2006/04/metadata","enableAutomotiveCloud","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) { setEnableAutomotiveCloud(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableAutomotiveCloud", "http://soap.sforce.com/2006/04/metadata","enableAutomotiveCloud","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class)); } } private void writeFieldEnableAutomotiveCloud(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("enableAutomotiveCloud", "http://soap.sforce.com/2006/04/metadata","enableAutomotiveCloud","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableAutomotiveCloud, enableAutomotiveCloud__is_set); } /** * element : enableAutomotiveScheduler of type {http://www.w3.org/2001/XMLSchema}boolean * java type: boolean */ private boolean enableAutomotiveScheduler__is_set = false; private boolean enableAutomotiveScheduler; public boolean getEnableAutomotiveScheduler() { return enableAutomotiveScheduler; } public boolean isEnableAutomotiveScheduler() { return enableAutomotiveScheduler; } public void setEnableAutomotiveScheduler(boolean enableAutomotiveScheduler) { this.enableAutomotiveScheduler = enableAutomotiveScheduler; enableAutomotiveScheduler__is_set = true; } protected void setEnableAutomotiveScheduler(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("enableAutomotiveScheduler", "http://soap.sforce.com/2006/04/metadata","enableAutomotiveScheduler","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) { setEnableAutomotiveScheduler(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableAutomotiveScheduler", "http://soap.sforce.com/2006/04/metadata","enableAutomotiveScheduler","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class)); } } private void writeFieldEnableAutomotiveScheduler(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("enableAutomotiveScheduler", "http://soap.sforce.com/2006/04/metadata","enableAutomotiveScheduler","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableAutomotiveScheduler, enableAutomotiveScheduler__is_set); } /** * element : enableAutomotiveServiceExcellence of type {http://www.w3.org/2001/XMLSchema}boolean * java type: boolean */ private boolean enableAutomotiveServiceExcellence__is_set = false; private boolean enableAutomotiveServiceExcellence; public boolean getEnableAutomotiveServiceExcellence() { return enableAutomotiveServiceExcellence; } public boolean isEnableAutomotiveServiceExcellence() { return enableAutomotiveServiceExcellence; } public void setEnableAutomotiveServiceExcellence(boolean enableAutomotiveServiceExcellence) { this.enableAutomotiveServiceExcellence = enableAutomotiveServiceExcellence; enableAutomotiveServiceExcellence__is_set = true; } protected void setEnableAutomotiveServiceExcellence(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("enableAutomotiveServiceExcellence", "http://soap.sforce.com/2006/04/metadata","enableAutomotiveServiceExcellence","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) { setEnableAutomotiveServiceExcellence(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableAutomotiveServiceExcellence", "http://soap.sforce.com/2006/04/metadata","enableAutomotiveServiceExcellence","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class)); } } private void writeFieldEnableAutomotiveServiceExcellence(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("enableAutomotiveServiceExcellence", "http://soap.sforce.com/2006/04/metadata","enableAutomotiveServiceExcellence","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableAutomotiveServiceExcellence, enableAutomotiveServiceExcellence__is_set); } /** * element : enableConnectedVehSrvcsCmpnt of type {http://www.w3.org/2001/XMLSchema}boolean * java type: boolean */ private boolean enableConnectedVehSrvcsCmpnt__is_set = false; private boolean enableConnectedVehSrvcsCmpnt; public boolean getEnableConnectedVehSrvcsCmpnt() { return enableConnectedVehSrvcsCmpnt; } public boolean isEnableConnectedVehSrvcsCmpnt() { return enableConnectedVehSrvcsCmpnt; } public void setEnableConnectedVehSrvcsCmpnt(boolean enableConnectedVehSrvcsCmpnt) { this.enableConnectedVehSrvcsCmpnt = enableConnectedVehSrvcsCmpnt; enableConnectedVehSrvcsCmpnt__is_set = true; } protected void setEnableConnectedVehSrvcsCmpnt(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("enableConnectedVehSrvcsCmpnt", "http://soap.sforce.com/2006/04/metadata","enableConnectedVehSrvcsCmpnt","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) { setEnableConnectedVehSrvcsCmpnt(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableConnectedVehSrvcsCmpnt", "http://soap.sforce.com/2006/04/metadata","enableConnectedVehSrvcsCmpnt","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class)); } } private void writeFieldEnableConnectedVehSrvcsCmpnt(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("enableConnectedVehSrvcsCmpnt", "http://soap.sforce.com/2006/04/metadata","enableConnectedVehSrvcsCmpnt","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableConnectedVehSrvcsCmpnt, enableConnectedVehSrvcsCmpnt__is_set); } /** * element : enableDealerEssntlsAutomotive of type {http://www.w3.org/2001/XMLSchema}boolean * java type: boolean */ private boolean enableDealerEssntlsAutomotive__is_set = false; private boolean enableDealerEssntlsAutomotive; public boolean getEnableDealerEssntlsAutomotive() { return enableDealerEssntlsAutomotive; } public boolean isEnableDealerEssntlsAutomotive() { return enableDealerEssntlsAutomotive; } public void setEnableDealerEssntlsAutomotive(boolean enableDealerEssntlsAutomotive) { this.enableDealerEssntlsAutomotive = enableDealerEssntlsAutomotive; enableDealerEssntlsAutomotive__is_set = true; } protected void setEnableDealerEssntlsAutomotive(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("enableDealerEssntlsAutomotive", "http://soap.sforce.com/2006/04/metadata","enableDealerEssntlsAutomotive","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) { setEnableDealerEssntlsAutomotive(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableDealerEssntlsAutomotive", "http://soap.sforce.com/2006/04/metadata","enableDealerEssntlsAutomotive","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class)); } } private void writeFieldEnableDealerEssntlsAutomotive(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("enableDealerEssntlsAutomotive", "http://soap.sforce.com/2006/04/metadata","enableDealerEssntlsAutomotive","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableDealerEssntlsAutomotive, enableDealerEssntlsAutomotive__is_set); } /** * element : enableGenAiForAutoPilot of type {http://www.w3.org/2001/XMLSchema}boolean * java type: boolean */ private boolean enableGenAiForAutoPilot__is_set = false; private boolean enableGenAiForAutoPilot; public boolean getEnableGenAiForAutoPilot() { return enableGenAiForAutoPilot; } public boolean isEnableGenAiForAutoPilot() { return enableGenAiForAutoPilot; } public void setEnableGenAiForAutoPilot(boolean enableGenAiForAutoPilot) { this.enableGenAiForAutoPilot = enableGenAiForAutoPilot; enableGenAiForAutoPilot__is_set = true; } protected void setEnableGenAiForAutoPilot(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("enableGenAiForAutoPilot", "http://soap.sforce.com/2006/04/metadata","enableGenAiForAutoPilot","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) { setEnableGenAiForAutoPilot(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableGenAiForAutoPilot", "http://soap.sforce.com/2006/04/metadata","enableGenAiForAutoPilot","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class)); } } private void writeFieldEnableGenAiForAutoPilot(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("enableGenAiForAutoPilot", "http://soap.sforce.com/2006/04/metadata","enableGenAiForAutoPilot","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableGenAiForAutoPilot, enableGenAiForAutoPilot__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", "IndustriesAutomotiveSettings"); 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("[IndustriesAutomotiveSettings "); 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 { writeFieldEnableAutoAgentsPilot(__out, __typeMapper); writeFieldEnableAutomotiveAgents(__out, __typeMapper); writeFieldEnableAutomotiveAppraisals(__out, __typeMapper); writeFieldEnableAutomotiveCloud(__out, __typeMapper); writeFieldEnableAutomotiveScheduler(__out, __typeMapper); writeFieldEnableAutomotiveServiceExcellence(__out, __typeMapper); writeFieldEnableConnectedVehSrvcsCmpnt(__out, __typeMapper); writeFieldEnableDealerEssntlsAutomotive(__out, __typeMapper); writeFieldEnableGenAiForAutoPilot(__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 { setEnableAutoAgentsPilot(__in, __typeMapper); setEnableAutomotiveAgents(__in, __typeMapper); setEnableAutomotiveAppraisals(__in, __typeMapper); setEnableAutomotiveCloud(__in, __typeMapper); setEnableAutomotiveScheduler(__in, __typeMapper); setEnableAutomotiveServiceExcellence(__in, __typeMapper); setEnableConnectedVehSrvcsCmpnt(__in, __typeMapper); setEnableDealerEssntlsAutomotive(__in, __typeMapper); setEnableGenAiForAutoPilot(__in, __typeMapper); } private void toString1(StringBuilder sb) { toStringHelper(sb, "enableAutoAgentsPilot", enableAutoAgentsPilot); toStringHelper(sb, "enableAutomotiveAgents", enableAutomotiveAgents); toStringHelper(sb, "enableAutomotiveAppraisals", enableAutomotiveAppraisals); toStringHelper(sb, "enableAutomotiveCloud", enableAutomotiveCloud); toStringHelper(sb, "enableAutomotiveScheduler", enableAutomotiveScheduler); toStringHelper(sb, "enableAutomotiveServiceExcellence", enableAutomotiveServiceExcellence); toStringHelper(sb, "enableConnectedVehSrvcsCmpnt", enableConnectedVehSrvcsCmpnt); toStringHelper(sb, "enableDealerEssntlsAutomotive", enableDealerEssntlsAutomotive); toStringHelper(sb, "enableGenAiForAutoPilot", enableGenAiForAutoPilot); } }