All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sforce.soap.metadata.MessagingChannel Maven / Gradle / Ivy

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 MessagingChannel extends com.sforce.soap.metadata.Metadata {

    /**
     * Constructor
     */
    public MessagingChannel() {}

    /* 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 : automatedResponses of type {http://soap.sforce.com/2006/04/metadata}MessagingAutoResponse
     * java type: com.sforce.soap.metadata.MessagingAutoResponse[]
     */
    private boolean automatedResponses__is_set = false;

    private com.sforce.soap.metadata.MessagingAutoResponse[] automatedResponses = new com.sforce.soap.metadata.MessagingAutoResponse[0];

    public com.sforce.soap.metadata.MessagingAutoResponse[] getAutomatedResponses() {
      return automatedResponses;
    }

    public void setAutomatedResponses(com.sforce.soap.metadata.MessagingAutoResponse[] automatedResponses) {
      this.automatedResponses = automatedResponses;
      automatedResponses__is_set = true;
    }

    protected void setAutomatedResponses(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("automatedResponses", "http://soap.sforce.com/2006/04/metadata","automatedResponses","http://soap.sforce.com/2006/04/metadata","MessagingAutoResponse",0,-1,true))) {
        setAutomatedResponses((com.sforce.soap.metadata.MessagingAutoResponse[])__typeMapper.readObject(__in, _lookupTypeInfo("automatedResponses", "http://soap.sforce.com/2006/04/metadata","automatedResponses","http://soap.sforce.com/2006/04/metadata","MessagingAutoResponse",0,-1,true), com.sforce.soap.metadata.MessagingAutoResponse[].class));
      }
    }

    private void writeFieldAutomatedResponses(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("automatedResponses", "http://soap.sforce.com/2006/04/metadata","automatedResponses","http://soap.sforce.com/2006/04/metadata","MessagingAutoResponse",0,-1,true), automatedResponses, automatedResponses__is_set);
    }

    /**
     * element : channelUsages of type {http://soap.sforce.com/2006/04/metadata}MessagingChannelUsage
     * java type: com.sforce.soap.metadata.MessagingChannelUsage[]
     */
    private boolean channelUsages__is_set = false;

    private com.sforce.soap.metadata.MessagingChannelUsage[] channelUsages = new com.sforce.soap.metadata.MessagingChannelUsage[0];

    public com.sforce.soap.metadata.MessagingChannelUsage[] getChannelUsages() {
      return channelUsages;
    }

    public void setChannelUsages(com.sforce.soap.metadata.MessagingChannelUsage[] channelUsages) {
      this.channelUsages = channelUsages;
      channelUsages__is_set = true;
    }

    protected void setChannelUsages(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("channelUsages", "http://soap.sforce.com/2006/04/metadata","channelUsages","http://soap.sforce.com/2006/04/metadata","MessagingChannelUsage",0,-1,true))) {
        setChannelUsages((com.sforce.soap.metadata.MessagingChannelUsage[])__typeMapper.readObject(__in, _lookupTypeInfo("channelUsages", "http://soap.sforce.com/2006/04/metadata","channelUsages","http://soap.sforce.com/2006/04/metadata","MessagingChannelUsage",0,-1,true), com.sforce.soap.metadata.MessagingChannelUsage[].class));
      }
    }

    private void writeFieldChannelUsages(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("channelUsages", "http://soap.sforce.com/2006/04/metadata","channelUsages","http://soap.sforce.com/2006/04/metadata","MessagingChannelUsage",0,-1,true), channelUsages, channelUsages__is_set);
    }

    /**
     * element : countryCode of type {http://www.w3.org/2001/XMLSchema}string
     * java type: java.lang.String
     */
    private boolean countryCode__is_set = false;

    private java.lang.String countryCode;

    public java.lang.String getCountryCode() {
      return countryCode;
    }

    public void setCountryCode(java.lang.String countryCode) {
      this.countryCode = countryCode;
      countryCode__is_set = true;
    }

    protected void setCountryCode(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("countryCode", "http://soap.sforce.com/2006/04/metadata","countryCode","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
        setCountryCode(__typeMapper.readString(__in, _lookupTypeInfo("countryCode", "http://soap.sforce.com/2006/04/metadata","countryCode","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
      }
    }

    private void writeFieldCountryCode(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("countryCode", "http://soap.sforce.com/2006/04/metadata","countryCode","http://www.w3.org/2001/XMLSchema","string",0,1,true), countryCode, countryCode__is_set);
    }

    /**
     * element : customParameters of type {http://soap.sforce.com/2006/04/metadata}MessagingChannelCustomParameter
     * java type: com.sforce.soap.metadata.MessagingChannelCustomParameter[]
     */
    private boolean customParameters__is_set = false;

    private com.sforce.soap.metadata.MessagingChannelCustomParameter[] customParameters = new com.sforce.soap.metadata.MessagingChannelCustomParameter[0];

    public com.sforce.soap.metadata.MessagingChannelCustomParameter[] getCustomParameters() {
      return customParameters;
    }

    public void setCustomParameters(com.sforce.soap.metadata.MessagingChannelCustomParameter[] customParameters) {
      this.customParameters = customParameters;
      customParameters__is_set = true;
    }

    protected void setCustomParameters(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("customParameters", "http://soap.sforce.com/2006/04/metadata","customParameters","http://soap.sforce.com/2006/04/metadata","MessagingChannelCustomParameter",0,-1,true))) {
        setCustomParameters((com.sforce.soap.metadata.MessagingChannelCustomParameter[])__typeMapper.readObject(__in, _lookupTypeInfo("customParameters", "http://soap.sforce.com/2006/04/metadata","customParameters","http://soap.sforce.com/2006/04/metadata","MessagingChannelCustomParameter",0,-1,true), com.sforce.soap.metadata.MessagingChannelCustomParameter[].class));
      }
    }

    private void writeFieldCustomParameters(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("customParameters", "http://soap.sforce.com/2006/04/metadata","customParameters","http://soap.sforce.com/2006/04/metadata","MessagingChannelCustomParameter",0,-1,true), customParameters, customParameters__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 : embeddedConfig of type {http://soap.sforce.com/2006/04/metadata}EmbeddedMessagingChannel
     * java type: com.sforce.soap.metadata.EmbeddedMessagingChannel
     */
    private boolean embeddedConfig__is_set = false;

    private com.sforce.soap.metadata.EmbeddedMessagingChannel embeddedConfig;

    public com.sforce.soap.metadata.EmbeddedMessagingChannel getEmbeddedConfig() {
      return embeddedConfig;
    }

    public void setEmbeddedConfig(com.sforce.soap.metadata.EmbeddedMessagingChannel embeddedConfig) {
      this.embeddedConfig = embeddedConfig;
      embeddedConfig__is_set = true;
    }

    protected void setEmbeddedConfig(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("embeddedConfig", "http://soap.sforce.com/2006/04/metadata","embeddedConfig","http://soap.sforce.com/2006/04/metadata","EmbeddedMessagingChannel",0,1,true))) {
        setEmbeddedConfig((com.sforce.soap.metadata.EmbeddedMessagingChannel)__typeMapper.readObject(__in, _lookupTypeInfo("embeddedConfig", "http://soap.sforce.com/2006/04/metadata","embeddedConfig","http://soap.sforce.com/2006/04/metadata","EmbeddedMessagingChannel",0,1,true), com.sforce.soap.metadata.EmbeddedMessagingChannel.class));
      }
    }

    private void writeFieldEmbeddedConfig(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("embeddedConfig", "http://soap.sforce.com/2006/04/metadata","embeddedConfig","http://soap.sforce.com/2006/04/metadata","EmbeddedMessagingChannel",0,1,true), embeddedConfig, embeddedConfig__is_set);
    }

    /**
     * element : externalAccountId of type {http://www.w3.org/2001/XMLSchema}string
     * java type: java.lang.String
     */
    private boolean externalAccountId__is_set = false;

    private java.lang.String externalAccountId;

    public java.lang.String getExternalAccountId() {
      return externalAccountId;
    }

    public void setExternalAccountId(java.lang.String externalAccountId) {
      this.externalAccountId = externalAccountId;
      externalAccountId__is_set = true;
    }

    protected void setExternalAccountId(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("externalAccountId", "http://soap.sforce.com/2006/04/metadata","externalAccountId","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
        setExternalAccountId(__typeMapper.readString(__in, _lookupTypeInfo("externalAccountId", "http://soap.sforce.com/2006/04/metadata","externalAccountId","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
      }
    }

    private void writeFieldExternalAccountId(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("externalAccountId", "http://soap.sforce.com/2006/04/metadata","externalAccountId","http://www.w3.org/2001/XMLSchema","string",0,1,true), externalAccountId, externalAccountId__is_set);
    }

    /**
     * element : masterLabel of type {http://www.w3.org/2001/XMLSchema}string
     * java type: java.lang.String
     */
    private boolean masterLabel__is_set = false;

    private java.lang.String masterLabel;

    public java.lang.String getMasterLabel() {
      return masterLabel;
    }

    public void setMasterLabel(java.lang.String masterLabel) {
      this.masterLabel = masterLabel;
      masterLabel__is_set = true;
    }

    protected void setMasterLabel(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("masterLabel", "http://soap.sforce.com/2006/04/metadata","masterLabel","http://www.w3.org/2001/XMLSchema","string",1,1,true))) {
        setMasterLabel(__typeMapper.readString(__in, _lookupTypeInfo("masterLabel", "http://soap.sforce.com/2006/04/metadata","masterLabel","http://www.w3.org/2001/XMLSchema","string",1,1,true), java.lang.String.class));
      }
    }

    private void writeFieldMasterLabel(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("masterLabel", "http://soap.sforce.com/2006/04/metadata","masterLabel","http://www.w3.org/2001/XMLSchema","string",1,1,true), masterLabel, masterLabel__is_set);
    }

    /**
     * element : messagingChannelType of type {http://soap.sforce.com/2006/04/metadata}MessagingChannelType
     * java type: com.sforce.soap.metadata.MessagingChannelType
     */
    private boolean messagingChannelType__is_set = false;

    private com.sforce.soap.metadata.MessagingChannelType messagingChannelType;

    public com.sforce.soap.metadata.MessagingChannelType getMessagingChannelType() {
      return messagingChannelType;
    }

    public void setMessagingChannelType(com.sforce.soap.metadata.MessagingChannelType messagingChannelType) {
      this.messagingChannelType = messagingChannelType;
      messagingChannelType__is_set = true;
    }

    protected void setMessagingChannelType(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("messagingChannelType", "http://soap.sforce.com/2006/04/metadata","messagingChannelType","http://soap.sforce.com/2006/04/metadata","MessagingChannelType",1,1,true))) {
        setMessagingChannelType((com.sforce.soap.metadata.MessagingChannelType)__typeMapper.readObject(__in, _lookupTypeInfo("messagingChannelType", "http://soap.sforce.com/2006/04/metadata","messagingChannelType","http://soap.sforce.com/2006/04/metadata","MessagingChannelType",1,1,true), com.sforce.soap.metadata.MessagingChannelType.class));
      }
    }

    private void writeFieldMessagingChannelType(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("messagingChannelType", "http://soap.sforce.com/2006/04/metadata","messagingChannelType","http://soap.sforce.com/2006/04/metadata","MessagingChannelType",1,1,true), messagingChannelType, messagingChannelType__is_set);
    }

    /**
     * element : messagingKeywords of type {http://soap.sforce.com/2006/04/metadata}MessagingKeyword
     * java type: com.sforce.soap.metadata.MessagingKeyword[]
     */
    private boolean messagingKeywords__is_set = false;

    private com.sforce.soap.metadata.MessagingKeyword[] messagingKeywords = new com.sforce.soap.metadata.MessagingKeyword[0];

    public com.sforce.soap.metadata.MessagingKeyword[] getMessagingKeywords() {
      return messagingKeywords;
    }

    public void setMessagingKeywords(com.sforce.soap.metadata.MessagingKeyword[] messagingKeywords) {
      this.messagingKeywords = messagingKeywords;
      messagingKeywords__is_set = true;
    }

    protected void setMessagingKeywords(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("messagingKeywords", "http://soap.sforce.com/2006/04/metadata","messagingKeywords","http://soap.sforce.com/2006/04/metadata","MessagingKeyword",0,-1,true))) {
        setMessagingKeywords((com.sforce.soap.metadata.MessagingKeyword[])__typeMapper.readObject(__in, _lookupTypeInfo("messagingKeywords", "http://soap.sforce.com/2006/04/metadata","messagingKeywords","http://soap.sforce.com/2006/04/metadata","MessagingKeyword",0,-1,true), com.sforce.soap.metadata.MessagingKeyword[].class));
      }
    }

    private void writeFieldMessagingKeywords(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("messagingKeywords", "http://soap.sforce.com/2006/04/metadata","messagingKeywords","http://soap.sforce.com/2006/04/metadata","MessagingKeyword",0,-1,true), messagingKeywords, messagingKeywords__is_set);
    }

    /**
     * element : platformKey of type {http://www.w3.org/2001/XMLSchema}string
     * java type: java.lang.String
     */
    private boolean platformKey__is_set = false;

    private java.lang.String platformKey;

    public java.lang.String getPlatformKey() {
      return platformKey;
    }

    public void setPlatformKey(java.lang.String platformKey) {
      this.platformKey = platformKey;
      platformKey__is_set = true;
    }

    protected void setPlatformKey(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("platformKey", "http://soap.sforce.com/2006/04/metadata","platformKey","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
        setPlatformKey(__typeMapper.readString(__in, _lookupTypeInfo("platformKey", "http://soap.sforce.com/2006/04/metadata","platformKey","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
      }
    }

    private void writeFieldPlatformKey(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("platformKey", "http://soap.sforce.com/2006/04/metadata","platformKey","http://www.w3.org/2001/XMLSchema","string",0,1,true), platformKey, platformKey__is_set);
    }

    /**
     * element : queueRoutingConfig of type {http://www.w3.org/2001/XMLSchema}string
     * java type: java.lang.String
     */
    private boolean queueRoutingConfig__is_set = false;

    private java.lang.String queueRoutingConfig;

    public java.lang.String getQueueRoutingConfig() {
      return queueRoutingConfig;
    }

    public void setQueueRoutingConfig(java.lang.String queueRoutingConfig) {
      this.queueRoutingConfig = queueRoutingConfig;
      queueRoutingConfig__is_set = true;
    }

    protected void setQueueRoutingConfig(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("queueRoutingConfig", "http://soap.sforce.com/2006/04/metadata","queueRoutingConfig","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
        setQueueRoutingConfig(__typeMapper.readString(__in, _lookupTypeInfo("queueRoutingConfig", "http://soap.sforce.com/2006/04/metadata","queueRoutingConfig","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
      }
    }

    private void writeFieldQueueRoutingConfig(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("queueRoutingConfig", "http://soap.sforce.com/2006/04/metadata","queueRoutingConfig","http://www.w3.org/2001/XMLSchema","string",0,1,true), queueRoutingConfig, queueRoutingConfig__is_set);
    }

    /**
     * element : sessionHandlerFlow of type {http://www.w3.org/2001/XMLSchema}string
     * java type: java.lang.String
     */
    private boolean sessionHandlerFlow__is_set = false;

    private java.lang.String sessionHandlerFlow;

    public java.lang.String getSessionHandlerFlow() {
      return sessionHandlerFlow;
    }

    public void setSessionHandlerFlow(java.lang.String sessionHandlerFlow) {
      this.sessionHandlerFlow = sessionHandlerFlow;
      sessionHandlerFlow__is_set = true;
    }

    protected void setSessionHandlerFlow(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("sessionHandlerFlow", "http://soap.sforce.com/2006/04/metadata","sessionHandlerFlow","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
        setSessionHandlerFlow(__typeMapper.readString(__in, _lookupTypeInfo("sessionHandlerFlow", "http://soap.sforce.com/2006/04/metadata","sessionHandlerFlow","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
      }
    }

    private void writeFieldSessionHandlerFlow(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("sessionHandlerFlow", "http://soap.sforce.com/2006/04/metadata","sessionHandlerFlow","http://www.w3.org/2001/XMLSchema","string",0,1,true), sessionHandlerFlow, sessionHandlerFlow__is_set);
    }

    /**
     * element : sessionHandlerQueue of type {http://www.w3.org/2001/XMLSchema}string
     * java type: java.lang.String
     */
    private boolean sessionHandlerQueue__is_set = false;

    private java.lang.String sessionHandlerQueue;

    public java.lang.String getSessionHandlerQueue() {
      return sessionHandlerQueue;
    }

    public void setSessionHandlerQueue(java.lang.String sessionHandlerQueue) {
      this.sessionHandlerQueue = sessionHandlerQueue;
      sessionHandlerQueue__is_set = true;
    }

    protected void setSessionHandlerQueue(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("sessionHandlerQueue", "http://soap.sforce.com/2006/04/metadata","sessionHandlerQueue","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
        setSessionHandlerQueue(__typeMapper.readString(__in, _lookupTypeInfo("sessionHandlerQueue", "http://soap.sforce.com/2006/04/metadata","sessionHandlerQueue","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
      }
    }

    private void writeFieldSessionHandlerQueue(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("sessionHandlerQueue", "http://soap.sforce.com/2006/04/metadata","sessionHandlerQueue","http://www.w3.org/2001/XMLSchema","string",0,1,true), sessionHandlerQueue, sessionHandlerQueue__is_set);
    }

    /**
     * element : sessionHandlerType of type {http://soap.sforce.com/2006/04/metadata}MessagingSessionHandlerType
     * java type: com.sforce.soap.metadata.MessagingSessionHandlerType
     */
    private boolean sessionHandlerType__is_set = false;

    private com.sforce.soap.metadata.MessagingSessionHandlerType sessionHandlerType;

    public com.sforce.soap.metadata.MessagingSessionHandlerType getSessionHandlerType() {
      return sessionHandlerType;
    }

    public void setSessionHandlerType(com.sforce.soap.metadata.MessagingSessionHandlerType sessionHandlerType) {
      this.sessionHandlerType = sessionHandlerType;
      sessionHandlerType__is_set = true;
    }

    protected void setSessionHandlerType(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("sessionHandlerType", "http://soap.sforce.com/2006/04/metadata","sessionHandlerType","http://soap.sforce.com/2006/04/metadata","MessagingSessionHandlerType",1,1,true))) {
        setSessionHandlerType((com.sforce.soap.metadata.MessagingSessionHandlerType)__typeMapper.readObject(__in, _lookupTypeInfo("sessionHandlerType", "http://soap.sforce.com/2006/04/metadata","sessionHandlerType","http://soap.sforce.com/2006/04/metadata","MessagingSessionHandlerType",1,1,true), com.sforce.soap.metadata.MessagingSessionHandlerType.class));
      }
    }

    private void writeFieldSessionHandlerType(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("sessionHandlerType", "http://soap.sforce.com/2006/04/metadata","sessionHandlerType","http://soap.sforce.com/2006/04/metadata","MessagingSessionHandlerType",1,1,true), sessionHandlerType, sessionHandlerType__is_set);
    }

    /**
     * element : sessionHandlerUser of type {http://www.w3.org/2001/XMLSchema}string
     * java type: java.lang.String
     */
    private boolean sessionHandlerUser__is_set = false;

    private java.lang.String sessionHandlerUser;

    public java.lang.String getSessionHandlerUser() {
      return sessionHandlerUser;
    }

    public void setSessionHandlerUser(java.lang.String sessionHandlerUser) {
      this.sessionHandlerUser = sessionHandlerUser;
      sessionHandlerUser__is_set = true;
    }

    protected void setSessionHandlerUser(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("sessionHandlerUser", "http://soap.sforce.com/2006/04/metadata","sessionHandlerUser","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
        setSessionHandlerUser(__typeMapper.readString(__in, _lookupTypeInfo("sessionHandlerUser", "http://soap.sforce.com/2006/04/metadata","sessionHandlerUser","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
      }
    }

    private void writeFieldSessionHandlerUser(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("sessionHandlerUser", "http://soap.sforce.com/2006/04/metadata","sessionHandlerUser","http://www.w3.org/2001/XMLSchema","string",0,1,true), sessionHandlerUser, sessionHandlerUser__is_set);
    }

    /**
     * element : standardParameters of type {http://soap.sforce.com/2006/04/metadata}MessagingChannelStandardParameter
     * java type: com.sforce.soap.metadata.MessagingChannelStandardParameter[]
     */
    private boolean standardParameters__is_set = false;

    private com.sforce.soap.metadata.MessagingChannelStandardParameter[] standardParameters = new com.sforce.soap.metadata.MessagingChannelStandardParameter[0];

    public com.sforce.soap.metadata.MessagingChannelStandardParameter[] getStandardParameters() {
      return standardParameters;
    }

    public void setStandardParameters(com.sforce.soap.metadata.MessagingChannelStandardParameter[] standardParameters) {
      this.standardParameters = standardParameters;
      standardParameters__is_set = true;
    }

    protected void setStandardParameters(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("standardParameters", "http://soap.sforce.com/2006/04/metadata","standardParameters","http://soap.sforce.com/2006/04/metadata","MessagingChannelStandardParameter",0,-1,true))) {
        setStandardParameters((com.sforce.soap.metadata.MessagingChannelStandardParameter[])__typeMapper.readObject(__in, _lookupTypeInfo("standardParameters", "http://soap.sforce.com/2006/04/metadata","standardParameters","http://soap.sforce.com/2006/04/metadata","MessagingChannelStandardParameter",0,-1,true), com.sforce.soap.metadata.MessagingChannelStandardParameter[].class));
      }
    }

    private void writeFieldStandardParameters(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("standardParameters", "http://soap.sforce.com/2006/04/metadata","standardParameters","http://soap.sforce.com/2006/04/metadata","MessagingChannelStandardParameter",0,-1,true), standardParameters, standardParameters__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", "MessagingChannel");
      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("[MessagingChannel ");
      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 {
      writeFieldAutomatedResponses(__out, __typeMapper);
      writeFieldChannelUsages(__out, __typeMapper);
      writeFieldCountryCode(__out, __typeMapper);
      writeFieldCustomParameters(__out, __typeMapper);
      writeFieldDescription(__out, __typeMapper);
      writeFieldEmbeddedConfig(__out, __typeMapper);
      writeFieldExternalAccountId(__out, __typeMapper);
      writeFieldMasterLabel(__out, __typeMapper);
      writeFieldMessagingChannelType(__out, __typeMapper);
      writeFieldMessagingKeywords(__out, __typeMapper);
      writeFieldPlatformKey(__out, __typeMapper);
      writeFieldQueueRoutingConfig(__out, __typeMapper);
      writeFieldSessionHandlerFlow(__out, __typeMapper);
      writeFieldSessionHandlerQueue(__out, __typeMapper);
      writeFieldSessionHandlerType(__out, __typeMapper);
      writeFieldSessionHandlerUser(__out, __typeMapper);
      writeFieldStandardParameters(__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 {
      setAutomatedResponses(__in, __typeMapper);
      setChannelUsages(__in, __typeMapper);
      setCountryCode(__in, __typeMapper);
      setCustomParameters(__in, __typeMapper);
      setDescription(__in, __typeMapper);
      setEmbeddedConfig(__in, __typeMapper);
      setExternalAccountId(__in, __typeMapper);
      setMasterLabel(__in, __typeMapper);
      setMessagingChannelType(__in, __typeMapper);
      setMessagingKeywords(__in, __typeMapper);
      setPlatformKey(__in, __typeMapper);
      setQueueRoutingConfig(__in, __typeMapper);
      setSessionHandlerFlow(__in, __typeMapper);
      setSessionHandlerQueue(__in, __typeMapper);
      setSessionHandlerType(__in, __typeMapper);
      setSessionHandlerUser(__in, __typeMapper);
      setStandardParameters(__in, __typeMapper);
    }

    private void toString1(StringBuilder sb) {
      toStringHelper(sb, "automatedResponses", automatedResponses);
      toStringHelper(sb, "channelUsages", channelUsages);
      toStringHelper(sb, "countryCode", countryCode);
      toStringHelper(sb, "customParameters", customParameters);
      toStringHelper(sb, "description", description);
      toStringHelper(sb, "embeddedConfig", embeddedConfig);
      toStringHelper(sb, "externalAccountId", externalAccountId);
      toStringHelper(sb, "masterLabel", masterLabel);
      toStringHelper(sb, "messagingChannelType", messagingChannelType);
      toStringHelper(sb, "messagingKeywords", messagingKeywords);
      toStringHelper(sb, "platformKey", platformKey);
      toStringHelper(sb, "queueRoutingConfig", queueRoutingConfig);
      toStringHelper(sb, "sessionHandlerFlow", sessionHandlerFlow);
      toStringHelper(sb, "sessionHandlerQueue", sessionHandlerQueue);
      toStringHelper(sb, "sessionHandlerType", sessionHandlerType);
      toStringHelper(sb, "sessionHandlerUser", sessionHandlerUser);
      toStringHelper(sb, "standardParameters", standardParameters);
    }


}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy