438 lines
22 KiB
Java
438 lines
22 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 GenAiLocalPlugin implements com.sforce.ws.bind.XMLizable {
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Constructor
|
||
|
|
*/
|
||
|
|
public GenAiLocalPlugin() {}
|
||
|
|
|
||
|
|
/* 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 : aiPluginUtterances of type {http://soap.sforce.com/2006/04/metadata}AiPluginUtteranceDef
|
||
|
|
* java type: com.sforce.soap.metadata.AiPluginUtteranceDef[]
|
||
|
|
*/
|
||
|
|
private boolean aiPluginUtterances__is_set = false;
|
||
|
|
|
||
|
|
private com.sforce.soap.metadata.AiPluginUtteranceDef[] aiPluginUtterances = new com.sforce.soap.metadata.AiPluginUtteranceDef[0];
|
||
|
|
|
||
|
|
public com.sforce.soap.metadata.AiPluginUtteranceDef[] getAiPluginUtterances() {
|
||
|
|
return aiPluginUtterances;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setAiPluginUtterances(com.sforce.soap.metadata.AiPluginUtteranceDef[] aiPluginUtterances) {
|
||
|
|
this.aiPluginUtterances = aiPluginUtterances;
|
||
|
|
aiPluginUtterances__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setAiPluginUtterances(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("aiPluginUtterances", "http://soap.sforce.com/2006/04/metadata","aiPluginUtterances","http://soap.sforce.com/2006/04/metadata","AiPluginUtteranceDef",0,-1,true))) {
|
||
|
|
setAiPluginUtterances((com.sforce.soap.metadata.AiPluginUtteranceDef[])__typeMapper.readObject(__in, _lookupTypeInfo("aiPluginUtterances", "http://soap.sforce.com/2006/04/metadata","aiPluginUtterances","http://soap.sforce.com/2006/04/metadata","AiPluginUtteranceDef",0,-1,true), com.sforce.soap.metadata.AiPluginUtteranceDef[].class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldAiPluginUtterances(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("aiPluginUtterances", "http://soap.sforce.com/2006/04/metadata","aiPluginUtterances","http://soap.sforce.com/2006/04/metadata","AiPluginUtteranceDef",0,-1,true), aiPluginUtterances, aiPluginUtterances__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : canEscalate of type {http://www.w3.org/2001/XMLSchema}boolean
|
||
|
|
* java type: boolean
|
||
|
|
*/
|
||
|
|
private boolean canEscalate__is_set = false;
|
||
|
|
|
||
|
|
private boolean canEscalate;
|
||
|
|
|
||
|
|
public boolean getCanEscalate() {
|
||
|
|
return canEscalate;
|
||
|
|
}
|
||
|
|
|
||
|
|
public boolean isCanEscalate() {
|
||
|
|
return canEscalate;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setCanEscalate(boolean canEscalate) {
|
||
|
|
this.canEscalate = canEscalate;
|
||
|
|
canEscalate__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setCanEscalate(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("canEscalate", "http://soap.sforce.com/2006/04/metadata","canEscalate","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
|
||
|
|
setCanEscalate(__typeMapper.readBoolean(__in, _lookupTypeInfo("canEscalate", "http://soap.sforce.com/2006/04/metadata","canEscalate","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldCanEscalate(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("canEscalate", "http://soap.sforce.com/2006/04/metadata","canEscalate","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), canEscalate, canEscalate__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : description of type {http://www.w3.org/2001/XMLSchema}string
|
||
|
|
* java type: java.lang.String
|
||
|
|
*/
|
||
|
|
private boolean description__is_set = false;
|
||
|
|
|
||
|
|
private java.lang.String description;
|
||
|
|
|
||
|
|
public java.lang.String getDescription() {
|
||
|
|
return description;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setDescription(java.lang.String description) {
|
||
|
|
this.description = description;
|
||
|
|
description__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setDescription(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("description", "http://soap.sforce.com/2006/04/metadata","description","http://www.w3.org/2001/XMLSchema","string",1,1,true))) {
|
||
|
|
setDescription(__typeMapper.readString(__in, _lookupTypeInfo("description", "http://soap.sforce.com/2006/04/metadata","description","http://www.w3.org/2001/XMLSchema","string",1,1,true), java.lang.String.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldDescription(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("description", "http://soap.sforce.com/2006/04/metadata","description","http://www.w3.org/2001/XMLSchema","string",1,1,true), description, description__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : genAiFunctions of type {http://soap.sforce.com/2006/04/metadata}GenAiPluginFunctionDef
|
||
|
|
* java type: com.sforce.soap.metadata.GenAiPluginFunctionDef[]
|
||
|
|
*/
|
||
|
|
private boolean genAiFunctions__is_set = false;
|
||
|
|
|
||
|
|
private com.sforce.soap.metadata.GenAiPluginFunctionDef[] genAiFunctions = new com.sforce.soap.metadata.GenAiPluginFunctionDef[0];
|
||
|
|
|
||
|
|
public com.sforce.soap.metadata.GenAiPluginFunctionDef[] getGenAiFunctions() {
|
||
|
|
return genAiFunctions;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setGenAiFunctions(com.sforce.soap.metadata.GenAiPluginFunctionDef[] genAiFunctions) {
|
||
|
|
this.genAiFunctions = genAiFunctions;
|
||
|
|
genAiFunctions__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setGenAiFunctions(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("genAiFunctions", "http://soap.sforce.com/2006/04/metadata","genAiFunctions","http://soap.sforce.com/2006/04/metadata","GenAiPluginFunctionDef",0,-1,true))) {
|
||
|
|
setGenAiFunctions((com.sforce.soap.metadata.GenAiPluginFunctionDef[])__typeMapper.readObject(__in, _lookupTypeInfo("genAiFunctions", "http://soap.sforce.com/2006/04/metadata","genAiFunctions","http://soap.sforce.com/2006/04/metadata","GenAiPluginFunctionDef",0,-1,true), com.sforce.soap.metadata.GenAiPluginFunctionDef[].class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldGenAiFunctions(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("genAiFunctions", "http://soap.sforce.com/2006/04/metadata","genAiFunctions","http://soap.sforce.com/2006/04/metadata","GenAiPluginFunctionDef",0,-1,true), genAiFunctions, genAiFunctions__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : genAiPluginInstructions of type {http://soap.sforce.com/2006/04/metadata}GenAiPluginInstructionDef
|
||
|
|
* java type: com.sforce.soap.metadata.GenAiPluginInstructionDef[]
|
||
|
|
*/
|
||
|
|
private boolean genAiPluginInstructions__is_set = false;
|
||
|
|
|
||
|
|
private com.sforce.soap.metadata.GenAiPluginInstructionDef[] genAiPluginInstructions = new com.sforce.soap.metadata.GenAiPluginInstructionDef[0];
|
||
|
|
|
||
|
|
public com.sforce.soap.metadata.GenAiPluginInstructionDef[] getGenAiPluginInstructions() {
|
||
|
|
return genAiPluginInstructions;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setGenAiPluginInstructions(com.sforce.soap.metadata.GenAiPluginInstructionDef[] genAiPluginInstructions) {
|
||
|
|
this.genAiPluginInstructions = genAiPluginInstructions;
|
||
|
|
genAiPluginInstructions__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setGenAiPluginInstructions(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("genAiPluginInstructions", "http://soap.sforce.com/2006/04/metadata","genAiPluginInstructions","http://soap.sforce.com/2006/04/metadata","GenAiPluginInstructionDef",0,-1,true))) {
|
||
|
|
setGenAiPluginInstructions((com.sforce.soap.metadata.GenAiPluginInstructionDef[])__typeMapper.readObject(__in, _lookupTypeInfo("genAiPluginInstructions", "http://soap.sforce.com/2006/04/metadata","genAiPluginInstructions","http://soap.sforce.com/2006/04/metadata","GenAiPluginInstructionDef",0,-1,true), com.sforce.soap.metadata.GenAiPluginInstructionDef[].class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldGenAiPluginInstructions(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("genAiPluginInstructions", "http://soap.sforce.com/2006/04/metadata","genAiPluginInstructions","http://soap.sforce.com/2006/04/metadata","GenAiPluginInstructionDef",0,-1,true), genAiPluginInstructions, genAiPluginInstructions__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : language of type {http://www.w3.org/2001/XMLSchema}string
|
||
|
|
* java type: java.lang.String
|
||
|
|
*/
|
||
|
|
private boolean language__is_set = false;
|
||
|
|
|
||
|
|
private java.lang.String language;
|
||
|
|
|
||
|
|
public java.lang.String getLanguage() {
|
||
|
|
return language;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setLanguage(java.lang.String language) {
|
||
|
|
this.language = language;
|
||
|
|
language__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setLanguage(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("language", "http://soap.sforce.com/2006/04/metadata","language","http://www.w3.org/2001/XMLSchema","string",1,1,true))) {
|
||
|
|
setLanguage(__typeMapper.readString(__in, _lookupTypeInfo("language", "http://soap.sforce.com/2006/04/metadata","language","http://www.w3.org/2001/XMLSchema","string",1,1,true), java.lang.String.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldLanguage(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("language", "http://soap.sforce.com/2006/04/metadata","language","http://www.w3.org/2001/XMLSchema","string",1,1,true), language, language__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : localDeveloperName of type {http://www.w3.org/2001/XMLSchema}string
|
||
|
|
* java type: java.lang.String
|
||
|
|
*/
|
||
|
|
private boolean localDeveloperName__is_set = false;
|
||
|
|
|
||
|
|
private java.lang.String localDeveloperName;
|
||
|
|
|
||
|
|
public java.lang.String getLocalDeveloperName() {
|
||
|
|
return localDeveloperName;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setLocalDeveloperName(java.lang.String localDeveloperName) {
|
||
|
|
this.localDeveloperName = localDeveloperName;
|
||
|
|
localDeveloperName__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setLocalDeveloperName(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("localDeveloperName", "http://soap.sforce.com/2006/04/metadata","localDeveloperName","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
|
||
|
|
setLocalDeveloperName(__typeMapper.readString(__in, _lookupTypeInfo("localDeveloperName", "http://soap.sforce.com/2006/04/metadata","localDeveloperName","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldLocalDeveloperName(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("localDeveloperName", "http://soap.sforce.com/2006/04/metadata","localDeveloperName","http://www.w3.org/2001/XMLSchema","string",0,1,true), localDeveloperName, localDeveloperName__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : masterLabel of type {http://www.w3.org/2001/XMLSchema}string
|
||
|
|
* java type: java.lang.String
|
||
|
|
*/
|
||
|
|
private boolean masterLabel__is_set = false;
|
||
|
|
|
||
|
|
private java.lang.String masterLabel;
|
||
|
|
|
||
|
|
public java.lang.String getMasterLabel() {
|
||
|
|
return masterLabel;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setMasterLabel(java.lang.String masterLabel) {
|
||
|
|
this.masterLabel = masterLabel;
|
||
|
|
masterLabel__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setMasterLabel(com.sforce.ws.parser.XmlInputStream __in,
|
||
|
|
com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
|
||
|
|
__in.peekTag();
|
||
|
|
if (__typeMapper.verifyElement(__in, _lookupTypeInfo("masterLabel", "http://soap.sforce.com/2006/04/metadata","masterLabel","http://www.w3.org/2001/XMLSchema","string",1,1,true))) {
|
||
|
|
setMasterLabel(__typeMapper.readString(__in, _lookupTypeInfo("masterLabel", "http://soap.sforce.com/2006/04/metadata","masterLabel","http://www.w3.org/2001/XMLSchema","string",1,1,true), java.lang.String.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldMasterLabel(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("masterLabel", "http://soap.sforce.com/2006/04/metadata","masterLabel","http://www.w3.org/2001/XMLSchema","string",1,1,true), masterLabel, masterLabel__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : name of type {http://www.w3.org/2001/XMLSchema}string
|
||
|
|
* java type: java.lang.String
|
||
|
|
*/
|
||
|
|
private boolean name__is_set = false;
|
||
|
|
|
||
|
|
private java.lang.String name;
|
||
|
|
|
||
|
|
public java.lang.String getName() {
|
||
|
|
return name;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setName(java.lang.String name) {
|
||
|
|
this.name = name;
|
||
|
|
name__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setName(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("name", "http://soap.sforce.com/2006/04/metadata","name","http://www.w3.org/2001/XMLSchema","string",1,1,true))) {
|
||
|
|
setName(__typeMapper.readString(__in, _lookupTypeInfo("name", "http://soap.sforce.com/2006/04/metadata","name","http://www.w3.org/2001/XMLSchema","string",1,1,true), java.lang.String.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldName(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("name", "http://soap.sforce.com/2006/04/metadata","name","http://www.w3.org/2001/XMLSchema","string",1,1,true), name, name__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : pluginType of type {http://soap.sforce.com/2006/04/metadata}PluginType
|
||
|
|
* java type: com.sforce.soap.metadata.PluginType
|
||
|
|
*/
|
||
|
|
private boolean pluginType__is_set = false;
|
||
|
|
|
||
|
|
private com.sforce.soap.metadata.PluginType pluginType;
|
||
|
|
|
||
|
|
public com.sforce.soap.metadata.PluginType getPluginType() {
|
||
|
|
return pluginType;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setPluginType(com.sforce.soap.metadata.PluginType pluginType) {
|
||
|
|
this.pluginType = pluginType;
|
||
|
|
pluginType__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setPluginType(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("pluginType", "http://soap.sforce.com/2006/04/metadata","pluginType","http://soap.sforce.com/2006/04/metadata","PluginType",1,1,true))) {
|
||
|
|
setPluginType((com.sforce.soap.metadata.PluginType)__typeMapper.readObject(__in, _lookupTypeInfo("pluginType", "http://soap.sforce.com/2006/04/metadata","pluginType","http://soap.sforce.com/2006/04/metadata","PluginType",1,1,true), com.sforce.soap.metadata.PluginType.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldPluginType(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("pluginType", "http://soap.sforce.com/2006/04/metadata","pluginType","http://soap.sforce.com/2006/04/metadata","PluginType",1,1,true), pluginType, pluginType__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : scope of type {http://www.w3.org/2001/XMLSchema}string
|
||
|
|
* java type: java.lang.String
|
||
|
|
*/
|
||
|
|
private boolean scope__is_set = false;
|
||
|
|
|
||
|
|
private java.lang.String scope;
|
||
|
|
|
||
|
|
public java.lang.String getScope() {
|
||
|
|
return scope;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setScope(java.lang.String scope) {
|
||
|
|
this.scope = scope;
|
||
|
|
scope__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setScope(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("scope", "http://soap.sforce.com/2006/04/metadata","scope","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
|
||
|
|
setScope(__typeMapper.readString(__in, _lookupTypeInfo("scope", "http://soap.sforce.com/2006/04/metadata","scope","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldScope(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("scope", "http://soap.sforce.com/2006/04/metadata","scope","http://www.w3.org/2001/XMLSchema","string",0,1,true), scope, scope__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());
|
||
|
|
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 {
|
||
|
|
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 {
|
||
|
|
loadFields1(__in, __typeMapper);
|
||
|
|
}
|
||
|
|
|
||
|
|
@Override
|
||
|
|
public String toString() {
|
||
|
|
java.lang.StringBuilder sb = new java.lang.StringBuilder();
|
||
|
|
sb.append("[GenAiLocalPlugin ");
|
||
|
|
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 {
|
||
|
|
writeFieldAiPluginUtterances(__out, __typeMapper);
|
||
|
|
writeFieldCanEscalate(__out, __typeMapper);
|
||
|
|
writeFieldDescription(__out, __typeMapper);
|
||
|
|
writeFieldGenAiFunctions(__out, __typeMapper);
|
||
|
|
writeFieldGenAiPluginInstructions(__out, __typeMapper);
|
||
|
|
writeFieldLanguage(__out, __typeMapper);
|
||
|
|
writeFieldLocalDeveloperName(__out, __typeMapper);
|
||
|
|
writeFieldMasterLabel(__out, __typeMapper);
|
||
|
|
writeFieldName(__out, __typeMapper);
|
||
|
|
writeFieldPluginType(__out, __typeMapper);
|
||
|
|
writeFieldScope(__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 {
|
||
|
|
setAiPluginUtterances(__in, __typeMapper);
|
||
|
|
setCanEscalate(__in, __typeMapper);
|
||
|
|
setDescription(__in, __typeMapper);
|
||
|
|
setGenAiFunctions(__in, __typeMapper);
|
||
|
|
setGenAiPluginInstructions(__in, __typeMapper);
|
||
|
|
setLanguage(__in, __typeMapper);
|
||
|
|
setLocalDeveloperName(__in, __typeMapper);
|
||
|
|
setMasterLabel(__in, __typeMapper);
|
||
|
|
setName(__in, __typeMapper);
|
||
|
|
setPluginType(__in, __typeMapper);
|
||
|
|
setScope(__in, __typeMapper);
|
||
|
|
}
|
||
|
|
|
||
|
|
private void toString1(StringBuilder sb) {
|
||
|
|
toStringHelper(sb, "aiPluginUtterances", aiPluginUtterances);
|
||
|
|
toStringHelper(sb, "canEscalate", canEscalate);
|
||
|
|
toStringHelper(sb, "description", description);
|
||
|
|
toStringHelper(sb, "genAiFunctions", genAiFunctions);
|
||
|
|
toStringHelper(sb, "genAiPluginInstructions", genAiPluginInstructions);
|
||
|
|
toStringHelper(sb, "language", language);
|
||
|
|
toStringHelper(sb, "localDeveloperName", localDeveloperName);
|
||
|
|
toStringHelper(sb, "masterLabel", masterLabel);
|
||
|
|
toStringHelper(sb, "name", name);
|
||
|
|
toStringHelper(sb, "pluginType", pluginType);
|
||
|
|
toStringHelper(sb, "scope", scope);
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
}
|