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

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

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

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

    private boolean doesEmailLogAsEmailMessageInOutlook;

    public boolean getDoesEmailLogAsEmailMessageInOutlook() {
      return doesEmailLogAsEmailMessageInOutlook;
    }

    public boolean isDoesEmailLogAsEmailMessageInOutlook() {
      return doesEmailLogAsEmailMessageInOutlook;
    }

    public void setDoesEmailLogAsEmailMessageInOutlook(boolean doesEmailLogAsEmailMessageInOutlook) {
      this.doesEmailLogAsEmailMessageInOutlook = doesEmailLogAsEmailMessageInOutlook;
      doesEmailLogAsEmailMessageInOutlook__is_set = true;
    }

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

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

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

    private boolean doesGmailStayConnectedToSalesforce;

    public boolean getDoesGmailStayConnectedToSalesforce() {
      return doesGmailStayConnectedToSalesforce;
    }

    public boolean isDoesGmailStayConnectedToSalesforce() {
      return doesGmailStayConnectedToSalesforce;
    }

    public void setDoesGmailStayConnectedToSalesforce(boolean doesGmailStayConnectedToSalesforce) {
      this.doesGmailStayConnectedToSalesforce = doesGmailStayConnectedToSalesforce;
      doesGmailStayConnectedToSalesforce__is_set = true;
    }

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

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

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

    private boolean enableContactAndEventSync;

    public boolean getEnableContactAndEventSync() {
      return enableContactAndEventSync;
    }

    public boolean isEnableContactAndEventSync() {
      return enableContactAndEventSync;
    }

    public void setEnableContactAndEventSync(boolean enableContactAndEventSync) {
      this.enableContactAndEventSync = enableContactAndEventSync;
      enableContactAndEventSync__is_set = true;
    }

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

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

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

    private boolean enableContextualEverywhere;

    public boolean getEnableContextualEverywhere() {
      return enableContextualEverywhere;
    }

    public boolean isEnableContextualEverywhere() {
      return enableContextualEverywhere;
    }

    public void setEnableContextualEverywhere(boolean enableContextualEverywhere) {
      this.enableContextualEverywhere = enableContextualEverywhere;
      enableContextualEverywhere__is_set = true;
    }

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

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

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

    private boolean enableEmailTrackingInMobile;

    public boolean getEnableEmailTrackingInMobile() {
      return enableEmailTrackingInMobile;
    }

    public boolean isEnableEmailTrackingInMobile() {
      return enableEmailTrackingInMobile;
    }

    public void setEnableEmailTrackingInMobile(boolean enableEmailTrackingInMobile) {
      this.enableEmailTrackingInMobile = enableEmailTrackingInMobile;
      enableEmailTrackingInMobile__is_set = true;
    }

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

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

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

    private boolean enableEngageForOutlook;

    public boolean getEnableEngageForOutlook() {
      return enableEngageForOutlook;
    }

    public boolean isEnableEngageForOutlook() {
      return enableEngageForOutlook;
    }

    public void setEnableEngageForOutlook(boolean enableEngageForOutlook) {
      this.enableEngageForOutlook = enableEngageForOutlook;
      enableEngageForOutlook__is_set = true;
    }

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

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

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

    private boolean enableExtensionHostUnrestricted;

    public boolean getEnableExtensionHostUnrestricted() {
      return enableExtensionHostUnrestricted;
    }

    public boolean isEnableExtensionHostUnrestricted() {
      return enableExtensionHostUnrestricted;
    }

    public void setEnableExtensionHostUnrestricted(boolean enableExtensionHostUnrestricted) {
      this.enableExtensionHostUnrestricted = enableExtensionHostUnrestricted;
      enableExtensionHostUnrestricted__is_set = true;
    }

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

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

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

    private boolean enableGmailIntegration;

    public boolean getEnableGmailIntegration() {
      return enableGmailIntegration;
    }

    public boolean isEnableGmailIntegration() {
      return enableGmailIntegration;
    }

    public void setEnableGmailIntegration(boolean enableGmailIntegration) {
      this.enableGmailIntegration = enableGmailIntegration;
      enableGmailIntegration__is_set = true;
    }

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

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

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

    private boolean enableInboxInternalEmailTracking;

    public boolean getEnableInboxInternalEmailTracking() {
      return enableInboxInternalEmailTracking;
    }

    public boolean isEnableInboxInternalEmailTracking() {
      return enableInboxInternalEmailTracking;
    }

    public void setEnableInboxInternalEmailTracking(boolean enableInboxInternalEmailTracking) {
      this.enableInboxInternalEmailTracking = enableInboxInternalEmailTracking;
      enableInboxInternalEmailTracking__is_set = true;
    }

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

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

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

    private boolean enableInboxMobileIntune;

    public boolean getEnableInboxMobileIntune() {
      return enableInboxMobileIntune;
    }

    public boolean isEnableInboxMobileIntune() {
      return enableInboxMobileIntune;
    }

    public void setEnableInboxMobileIntune(boolean enableInboxMobileIntune) {
      this.enableInboxMobileIntune = enableInboxMobileIntune;
      enableInboxMobileIntune__is_set = true;
    }

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

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

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

    private boolean enableOutlookIntegration;

    public boolean getEnableOutlookIntegration() {
      return enableOutlookIntegration;
    }

    public boolean isEnableOutlookIntegration() {
      return enableOutlookIntegration;
    }

    public void setEnableOutlookIntegration(boolean enableOutlookIntegration) {
      this.enableOutlookIntegration = enableOutlookIntegration;
      enableOutlookIntegration__is_set = true;
    }

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

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

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

    private boolean enableOutlookMobileIntegration;

    public boolean getEnableOutlookMobileIntegration() {
      return enableOutlookMobileIntegration;
    }

    public boolean isEnableOutlookMobileIntegration() {
      return enableOutlookMobileIntegration;
    }

    public void setEnableOutlookMobileIntegration(boolean enableOutlookMobileIntegration) {
      this.enableOutlookMobileIntegration = enableOutlookMobileIntegration;
      enableOutlookMobileIntegration__is_set = true;
    }

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

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

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

    private boolean enableProductivityFeatures;

    public boolean getEnableProductivityFeatures() {
      return enableProductivityFeatures;
    }

    public boolean isEnableProductivityFeatures() {
      return enableProductivityFeatures;
    }

    public void setEnableProductivityFeatures(boolean enableProductivityFeatures) {
      this.enableProductivityFeatures = enableProductivityFeatures;
      enableProductivityFeatures__is_set = true;
    }

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

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

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

    private boolean enableSupplementalContactInfoInMobile;

    public boolean getEnableSupplementalContactInfoInMobile() {
      return enableSupplementalContactInfoInMobile;
    }

    public boolean isEnableSupplementalContactInfoInMobile() {
      return enableSupplementalContactInfoInMobile;
    }

    public void setEnableSupplementalContactInfoInMobile(boolean enableSupplementalContactInfoInMobile) {
      this.enableSupplementalContactInfoInMobile = enableSupplementalContactInfoInMobile;
      enableSupplementalContactInfoInMobile__is_set = true;
    }

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

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

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

    private boolean isLayoutCustomizationAllowed;

    public boolean getIsLayoutCustomizationAllowed() {
      return isLayoutCustomizationAllowed;
    }

    public boolean isIsLayoutCustomizationAllowed() {
      return isLayoutCustomizationAllowed;
    }

    public void setIsLayoutCustomizationAllowed(boolean isLayoutCustomizationAllowed) {
      this.isLayoutCustomizationAllowed = isLayoutCustomizationAllowed;
      isLayoutCustomizationAllowed__is_set = true;
    }

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

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

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

    private boolean orgIsSyncingEventsOutbound;

    public boolean getOrgIsSyncingEventsOutbound() {
      return orgIsSyncingEventsOutbound;
    }

    public boolean isOrgIsSyncingEventsOutbound() {
      return orgIsSyncingEventsOutbound;
    }

    public void setOrgIsSyncingEventsOutbound(boolean orgIsSyncingEventsOutbound) {
      this.orgIsSyncingEventsOutbound = orgIsSyncingEventsOutbound;
      orgIsSyncingEventsOutbound__is_set = true;
    }

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

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

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

    private boolean shouldUseTrustedDomainsList;

    public boolean getShouldUseTrustedDomainsList() {
      return shouldUseTrustedDomainsList;
    }

    public boolean isShouldUseTrustedDomainsList() {
      return shouldUseTrustedDomainsList;
    }

    public void setShouldUseTrustedDomainsList(boolean shouldUseTrustedDomainsList) {
      this.shouldUseTrustedDomainsList = shouldUseTrustedDomainsList;
      shouldUseTrustedDomainsList__is_set = true;
    }

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

    private void writeFieldShouldUseTrustedDomainsList(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("shouldUseTrustedDomainsList", "http://soap.sforce.com/2006/04/metadata","shouldUseTrustedDomainsList","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), shouldUseTrustedDomainsList, shouldUseTrustedDomainsList__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", "EmailIntegrationSettings");
      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("[EmailIntegrationSettings ");
      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 {
      writeFieldDoesEmailLogAsEmailMessageInOutlook(__out, __typeMapper);
      writeFieldDoesGmailStayConnectedToSalesforce(__out, __typeMapper);
      writeFieldEnableContactAndEventSync(__out, __typeMapper);
      writeFieldEnableContextualEverywhere(__out, __typeMapper);
      writeFieldEnableEmailTrackingInMobile(__out, __typeMapper);
      writeFieldEnableEngageForOutlook(__out, __typeMapper);
      writeFieldEnableExtensionHostUnrestricted(__out, __typeMapper);
      writeFieldEnableGmailIntegration(__out, __typeMapper);
      writeFieldEnableInboxInternalEmailTracking(__out, __typeMapper);
      writeFieldEnableInboxMobileIntune(__out, __typeMapper);
      writeFieldEnableOutlookIntegration(__out, __typeMapper);
      writeFieldEnableOutlookMobileIntegration(__out, __typeMapper);
      writeFieldEnableProductivityFeatures(__out, __typeMapper);
      writeFieldEnableSupplementalContactInfoInMobile(__out, __typeMapper);
      writeFieldIsLayoutCustomizationAllowed(__out, __typeMapper);
      writeFieldOrgIsSyncingEventsOutbound(__out, __typeMapper);
      writeFieldShouldUseTrustedDomainsList(__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 {
      setDoesEmailLogAsEmailMessageInOutlook(__in, __typeMapper);
      setDoesGmailStayConnectedToSalesforce(__in, __typeMapper);
      setEnableContactAndEventSync(__in, __typeMapper);
      setEnableContextualEverywhere(__in, __typeMapper);
      setEnableEmailTrackingInMobile(__in, __typeMapper);
      setEnableEngageForOutlook(__in, __typeMapper);
      setEnableExtensionHostUnrestricted(__in, __typeMapper);
      setEnableGmailIntegration(__in, __typeMapper);
      setEnableInboxInternalEmailTracking(__in, __typeMapper);
      setEnableInboxMobileIntune(__in, __typeMapper);
      setEnableOutlookIntegration(__in, __typeMapper);
      setEnableOutlookMobileIntegration(__in, __typeMapper);
      setEnableProductivityFeatures(__in, __typeMapper);
      setEnableSupplementalContactInfoInMobile(__in, __typeMapper);
      setIsLayoutCustomizationAllowed(__in, __typeMapper);
      setOrgIsSyncingEventsOutbound(__in, __typeMapper);
      setShouldUseTrustedDomainsList(__in, __typeMapper);
    }

    private void toString1(StringBuilder sb) {
      toStringHelper(sb, "doesEmailLogAsEmailMessageInOutlook", doesEmailLogAsEmailMessageInOutlook);
      toStringHelper(sb, "doesGmailStayConnectedToSalesforce", doesGmailStayConnectedToSalesforce);
      toStringHelper(sb, "enableContactAndEventSync", enableContactAndEventSync);
      toStringHelper(sb, "enableContextualEverywhere", enableContextualEverywhere);
      toStringHelper(sb, "enableEmailTrackingInMobile", enableEmailTrackingInMobile);
      toStringHelper(sb, "enableEngageForOutlook", enableEngageForOutlook);
      toStringHelper(sb, "enableExtensionHostUnrestricted", enableExtensionHostUnrestricted);
      toStringHelper(sb, "enableGmailIntegration", enableGmailIntegration);
      toStringHelper(sb, "enableInboxInternalEmailTracking", enableInboxInternalEmailTracking);
      toStringHelper(sb, "enableInboxMobileIntune", enableInboxMobileIntune);
      toStringHelper(sb, "enableOutlookIntegration", enableOutlookIntegration);
      toStringHelper(sb, "enableOutlookMobileIntegration", enableOutlookMobileIntegration);
      toStringHelper(sb, "enableProductivityFeatures", enableProductivityFeatures);
      toStringHelper(sb, "enableSupplementalContactInfoInMobile", enableSupplementalContactInfoInMobile);
      toStringHelper(sb, "isLayoutCustomizationAllowed", isLayoutCustomizationAllowed);
      toStringHelper(sb, "orgIsSyncingEventsOutbound", orgIsSyncingEventsOutbound);
      toStringHelper(sb, "shouldUseTrustedDomainsList", shouldUseTrustedDomainsList);
    }


}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy