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 EmbeddedMessagingChannel implements com.sforce.ws.bind.XMLizable { /** * Constructor */ public EmbeddedMessagingChannel() {} /* 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 : allowedFileTypes of type {http://www.w3.org/2001/XMLSchema}string * java type: java.lang.String */ private boolean allowedFileTypes__is_set = false; private java.lang.String allowedFileTypes; public java.lang.String getAllowedFileTypes() { return allowedFileTypes; } public void setAllowedFileTypes(java.lang.String allowedFileTypes) { this.allowedFileTypes = allowedFileTypes; allowedFileTypes__is_set = true; } protected void setAllowedFileTypes(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("allowedFileTypes", "http://soap.sforce.com/2006/04/metadata","allowedFileTypes","http://www.w3.org/2001/XMLSchema","string",0,1,true))) { setAllowedFileTypes(__typeMapper.readString(__in, _lookupTypeInfo("allowedFileTypes", "http://soap.sforce.com/2006/04/metadata","allowedFileTypes","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class)); } } private void writeFieldAllowedFileTypes(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("allowedFileTypes", "http://soap.sforce.com/2006/04/metadata","allowedFileTypes","http://www.w3.org/2001/XMLSchema","string",0,1,true), allowedFileTypes, allowedFileTypes__is_set); } /** * element : anonymousUserJwtExpirationTime of type {http://www.w3.org/2001/XMLSchema}int * java type: int */ private boolean anonymousUserJwtExpirationTime__is_set = false; private int anonymousUserJwtExpirationTime; public int getAnonymousUserJwtExpirationTime() { return anonymousUserJwtExpirationTime; } public void setAnonymousUserJwtExpirationTime(int anonymousUserJwtExpirationTime) { this.anonymousUserJwtExpirationTime = anonymousUserJwtExpirationTime; anonymousUserJwtExpirationTime__is_set = true; } protected void setAnonymousUserJwtExpirationTime(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("anonymousUserJwtExpirationTime", "http://soap.sforce.com/2006/04/metadata","anonymousUserJwtExpirationTime","http://www.w3.org/2001/XMLSchema","int",0,1,true))) { setAnonymousUserJwtExpirationTime((int)__typeMapper.readInt(__in, _lookupTypeInfo("anonymousUserJwtExpirationTime", "http://soap.sforce.com/2006/04/metadata","anonymousUserJwtExpirationTime","http://www.w3.org/2001/XMLSchema","int",0,1,true), int.class)); } } private void writeFieldAnonymousUserJwtExpirationTime(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("anonymousUserJwtExpirationTime", "http://soap.sforce.com/2006/04/metadata","anonymousUserJwtExpirationTime","http://www.w3.org/2001/XMLSchema","int",0,1,true), anonymousUserJwtExpirationTime, anonymousUserJwtExpirationTime__is_set); } /** * element : authMode of type {http://soap.sforce.com/2006/04/metadata}EmbeddedServiceAuthModeType * java type: java.lang.String */ private boolean authMode__is_set = false; private java.lang.String authMode; public java.lang.String getAuthMode() { return authMode; } public void setAuthMode(java.lang.String authMode) { this.authMode = authMode; authMode__is_set = true; } protected void setAuthMode(com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException { __in.peekTag(); if (__typeMapper.verifyElement(__in, _lookupTypeInfo("authMode", "http://soap.sforce.com/2006/04/metadata","authMode","http://soap.sforce.com/2006/04/metadata","EmbeddedServiceAuthModeType",1,1,true))) { setAuthMode(__typeMapper.readString(__in, _lookupTypeInfo("authMode", "http://soap.sforce.com/2006/04/metadata","authMode","http://soap.sforce.com/2006/04/metadata","EmbeddedServiceAuthModeType",1,1,true), java.lang.String.class)); } } private void writeFieldAuthMode(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("authMode", "http://soap.sforce.com/2006/04/metadata","authMode","http://soap.sforce.com/2006/04/metadata","EmbeddedServiceAuthModeType",1,1,true), authMode, authMode__is_set); } /** * element : connectedApp of type {http://www.w3.org/2001/XMLSchema}string * java type: java.lang.String */ private boolean connectedApp__is_set = false; private java.lang.String connectedApp; public java.lang.String getConnectedApp() { return connectedApp; } public void setConnectedApp(java.lang.String connectedApp) { this.connectedApp = connectedApp; connectedApp__is_set = true; } protected void setConnectedApp(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("connectedApp", "http://soap.sforce.com/2006/04/metadata","connectedApp","http://www.w3.org/2001/XMLSchema","string",0,1,true))) { setConnectedApp(__typeMapper.readString(__in, _lookupTypeInfo("connectedApp", "http://soap.sforce.com/2006/04/metadata","connectedApp","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class)); } } private void writeFieldConnectedApp(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("connectedApp", "http://soap.sforce.com/2006/04/metadata","connectedApp","http://www.w3.org/2001/XMLSchema","string",0,1,true), connectedApp, connectedApp__is_set); } /** * element : isAgentAvlCheckEnabled of type {http://www.w3.org/2001/XMLSchema}boolean * java type: boolean */ private boolean isAgentAvlCheckEnabled__is_set = false; private boolean isAgentAvlCheckEnabled; public boolean getIsAgentAvlCheckEnabled() { return isAgentAvlCheckEnabled; } public boolean isIsAgentAvlCheckEnabled() { return isAgentAvlCheckEnabled; } public void setIsAgentAvlCheckEnabled(boolean isAgentAvlCheckEnabled) { this.isAgentAvlCheckEnabled = isAgentAvlCheckEnabled; isAgentAvlCheckEnabled__is_set = true; } protected void setIsAgentAvlCheckEnabled(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("isAgentAvlCheckEnabled", "http://soap.sforce.com/2006/04/metadata","isAgentAvlCheckEnabled","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) { setIsAgentAvlCheckEnabled(__typeMapper.readBoolean(__in, _lookupTypeInfo("isAgentAvlCheckEnabled", "http://soap.sforce.com/2006/04/metadata","isAgentAvlCheckEnabled","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class)); } } private void writeFieldIsAgentAvlCheckEnabled(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("isAgentAvlCheckEnabled", "http://soap.sforce.com/2006/04/metadata","isAgentAvlCheckEnabled","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), isAgentAvlCheckEnabled, isAgentAvlCheckEnabled__is_set); } /** * element : isAttachmentUploadEnabled of type {http://www.w3.org/2001/XMLSchema}boolean * java type: boolean */ private boolean isAttachmentUploadEnabled__is_set = false; private boolean isAttachmentUploadEnabled; public boolean getIsAttachmentUploadEnabled() { return isAttachmentUploadEnabled; } public boolean isIsAttachmentUploadEnabled() { return isAttachmentUploadEnabled; } public void setIsAttachmentUploadEnabled(boolean isAttachmentUploadEnabled) { this.isAttachmentUploadEnabled = isAttachmentUploadEnabled; isAttachmentUploadEnabled__is_set = true; } protected void setIsAttachmentUploadEnabled(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("isAttachmentUploadEnabled", "http://soap.sforce.com/2006/04/metadata","isAttachmentUploadEnabled","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) { setIsAttachmentUploadEnabled(__typeMapper.readBoolean(__in, _lookupTypeInfo("isAttachmentUploadEnabled", "http://soap.sforce.com/2006/04/metadata","isAttachmentUploadEnabled","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class)); } } private void writeFieldIsAttachmentUploadEnabled(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("isAttachmentUploadEnabled", "http://soap.sforce.com/2006/04/metadata","isAttachmentUploadEnabled","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), isAttachmentUploadEnabled, isAttachmentUploadEnabled__is_set); } /** * element : isEstimatedWaitTimeEnabled of type {http://www.w3.org/2001/XMLSchema}boolean * java type: boolean */ private boolean isEstimatedWaitTimeEnabled__is_set = false; private boolean isEstimatedWaitTimeEnabled; public boolean getIsEstimatedWaitTimeEnabled() { return isEstimatedWaitTimeEnabled; } public boolean isIsEstimatedWaitTimeEnabled() { return isEstimatedWaitTimeEnabled; } public void setIsEstimatedWaitTimeEnabled(boolean isEstimatedWaitTimeEnabled) { this.isEstimatedWaitTimeEnabled = isEstimatedWaitTimeEnabled; isEstimatedWaitTimeEnabled__is_set = true; } protected void setIsEstimatedWaitTimeEnabled(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("isEstimatedWaitTimeEnabled", "http://soap.sforce.com/2006/04/metadata","isEstimatedWaitTimeEnabled","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) { setIsEstimatedWaitTimeEnabled(__typeMapper.readBoolean(__in, _lookupTypeInfo("isEstimatedWaitTimeEnabled", "http://soap.sforce.com/2006/04/metadata","isEstimatedWaitTimeEnabled","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class)); } } private void writeFieldIsEstimatedWaitTimeEnabled(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("isEstimatedWaitTimeEnabled", "http://soap.sforce.com/2006/04/metadata","isEstimatedWaitTimeEnabled","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), isEstimatedWaitTimeEnabled, isEstimatedWaitTimeEnabled__is_set); } /** * element : isFallbackMessageEnabled of type {http://www.w3.org/2001/XMLSchema}boolean * java type: boolean */ private boolean isFallbackMessageEnabled__is_set = false; private boolean isFallbackMessageEnabled; public boolean getIsFallbackMessageEnabled() { return isFallbackMessageEnabled; } public boolean isIsFallbackMessageEnabled() { return isFallbackMessageEnabled; } public void setIsFallbackMessageEnabled(boolean isFallbackMessageEnabled) { this.isFallbackMessageEnabled = isFallbackMessageEnabled; isFallbackMessageEnabled__is_set = true; } protected void setIsFallbackMessageEnabled(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("isFallbackMessageEnabled", "http://soap.sforce.com/2006/04/metadata","isFallbackMessageEnabled","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) { setIsFallbackMessageEnabled(__typeMapper.readBoolean(__in, _lookupTypeInfo("isFallbackMessageEnabled", "http://soap.sforce.com/2006/04/metadata","isFallbackMessageEnabled","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class)); } } private void writeFieldIsFallbackMessageEnabled(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("isFallbackMessageEnabled", "http://soap.sforce.com/2006/04/metadata","isFallbackMessageEnabled","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), isFallbackMessageEnabled, isFallbackMessageEnabled__is_set); } /** * element : isSaveTranscriptEnabled of type {http://www.w3.org/2001/XMLSchema}boolean * java type: boolean */ private boolean isSaveTranscriptEnabled__is_set = false; private boolean isSaveTranscriptEnabled; public boolean getIsSaveTranscriptEnabled() { return isSaveTranscriptEnabled; } public boolean isIsSaveTranscriptEnabled() { return isSaveTranscriptEnabled; } public void setIsSaveTranscriptEnabled(boolean isSaveTranscriptEnabled) { this.isSaveTranscriptEnabled = isSaveTranscriptEnabled; isSaveTranscriptEnabled__is_set = true; } protected void setIsSaveTranscriptEnabled(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("isSaveTranscriptEnabled", "http://soap.sforce.com/2006/04/metadata","isSaveTranscriptEnabled","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) { setIsSaveTranscriptEnabled(__typeMapper.readBoolean(__in, _lookupTypeInfo("isSaveTranscriptEnabled", "http://soap.sforce.com/2006/04/metadata","isSaveTranscriptEnabled","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class)); } } private void writeFieldIsSaveTranscriptEnabled(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("isSaveTranscriptEnabled", "http://soap.sforce.com/2006/04/metadata","isSaveTranscriptEnabled","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), isSaveTranscriptEnabled, isSaveTranscriptEnabled__is_set); } /** * element : maxFileSize of type {http://www.w3.org/2001/XMLSchema}int * java type: int */ private boolean maxFileSize__is_set = false; private int maxFileSize; public int getMaxFileSize() { return maxFileSize; } public void setMaxFileSize(int maxFileSize) { this.maxFileSize = maxFileSize; maxFileSize__is_set = true; } protected void setMaxFileSize(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("maxFileSize", "http://soap.sforce.com/2006/04/metadata","maxFileSize","http://www.w3.org/2001/XMLSchema","int",0,1,true))) { setMaxFileSize((int)__typeMapper.readInt(__in, _lookupTypeInfo("maxFileSize", "http://soap.sforce.com/2006/04/metadata","maxFileSize","http://www.w3.org/2001/XMLSchema","int",0,1,true), int.class)); } } private void writeFieldMaxFileSize(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("maxFileSize", "http://soap.sforce.com/2006/04/metadata","maxFileSize","http://www.w3.org/2001/XMLSchema","int",0,1,true), maxFileSize, maxFileSize__is_set); } /** * element : messagingAuthorizations of type {http://soap.sforce.com/2006/04/metadata}MessagingAuthorization * java type: com.sforce.soap.metadata.MessagingAuthorization[] */ private boolean messagingAuthorizations__is_set = false; private com.sforce.soap.metadata.MessagingAuthorization[] messagingAuthorizations = new com.sforce.soap.metadata.MessagingAuthorization[0]; public com.sforce.soap.metadata.MessagingAuthorization[] getMessagingAuthorizations() { return messagingAuthorizations; } public void setMessagingAuthorizations(com.sforce.soap.metadata.MessagingAuthorization[] messagingAuthorizations) { this.messagingAuthorizations = messagingAuthorizations; messagingAuthorizations__is_set = true; } protected void setMessagingAuthorizations(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("messagingAuthorizations", "http://soap.sforce.com/2006/04/metadata","messagingAuthorizations","http://soap.sforce.com/2006/04/metadata","MessagingAuthorization",0,-1,true))) { setMessagingAuthorizations((com.sforce.soap.metadata.MessagingAuthorization[])__typeMapper.readObject(__in, _lookupTypeInfo("messagingAuthorizations", "http://soap.sforce.com/2006/04/metadata","messagingAuthorizations","http://soap.sforce.com/2006/04/metadata","MessagingAuthorization",0,-1,true), com.sforce.soap.metadata.MessagingAuthorization[].class)); } } private void writeFieldMessagingAuthorizations(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("messagingAuthorizations", "http://soap.sforce.com/2006/04/metadata","messagingAuthorizations","http://soap.sforce.com/2006/04/metadata","MessagingAuthorization",0,-1,true), messagingAuthorizations, messagingAuthorizations__is_set); } /** * element : queueLimitType of type {http://soap.sforce.com/2006/04/metadata}EmbeddedMsgQueueLimitType * java type: java.lang.String */ private boolean queueLimitType__is_set = false; private java.lang.String queueLimitType; public java.lang.String getQueueLimitType() { return queueLimitType; } public void setQueueLimitType(java.lang.String queueLimitType) { this.queueLimitType = queueLimitType; queueLimitType__is_set = true; } protected void setQueueLimitType(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("queueLimitType", "http://soap.sforce.com/2006/04/metadata","queueLimitType","http://soap.sforce.com/2006/04/metadata","EmbeddedMsgQueueLimitType",0,1,true))) { setQueueLimitType(__typeMapper.readString(__in, _lookupTypeInfo("queueLimitType", "http://soap.sforce.com/2006/04/metadata","queueLimitType","http://soap.sforce.com/2006/04/metadata","EmbeddedMsgQueueLimitType",0,1,true), java.lang.String.class)); } } private void writeFieldQueueLimitType(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("queueLimitType", "http://soap.sforce.com/2006/04/metadata","queueLimitType","http://soap.sforce.com/2006/04/metadata","EmbeddedMsgQueueLimitType",0,1,true), queueLimitType, queueLimitType__is_set); } /** * element : queueThreshold of type {http://www.w3.org/2001/XMLSchema}int * java type: int */ private boolean queueThreshold__is_set = false; private int queueThreshold; public int getQueueThreshold() { return queueThreshold; } public void setQueueThreshold(int queueThreshold) { this.queueThreshold = queueThreshold; queueThreshold__is_set = true; } protected void setQueueThreshold(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("queueThreshold", "http://soap.sforce.com/2006/04/metadata","queueThreshold","http://www.w3.org/2001/XMLSchema","int",0,1,true))) { setQueueThreshold((int)__typeMapper.readInt(__in, _lookupTypeInfo("queueThreshold", "http://soap.sforce.com/2006/04/metadata","queueThreshold","http://www.w3.org/2001/XMLSchema","int",0,1,true), int.class)); } } private void writeFieldQueueThreshold(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("queueThreshold", "http://soap.sforce.com/2006/04/metadata","queueThreshold","http://www.w3.org/2001/XMLSchema","int",0,1,true), queueThreshold, queueThreshold__is_set); } /** * element : verifiedUserJwtExpirationTime of type {http://www.w3.org/2001/XMLSchema}int * java type: int */ private boolean verifiedUserJwtExpirationTime__is_set = false; private int verifiedUserJwtExpirationTime; public int getVerifiedUserJwtExpirationTime() { return verifiedUserJwtExpirationTime; } public void setVerifiedUserJwtExpirationTime(int verifiedUserJwtExpirationTime) { this.verifiedUserJwtExpirationTime = verifiedUserJwtExpirationTime; verifiedUserJwtExpirationTime__is_set = true; } protected void setVerifiedUserJwtExpirationTime(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("verifiedUserJwtExpirationTime", "http://soap.sforce.com/2006/04/metadata","verifiedUserJwtExpirationTime","http://www.w3.org/2001/XMLSchema","int",0,1,true))) { setVerifiedUserJwtExpirationTime((int)__typeMapper.readInt(__in, _lookupTypeInfo("verifiedUserJwtExpirationTime", "http://soap.sforce.com/2006/04/metadata","verifiedUserJwtExpirationTime","http://www.w3.org/2001/XMLSchema","int",0,1,true), int.class)); } } private void writeFieldVerifiedUserJwtExpirationTime(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("verifiedUserJwtExpirationTime", "http://soap.sforce.com/2006/04/metadata","verifiedUserJwtExpirationTime","http://www.w3.org/2001/XMLSchema","int",0,1,true), verifiedUserJwtExpirationTime, verifiedUserJwtExpirationTime__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()); 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 { 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 { loadFields1(__in, __typeMapper); } @Override public String toString() { java.lang.StringBuilder sb = new java.lang.StringBuilder(); sb.append("[EmbeddedMessagingChannel "); 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 { writeFieldAllowedFileTypes(__out, __typeMapper); writeFieldAnonymousUserJwtExpirationTime(__out, __typeMapper); writeFieldAuthMode(__out, __typeMapper); writeFieldConnectedApp(__out, __typeMapper); writeFieldIsAgentAvlCheckEnabled(__out, __typeMapper); writeFieldIsAttachmentUploadEnabled(__out, __typeMapper); writeFieldIsEstimatedWaitTimeEnabled(__out, __typeMapper); writeFieldIsFallbackMessageEnabled(__out, __typeMapper); writeFieldIsSaveTranscriptEnabled(__out, __typeMapper); writeFieldMaxFileSize(__out, __typeMapper); writeFieldMessagingAuthorizations(__out, __typeMapper); writeFieldQueueLimitType(__out, __typeMapper); writeFieldQueueThreshold(__out, __typeMapper); writeFieldVerifiedUserJwtExpirationTime(__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 { setAllowedFileTypes(__in, __typeMapper); setAnonymousUserJwtExpirationTime(__in, __typeMapper); setAuthMode(__in, __typeMapper); setConnectedApp(__in, __typeMapper); setIsAgentAvlCheckEnabled(__in, __typeMapper); setIsAttachmentUploadEnabled(__in, __typeMapper); setIsEstimatedWaitTimeEnabled(__in, __typeMapper); setIsFallbackMessageEnabled(__in, __typeMapper); setIsSaveTranscriptEnabled(__in, __typeMapper); setMaxFileSize(__in, __typeMapper); setMessagingAuthorizations(__in, __typeMapper); setQueueLimitType(__in, __typeMapper); setQueueThreshold(__in, __typeMapper); setVerifiedUserJwtExpirationTime(__in, __typeMapper); } private void toString1(StringBuilder sb) { toStringHelper(sb, "allowedFileTypes", allowedFileTypes); toStringHelper(sb, "anonymousUserJwtExpirationTime", anonymousUserJwtExpirationTime); toStringHelper(sb, "authMode", authMode); toStringHelper(sb, "connectedApp", connectedApp); toStringHelper(sb, "isAgentAvlCheckEnabled", isAgentAvlCheckEnabled); toStringHelper(sb, "isAttachmentUploadEnabled", isAttachmentUploadEnabled); toStringHelper(sb, "isEstimatedWaitTimeEnabled", isEstimatedWaitTimeEnabled); toStringHelper(sb, "isFallbackMessageEnabled", isFallbackMessageEnabled); toStringHelper(sb, "isSaveTranscriptEnabled", isSaveTranscriptEnabled); toStringHelper(sb, "maxFileSize", maxFileSize); toStringHelper(sb, "messagingAuthorizations", messagingAuthorizations); toStringHelper(sb, "queueLimitType", queueLimitType); toStringHelper(sb, "queueThreshold", queueThreshold); toStringHelper(sb, "verifiedUserJwtExpirationTime", verifiedUserJwtExpirationTime); } }