690 lines
34 KiB
Java
690 lines
34 KiB
Java
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 PresenceUserConfig extends com.sforce.soap.metadata.Metadata {
|
|
|
|
/**
|
|
* Constructor
|
|
*/
|
|
public PresenceUserConfig() {}
|
|
|
|
/* Cache the typeInfo instead of declaring static fields throughout*/
|
|
private transient java.util.Map<String, com.sforce.ws.bind.TypeInfo> typeInfoCache = new java.util.HashMap<String, com.sforce.ws.bind.TypeInfo>();
|
|
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 : acwExtensionDuration of type {http://www.w3.org/2001/XMLSchema}int
|
|
* java type: int
|
|
*/
|
|
private boolean acwExtensionDuration__is_set = false;
|
|
|
|
private int acwExtensionDuration;
|
|
|
|
public int getAcwExtensionDuration() {
|
|
return acwExtensionDuration;
|
|
}
|
|
|
|
public void setAcwExtensionDuration(int acwExtensionDuration) {
|
|
this.acwExtensionDuration = acwExtensionDuration;
|
|
acwExtensionDuration__is_set = true;
|
|
}
|
|
|
|
protected void setAcwExtensionDuration(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("acwExtensionDuration", "http://soap.sforce.com/2006/04/metadata","acwExtensionDuration","http://www.w3.org/2001/XMLSchema","int",0,1,true))) {
|
|
setAcwExtensionDuration((int)__typeMapper.readInt(__in, _lookupTypeInfo("acwExtensionDuration", "http://soap.sforce.com/2006/04/metadata","acwExtensionDuration","http://www.w3.org/2001/XMLSchema","int",0,1,true), int.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldAcwExtensionDuration(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("acwExtensionDuration", "http://soap.sforce.com/2006/04/metadata","acwExtensionDuration","http://www.w3.org/2001/XMLSchema","int",0,1,true), acwExtensionDuration, acwExtensionDuration__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : afterConvoWorkMaxTime of type {http://www.w3.org/2001/XMLSchema}int
|
|
* java type: int
|
|
*/
|
|
private boolean afterConvoWorkMaxTime__is_set = false;
|
|
|
|
private int afterConvoWorkMaxTime;
|
|
|
|
public int getAfterConvoWorkMaxTime() {
|
|
return afterConvoWorkMaxTime;
|
|
}
|
|
|
|
public void setAfterConvoWorkMaxTime(int afterConvoWorkMaxTime) {
|
|
this.afterConvoWorkMaxTime = afterConvoWorkMaxTime;
|
|
afterConvoWorkMaxTime__is_set = true;
|
|
}
|
|
|
|
protected void setAfterConvoWorkMaxTime(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("afterConvoWorkMaxTime", "http://soap.sforce.com/2006/04/metadata","afterConvoWorkMaxTime","http://www.w3.org/2001/XMLSchema","int",0,1,true))) {
|
|
setAfterConvoWorkMaxTime((int)__typeMapper.readInt(__in, _lookupTypeInfo("afterConvoWorkMaxTime", "http://soap.sforce.com/2006/04/metadata","afterConvoWorkMaxTime","http://www.w3.org/2001/XMLSchema","int",0,1,true), int.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldAfterConvoWorkMaxTime(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("afterConvoWorkMaxTime", "http://soap.sforce.com/2006/04/metadata","afterConvoWorkMaxTime","http://www.w3.org/2001/XMLSchema","int",0,1,true), afterConvoWorkMaxTime, afterConvoWorkMaxTime__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : assignments of type {http://soap.sforce.com/2006/04/metadata}PresenceConfigAssignments
|
|
* java type: com.sforce.soap.metadata.PresenceConfigAssignments
|
|
*/
|
|
private boolean assignments__is_set = false;
|
|
|
|
private com.sforce.soap.metadata.PresenceConfigAssignments assignments;
|
|
|
|
public com.sforce.soap.metadata.PresenceConfigAssignments getAssignments() {
|
|
return assignments;
|
|
}
|
|
|
|
public void setAssignments(com.sforce.soap.metadata.PresenceConfigAssignments assignments) {
|
|
this.assignments = assignments;
|
|
assignments__is_set = true;
|
|
}
|
|
|
|
protected void setAssignments(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("assignments", "http://soap.sforce.com/2006/04/metadata","assignments","http://soap.sforce.com/2006/04/metadata","PresenceConfigAssignments",0,1,true))) {
|
|
setAssignments((com.sforce.soap.metadata.PresenceConfigAssignments)__typeMapper.readObject(__in, _lookupTypeInfo("assignments", "http://soap.sforce.com/2006/04/metadata","assignments","http://soap.sforce.com/2006/04/metadata","PresenceConfigAssignments",0,1,true), com.sforce.soap.metadata.PresenceConfigAssignments.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldAssignments(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("assignments", "http://soap.sforce.com/2006/04/metadata","assignments","http://soap.sforce.com/2006/04/metadata","PresenceConfigAssignments",0,1,true), assignments, assignments__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : capacity of type {http://www.w3.org/2001/XMLSchema}int
|
|
* java type: int
|
|
*/
|
|
private boolean capacity__is_set = false;
|
|
|
|
private int capacity;
|
|
|
|
public int getCapacity() {
|
|
return capacity;
|
|
}
|
|
|
|
public void setCapacity(int capacity) {
|
|
this.capacity = capacity;
|
|
capacity__is_set = true;
|
|
}
|
|
|
|
protected void setCapacity(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("capacity", "http://soap.sforce.com/2006/04/metadata","capacity","http://www.w3.org/2001/XMLSchema","int",1,1,true))) {
|
|
setCapacity((int)__typeMapper.readInt(__in, _lookupTypeInfo("capacity", "http://soap.sforce.com/2006/04/metadata","capacity","http://www.w3.org/2001/XMLSchema","int",1,1,true), int.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldCapacity(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("capacity", "http://soap.sforce.com/2006/04/metadata","capacity","http://www.w3.org/2001/XMLSchema","int",1,1,true), capacity, capacity__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : declineReasons of type {http://www.w3.org/2001/XMLSchema}string
|
|
* java type: java.lang.String[]
|
|
*/
|
|
private boolean declineReasons__is_set = false;
|
|
|
|
private java.lang.String[] declineReasons = new java.lang.String[0];
|
|
|
|
public java.lang.String[] getDeclineReasons() {
|
|
return declineReasons;
|
|
}
|
|
|
|
public void setDeclineReasons(java.lang.String[] declineReasons) {
|
|
this.declineReasons = declineReasons;
|
|
declineReasons__is_set = true;
|
|
}
|
|
|
|
protected void setDeclineReasons(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("declineReasons", "http://soap.sforce.com/2006/04/metadata","declineReasons","http://www.w3.org/2001/XMLSchema","string",0,-1,true))) {
|
|
setDeclineReasons((java.lang.String[])__typeMapper.readObject(__in, _lookupTypeInfo("declineReasons", "http://soap.sforce.com/2006/04/metadata","declineReasons","http://www.w3.org/2001/XMLSchema","string",0,-1,true), java.lang.String[].class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldDeclineReasons(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("declineReasons", "http://soap.sforce.com/2006/04/metadata","declineReasons","http://www.w3.org/2001/XMLSchema","string",0,-1,true), declineReasons, declineReasons__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : enableAutoAccept of type {http://www.w3.org/2001/XMLSchema}boolean
|
|
* java type: boolean
|
|
*/
|
|
private boolean enableAutoAccept__is_set = false;
|
|
|
|
private boolean enableAutoAccept;
|
|
|
|
public boolean getEnableAutoAccept() {
|
|
return enableAutoAccept;
|
|
}
|
|
|
|
public boolean isEnableAutoAccept() {
|
|
return enableAutoAccept;
|
|
}
|
|
|
|
public void setEnableAutoAccept(boolean enableAutoAccept) {
|
|
this.enableAutoAccept = enableAutoAccept;
|
|
enableAutoAccept__is_set = true;
|
|
}
|
|
|
|
protected void setEnableAutoAccept(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("enableAutoAccept", "http://soap.sforce.com/2006/04/metadata","enableAutoAccept","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
|
|
setEnableAutoAccept(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableAutoAccept", "http://soap.sforce.com/2006/04/metadata","enableAutoAccept","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldEnableAutoAccept(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("enableAutoAccept", "http://soap.sforce.com/2006/04/metadata","enableAutoAccept","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableAutoAccept, enableAutoAccept__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : enableDecline of type {http://www.w3.org/2001/XMLSchema}boolean
|
|
* java type: boolean
|
|
*/
|
|
private boolean enableDecline__is_set = false;
|
|
|
|
private boolean enableDecline;
|
|
|
|
public boolean getEnableDecline() {
|
|
return enableDecline;
|
|
}
|
|
|
|
public boolean isEnableDecline() {
|
|
return enableDecline;
|
|
}
|
|
|
|
public void setEnableDecline(boolean enableDecline) {
|
|
this.enableDecline = enableDecline;
|
|
enableDecline__is_set = true;
|
|
}
|
|
|
|
protected void setEnableDecline(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("enableDecline", "http://soap.sforce.com/2006/04/metadata","enableDecline","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
|
|
setEnableDecline(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableDecline", "http://soap.sforce.com/2006/04/metadata","enableDecline","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldEnableDecline(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("enableDecline", "http://soap.sforce.com/2006/04/metadata","enableDecline","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableDecline, enableDecline__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : enableDeclineReason of type {http://www.w3.org/2001/XMLSchema}boolean
|
|
* java type: boolean
|
|
*/
|
|
private boolean enableDeclineReason__is_set = false;
|
|
|
|
private boolean enableDeclineReason;
|
|
|
|
public boolean getEnableDeclineReason() {
|
|
return enableDeclineReason;
|
|
}
|
|
|
|
public boolean isEnableDeclineReason() {
|
|
return enableDeclineReason;
|
|
}
|
|
|
|
public void setEnableDeclineReason(boolean enableDeclineReason) {
|
|
this.enableDeclineReason = enableDeclineReason;
|
|
enableDeclineReason__is_set = true;
|
|
}
|
|
|
|
protected void setEnableDeclineReason(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("enableDeclineReason", "http://soap.sforce.com/2006/04/metadata","enableDeclineReason","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
|
|
setEnableDeclineReason(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableDeclineReason", "http://soap.sforce.com/2006/04/metadata","enableDeclineReason","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldEnableDeclineReason(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("enableDeclineReason", "http://soap.sforce.com/2006/04/metadata","enableDeclineReason","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableDeclineReason, enableDeclineReason__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : enableDisconnectSound of type {http://www.w3.org/2001/XMLSchema}boolean
|
|
* java type: boolean
|
|
*/
|
|
private boolean enableDisconnectSound__is_set = false;
|
|
|
|
private boolean enableDisconnectSound;
|
|
|
|
public boolean getEnableDisconnectSound() {
|
|
return enableDisconnectSound;
|
|
}
|
|
|
|
public boolean isEnableDisconnectSound() {
|
|
return enableDisconnectSound;
|
|
}
|
|
|
|
public void setEnableDisconnectSound(boolean enableDisconnectSound) {
|
|
this.enableDisconnectSound = enableDisconnectSound;
|
|
enableDisconnectSound__is_set = true;
|
|
}
|
|
|
|
protected void setEnableDisconnectSound(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("enableDisconnectSound", "http://soap.sforce.com/2006/04/metadata","enableDisconnectSound","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
|
|
setEnableDisconnectSound(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableDisconnectSound", "http://soap.sforce.com/2006/04/metadata","enableDisconnectSound","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldEnableDisconnectSound(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("enableDisconnectSound", "http://soap.sforce.com/2006/04/metadata","enableDisconnectSound","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableDisconnectSound, enableDisconnectSound__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : enableRequestSound of type {http://www.w3.org/2001/XMLSchema}boolean
|
|
* java type: boolean
|
|
*/
|
|
private boolean enableRequestSound__is_set = false;
|
|
|
|
private boolean enableRequestSound;
|
|
|
|
public boolean getEnableRequestSound() {
|
|
return enableRequestSound;
|
|
}
|
|
|
|
public boolean isEnableRequestSound() {
|
|
return enableRequestSound;
|
|
}
|
|
|
|
public void setEnableRequestSound(boolean enableRequestSound) {
|
|
this.enableRequestSound = enableRequestSound;
|
|
enableRequestSound__is_set = true;
|
|
}
|
|
|
|
protected void setEnableRequestSound(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("enableRequestSound", "http://soap.sforce.com/2006/04/metadata","enableRequestSound","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
|
|
setEnableRequestSound(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableRequestSound", "http://soap.sforce.com/2006/04/metadata","enableRequestSound","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldEnableRequestSound(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("enableRequestSound", "http://soap.sforce.com/2006/04/metadata","enableRequestSound","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableRequestSound, enableRequestSound__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : hasAcwExtensionEnabled of type {http://www.w3.org/2001/XMLSchema}boolean
|
|
* java type: boolean
|
|
*/
|
|
private boolean hasAcwExtensionEnabled__is_set = false;
|
|
|
|
private boolean hasAcwExtensionEnabled;
|
|
|
|
public boolean getHasAcwExtensionEnabled() {
|
|
return hasAcwExtensionEnabled;
|
|
}
|
|
|
|
public boolean isHasAcwExtensionEnabled() {
|
|
return hasAcwExtensionEnabled;
|
|
}
|
|
|
|
public void setHasAcwExtensionEnabled(boolean hasAcwExtensionEnabled) {
|
|
this.hasAcwExtensionEnabled = hasAcwExtensionEnabled;
|
|
hasAcwExtensionEnabled__is_set = true;
|
|
}
|
|
|
|
protected void setHasAcwExtensionEnabled(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("hasAcwExtensionEnabled", "http://soap.sforce.com/2006/04/metadata","hasAcwExtensionEnabled","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
|
|
setHasAcwExtensionEnabled(__typeMapper.readBoolean(__in, _lookupTypeInfo("hasAcwExtensionEnabled", "http://soap.sforce.com/2006/04/metadata","hasAcwExtensionEnabled","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldHasAcwExtensionEnabled(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("hasAcwExtensionEnabled", "http://soap.sforce.com/2006/04/metadata","hasAcwExtensionEnabled","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), hasAcwExtensionEnabled, hasAcwExtensionEnabled__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : hasAfterConvoWorkTimer of type {http://www.w3.org/2001/XMLSchema}boolean
|
|
* java type: boolean
|
|
*/
|
|
private boolean hasAfterConvoWorkTimer__is_set = false;
|
|
|
|
private boolean hasAfterConvoWorkTimer;
|
|
|
|
public boolean getHasAfterConvoWorkTimer() {
|
|
return hasAfterConvoWorkTimer;
|
|
}
|
|
|
|
public boolean isHasAfterConvoWorkTimer() {
|
|
return hasAfterConvoWorkTimer;
|
|
}
|
|
|
|
public void setHasAfterConvoWorkTimer(boolean hasAfterConvoWorkTimer) {
|
|
this.hasAfterConvoWorkTimer = hasAfterConvoWorkTimer;
|
|
hasAfterConvoWorkTimer__is_set = true;
|
|
}
|
|
|
|
protected void setHasAfterConvoWorkTimer(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("hasAfterConvoWorkTimer", "http://soap.sforce.com/2006/04/metadata","hasAfterConvoWorkTimer","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
|
|
setHasAfterConvoWorkTimer(__typeMapper.readBoolean(__in, _lookupTypeInfo("hasAfterConvoWorkTimer", "http://soap.sforce.com/2006/04/metadata","hasAfterConvoWorkTimer","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldHasAfterConvoWorkTimer(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("hasAfterConvoWorkTimer", "http://soap.sforce.com/2006/04/metadata","hasAfterConvoWorkTimer","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), hasAfterConvoWorkTimer, hasAfterConvoWorkTimer__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : interruptibleCapacity of type {http://www.w3.org/2001/XMLSchema}int
|
|
* java type: int
|
|
*/
|
|
private boolean interruptibleCapacity__is_set = false;
|
|
|
|
private int interruptibleCapacity;
|
|
|
|
public int getInterruptibleCapacity() {
|
|
return interruptibleCapacity;
|
|
}
|
|
|
|
public void setInterruptibleCapacity(int interruptibleCapacity) {
|
|
this.interruptibleCapacity = interruptibleCapacity;
|
|
interruptibleCapacity__is_set = true;
|
|
}
|
|
|
|
protected void setInterruptibleCapacity(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("interruptibleCapacity", "http://soap.sforce.com/2006/04/metadata","interruptibleCapacity","http://www.w3.org/2001/XMLSchema","int",0,1,true))) {
|
|
setInterruptibleCapacity((int)__typeMapper.readInt(__in, _lookupTypeInfo("interruptibleCapacity", "http://soap.sforce.com/2006/04/metadata","interruptibleCapacity","http://www.w3.org/2001/XMLSchema","int",0,1,true), int.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldInterruptibleCapacity(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("interruptibleCapacity", "http://soap.sforce.com/2006/04/metadata","interruptibleCapacity","http://www.w3.org/2001/XMLSchema","int",0,1,true), interruptibleCapacity, interruptibleCapacity__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : label of type {http://www.w3.org/2001/XMLSchema}string
|
|
* java type: java.lang.String
|
|
*/
|
|
private boolean label__is_set = false;
|
|
|
|
private java.lang.String label;
|
|
|
|
public java.lang.String getLabel() {
|
|
return label;
|
|
}
|
|
|
|
public void setLabel(java.lang.String label) {
|
|
this.label = label;
|
|
label__is_set = true;
|
|
}
|
|
|
|
protected void setLabel(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("label", "http://soap.sforce.com/2006/04/metadata","label","http://www.w3.org/2001/XMLSchema","string",1,1,true))) {
|
|
setLabel(__typeMapper.readString(__in, _lookupTypeInfo("label", "http://soap.sforce.com/2006/04/metadata","label","http://www.w3.org/2001/XMLSchema","string",1,1,true), java.lang.String.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldLabel(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("label", "http://soap.sforce.com/2006/04/metadata","label","http://www.w3.org/2001/XMLSchema","string",1,1,true), label, label__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : maxExtensions of type {http://www.w3.org/2001/XMLSchema}string
|
|
* java type: java.lang.String
|
|
*/
|
|
private boolean maxExtensions__is_set = false;
|
|
|
|
private java.lang.String maxExtensions;
|
|
|
|
public java.lang.String getMaxExtensions() {
|
|
return maxExtensions;
|
|
}
|
|
|
|
public void setMaxExtensions(java.lang.String maxExtensions) {
|
|
this.maxExtensions = maxExtensions;
|
|
maxExtensions__is_set = true;
|
|
}
|
|
|
|
protected void setMaxExtensions(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("maxExtensions", "http://soap.sforce.com/2006/04/metadata","maxExtensions","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
|
|
setMaxExtensions(__typeMapper.readString(__in, _lookupTypeInfo("maxExtensions", "http://soap.sforce.com/2006/04/metadata","maxExtensions","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldMaxExtensions(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("maxExtensions", "http://soap.sforce.com/2006/04/metadata","maxExtensions","http://www.w3.org/2001/XMLSchema","string",0,1,true), maxExtensions, maxExtensions__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : presenceStatusOnDecline of type {http://www.w3.org/2001/XMLSchema}string
|
|
* java type: java.lang.String
|
|
*/
|
|
private boolean presenceStatusOnDecline__is_set = false;
|
|
|
|
private java.lang.String presenceStatusOnDecline;
|
|
|
|
public java.lang.String getPresenceStatusOnDecline() {
|
|
return presenceStatusOnDecline;
|
|
}
|
|
|
|
public void setPresenceStatusOnDecline(java.lang.String presenceStatusOnDecline) {
|
|
this.presenceStatusOnDecline = presenceStatusOnDecline;
|
|
presenceStatusOnDecline__is_set = true;
|
|
}
|
|
|
|
protected void setPresenceStatusOnDecline(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("presenceStatusOnDecline", "http://soap.sforce.com/2006/04/metadata","presenceStatusOnDecline","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
|
|
setPresenceStatusOnDecline(__typeMapper.readString(__in, _lookupTypeInfo("presenceStatusOnDecline", "http://soap.sforce.com/2006/04/metadata","presenceStatusOnDecline","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldPresenceStatusOnDecline(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("presenceStatusOnDecline", "http://soap.sforce.com/2006/04/metadata","presenceStatusOnDecline","http://www.w3.org/2001/XMLSchema","string",0,1,true), presenceStatusOnDecline, presenceStatusOnDecline__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : presenceStatusOnPushTimeout of type {http://www.w3.org/2001/XMLSchema}string
|
|
* java type: java.lang.String
|
|
*/
|
|
private boolean presenceStatusOnPushTimeout__is_set = false;
|
|
|
|
private java.lang.String presenceStatusOnPushTimeout;
|
|
|
|
public java.lang.String getPresenceStatusOnPushTimeout() {
|
|
return presenceStatusOnPushTimeout;
|
|
}
|
|
|
|
public void setPresenceStatusOnPushTimeout(java.lang.String presenceStatusOnPushTimeout) {
|
|
this.presenceStatusOnPushTimeout = presenceStatusOnPushTimeout;
|
|
presenceStatusOnPushTimeout__is_set = true;
|
|
}
|
|
|
|
protected void setPresenceStatusOnPushTimeout(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("presenceStatusOnPushTimeout", "http://soap.sforce.com/2006/04/metadata","presenceStatusOnPushTimeout","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
|
|
setPresenceStatusOnPushTimeout(__typeMapper.readString(__in, _lookupTypeInfo("presenceStatusOnPushTimeout", "http://soap.sforce.com/2006/04/metadata","presenceStatusOnPushTimeout","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldPresenceStatusOnPushTimeout(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("presenceStatusOnPushTimeout", "http://soap.sforce.com/2006/04/metadata","presenceStatusOnPushTimeout","http://www.w3.org/2001/XMLSchema","string",0,1,true), presenceStatusOnPushTimeout, presenceStatusOnPushTimeout__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : userDisplayName of type {http://www.w3.org/2001/XMLSchema}string
|
|
* java type: java.lang.String
|
|
*/
|
|
private boolean userDisplayName__is_set = false;
|
|
|
|
private java.lang.String userDisplayName;
|
|
|
|
public java.lang.String getUserDisplayName() {
|
|
return userDisplayName;
|
|
}
|
|
|
|
public void setUserDisplayName(java.lang.String userDisplayName) {
|
|
this.userDisplayName = userDisplayName;
|
|
userDisplayName__is_set = true;
|
|
}
|
|
|
|
protected void setUserDisplayName(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("userDisplayName", "http://soap.sforce.com/2006/04/metadata","userDisplayName","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
|
|
setUserDisplayName(__typeMapper.readString(__in, _lookupTypeInfo("userDisplayName", "http://soap.sforce.com/2006/04/metadata","userDisplayName","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldUserDisplayName(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("userDisplayName", "http://soap.sforce.com/2006/04/metadata","userDisplayName","http://www.w3.org/2001/XMLSchema","string",0,1,true), userDisplayName, userDisplayName__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", "PresenceUserConfig");
|
|
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("[PresenceUserConfig ");
|
|
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 {
|
|
writeFieldAcwExtensionDuration(__out, __typeMapper);
|
|
writeFieldAfterConvoWorkMaxTime(__out, __typeMapper);
|
|
writeFieldAssignments(__out, __typeMapper);
|
|
writeFieldCapacity(__out, __typeMapper);
|
|
writeFieldDeclineReasons(__out, __typeMapper);
|
|
writeFieldEnableAutoAccept(__out, __typeMapper);
|
|
writeFieldEnableDecline(__out, __typeMapper);
|
|
writeFieldEnableDeclineReason(__out, __typeMapper);
|
|
writeFieldEnableDisconnectSound(__out, __typeMapper);
|
|
writeFieldEnableRequestSound(__out, __typeMapper);
|
|
writeFieldHasAcwExtensionEnabled(__out, __typeMapper);
|
|
writeFieldHasAfterConvoWorkTimer(__out, __typeMapper);
|
|
writeFieldInterruptibleCapacity(__out, __typeMapper);
|
|
writeFieldLabel(__out, __typeMapper);
|
|
writeFieldMaxExtensions(__out, __typeMapper);
|
|
writeFieldPresenceStatusOnDecline(__out, __typeMapper);
|
|
writeFieldPresenceStatusOnPushTimeout(__out, __typeMapper);
|
|
writeFieldUserDisplayName(__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 {
|
|
setAcwExtensionDuration(__in, __typeMapper);
|
|
setAfterConvoWorkMaxTime(__in, __typeMapper);
|
|
setAssignments(__in, __typeMapper);
|
|
setCapacity(__in, __typeMapper);
|
|
setDeclineReasons(__in, __typeMapper);
|
|
setEnableAutoAccept(__in, __typeMapper);
|
|
setEnableDecline(__in, __typeMapper);
|
|
setEnableDeclineReason(__in, __typeMapper);
|
|
setEnableDisconnectSound(__in, __typeMapper);
|
|
setEnableRequestSound(__in, __typeMapper);
|
|
setHasAcwExtensionEnabled(__in, __typeMapper);
|
|
setHasAfterConvoWorkTimer(__in, __typeMapper);
|
|
setInterruptibleCapacity(__in, __typeMapper);
|
|
setLabel(__in, __typeMapper);
|
|
setMaxExtensions(__in, __typeMapper);
|
|
setPresenceStatusOnDecline(__in, __typeMapper);
|
|
setPresenceStatusOnPushTimeout(__in, __typeMapper);
|
|
setUserDisplayName(__in, __typeMapper);
|
|
}
|
|
|
|
private void toString1(StringBuilder sb) {
|
|
toStringHelper(sb, "acwExtensionDuration", acwExtensionDuration);
|
|
toStringHelper(sb, "afterConvoWorkMaxTime", afterConvoWorkMaxTime);
|
|
toStringHelper(sb, "assignments", assignments);
|
|
toStringHelper(sb, "capacity", capacity);
|
|
toStringHelper(sb, "declineReasons", declineReasons);
|
|
toStringHelper(sb, "enableAutoAccept", enableAutoAccept);
|
|
toStringHelper(sb, "enableDecline", enableDecline);
|
|
toStringHelper(sb, "enableDeclineReason", enableDeclineReason);
|
|
toStringHelper(sb, "enableDisconnectSound", enableDisconnectSound);
|
|
toStringHelper(sb, "enableRequestSound", enableRequestSound);
|
|
toStringHelper(sb, "hasAcwExtensionEnabled", hasAcwExtensionEnabled);
|
|
toStringHelper(sb, "hasAfterConvoWorkTimer", hasAfterConvoWorkTimer);
|
|
toStringHelper(sb, "interruptibleCapacity", interruptibleCapacity);
|
|
toStringHelper(sb, "label", label);
|
|
toStringHelper(sb, "maxExtensions", maxExtensions);
|
|
toStringHelper(sb, "presenceStatusOnDecline", presenceStatusOnDecline);
|
|
toStringHelper(sb, "presenceStatusOnPushTimeout", presenceStatusOnPushTimeout);
|
|
toStringHelper(sb, "userDisplayName", userDisplayName);
|
|
}
|
|
|
|
|
|
}
|