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 EmbeddedServiceMessagingChannel implements com.sforce.ws.bind.XMLizable { /** * Constructor */ public EmbeddedServiceMessagingChannel() {} /* 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 : businessHours of type {http://www.w3.org/2001/XMLSchema}string * java type: java.lang.String */ private boolean businessHours__is_set = false; private java.lang.String businessHours; public java.lang.String getBusinessHours() { return businessHours; } public void setBusinessHours(java.lang.String businessHours) { this.businessHours = businessHours; businessHours__is_set = true; } protected void setBusinessHours(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("businessHours", "http://soap.sforce.com/2006/04/metadata","businessHours","http://www.w3.org/2001/XMLSchema","string",0,1,true))) { setBusinessHours(__typeMapper.readString(__in, _lookupTypeInfo("businessHours", "http://soap.sforce.com/2006/04/metadata","businessHours","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class)); } } private void writeFieldBusinessHours(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("businessHours", "http://soap.sforce.com/2006/04/metadata","businessHours","http://www.w3.org/2001/XMLSchema","string",0,1,true), businessHours, businessHours__is_set); } /** * element : embdMsgChannelInvitationConditions of type {http://soap.sforce.com/2006/04/metadata}EmbdMsgChannelInvitationCondition * java type: com.sforce.soap.metadata.EmbdMsgChannelInvitationCondition[] */ private boolean embdMsgChannelInvitationConditions__is_set = false; private com.sforce.soap.metadata.EmbdMsgChannelInvitationCondition[] embdMsgChannelInvitationConditions = new com.sforce.soap.metadata.EmbdMsgChannelInvitationCondition[0]; public com.sforce.soap.metadata.EmbdMsgChannelInvitationCondition[] getEmbdMsgChannelInvitationConditions() { return embdMsgChannelInvitationConditions; } public void setEmbdMsgChannelInvitationConditions(com.sforce.soap.metadata.EmbdMsgChannelInvitationCondition[] embdMsgChannelInvitationConditions) { this.embdMsgChannelInvitationConditions = embdMsgChannelInvitationConditions; embdMsgChannelInvitationConditions__is_set = true; } protected void setEmbdMsgChannelInvitationConditions(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("embdMsgChannelInvitationConditions", "http://soap.sforce.com/2006/04/metadata","embdMsgChannelInvitationConditions","http://soap.sforce.com/2006/04/metadata","EmbdMsgChannelInvitationCondition",0,-1,true))) { setEmbdMsgChannelInvitationConditions((com.sforce.soap.metadata.EmbdMsgChannelInvitationCondition[])__typeMapper.readObject(__in, _lookupTypeInfo("embdMsgChannelInvitationConditions", "http://soap.sforce.com/2006/04/metadata","embdMsgChannelInvitationConditions","http://soap.sforce.com/2006/04/metadata","EmbdMsgChannelInvitationCondition",0,-1,true), com.sforce.soap.metadata.EmbdMsgChannelInvitationCondition[].class)); } } private void writeFieldEmbdMsgChannelInvitationConditions(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("embdMsgChannelInvitationConditions", "http://soap.sforce.com/2006/04/metadata","embdMsgChannelInvitationConditions","http://soap.sforce.com/2006/04/metadata","EmbdMsgChannelInvitationCondition",0,-1,true), embdMsgChannelInvitationConditions, embdMsgChannelInvitationConditions__is_set); } /** * element : formula of type {http://www.w3.org/2001/XMLSchema}string * java type: java.lang.String */ private boolean formula__is_set = false; private java.lang.String formula; public java.lang.String getFormula() { return formula; } public void setFormula(java.lang.String formula) { this.formula = formula; formula__is_set = true; } protected void setFormula(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("formula", "http://soap.sforce.com/2006/04/metadata","formula","http://www.w3.org/2001/XMLSchema","string",0,1,true))) { setFormula(__typeMapper.readString(__in, _lookupTypeInfo("formula", "http://soap.sforce.com/2006/04/metadata","formula","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class)); } } private void writeFieldFormula(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("formula", "http://soap.sforce.com/2006/04/metadata","formula","http://www.w3.org/2001/XMLSchema","string",0,1,true), formula, formula__is_set); } /** * element : isChatInvitationCustomizable of type {http://www.w3.org/2001/XMLSchema}boolean * java type: boolean */ private boolean isChatInvitationCustomizable__is_set = false; private boolean isChatInvitationCustomizable; public boolean getIsChatInvitationCustomizable() { return isChatInvitationCustomizable; } public boolean isIsChatInvitationCustomizable() { return isChatInvitationCustomizable; } public void setIsChatInvitationCustomizable(boolean isChatInvitationCustomizable) { this.isChatInvitationCustomizable = isChatInvitationCustomizable; isChatInvitationCustomizable__is_set = true; } protected void setIsChatInvitationCustomizable(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("isChatInvitationCustomizable", "http://soap.sforce.com/2006/04/metadata","isChatInvitationCustomizable","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) { setIsChatInvitationCustomizable(__typeMapper.readBoolean(__in, _lookupTypeInfo("isChatInvitationCustomizable", "http://soap.sforce.com/2006/04/metadata","isChatInvitationCustomizable","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class)); } } private void writeFieldIsChatInvitationCustomizable(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("isChatInvitationCustomizable", "http://soap.sforce.com/2006/04/metadata","isChatInvitationCustomizable","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), isChatInvitationCustomizable, isChatInvitationCustomizable__is_set); } /** * element : isEnabled of type {http://www.w3.org/2001/XMLSchema}boolean * java type: boolean */ private boolean isEnabled__is_set = false; private boolean isEnabled; public boolean getIsEnabled() { return isEnabled; } public boolean isIsEnabled() { return isEnabled; } public void setIsEnabled(boolean isEnabled) { this.isEnabled = isEnabled; isEnabled__is_set = true; } protected void setIsEnabled(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("isEnabled", "http://soap.sforce.com/2006/04/metadata","isEnabled","http://www.w3.org/2001/XMLSchema","boolean",1,1,true))) { setIsEnabled(__typeMapper.readBoolean(__in, _lookupTypeInfo("isEnabled", "http://soap.sforce.com/2006/04/metadata","isEnabled","http://www.w3.org/2001/XMLSchema","boolean",1,1,true), boolean.class)); } } private void writeFieldIsEnabled(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("isEnabled", "http://soap.sforce.com/2006/04/metadata","isEnabled","http://www.w3.org/2001/XMLSchema","boolean",1,1,true), isEnabled, isEnabled__is_set); } /** * element : isInvitationEnabled of type {http://www.w3.org/2001/XMLSchema}boolean * java type: boolean */ private boolean isInvitationEnabled__is_set = false; private boolean isInvitationEnabled; public boolean getIsInvitationEnabled() { return isInvitationEnabled; } public boolean isIsInvitationEnabled() { return isInvitationEnabled; } public void setIsInvitationEnabled(boolean isInvitationEnabled) { this.isInvitationEnabled = isInvitationEnabled; isInvitationEnabled__is_set = true; } protected void setIsInvitationEnabled(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("isInvitationEnabled", "http://soap.sforce.com/2006/04/metadata","isInvitationEnabled","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) { setIsInvitationEnabled(__typeMapper.readBoolean(__in, _lookupTypeInfo("isInvitationEnabled", "http://soap.sforce.com/2006/04/metadata","isInvitationEnabled","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class)); } } private void writeFieldIsInvitationEnabled(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("isInvitationEnabled", "http://soap.sforce.com/2006/04/metadata","isInvitationEnabled","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), isInvitationEnabled, isInvitationEnabled__is_set); } /** * element : isSendInvtAllowedAfterAccept of type {http://www.w3.org/2001/XMLSchema}boolean * java type: boolean */ private boolean isSendInvtAllowedAfterAccept__is_set = false; private boolean isSendInvtAllowedAfterAccept; public boolean getIsSendInvtAllowedAfterAccept() { return isSendInvtAllowedAfterAccept; } public boolean isIsSendInvtAllowedAfterAccept() { return isSendInvtAllowedAfterAccept; } public void setIsSendInvtAllowedAfterAccept(boolean isSendInvtAllowedAfterAccept) { this.isSendInvtAllowedAfterAccept = isSendInvtAllowedAfterAccept; isSendInvtAllowedAfterAccept__is_set = true; } protected void setIsSendInvtAllowedAfterAccept(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("isSendInvtAllowedAfterAccept", "http://soap.sforce.com/2006/04/metadata","isSendInvtAllowedAfterAccept","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) { setIsSendInvtAllowedAfterAccept(__typeMapper.readBoolean(__in, _lookupTypeInfo("isSendInvtAllowedAfterAccept", "http://soap.sforce.com/2006/04/metadata","isSendInvtAllowedAfterAccept","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class)); } } private void writeFieldIsSendInvtAllowedAfterAccept(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("isSendInvtAllowedAfterAccept", "http://soap.sforce.com/2006/04/metadata","isSendInvtAllowedAfterAccept","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), isSendInvtAllowedAfterAccept, isSendInvtAllowedAfterAccept__is_set); } /** * element : isSendInvtAllowedAfterReject of type {http://www.w3.org/2001/XMLSchema}boolean * java type: boolean */ private boolean isSendInvtAllowedAfterReject__is_set = false; private boolean isSendInvtAllowedAfterReject; public boolean getIsSendInvtAllowedAfterReject() { return isSendInvtAllowedAfterReject; } public boolean isIsSendInvtAllowedAfterReject() { return isSendInvtAllowedAfterReject; } public void setIsSendInvtAllowedAfterReject(boolean isSendInvtAllowedAfterReject) { this.isSendInvtAllowedAfterReject = isSendInvtAllowedAfterReject; isSendInvtAllowedAfterReject__is_set = true; } protected void setIsSendInvtAllowedAfterReject(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("isSendInvtAllowedAfterReject", "http://soap.sforce.com/2006/04/metadata","isSendInvtAllowedAfterReject","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) { setIsSendInvtAllowedAfterReject(__typeMapper.readBoolean(__in, _lookupTypeInfo("isSendInvtAllowedAfterReject", "http://soap.sforce.com/2006/04/metadata","isSendInvtAllowedAfterReject","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class)); } } private void writeFieldIsSendInvtAllowedAfterReject(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("isSendInvtAllowedAfterReject", "http://soap.sforce.com/2006/04/metadata","isSendInvtAllowedAfterReject","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), isSendInvtAllowedAfterReject, isSendInvtAllowedAfterReject__is_set); } /** * element : messagingChannel of type {http://www.w3.org/2001/XMLSchema}string * java type: java.lang.String */ private boolean messagingChannel__is_set = false; private java.lang.String messagingChannel; public java.lang.String getMessagingChannel() { return messagingChannel; } public void setMessagingChannel(java.lang.String messagingChannel) { this.messagingChannel = messagingChannel; messagingChannel__is_set = true; } protected void setMessagingChannel(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("messagingChannel", "http://soap.sforce.com/2006/04/metadata","messagingChannel","http://www.w3.org/2001/XMLSchema","string",1,1,true))) { setMessagingChannel(__typeMapper.readString(__in, _lookupTypeInfo("messagingChannel", "http://soap.sforce.com/2006/04/metadata","messagingChannel","http://www.w3.org/2001/XMLSchema","string",1,1,true), java.lang.String.class)); } } private void writeFieldMessagingChannel(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("messagingChannel", "http://soap.sforce.com/2006/04/metadata","messagingChannel","http://www.w3.org/2001/XMLSchema","string",1,1,true), messagingChannel, messagingChannel__is_set); } /** * element : shouldShowDeliveryReceipts of type {http://www.w3.org/2001/XMLSchema}boolean * java type: boolean */ private boolean shouldShowDeliveryReceipts__is_set = false; private boolean shouldShowDeliveryReceipts; public boolean getShouldShowDeliveryReceipts() { return shouldShowDeliveryReceipts; } public boolean isShouldShowDeliveryReceipts() { return shouldShowDeliveryReceipts; } public void setShouldShowDeliveryReceipts(boolean shouldShowDeliveryReceipts) { this.shouldShowDeliveryReceipts = shouldShowDeliveryReceipts; shouldShowDeliveryReceipts__is_set = true; } protected void setShouldShowDeliveryReceipts(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("shouldShowDeliveryReceipts", "http://soap.sforce.com/2006/04/metadata","shouldShowDeliveryReceipts","http://www.w3.org/2001/XMLSchema","boolean",1,1,true))) { setShouldShowDeliveryReceipts(__typeMapper.readBoolean(__in, _lookupTypeInfo("shouldShowDeliveryReceipts", "http://soap.sforce.com/2006/04/metadata","shouldShowDeliveryReceipts","http://www.w3.org/2001/XMLSchema","boolean",1,1,true), boolean.class)); } } private void writeFieldShouldShowDeliveryReceipts(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("shouldShowDeliveryReceipts", "http://soap.sforce.com/2006/04/metadata","shouldShowDeliveryReceipts","http://www.w3.org/2001/XMLSchema","boolean",1,1,true), shouldShowDeliveryReceipts, shouldShowDeliveryReceipts__is_set); } /** * element : shouldShowEmojiSelection of type {http://www.w3.org/2001/XMLSchema}boolean * java type: boolean */ private boolean shouldShowEmojiSelection__is_set = false; private boolean shouldShowEmojiSelection; public boolean getShouldShowEmojiSelection() { return shouldShowEmojiSelection; } public boolean isShouldShowEmojiSelection() { return shouldShowEmojiSelection; } public void setShouldShowEmojiSelection(boolean shouldShowEmojiSelection) { this.shouldShowEmojiSelection = shouldShowEmojiSelection; shouldShowEmojiSelection__is_set = true; } protected void setShouldShowEmojiSelection(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("shouldShowEmojiSelection", "http://soap.sforce.com/2006/04/metadata","shouldShowEmojiSelection","http://www.w3.org/2001/XMLSchema","boolean",1,1,true))) { setShouldShowEmojiSelection(__typeMapper.readBoolean(__in, _lookupTypeInfo("shouldShowEmojiSelection", "http://soap.sforce.com/2006/04/metadata","shouldShowEmojiSelection","http://www.w3.org/2001/XMLSchema","boolean",1,1,true), boolean.class)); } } private void writeFieldShouldShowEmojiSelection(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("shouldShowEmojiSelection", "http://soap.sforce.com/2006/04/metadata","shouldShowEmojiSelection","http://www.w3.org/2001/XMLSchema","boolean",1,1,true), shouldShowEmojiSelection, shouldShowEmojiSelection__is_set); } /** * element : shouldShowReadReceipts of type {http://www.w3.org/2001/XMLSchema}boolean * java type: boolean */ private boolean shouldShowReadReceipts__is_set = false; private boolean shouldShowReadReceipts; public boolean getShouldShowReadReceipts() { return shouldShowReadReceipts; } public boolean isShouldShowReadReceipts() { return shouldShowReadReceipts; } public void setShouldShowReadReceipts(boolean shouldShowReadReceipts) { this.shouldShowReadReceipts = shouldShowReadReceipts; shouldShowReadReceipts__is_set = true; } protected void setShouldShowReadReceipts(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("shouldShowReadReceipts", "http://soap.sforce.com/2006/04/metadata","shouldShowReadReceipts","http://www.w3.org/2001/XMLSchema","boolean",1,1,true))) { setShouldShowReadReceipts(__typeMapper.readBoolean(__in, _lookupTypeInfo("shouldShowReadReceipts", "http://soap.sforce.com/2006/04/metadata","shouldShowReadReceipts","http://www.w3.org/2001/XMLSchema","boolean",1,1,true), boolean.class)); } } private void writeFieldShouldShowReadReceipts(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("shouldShowReadReceipts", "http://soap.sforce.com/2006/04/metadata","shouldShowReadReceipts","http://www.w3.org/2001/XMLSchema","boolean",1,1,true), shouldShowReadReceipts, shouldShowReadReceipts__is_set); } /** * element : shouldShowTypingIndicators of type {http://www.w3.org/2001/XMLSchema}boolean * java type: boolean */ private boolean shouldShowTypingIndicators__is_set = false; private boolean shouldShowTypingIndicators; public boolean getShouldShowTypingIndicators() { return shouldShowTypingIndicators; } public boolean isShouldShowTypingIndicators() { return shouldShowTypingIndicators; } public void setShouldShowTypingIndicators(boolean shouldShowTypingIndicators) { this.shouldShowTypingIndicators = shouldShowTypingIndicators; shouldShowTypingIndicators__is_set = true; } protected void setShouldShowTypingIndicators(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("shouldShowTypingIndicators", "http://soap.sforce.com/2006/04/metadata","shouldShowTypingIndicators","http://www.w3.org/2001/XMLSchema","boolean",1,1,true))) { setShouldShowTypingIndicators(__typeMapper.readBoolean(__in, _lookupTypeInfo("shouldShowTypingIndicators", "http://soap.sforce.com/2006/04/metadata","shouldShowTypingIndicators","http://www.w3.org/2001/XMLSchema","boolean",1,1,true), boolean.class)); } } private void writeFieldShouldShowTypingIndicators(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("shouldShowTypingIndicators", "http://soap.sforce.com/2006/04/metadata","shouldShowTypingIndicators","http://www.w3.org/2001/XMLSchema","boolean",1,1,true), shouldShowTypingIndicators, shouldShowTypingIndicators__is_set); } /** * element : shouldStartNewLineOnEnter of type {http://www.w3.org/2001/XMLSchema}boolean * java type: boolean */ private boolean shouldStartNewLineOnEnter__is_set = false; private boolean shouldStartNewLineOnEnter; public boolean getShouldStartNewLineOnEnter() { return shouldStartNewLineOnEnter; } public boolean isShouldStartNewLineOnEnter() { return shouldStartNewLineOnEnter; } public void setShouldStartNewLineOnEnter(boolean shouldStartNewLineOnEnter) { this.shouldStartNewLineOnEnter = shouldStartNewLineOnEnter; shouldStartNewLineOnEnter__is_set = true; } protected void setShouldStartNewLineOnEnter(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("shouldStartNewLineOnEnter", "http://soap.sforce.com/2006/04/metadata","shouldStartNewLineOnEnter","http://www.w3.org/2001/XMLSchema","boolean",1,1,true))) { setShouldStartNewLineOnEnter(__typeMapper.readBoolean(__in, _lookupTypeInfo("shouldStartNewLineOnEnter", "http://soap.sforce.com/2006/04/metadata","shouldStartNewLineOnEnter","http://www.w3.org/2001/XMLSchema","boolean",1,1,true), boolean.class)); } } private void writeFieldShouldStartNewLineOnEnter(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("shouldStartNewLineOnEnter", "http://soap.sforce.com/2006/04/metadata","shouldStartNewLineOnEnter","http://www.w3.org/2001/XMLSchema","boolean",1,1,true), shouldStartNewLineOnEnter, shouldStartNewLineOnEnter__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("[EmbeddedServiceMessagingChannel "); 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 { writeFieldBusinessHours(__out, __typeMapper); writeFieldEmbdMsgChannelInvitationConditions(__out, __typeMapper); writeFieldFormula(__out, __typeMapper); writeFieldIsChatInvitationCustomizable(__out, __typeMapper); writeFieldIsEnabled(__out, __typeMapper); writeFieldIsInvitationEnabled(__out, __typeMapper); writeFieldIsSendInvtAllowedAfterAccept(__out, __typeMapper); writeFieldIsSendInvtAllowedAfterReject(__out, __typeMapper); writeFieldMessagingChannel(__out, __typeMapper); writeFieldShouldShowDeliveryReceipts(__out, __typeMapper); writeFieldShouldShowEmojiSelection(__out, __typeMapper); writeFieldShouldShowReadReceipts(__out, __typeMapper); writeFieldShouldShowTypingIndicators(__out, __typeMapper); writeFieldShouldStartNewLineOnEnter(__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 { setBusinessHours(__in, __typeMapper); setEmbdMsgChannelInvitationConditions(__in, __typeMapper); setFormula(__in, __typeMapper); setIsChatInvitationCustomizable(__in, __typeMapper); setIsEnabled(__in, __typeMapper); setIsInvitationEnabled(__in, __typeMapper); setIsSendInvtAllowedAfterAccept(__in, __typeMapper); setIsSendInvtAllowedAfterReject(__in, __typeMapper); setMessagingChannel(__in, __typeMapper); setShouldShowDeliveryReceipts(__in, __typeMapper); setShouldShowEmojiSelection(__in, __typeMapper); setShouldShowReadReceipts(__in, __typeMapper); setShouldShowTypingIndicators(__in, __typeMapper); setShouldStartNewLineOnEnter(__in, __typeMapper); } private void toString1(StringBuilder sb) { toStringHelper(sb, "businessHours", businessHours); toStringHelper(sb, "embdMsgChannelInvitationConditions", embdMsgChannelInvitationConditions); toStringHelper(sb, "formula", formula); toStringHelper(sb, "isChatInvitationCustomizable", isChatInvitationCustomizable); toStringHelper(sb, "isEnabled", isEnabled); toStringHelper(sb, "isInvitationEnabled", isInvitationEnabled); toStringHelper(sb, "isSendInvtAllowedAfterAccept", isSendInvtAllowedAfterAccept); toStringHelper(sb, "isSendInvtAllowedAfterReject", isSendInvtAllowedAfterReject); toStringHelper(sb, "messagingChannel", messagingChannel); toStringHelper(sb, "shouldShowDeliveryReceipts", shouldShowDeliveryReceipts); toStringHelper(sb, "shouldShowEmojiSelection", shouldShowEmojiSelection); toStringHelper(sb, "shouldShowReadReceipts", shouldShowReadReceipts); toStringHelper(sb, "shouldShowTypingIndicators", shouldShowTypingIndicators); toStringHelper(sb, "shouldStartNewLineOnEnter", shouldStartNewLineOnEnter); } }