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

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

There is a newer version: 62.0.0
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 SocialCustomerServiceSettings extends com.sforce.soap.metadata.Metadata {

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

    /* 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 : caseSubjectOption of type {http://soap.sforce.com/2006/04/metadata}CaseSubjectOption
     * java type: com.sforce.soap.metadata.CaseSubjectOption
     */
    private boolean caseSubjectOption__is_set = false;

    private com.sforce.soap.metadata.CaseSubjectOption caseSubjectOption;

    public com.sforce.soap.metadata.CaseSubjectOption getCaseSubjectOption() {
      return caseSubjectOption;
    }

    public void setCaseSubjectOption(com.sforce.soap.metadata.CaseSubjectOption caseSubjectOption) {
      this.caseSubjectOption = caseSubjectOption;
      caseSubjectOption__is_set = true;
    }

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

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

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

    private boolean enableAllFBResponseAccounts;

    public boolean getEnableAllFBResponseAccounts() {
      return enableAllFBResponseAccounts;
    }

    public boolean isEnableAllFBResponseAccounts() {
      return enableAllFBResponseAccounts;
    }

    public void setEnableAllFBResponseAccounts(boolean enableAllFBResponseAccounts) {
      this.enableAllFBResponseAccounts = enableAllFBResponseAccounts;
      enableAllFBResponseAccounts__is_set = true;
    }

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

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

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

    private boolean enableInboundProcessingConcurrency;

    public boolean getEnableInboundProcessingConcurrency() {
      return enableInboundProcessingConcurrency;
    }

    public boolean isEnableInboundProcessingConcurrency() {
      return enableInboundProcessingConcurrency;
    }

    public void setEnableInboundProcessingConcurrency(boolean enableInboundProcessingConcurrency) {
      this.enableInboundProcessingConcurrency = enableInboundProcessingConcurrency;
      enableInboundProcessingConcurrency__is_set = true;
    }

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

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

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

    private boolean enableSocialApprovals;

    public boolean getEnableSocialApprovals() {
      return enableSocialApprovals;
    }

    public boolean isEnableSocialApprovals() {
      return enableSocialApprovals;
    }

    public void setEnableSocialApprovals(boolean enableSocialApprovals) {
      this.enableSocialApprovals = enableSocialApprovals;
      enableSocialApprovals__is_set = true;
    }

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

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

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

    private boolean enableSocialCaseAssignmentRules;

    public boolean getEnableSocialCaseAssignmentRules() {
      return enableSocialCaseAssignmentRules;
    }

    public boolean isEnableSocialCaseAssignmentRules() {
      return enableSocialCaseAssignmentRules;
    }

    public void setEnableSocialCaseAssignmentRules(boolean enableSocialCaseAssignmentRules) {
      this.enableSocialCaseAssignmentRules = enableSocialCaseAssignmentRules;
      enableSocialCaseAssignmentRules__is_set = true;
    }

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

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

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

    private boolean enableSocialCustomerService;

    public boolean getEnableSocialCustomerService() {
      return enableSocialCustomerService;
    }

    public boolean isEnableSocialCustomerService() {
      return enableSocialCustomerService;
    }

    public void setEnableSocialCustomerService(boolean enableSocialCustomerService) {
      this.enableSocialCustomerService = enableSocialCustomerService;
      enableSocialCustomerService__is_set = true;
    }

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

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

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

    private boolean enableSocialPersonaHistoryTracking;

    public boolean getEnableSocialPersonaHistoryTracking() {
      return enableSocialPersonaHistoryTracking;
    }

    public boolean isEnableSocialPersonaHistoryTracking() {
      return enableSocialPersonaHistoryTracking;
    }

    public void setEnableSocialPersonaHistoryTracking(boolean enableSocialPersonaHistoryTracking) {
      this.enableSocialPersonaHistoryTracking = enableSocialPersonaHistoryTracking;
      enableSocialPersonaHistoryTracking__is_set = true;
    }

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

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

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

    private boolean enableSocialPostHistoryTracking;

    public boolean getEnableSocialPostHistoryTracking() {
      return enableSocialPostHistoryTracking;
    }

    public boolean isEnableSocialPostHistoryTracking() {
      return enableSocialPostHistoryTracking;
    }

    public void setEnableSocialPostHistoryTracking(boolean enableSocialPostHistoryTracking) {
      this.enableSocialPostHistoryTracking = enableSocialPostHistoryTracking;
      enableSocialPostHistoryTracking__is_set = true;
    }

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

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

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

    private boolean enableSocialReceiveParentPost;

    public boolean getEnableSocialReceiveParentPost() {
      return enableSocialReceiveParentPost;
    }

    public boolean isEnableSocialReceiveParentPost() {
      return enableSocialReceiveParentPost;
    }

    public void setEnableSocialReceiveParentPost(boolean enableSocialReceiveParentPost) {
      this.enableSocialReceiveParentPost = enableSocialReceiveParentPost;
      enableSocialReceiveParentPost__is_set = true;
    }

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

    private void writeFieldEnableSocialReceiveParentPost(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("enableSocialReceiveParentPost", "http://soap.sforce.com/2006/04/metadata","enableSocialReceiveParentPost","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableSocialReceiveParentPost, enableSocialReceiveParentPost__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", "SocialCustomerServiceSettings");
      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("[SocialCustomerServiceSettings ");
      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 {
      writeFieldCaseSubjectOption(__out, __typeMapper);
      writeFieldEnableAllFBResponseAccounts(__out, __typeMapper);
      writeFieldEnableInboundProcessingConcurrency(__out, __typeMapper);
      writeFieldEnableSocialApprovals(__out, __typeMapper);
      writeFieldEnableSocialCaseAssignmentRules(__out, __typeMapper);
      writeFieldEnableSocialCustomerService(__out, __typeMapper);
      writeFieldEnableSocialPersonaHistoryTracking(__out, __typeMapper);
      writeFieldEnableSocialPostHistoryTracking(__out, __typeMapper);
      writeFieldEnableSocialReceiveParentPost(__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 {
      setCaseSubjectOption(__in, __typeMapper);
      setEnableAllFBResponseAccounts(__in, __typeMapper);
      setEnableInboundProcessingConcurrency(__in, __typeMapper);
      setEnableSocialApprovals(__in, __typeMapper);
      setEnableSocialCaseAssignmentRules(__in, __typeMapper);
      setEnableSocialCustomerService(__in, __typeMapper);
      setEnableSocialPersonaHistoryTracking(__in, __typeMapper);
      setEnableSocialPostHistoryTracking(__in, __typeMapper);
      setEnableSocialReceiveParentPost(__in, __typeMapper);
    }

    private void toString1(StringBuilder sb) {
      toStringHelper(sb, "caseSubjectOption", caseSubjectOption);
      toStringHelper(sb, "enableAllFBResponseAccounts", enableAllFBResponseAccounts);
      toStringHelper(sb, "enableInboundProcessingConcurrency", enableInboundProcessingConcurrency);
      toStringHelper(sb, "enableSocialApprovals", enableSocialApprovals);
      toStringHelper(sb, "enableSocialCaseAssignmentRules", enableSocialCaseAssignmentRules);
      toStringHelper(sb, "enableSocialCustomerService", enableSocialCustomerService);
      toStringHelper(sb, "enableSocialPersonaHistoryTracking", enableSocialPersonaHistoryTracking);
      toStringHelper(sb, "enableSocialPostHistoryTracking", enableSocialPostHistoryTracking);
      toStringHelper(sb, "enableSocialReceiveParentPost", enableSocialReceiveParentPost);
    }


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy