310 lines
16 KiB
Java
310 lines
16 KiB
Java
|
|
package com.sforce.soap.tooling.sobject;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* This is a generated class for the SObject Enterprise API.
|
||
|
|
* Do not edit this file, as your changes will be lost.
|
||
|
|
*/
|
||
|
|
public class AIReplyRecommendationsSettings extends com.sforce.soap.tooling.sobject.SObject {
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Constructor
|
||
|
|
*/
|
||
|
|
public AIReplyRecommendationsSettings() {}
|
||
|
|
|
||
|
|
/* 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 : DurableId of type {http://www.w3.org/2001/XMLSchema}string
|
||
|
|
* java type: java.lang.String
|
||
|
|
*/
|
||
|
|
private boolean DurableId__is_set = false;
|
||
|
|
|
||
|
|
private java.lang.String DurableId;
|
||
|
|
|
||
|
|
public java.lang.String getDurableId() {
|
||
|
|
return DurableId;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setDurableId(java.lang.String DurableId) {
|
||
|
|
this.DurableId = DurableId;
|
||
|
|
DurableId__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setDurableId(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("DurableId", "urn:sobject.tooling.soap.sforce.com","DurableId","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
|
||
|
|
setDurableId(__typeMapper.readString(__in, _lookupTypeInfo("DurableId", "urn:sobject.tooling.soap.sforce.com","DurableId","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldDurableId(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("DurableId", "urn:sobject.tooling.soap.sforce.com","DurableId","http://www.w3.org/2001/XMLSchema","string",0,1,true), DurableId, DurableId__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : FullName of type {http://www.w3.org/2001/XMLSchema}string
|
||
|
|
* java type: java.lang.String
|
||
|
|
*/
|
||
|
|
private boolean FullName__is_set = false;
|
||
|
|
|
||
|
|
private java.lang.String FullName;
|
||
|
|
|
||
|
|
public java.lang.String getFullName() {
|
||
|
|
return FullName;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setFullName(java.lang.String FullName) {
|
||
|
|
this.FullName = FullName;
|
||
|
|
FullName__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setFullName(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("FullName", "urn:sobject.tooling.soap.sforce.com","FullName","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
|
||
|
|
setFullName(__typeMapper.readString(__in, _lookupTypeInfo("FullName", "urn:sobject.tooling.soap.sforce.com","FullName","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldFullName(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("FullName", "urn:sobject.tooling.soap.sforce.com","FullName","http://www.w3.org/2001/XMLSchema","string",0,1,true), FullName, FullName__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : IsAiReplyRecommendationsEnabled of type {http://www.w3.org/2001/XMLSchema}boolean
|
||
|
|
* java type: java.lang.Boolean
|
||
|
|
*/
|
||
|
|
private boolean IsAiReplyRecommendationsEnabled__is_set = false;
|
||
|
|
|
||
|
|
private java.lang.Boolean IsAiReplyRecommendationsEnabled;
|
||
|
|
|
||
|
|
public java.lang.Boolean getIsAiReplyRecommendationsEnabled() {
|
||
|
|
return IsAiReplyRecommendationsEnabled;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setIsAiReplyRecommendationsEnabled(java.lang.Boolean IsAiReplyRecommendationsEnabled) {
|
||
|
|
this.IsAiReplyRecommendationsEnabled = IsAiReplyRecommendationsEnabled;
|
||
|
|
IsAiReplyRecommendationsEnabled__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setIsAiReplyRecommendationsEnabled(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("IsAiReplyRecommendationsEnabled", "urn:sobject.tooling.soap.sforce.com","IsAiReplyRecommendationsEnabled","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
|
||
|
|
setIsAiReplyRecommendationsEnabled((java.lang.Boolean)__typeMapper.readObject(__in, _lookupTypeInfo("IsAiReplyRecommendationsEnabled", "urn:sobject.tooling.soap.sforce.com","IsAiReplyRecommendationsEnabled","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), java.lang.Boolean.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldIsAiReplyRecommendationsEnabled(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("IsAiReplyRecommendationsEnabled", "urn:sobject.tooling.soap.sforce.com","IsAiReplyRecommendationsEnabled","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), IsAiReplyRecommendationsEnabled, IsAiReplyRecommendationsEnabled__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : IsGenReplyRecommendationsEnabled of type {http://www.w3.org/2001/XMLSchema}boolean
|
||
|
|
* java type: java.lang.Boolean
|
||
|
|
*/
|
||
|
|
private boolean IsGenReplyRecommendationsEnabled__is_set = false;
|
||
|
|
|
||
|
|
private java.lang.Boolean IsGenReplyRecommendationsEnabled;
|
||
|
|
|
||
|
|
public java.lang.Boolean getIsGenReplyRecommendationsEnabled() {
|
||
|
|
return IsGenReplyRecommendationsEnabled;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setIsGenReplyRecommendationsEnabled(java.lang.Boolean IsGenReplyRecommendationsEnabled) {
|
||
|
|
this.IsGenReplyRecommendationsEnabled = IsGenReplyRecommendationsEnabled;
|
||
|
|
IsGenReplyRecommendationsEnabled__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setIsGenReplyRecommendationsEnabled(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("IsGenReplyRecommendationsEnabled", "urn:sobject.tooling.soap.sforce.com","IsGenReplyRecommendationsEnabled","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
|
||
|
|
setIsGenReplyRecommendationsEnabled((java.lang.Boolean)__typeMapper.readObject(__in, _lookupTypeInfo("IsGenReplyRecommendationsEnabled", "urn:sobject.tooling.soap.sforce.com","IsGenReplyRecommendationsEnabled","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), java.lang.Boolean.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldIsGenReplyRecommendationsEnabled(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("IsGenReplyRecommendationsEnabled", "urn:sobject.tooling.soap.sforce.com","IsGenReplyRecommendationsEnabled","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), IsGenReplyRecommendationsEnabled, IsGenReplyRecommendationsEnabled__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : IsServiceEinsteinGptGroundingEnabled of type {http://www.w3.org/2001/XMLSchema}boolean
|
||
|
|
* java type: java.lang.Boolean
|
||
|
|
*/
|
||
|
|
private boolean IsServiceEinsteinGptGroundingEnabled__is_set = false;
|
||
|
|
|
||
|
|
private java.lang.Boolean IsServiceEinsteinGptGroundingEnabled;
|
||
|
|
|
||
|
|
public java.lang.Boolean getIsServiceEinsteinGptGroundingEnabled() {
|
||
|
|
return IsServiceEinsteinGptGroundingEnabled;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setIsServiceEinsteinGptGroundingEnabled(java.lang.Boolean IsServiceEinsteinGptGroundingEnabled) {
|
||
|
|
this.IsServiceEinsteinGptGroundingEnabled = IsServiceEinsteinGptGroundingEnabled;
|
||
|
|
IsServiceEinsteinGptGroundingEnabled__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setIsServiceEinsteinGptGroundingEnabled(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("IsServiceEinsteinGptGroundingEnabled", "urn:sobject.tooling.soap.sforce.com","IsServiceEinsteinGptGroundingEnabled","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
|
||
|
|
setIsServiceEinsteinGptGroundingEnabled((java.lang.Boolean)__typeMapper.readObject(__in, _lookupTypeInfo("IsServiceEinsteinGptGroundingEnabled", "urn:sobject.tooling.soap.sforce.com","IsServiceEinsteinGptGroundingEnabled","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), java.lang.Boolean.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldIsServiceEinsteinGptGroundingEnabled(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("IsServiceEinsteinGptGroundingEnabled", "urn:sobject.tooling.soap.sforce.com","IsServiceEinsteinGptGroundingEnabled","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), IsServiceEinsteinGptGroundingEnabled, IsServiceEinsteinGptGroundingEnabled__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : IsServiceRepliesPauseEnabled of type {http://www.w3.org/2001/XMLSchema}boolean
|
||
|
|
* java type: java.lang.Boolean
|
||
|
|
*/
|
||
|
|
private boolean IsServiceRepliesPauseEnabled__is_set = false;
|
||
|
|
|
||
|
|
private java.lang.Boolean IsServiceRepliesPauseEnabled;
|
||
|
|
|
||
|
|
public java.lang.Boolean getIsServiceRepliesPauseEnabled() {
|
||
|
|
return IsServiceRepliesPauseEnabled;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setIsServiceRepliesPauseEnabled(java.lang.Boolean IsServiceRepliesPauseEnabled) {
|
||
|
|
this.IsServiceRepliesPauseEnabled = IsServiceRepliesPauseEnabled;
|
||
|
|
IsServiceRepliesPauseEnabled__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setIsServiceRepliesPauseEnabled(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("IsServiceRepliesPauseEnabled", "urn:sobject.tooling.soap.sforce.com","IsServiceRepliesPauseEnabled","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
|
||
|
|
setIsServiceRepliesPauseEnabled((java.lang.Boolean)__typeMapper.readObject(__in, _lookupTypeInfo("IsServiceRepliesPauseEnabled", "urn:sobject.tooling.soap.sforce.com","IsServiceRepliesPauseEnabled","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), java.lang.Boolean.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldIsServiceRepliesPauseEnabled(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("IsServiceRepliesPauseEnabled", "urn:sobject.tooling.soap.sforce.com","IsServiceRepliesPauseEnabled","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), IsServiceRepliesPauseEnabled, IsServiceRepliesPauseEnabled__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : Metadata of type {urn:metadata.tooling.soap.sforce.com}AIReplyRecommendationsSettings
|
||
|
|
* java type: com.sforce.soap.tooling.metadata.AIReplyRecommendationsSettings
|
||
|
|
*/
|
||
|
|
private boolean Metadata__is_set = false;
|
||
|
|
|
||
|
|
private com.sforce.soap.tooling.metadata.AIReplyRecommendationsSettings Metadata;
|
||
|
|
|
||
|
|
public com.sforce.soap.tooling.metadata.AIReplyRecommendationsSettings getMetadata() {
|
||
|
|
return Metadata;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setMetadata(com.sforce.soap.tooling.metadata.AIReplyRecommendationsSettings Metadata) {
|
||
|
|
this.Metadata = Metadata;
|
||
|
|
Metadata__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setMetadata(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("Metadata", "urn:sobject.tooling.soap.sforce.com","Metadata","urn:metadata.tooling.soap.sforce.com","AIReplyRecommendationsSettings",0,1,true))) {
|
||
|
|
setMetadata((com.sforce.soap.tooling.metadata.AIReplyRecommendationsSettings)__typeMapper.readObject(__in, _lookupTypeInfo("Metadata", "urn:sobject.tooling.soap.sforce.com","Metadata","urn:metadata.tooling.soap.sforce.com","AIReplyRecommendationsSettings",0,1,true), com.sforce.soap.tooling.metadata.AIReplyRecommendationsSettings.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldMetadata(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("Metadata", "urn:sobject.tooling.soap.sforce.com","Metadata","urn:metadata.tooling.soap.sforce.com","AIReplyRecommendationsSettings",0,1,true), Metadata, Metadata__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, "urn:sobject.tooling.soap.sforce.com", "AIReplyRecommendationsSettings");
|
||
|
|
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("[AIReplyRecommendationsSettings ");
|
||
|
|
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 {
|
||
|
|
writeFieldDurableId(__out, __typeMapper);
|
||
|
|
writeFieldFullName(__out, __typeMapper);
|
||
|
|
writeFieldIsAiReplyRecommendationsEnabled(__out, __typeMapper);
|
||
|
|
writeFieldIsGenReplyRecommendationsEnabled(__out, __typeMapper);
|
||
|
|
writeFieldIsServiceEinsteinGptGroundingEnabled(__out, __typeMapper);
|
||
|
|
writeFieldIsServiceRepliesPauseEnabled(__out, __typeMapper);
|
||
|
|
writeFieldMetadata(__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 {
|
||
|
|
setDurableId(__in, __typeMapper);
|
||
|
|
setFullName(__in, __typeMapper);
|
||
|
|
setIsAiReplyRecommendationsEnabled(__in, __typeMapper);
|
||
|
|
setIsGenReplyRecommendationsEnabled(__in, __typeMapper);
|
||
|
|
setIsServiceEinsteinGptGroundingEnabled(__in, __typeMapper);
|
||
|
|
setIsServiceRepliesPauseEnabled(__in, __typeMapper);
|
||
|
|
setMetadata(__in, __typeMapper);
|
||
|
|
}
|
||
|
|
|
||
|
|
private void toString1(StringBuilder sb) {
|
||
|
|
toStringHelper(sb, "DurableId", DurableId);
|
||
|
|
toStringHelper(sb, "FullName", FullName);
|
||
|
|
toStringHelper(sb, "IsAiReplyRecommendationsEnabled", IsAiReplyRecommendationsEnabled);
|
||
|
|
toStringHelper(sb, "IsGenReplyRecommendationsEnabled", IsGenReplyRecommendationsEnabled);
|
||
|
|
toStringHelper(sb, "IsServiceEinsteinGptGroundingEnabled", IsServiceEinsteinGptGroundingEnabled);
|
||
|
|
toStringHelper(sb, "IsServiceRepliesPauseEnabled", IsServiceRepliesPauseEnabled);
|
||
|
|
toStringHelper(sb, "Metadata", Metadata);
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
}
|