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

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

There is a newer version: 64.0.3
Show newest version
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 ConversationChannelDefinition extends com.sforce.soap.metadata.Metadata {

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

    /* 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 : connectedAppOauthLink of type {http://www.w3.org/2001/XMLSchema}string
     * java type: java.lang.String
     */
    private boolean connectedAppOauthLink__is_set = false;

    private java.lang.String connectedAppOauthLink;

    public java.lang.String getConnectedAppOauthLink() {
      return connectedAppOauthLink;
    }

    public void setConnectedAppOauthLink(java.lang.String connectedAppOauthLink) {
      this.connectedAppOauthLink = connectedAppOauthLink;
      connectedAppOauthLink__is_set = true;
    }

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

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

    /**
     * element : connectedAppType of type {http://soap.sforce.com/2006/04/metadata}CustomChannelConnectedAppType
     * java type: com.sforce.soap.metadata.CustomChannelConnectedAppType
     */
    private boolean connectedAppType__is_set = false;

    private com.sforce.soap.metadata.CustomChannelConnectedAppType connectedAppType;

    public com.sforce.soap.metadata.CustomChannelConnectedAppType getConnectedAppType() {
      return connectedAppType;
    }

    public void setConnectedAppType(com.sforce.soap.metadata.CustomChannelConnectedAppType connectedAppType) {
      this.connectedAppType = connectedAppType;
      connectedAppType__is_set = true;
    }

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

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

    /**
     * element : consentOwner of type {http://soap.sforce.com/2006/04/metadata}ConsentOwner
     * java type: com.sforce.soap.metadata.ConsentOwner
     */
    private boolean consentOwner__is_set = false;

    private com.sforce.soap.metadata.ConsentOwner consentOwner;

    public com.sforce.soap.metadata.ConsentOwner getConsentOwner() {
      return consentOwner;
    }

    public void setConsentOwner(com.sforce.soap.metadata.ConsentOwner consentOwner) {
      this.consentOwner = consentOwner;
      consentOwner__is_set = true;
    }

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

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

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

    private java.lang.String conversationVendorInfo;

    public java.lang.String getConversationVendorInfo() {
      return conversationVendorInfo;
    }

    public void setConversationVendorInfo(java.lang.String conversationVendorInfo) {
      this.conversationVendorInfo = conversationVendorInfo;
      conversationVendorInfo__is_set = true;
    }

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

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

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

    private java.lang.String customEventPayloadField;

    public java.lang.String getCustomEventPayloadField() {
      return customEventPayloadField;
    }

    public void setCustomEventPayloadField(java.lang.String customEventPayloadField) {
      this.customEventPayloadField = customEventPayloadField;
      customEventPayloadField__is_set = true;
    }

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

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

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

    private java.lang.String customEventTypeField;

    public java.lang.String getCustomEventTypeField() {
      return customEventTypeField;
    }

    public void setCustomEventTypeField(java.lang.String customEventTypeField) {
      this.customEventTypeField = customEventTypeField;
      customEventTypeField__is_set = true;
    }

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

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

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

    private java.lang.String customIcon;

    public java.lang.String getCustomIcon() {
      return customIcon;
    }

    public void setCustomIcon(java.lang.String customIcon) {
      this.customIcon = customIcon;
      customIcon__is_set = true;
    }

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

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

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

    private java.lang.String customPlatformEvent;

    public java.lang.String getCustomPlatformEvent() {
      return customPlatformEvent;
    }

    public void setCustomPlatformEvent(java.lang.String customPlatformEvent) {
      this.customPlatformEvent = customPlatformEvent;
      customPlatformEvent__is_set = true;
    }

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

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

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

    private java.lang.String customerConnectedAppOauthLink;

    public java.lang.String getCustomerConnectedAppOauthLink() {
      return customerConnectedAppOauthLink;
    }

    public void setCustomerConnectedAppOauthLink(java.lang.String customerConnectedAppOauthLink) {
      this.customerConnectedAppOauthLink = customerConnectedAppOauthLink;
      customerConnectedAppOauthLink__is_set = true;
    }

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

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

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

    private java.lang.String developerName;

    public java.lang.String getDeveloperName() {
      return developerName;
    }

    public void setDeveloperName(java.lang.String developerName) {
      this.developerName = developerName;
      developerName__is_set = true;
    }

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

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

    /**
     * element : isInboundReceiptsEnabled of type {http://www.w3.org/2001/XMLSchema}boolean
     * java type: boolean
     */
    private boolean isInboundReceiptsEnabled__is_set = false;

    private boolean isInboundReceiptsEnabled;

    public boolean getIsInboundReceiptsEnabled() {
      return isInboundReceiptsEnabled;
    }

    public boolean isIsInboundReceiptsEnabled() {
      return isInboundReceiptsEnabled;
    }

    public void setIsInboundReceiptsEnabled(boolean isInboundReceiptsEnabled) {
      this.isInboundReceiptsEnabled = isInboundReceiptsEnabled;
      isInboundReceiptsEnabled__is_set = true;
    }

    protected void setIsInboundReceiptsEnabled(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("isInboundReceiptsEnabled", "http://soap.sforce.com/2006/04/metadata","isInboundReceiptsEnabled","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
        setIsInboundReceiptsEnabled(__typeMapper.readBoolean(__in, _lookupTypeInfo("isInboundReceiptsEnabled", "http://soap.sforce.com/2006/04/metadata","isInboundReceiptsEnabled","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
      }
    }

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

    /**
     * element : isTypingIndicatorDisabled of type {http://www.w3.org/2001/XMLSchema}boolean
     * java type: boolean
     */
    private boolean isTypingIndicatorDisabled__is_set = false;

    private boolean isTypingIndicatorDisabled;

    public boolean getIsTypingIndicatorDisabled() {
      return isTypingIndicatorDisabled;
    }

    public boolean isIsTypingIndicatorDisabled() {
      return isTypingIndicatorDisabled;
    }

    public void setIsTypingIndicatorDisabled(boolean isTypingIndicatorDisabled) {
      this.isTypingIndicatorDisabled = isTypingIndicatorDisabled;
      isTypingIndicatorDisabled__is_set = true;
    }

    protected void setIsTypingIndicatorDisabled(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("isTypingIndicatorDisabled", "http://soap.sforce.com/2006/04/metadata","isTypingIndicatorDisabled","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
        setIsTypingIndicatorDisabled(__typeMapper.readBoolean(__in, _lookupTypeInfo("isTypingIndicatorDisabled", "http://soap.sforce.com/2006/04/metadata","isTypingIndicatorDisabled","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
      }
    }

    private void writeFieldIsTypingIndicatorDisabled(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("isTypingIndicatorDisabled", "http://soap.sforce.com/2006/04/metadata","isTypingIndicatorDisabled","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), isTypingIndicatorDisabled, isTypingIndicatorDisabled__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 : routingOwner of type {http://soap.sforce.com/2006/04/metadata}RoutingOwner
     * java type: com.sforce.soap.metadata.RoutingOwner
     */
    private boolean routingOwner__is_set = false;

    private com.sforce.soap.metadata.RoutingOwner routingOwner;

    public com.sforce.soap.metadata.RoutingOwner getRoutingOwner() {
      return routingOwner;
    }

    public void setRoutingOwner(com.sforce.soap.metadata.RoutingOwner routingOwner) {
      this.routingOwner = routingOwner;
      routingOwner__is_set = true;
    }

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

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

    /**
     * element : supportsCustomChannelParameters of type {http://www.w3.org/2001/XMLSchema}boolean
     * java type: boolean
     */
    private boolean supportsCustomChannelParameters__is_set = false;

    private boolean supportsCustomChannelParameters;

    public boolean getSupportsCustomChannelParameters() {
      return supportsCustomChannelParameters;
    }

    public boolean isSupportsCustomChannelParameters() {
      return supportsCustomChannelParameters;
    }

    public void setSupportsCustomChannelParameters(boolean supportsCustomChannelParameters) {
      this.supportsCustomChannelParameters = supportsCustomChannelParameters;
      supportsCustomChannelParameters__is_set = true;
    }

    protected void setSupportsCustomChannelParameters(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("supportsCustomChannelParameters", "http://soap.sforce.com/2006/04/metadata","supportsCustomChannelParameters","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
        setSupportsCustomChannelParameters(__typeMapper.readBoolean(__in, _lookupTypeInfo("supportsCustomChannelParameters", "http://soap.sforce.com/2006/04/metadata","supportsCustomChannelParameters","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
      }
    }

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

    /**
     * element : supportsDoubleOptInConsent of type {http://www.w3.org/2001/XMLSchema}boolean
     * java type: boolean
     */
    private boolean supportsDoubleOptInConsent__is_set = false;

    private boolean supportsDoubleOptInConsent;

    public boolean getSupportsDoubleOptInConsent() {
      return supportsDoubleOptInConsent;
    }

    public boolean isSupportsDoubleOptInConsent() {
      return supportsDoubleOptInConsent;
    }

    public void setSupportsDoubleOptInConsent(boolean supportsDoubleOptInConsent) {
      this.supportsDoubleOptInConsent = supportsDoubleOptInConsent;
      supportsDoubleOptInConsent__is_set = true;
    }

    protected void setSupportsDoubleOptInConsent(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("supportsDoubleOptInConsent", "http://soap.sforce.com/2006/04/metadata","supportsDoubleOptInConsent","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
        setSupportsDoubleOptInConsent(__typeMapper.readBoolean(__in, _lookupTypeInfo("supportsDoubleOptInConsent", "http://soap.sforce.com/2006/04/metadata","supportsDoubleOptInConsent","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
      }
    }

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

    /**
     * element : supportsExplicitConsent of type {http://www.w3.org/2001/XMLSchema}boolean
     * java type: boolean
     */
    private boolean supportsExplicitConsent__is_set = false;

    private boolean supportsExplicitConsent;

    public boolean getSupportsExplicitConsent() {
      return supportsExplicitConsent;
    }

    public boolean isSupportsExplicitConsent() {
      return supportsExplicitConsent;
    }

    public void setSupportsExplicitConsent(boolean supportsExplicitConsent) {
      this.supportsExplicitConsent = supportsExplicitConsent;
      supportsExplicitConsent__is_set = true;
    }

    protected void setSupportsExplicitConsent(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("supportsExplicitConsent", "http://soap.sforce.com/2006/04/metadata","supportsExplicitConsent","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
        setSupportsExplicitConsent(__typeMapper.readBoolean(__in, _lookupTypeInfo("supportsExplicitConsent", "http://soap.sforce.com/2006/04/metadata","supportsExplicitConsent","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
      }
    }

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

    /**
     * element : supportsImplicitConsent of type {http://www.w3.org/2001/XMLSchema}boolean
     * java type: boolean
     */
    private boolean supportsImplicitConsent__is_set = false;

    private boolean supportsImplicitConsent;

    public boolean getSupportsImplicitConsent() {
      return supportsImplicitConsent;
    }

    public boolean isSupportsImplicitConsent() {
      return supportsImplicitConsent;
    }

    public void setSupportsImplicitConsent(boolean supportsImplicitConsent) {
      this.supportsImplicitConsent = supportsImplicitConsent;
      supportsImplicitConsent__is_set = true;
    }

    protected void setSupportsImplicitConsent(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("supportsImplicitConsent", "http://soap.sforce.com/2006/04/metadata","supportsImplicitConsent","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
        setSupportsImplicitConsent(__typeMapper.readBoolean(__in, _lookupTypeInfo("supportsImplicitConsent", "http://soap.sforce.com/2006/04/metadata","supportsImplicitConsent","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
      }
    }

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

    /**
     * element : supportsIsoCountryCode of type {http://www.w3.org/2001/XMLSchema}boolean
     * java type: boolean
     */
    private boolean supportsIsoCountryCode__is_set = false;

    private boolean supportsIsoCountryCode;

    public boolean getSupportsIsoCountryCode() {
      return supportsIsoCountryCode;
    }

    public boolean isSupportsIsoCountryCode() {
      return supportsIsoCountryCode;
    }

    public void setSupportsIsoCountryCode(boolean supportsIsoCountryCode) {
      this.supportsIsoCountryCode = supportsIsoCountryCode;
      supportsIsoCountryCode__is_set = true;
    }

    protected void setSupportsIsoCountryCode(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("supportsIsoCountryCode", "http://soap.sforce.com/2006/04/metadata","supportsIsoCountryCode","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
        setSupportsIsoCountryCode(__typeMapper.readBoolean(__in, _lookupTypeInfo("supportsIsoCountryCode", "http://soap.sforce.com/2006/04/metadata","supportsIsoCountryCode","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
      }
    }

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

    /**
     * element : supportsKeywords of type {http://www.w3.org/2001/XMLSchema}boolean
     * java type: boolean
     */
    private boolean supportsKeywords__is_set = false;

    private boolean supportsKeywords;

    public boolean getSupportsKeywords() {
      return supportsKeywords;
    }

    public boolean isSupportsKeywords() {
      return supportsKeywords;
    }

    public void setSupportsKeywords(boolean supportsKeywords) {
      this.supportsKeywords = supportsKeywords;
      supportsKeywords__is_set = true;
    }

    protected void setSupportsKeywords(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("supportsKeywords", "http://soap.sforce.com/2006/04/metadata","supportsKeywords","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
        setSupportsKeywords(__typeMapper.readBoolean(__in, _lookupTypeInfo("supportsKeywords", "http://soap.sforce.com/2006/04/metadata","supportsKeywords","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
      }
    }

    private void writeFieldSupportsKeywords(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("supportsKeywords", "http://soap.sforce.com/2006/04/metadata","supportsKeywords","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), supportsKeywords, supportsKeywords__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", "ConversationChannelDefinition");
      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("[ConversationChannelDefinition ");
      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 {
      writeFieldConnectedAppOauthLink(__out, __typeMapper);
      writeFieldConnectedAppType(__out, __typeMapper);
      writeFieldConsentOwner(__out, __typeMapper);
      writeFieldConversationVendorInfo(__out, __typeMapper);
      writeFieldCustomEventPayloadField(__out, __typeMapper);
      writeFieldCustomEventTypeField(__out, __typeMapper);
      writeFieldCustomIcon(__out, __typeMapper);
      writeFieldCustomPlatformEvent(__out, __typeMapper);
      writeFieldCustomerConnectedAppOauthLink(__out, __typeMapper);
      writeFieldDeveloperName(__out, __typeMapper);
      writeFieldIsInboundReceiptsEnabled(__out, __typeMapper);
      writeFieldIsTypingIndicatorDisabled(__out, __typeMapper);
      writeFieldMasterLabel(__out, __typeMapper);
      writeFieldRoutingOwner(__out, __typeMapper);
      writeFieldSupportsCustomChannelParameters(__out, __typeMapper);
      writeFieldSupportsDoubleOptInConsent(__out, __typeMapper);
      writeFieldSupportsExplicitConsent(__out, __typeMapper);
      writeFieldSupportsImplicitConsent(__out, __typeMapper);
      writeFieldSupportsIsoCountryCode(__out, __typeMapper);
      writeFieldSupportsKeywords(__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 {
      setConnectedAppOauthLink(__in, __typeMapper);
      setConnectedAppType(__in, __typeMapper);
      setConsentOwner(__in, __typeMapper);
      setConversationVendorInfo(__in, __typeMapper);
      setCustomEventPayloadField(__in, __typeMapper);
      setCustomEventTypeField(__in, __typeMapper);
      setCustomIcon(__in, __typeMapper);
      setCustomPlatformEvent(__in, __typeMapper);
      setCustomerConnectedAppOauthLink(__in, __typeMapper);
      setDeveloperName(__in, __typeMapper);
      setIsInboundReceiptsEnabled(__in, __typeMapper);
      setIsTypingIndicatorDisabled(__in, __typeMapper);
      setMasterLabel(__in, __typeMapper);
      setRoutingOwner(__in, __typeMapper);
      setSupportsCustomChannelParameters(__in, __typeMapper);
      setSupportsDoubleOptInConsent(__in, __typeMapper);
      setSupportsExplicitConsent(__in, __typeMapper);
      setSupportsImplicitConsent(__in, __typeMapper);
      setSupportsIsoCountryCode(__in, __typeMapper);
      setSupportsKeywords(__in, __typeMapper);
    }

    private void toString1(StringBuilder sb) {
      toStringHelper(sb, "connectedAppOauthLink", connectedAppOauthLink);
      toStringHelper(sb, "connectedAppType", connectedAppType);
      toStringHelper(sb, "consentOwner", consentOwner);
      toStringHelper(sb, "conversationVendorInfo", conversationVendorInfo);
      toStringHelper(sb, "customEventPayloadField", customEventPayloadField);
      toStringHelper(sb, "customEventTypeField", customEventTypeField);
      toStringHelper(sb, "customIcon", customIcon);
      toStringHelper(sb, "customPlatformEvent", customPlatformEvent);
      toStringHelper(sb, "customerConnectedAppOauthLink", customerConnectedAppOauthLink);
      toStringHelper(sb, "developerName", developerName);
      toStringHelper(sb, "isInboundReceiptsEnabled", isInboundReceiptsEnabled);
      toStringHelper(sb, "isTypingIndicatorDisabled", isTypingIndicatorDisabled);
      toStringHelper(sb, "masterLabel", masterLabel);
      toStringHelper(sb, "routingOwner", routingOwner);
      toStringHelper(sb, "supportsCustomChannelParameters", supportsCustomChannelParameters);
      toStringHelper(sb, "supportsDoubleOptInConsent", supportsDoubleOptInConsent);
      toStringHelper(sb, "supportsExplicitConsent", supportsExplicitConsent);
      toStringHelper(sb, "supportsImplicitConsent", supportsImplicitConsent);
      toStringHelper(sb, "supportsIsoCountryCode", supportsIsoCountryCode);
      toStringHelper(sb, "supportsKeywords", supportsKeywords);
    }


}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy