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 Bot extends com.sforce.soap.metadata.Metadata { /** * Constructor */ public Bot() {} /* 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 : agentDSLEnabled of type {http://www.w3.org/2001/XMLSchema}boolean * java type: boolean */ private boolean agentDSLEnabled__is_set = false; private boolean agentDSLEnabled; public boolean getAgentDSLEnabled() { return agentDSLEnabled; } public boolean isAgentDSLEnabled() { return agentDSLEnabled; } public void setAgentDSLEnabled(boolean agentDSLEnabled) { this.agentDSLEnabled = agentDSLEnabled; agentDSLEnabled__is_set = true; } protected void setAgentDSLEnabled(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("agentDSLEnabled", "http://soap.sforce.com/2006/04/metadata","agentDSLEnabled","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) { setAgentDSLEnabled(__typeMapper.readBoolean(__in, _lookupTypeInfo("agentDSLEnabled", "http://soap.sforce.com/2006/04/metadata","agentDSLEnabled","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class)); } } private void writeFieldAgentDSLEnabled(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("agentDSLEnabled", "http://soap.sforce.com/2006/04/metadata","agentDSLEnabled","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), agentDSLEnabled, agentDSLEnabled__is_set); } /** * element : agentTemplate of type {http://www.w3.org/2001/XMLSchema}string * java type: java.lang.String */ private boolean agentTemplate__is_set = false; private java.lang.String agentTemplate; public java.lang.String getAgentTemplate() { return agentTemplate; } public void setAgentTemplate(java.lang.String agentTemplate) { this.agentTemplate = agentTemplate; agentTemplate__is_set = true; } protected void setAgentTemplate(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("agentTemplate", "http://soap.sforce.com/2006/04/metadata","agentTemplate","http://www.w3.org/2001/XMLSchema","string",0,1,true))) { setAgentTemplate(__typeMapper.readString(__in, _lookupTypeInfo("agentTemplate", "http://soap.sforce.com/2006/04/metadata","agentTemplate","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class)); } } private void writeFieldAgentTemplate(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("agentTemplate", "http://soap.sforce.com/2006/04/metadata","agentTemplate","http://www.w3.org/2001/XMLSchema","string",0,1,true), agentTemplate, agentTemplate__is_set); } /** * element : agentType of type {http://soap.sforce.com/2006/04/metadata}GenAiAgentType * java type: java.lang.String */ private boolean agentType__is_set = false; private java.lang.String agentType; public java.lang.String getAgentType() { return agentType; } public void setAgentType(java.lang.String agentType) { this.agentType = agentType; agentType__is_set = true; } protected void setAgentType(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("agentType", "http://soap.sforce.com/2006/04/metadata","agentType","http://soap.sforce.com/2006/04/metadata","GenAiAgentType",0,1,true))) { setAgentType(__typeMapper.readString(__in, _lookupTypeInfo("agentType", "http://soap.sforce.com/2006/04/metadata","agentType","http://soap.sforce.com/2006/04/metadata","GenAiAgentType",0,1,true), java.lang.String.class)); } } private void writeFieldAgentType(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("agentType", "http://soap.sforce.com/2006/04/metadata","agentType","http://soap.sforce.com/2006/04/metadata","GenAiAgentType",0,1,true), agentType, agentType__is_set); } /** * element : botMlDomain of type {http://soap.sforce.com/2006/04/metadata}LocalMlDomain * java type: com.sforce.soap.metadata.LocalMlDomain */ private boolean botMlDomain__is_set = false; private com.sforce.soap.metadata.LocalMlDomain botMlDomain; public com.sforce.soap.metadata.LocalMlDomain getBotMlDomain() { return botMlDomain; } public void setBotMlDomain(com.sforce.soap.metadata.LocalMlDomain botMlDomain) { this.botMlDomain = botMlDomain; botMlDomain__is_set = true; } protected void setBotMlDomain(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("botMlDomain", "http://soap.sforce.com/2006/04/metadata","botMlDomain","http://soap.sforce.com/2006/04/metadata","LocalMlDomain",0,1,true))) { setBotMlDomain((com.sforce.soap.metadata.LocalMlDomain)__typeMapper.readObject(__in, _lookupTypeInfo("botMlDomain", "http://soap.sforce.com/2006/04/metadata","botMlDomain","http://soap.sforce.com/2006/04/metadata","LocalMlDomain",0,1,true), com.sforce.soap.metadata.LocalMlDomain.class)); } } private void writeFieldBotMlDomain(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("botMlDomain", "http://soap.sforce.com/2006/04/metadata","botMlDomain","http://soap.sforce.com/2006/04/metadata","LocalMlDomain",0,1,true), botMlDomain, botMlDomain__is_set); } /** * element : botSource of type {http://soap.sforce.com/2006/04/metadata}BotSourceType * java type: com.sforce.soap.metadata.BotSourceType */ private boolean botSource__is_set = false; private com.sforce.soap.metadata.BotSourceType botSource; public com.sforce.soap.metadata.BotSourceType getBotSource() { return botSource; } public void setBotSource(com.sforce.soap.metadata.BotSourceType botSource) { this.botSource = botSource; botSource__is_set = true; } protected void setBotSource(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("botSource", "http://soap.sforce.com/2006/04/metadata","botSource","http://soap.sforce.com/2006/04/metadata","BotSourceType",0,1,true))) { setBotSource((com.sforce.soap.metadata.BotSourceType)__typeMapper.readObject(__in, _lookupTypeInfo("botSource", "http://soap.sforce.com/2006/04/metadata","botSource","http://soap.sforce.com/2006/04/metadata","BotSourceType",0,1,true), com.sforce.soap.metadata.BotSourceType.class)); } } private void writeFieldBotSource(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("botSource", "http://soap.sforce.com/2006/04/metadata","botSource","http://soap.sforce.com/2006/04/metadata","BotSourceType",0,1,true), botSource, botSource__is_set); } /** * element : botUser of type {http://www.w3.org/2001/XMLSchema}string * java type: java.lang.String */ private boolean botUser__is_set = false; private java.lang.String botUser; public java.lang.String getBotUser() { return botUser; } public void setBotUser(java.lang.String botUser) { this.botUser = botUser; botUser__is_set = true; } protected void setBotUser(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("botUser", "http://soap.sforce.com/2006/04/metadata","botUser","http://www.w3.org/2001/XMLSchema","string",0,1,true))) { setBotUser(__typeMapper.readString(__in, _lookupTypeInfo("botUser", "http://soap.sforce.com/2006/04/metadata","botUser","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class)); } } private void writeFieldBotUser(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("botUser", "http://soap.sforce.com/2006/04/metadata","botUser","http://www.w3.org/2001/XMLSchema","string",0,1,true), botUser, botUser__is_set); } /** * element : botVersions of type {http://soap.sforce.com/2006/04/metadata}BotVersion * java type: com.sforce.soap.metadata.BotVersion[] */ private boolean botVersions__is_set = false; private com.sforce.soap.metadata.BotVersion[] botVersions = new com.sforce.soap.metadata.BotVersion[0]; public com.sforce.soap.metadata.BotVersion[] getBotVersions() { return botVersions; } public void setBotVersions(com.sforce.soap.metadata.BotVersion[] botVersions) { this.botVersions = botVersions; botVersions__is_set = true; } protected void setBotVersions(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("botVersions", "http://soap.sforce.com/2006/04/metadata","botVersions","http://soap.sforce.com/2006/04/metadata","BotVersion",0,-1,true))) { setBotVersions((com.sforce.soap.metadata.BotVersion[])__typeMapper.readObject(__in, _lookupTypeInfo("botVersions", "http://soap.sforce.com/2006/04/metadata","botVersions","http://soap.sforce.com/2006/04/metadata","BotVersion",0,-1,true), com.sforce.soap.metadata.BotVersion[].class)); } } private void writeFieldBotVersions(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("botVersions", "http://soap.sforce.com/2006/04/metadata","botVersions","http://soap.sforce.com/2006/04/metadata","BotVersion",0,-1,true), botVersions, botVersions__is_set); } /** * element : contextVariables of type {http://soap.sforce.com/2006/04/metadata}ConversationContextVariable * java type: com.sforce.soap.metadata.ConversationContextVariable[] */ private boolean contextVariables__is_set = false; private com.sforce.soap.metadata.ConversationContextVariable[] contextVariables = new com.sforce.soap.metadata.ConversationContextVariable[0]; public com.sforce.soap.metadata.ConversationContextVariable[] getContextVariables() { return contextVariables; } public void setContextVariables(com.sforce.soap.metadata.ConversationContextVariable[] contextVariables) { this.contextVariables = contextVariables; contextVariables__is_set = true; } protected void setContextVariables(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("contextVariables", "http://soap.sforce.com/2006/04/metadata","contextVariables","http://soap.sforce.com/2006/04/metadata","ConversationContextVariable",0,-1,true))) { setContextVariables((com.sforce.soap.metadata.ConversationContextVariable[])__typeMapper.readObject(__in, _lookupTypeInfo("contextVariables", "http://soap.sforce.com/2006/04/metadata","contextVariables","http://soap.sforce.com/2006/04/metadata","ConversationContextVariable",0,-1,true), com.sforce.soap.metadata.ConversationContextVariable[].class)); } } private void writeFieldContextVariables(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("contextVariables", "http://soap.sforce.com/2006/04/metadata","contextVariables","http://soap.sforce.com/2006/04/metadata","ConversationContextVariable",0,-1,true), contextVariables, contextVariables__is_set); } /** * element : conversationChannelProviders of type {http://soap.sforce.com/2006/04/metadata}ConversationDefinitionChannelProvider * java type: com.sforce.soap.metadata.ConversationDefinitionChannelProvider[] */ private boolean conversationChannelProviders__is_set = false; private com.sforce.soap.metadata.ConversationDefinitionChannelProvider[] conversationChannelProviders = new com.sforce.soap.metadata.ConversationDefinitionChannelProvider[0]; public com.sforce.soap.metadata.ConversationDefinitionChannelProvider[] getConversationChannelProviders() { return conversationChannelProviders; } public void setConversationChannelProviders(com.sforce.soap.metadata.ConversationDefinitionChannelProvider[] conversationChannelProviders) { this.conversationChannelProviders = conversationChannelProviders; conversationChannelProviders__is_set = true; } protected void setConversationChannelProviders(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("conversationChannelProviders", "http://soap.sforce.com/2006/04/metadata","conversationChannelProviders","http://soap.sforce.com/2006/04/metadata","ConversationDefinitionChannelProvider",0,-1,true))) { setConversationChannelProviders((com.sforce.soap.metadata.ConversationDefinitionChannelProvider[])__typeMapper.readObject(__in, _lookupTypeInfo("conversationChannelProviders", "http://soap.sforce.com/2006/04/metadata","conversationChannelProviders","http://soap.sforce.com/2006/04/metadata","ConversationDefinitionChannelProvider",0,-1,true), com.sforce.soap.metadata.ConversationDefinitionChannelProvider[].class)); } } private void writeFieldConversationChannelProviders(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("conversationChannelProviders", "http://soap.sforce.com/2006/04/metadata","conversationChannelProviders","http://soap.sforce.com/2006/04/metadata","ConversationDefinitionChannelProvider",0,-1,true), conversationChannelProviders, conversationChannelProviders__is_set); } /** * element : defaultOutboundFlow of type {http://www.w3.org/2001/XMLSchema}string * java type: java.lang.String */ private boolean defaultOutboundFlow__is_set = false; private java.lang.String defaultOutboundFlow; public java.lang.String getDefaultOutboundFlow() { return defaultOutboundFlow; } public void setDefaultOutboundFlow(java.lang.String defaultOutboundFlow) { this.defaultOutboundFlow = defaultOutboundFlow; defaultOutboundFlow__is_set = true; } protected void setDefaultOutboundFlow(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("defaultOutboundFlow", "http://soap.sforce.com/2006/04/metadata","defaultOutboundFlow","http://www.w3.org/2001/XMLSchema","string",0,1,true))) { setDefaultOutboundFlow(__typeMapper.readString(__in, _lookupTypeInfo("defaultOutboundFlow", "http://soap.sforce.com/2006/04/metadata","defaultOutboundFlow","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class)); } } private void writeFieldDefaultOutboundFlow(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("defaultOutboundFlow", "http://soap.sforce.com/2006/04/metadata","defaultOutboundFlow","http://www.w3.org/2001/XMLSchema","string",0,1,true), defaultOutboundFlow, defaultOutboundFlow__is_set); } /** * element : description of type {http://www.w3.org/2001/XMLSchema}string * java type: java.lang.String */ private boolean description__is_set = false; private java.lang.String description; public java.lang.String getDescription() { return description; } public void setDescription(java.lang.String description) { this.description = description; description__is_set = true; } protected void setDescription(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("description", "http://soap.sforce.com/2006/04/metadata","description","http://www.w3.org/2001/XMLSchema","string",0,1,true))) { setDescription(__typeMapper.readString(__in, _lookupTypeInfo("description", "http://soap.sforce.com/2006/04/metadata","description","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class)); } } private void writeFieldDescription(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("description", "http://soap.sforce.com/2006/04/metadata","description","http://www.w3.org/2001/XMLSchema","string",0,1,true), description, description__is_set); } /** * element : label of type {http://www.w3.org/2001/XMLSchema}string * java type: java.lang.String */ private boolean label__is_set = false; private java.lang.String label; public java.lang.String getLabel() { return label; } public void setLabel(java.lang.String label) { this.label = label; label__is_set = true; } protected void setLabel(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("label", "http://soap.sforce.com/2006/04/metadata","label","http://www.w3.org/2001/XMLSchema","string",0,1,true))) { setLabel(__typeMapper.readString(__in, _lookupTypeInfo("label", "http://soap.sforce.com/2006/04/metadata","label","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class)); } } private void writeFieldLabel(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("label", "http://soap.sforce.com/2006/04/metadata","label","http://www.w3.org/2001/XMLSchema","string",0,1,true), label, label__is_set); } /** * element : logPrivateConversationData of type {http://www.w3.org/2001/XMLSchema}boolean * java type: boolean */ private boolean logPrivateConversationData__is_set = false; private boolean logPrivateConversationData; public boolean getLogPrivateConversationData() { return logPrivateConversationData; } public boolean isLogPrivateConversationData() { return logPrivateConversationData; } public void setLogPrivateConversationData(boolean logPrivateConversationData) { this.logPrivateConversationData = logPrivateConversationData; logPrivateConversationData__is_set = true; } protected void setLogPrivateConversationData(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("logPrivateConversationData", "http://soap.sforce.com/2006/04/metadata","logPrivateConversationData","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) { setLogPrivateConversationData(__typeMapper.readBoolean(__in, _lookupTypeInfo("logPrivateConversationData", "http://soap.sforce.com/2006/04/metadata","logPrivateConversationData","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class)); } } private void writeFieldLogPrivateConversationData(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("logPrivateConversationData", "http://soap.sforce.com/2006/04/metadata","logPrivateConversationData","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), logPrivateConversationData, logPrivateConversationData__is_set); } /** * element : pageContextVariables of type {http://soap.sforce.com/2006/04/metadata}PageContextVariable * java type: com.sforce.soap.metadata.PageContextVariable[] */ private boolean pageContextVariables__is_set = false; private com.sforce.soap.metadata.PageContextVariable[] pageContextVariables = new com.sforce.soap.metadata.PageContextVariable[0]; public com.sforce.soap.metadata.PageContextVariable[] getPageContextVariables() { return pageContextVariables; } public void setPageContextVariables(com.sforce.soap.metadata.PageContextVariable[] pageContextVariables) { this.pageContextVariables = pageContextVariables; pageContextVariables__is_set = true; } protected void setPageContextVariables(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("pageContextVariables", "http://soap.sforce.com/2006/04/metadata","pageContextVariables","http://soap.sforce.com/2006/04/metadata","PageContextVariable",0,-1,true))) { setPageContextVariables((com.sforce.soap.metadata.PageContextVariable[])__typeMapper.readObject(__in, _lookupTypeInfo("pageContextVariables", "http://soap.sforce.com/2006/04/metadata","pageContextVariables","http://soap.sforce.com/2006/04/metadata","PageContextVariable",0,-1,true), com.sforce.soap.metadata.PageContextVariable[].class)); } } private void writeFieldPageContextVariables(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("pageContextVariables", "http://soap.sforce.com/2006/04/metadata","pageContextVariables","http://soap.sforce.com/2006/04/metadata","PageContextVariable",0,-1,true), pageContextVariables, pageContextVariables__is_set); } /** * element : richContentEnabled of type {http://www.w3.org/2001/XMLSchema}boolean * java type: boolean */ private boolean richContentEnabled__is_set = false; private boolean richContentEnabled; public boolean getRichContentEnabled() { return richContentEnabled; } public boolean isRichContentEnabled() { return richContentEnabled; } public void setRichContentEnabled(boolean richContentEnabled) { this.richContentEnabled = richContentEnabled; richContentEnabled__is_set = true; } protected void setRichContentEnabled(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("richContentEnabled", "http://soap.sforce.com/2006/04/metadata","richContentEnabled","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) { setRichContentEnabled(__typeMapper.readBoolean(__in, _lookupTypeInfo("richContentEnabled", "http://soap.sforce.com/2006/04/metadata","richContentEnabled","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class)); } } private void writeFieldRichContentEnabled(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("richContentEnabled", "http://soap.sforce.com/2006/04/metadata","richContentEnabled","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), richContentEnabled, richContentEnabled__is_set); } /** * element : sessionTimeout of type {http://www.w3.org/2001/XMLSchema}int * java type: int */ private boolean sessionTimeout__is_set = false; private int sessionTimeout; public int getSessionTimeout() { return sessionTimeout; } public void setSessionTimeout(int sessionTimeout) { this.sessionTimeout = sessionTimeout; sessionTimeout__is_set = true; } protected void setSessionTimeout(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("sessionTimeout", "http://soap.sforce.com/2006/04/metadata","sessionTimeout","http://www.w3.org/2001/XMLSchema","int",0,1,true))) { setSessionTimeout((int)__typeMapper.readInt(__in, _lookupTypeInfo("sessionTimeout", "http://soap.sforce.com/2006/04/metadata","sessionTimeout","http://www.w3.org/2001/XMLSchema","int",0,1,true), int.class)); } } private void writeFieldSessionTimeout(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("sessionTimeout", "http://soap.sforce.com/2006/04/metadata","sessionTimeout","http://www.w3.org/2001/XMLSchema","int",0,1,true), sessionTimeout, sessionTimeout__is_set); } /** * element : type of type {http://soap.sforce.com/2006/04/metadata}BotType * java type: com.sforce.soap.metadata.BotType */ private boolean type__is_set = false; private com.sforce.soap.metadata.BotType type; public com.sforce.soap.metadata.BotType getType() { return type; } public void setType(com.sforce.soap.metadata.BotType type) { this.type = type; type__is_set = true; } protected void setType(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("type", "http://soap.sforce.com/2006/04/metadata","type","http://soap.sforce.com/2006/04/metadata","BotType",0,1,true))) { setType((com.sforce.soap.metadata.BotType)__typeMapper.readObject(__in, _lookupTypeInfo("type", "http://soap.sforce.com/2006/04/metadata","type","http://soap.sforce.com/2006/04/metadata","BotType",0,1,true), com.sforce.soap.metadata.BotType.class)); } } private void writeFieldType(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("type", "http://soap.sforce.com/2006/04/metadata","type","http://soap.sforce.com/2006/04/metadata","BotType",0,1,true), type, type__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", "Bot"); 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("[Bot "); 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 { writeFieldAgentDSLEnabled(__out, __typeMapper); writeFieldAgentTemplate(__out, __typeMapper); writeFieldAgentType(__out, __typeMapper); writeFieldBotMlDomain(__out, __typeMapper); writeFieldBotSource(__out, __typeMapper); writeFieldBotUser(__out, __typeMapper); writeFieldBotVersions(__out, __typeMapper); writeFieldContextVariables(__out, __typeMapper); writeFieldConversationChannelProviders(__out, __typeMapper); writeFieldDefaultOutboundFlow(__out, __typeMapper); writeFieldDescription(__out, __typeMapper); writeFieldLabel(__out, __typeMapper); writeFieldLogPrivateConversationData(__out, __typeMapper); writeFieldPageContextVariables(__out, __typeMapper); writeFieldRichContentEnabled(__out, __typeMapper); writeFieldSessionTimeout(__out, __typeMapper); writeFieldType(__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 { setAgentDSLEnabled(__in, __typeMapper); setAgentTemplate(__in, __typeMapper); setAgentType(__in, __typeMapper); setBotMlDomain(__in, __typeMapper); setBotSource(__in, __typeMapper); setBotUser(__in, __typeMapper); setBotVersions(__in, __typeMapper); setContextVariables(__in, __typeMapper); setConversationChannelProviders(__in, __typeMapper); setDefaultOutboundFlow(__in, __typeMapper); setDescription(__in, __typeMapper); setLabel(__in, __typeMapper); setLogPrivateConversationData(__in, __typeMapper); setPageContextVariables(__in, __typeMapper); setRichContentEnabled(__in, __typeMapper); setSessionTimeout(__in, __typeMapper); setType(__in, __typeMapper); } private void toString1(StringBuilder sb) { toStringHelper(sb, "agentDSLEnabled", agentDSLEnabled); toStringHelper(sb, "agentTemplate", agentTemplate); toStringHelper(sb, "agentType", agentType); toStringHelper(sb, "botMlDomain", botMlDomain); toStringHelper(sb, "botSource", botSource); toStringHelper(sb, "botUser", botUser); toStringHelper(sb, "botVersions", botVersions); toStringHelper(sb, "contextVariables", contextVariables); toStringHelper(sb, "conversationChannelProviders", conversationChannelProviders); toStringHelper(sb, "defaultOutboundFlow", defaultOutboundFlow); toStringHelper(sb, "description", description); toStringHelper(sb, "label", label); toStringHelper(sb, "logPrivateConversationData", logPrivateConversationData); toStringHelper(sb, "pageContextVariables", pageContextVariables); toStringHelper(sb, "richContentEnabled", richContentEnabled); toStringHelper(sb, "sessionTimeout", sessionTimeout); toStringHelper(sb, "type", type); } }