802 lines
42 KiB
Java
802 lines
42 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 ConnectedAppOauthConfig implements com.sforce.ws.bind.XMLizable {
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Constructor
|
||
|
|
*/
|
||
|
|
public ConnectedAppOauthConfig() {}
|
||
|
|
|
||
|
|
/* 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 : assetTokenConfig of type {http://soap.sforce.com/2006/04/metadata}ConnectedAppOauthAssetToken
|
||
|
|
* java type: com.sforce.soap.metadata.ConnectedAppOauthAssetToken
|
||
|
|
*/
|
||
|
|
private boolean assetTokenConfig__is_set = false;
|
||
|
|
|
||
|
|
private com.sforce.soap.metadata.ConnectedAppOauthAssetToken assetTokenConfig;
|
||
|
|
|
||
|
|
public com.sforce.soap.metadata.ConnectedAppOauthAssetToken getAssetTokenConfig() {
|
||
|
|
return assetTokenConfig;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setAssetTokenConfig(com.sforce.soap.metadata.ConnectedAppOauthAssetToken assetTokenConfig) {
|
||
|
|
this.assetTokenConfig = assetTokenConfig;
|
||
|
|
assetTokenConfig__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setAssetTokenConfig(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("assetTokenConfig", "http://soap.sforce.com/2006/04/metadata","assetTokenConfig","http://soap.sforce.com/2006/04/metadata","ConnectedAppOauthAssetToken",0,1,true))) {
|
||
|
|
setAssetTokenConfig((com.sforce.soap.metadata.ConnectedAppOauthAssetToken)__typeMapper.readObject(__in, _lookupTypeInfo("assetTokenConfig", "http://soap.sforce.com/2006/04/metadata","assetTokenConfig","http://soap.sforce.com/2006/04/metadata","ConnectedAppOauthAssetToken",0,1,true), com.sforce.soap.metadata.ConnectedAppOauthAssetToken.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldAssetTokenConfig(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("assetTokenConfig", "http://soap.sforce.com/2006/04/metadata","assetTokenConfig","http://soap.sforce.com/2006/04/metadata","ConnectedAppOauthAssetToken",0,1,true), assetTokenConfig, assetTokenConfig__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : callbackUrl of type {http://www.w3.org/2001/XMLSchema}string
|
||
|
|
* java type: java.lang.String
|
||
|
|
*/
|
||
|
|
private boolean callbackUrl__is_set = false;
|
||
|
|
|
||
|
|
private java.lang.String callbackUrl;
|
||
|
|
|
||
|
|
public java.lang.String getCallbackUrl() {
|
||
|
|
return callbackUrl;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setCallbackUrl(java.lang.String callbackUrl) {
|
||
|
|
this.callbackUrl = callbackUrl;
|
||
|
|
callbackUrl__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setCallbackUrl(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("callbackUrl", "http://soap.sforce.com/2006/04/metadata","callbackUrl","http://www.w3.org/2001/XMLSchema","string",1,1,true))) {
|
||
|
|
setCallbackUrl(__typeMapper.readString(__in, _lookupTypeInfo("callbackUrl", "http://soap.sforce.com/2006/04/metadata","callbackUrl","http://www.w3.org/2001/XMLSchema","string",1,1,true), java.lang.String.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldCallbackUrl(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("callbackUrl", "http://soap.sforce.com/2006/04/metadata","callbackUrl","http://www.w3.org/2001/XMLSchema","string",1,1,true), callbackUrl, callbackUrl__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : certificate of type {http://www.w3.org/2001/XMLSchema}string
|
||
|
|
* java type: java.lang.String
|
||
|
|
*/
|
||
|
|
private boolean certificate__is_set = false;
|
||
|
|
|
||
|
|
private java.lang.String certificate;
|
||
|
|
|
||
|
|
public java.lang.String getCertificate() {
|
||
|
|
return certificate;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setCertificate(java.lang.String certificate) {
|
||
|
|
this.certificate = certificate;
|
||
|
|
certificate__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setCertificate(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("certificate", "http://soap.sforce.com/2006/04/metadata","certificate","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
|
||
|
|
setCertificate(__typeMapper.readString(__in, _lookupTypeInfo("certificate", "http://soap.sforce.com/2006/04/metadata","certificate","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldCertificate(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("certificate", "http://soap.sforce.com/2006/04/metadata","certificate","http://www.w3.org/2001/XMLSchema","string",0,1,true), certificate, certificate__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : consumerKey of type {http://www.w3.org/2001/XMLSchema}string
|
||
|
|
* java type: java.lang.String
|
||
|
|
*/
|
||
|
|
private boolean consumerKey__is_set = false;
|
||
|
|
|
||
|
|
private java.lang.String consumerKey;
|
||
|
|
|
||
|
|
public java.lang.String getConsumerKey() {
|
||
|
|
return consumerKey;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setConsumerKey(java.lang.String consumerKey) {
|
||
|
|
this.consumerKey = consumerKey;
|
||
|
|
consumerKey__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setConsumerKey(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("consumerKey", "http://soap.sforce.com/2006/04/metadata","consumerKey","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
|
||
|
|
setConsumerKey(__typeMapper.readString(__in, _lookupTypeInfo("consumerKey", "http://soap.sforce.com/2006/04/metadata","consumerKey","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldConsumerKey(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("consumerKey", "http://soap.sforce.com/2006/04/metadata","consumerKey","http://www.w3.org/2001/XMLSchema","string",0,1,true), consumerKey, consumerKey__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : consumerSecret of type {http://www.w3.org/2001/XMLSchema}string
|
||
|
|
* java type: java.lang.String
|
||
|
|
*/
|
||
|
|
private boolean consumerSecret__is_set = false;
|
||
|
|
|
||
|
|
private java.lang.String consumerSecret;
|
||
|
|
|
||
|
|
public java.lang.String getConsumerSecret() {
|
||
|
|
return consumerSecret;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setConsumerSecret(java.lang.String consumerSecret) {
|
||
|
|
this.consumerSecret = consumerSecret;
|
||
|
|
consumerSecret__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setConsumerSecret(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("consumerSecret", "http://soap.sforce.com/2006/04/metadata","consumerSecret","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
|
||
|
|
setConsumerSecret(__typeMapper.readString(__in, _lookupTypeInfo("consumerSecret", "http://soap.sforce.com/2006/04/metadata","consumerSecret","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldConsumerSecret(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("consumerSecret", "http://soap.sforce.com/2006/04/metadata","consumerSecret","http://www.w3.org/2001/XMLSchema","string",0,1,true), consumerSecret, consumerSecret__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : idTokenConfig of type {http://soap.sforce.com/2006/04/metadata}ConnectedAppOauthIdToken
|
||
|
|
* java type: com.sforce.soap.metadata.ConnectedAppOauthIdToken
|
||
|
|
*/
|
||
|
|
private boolean idTokenConfig__is_set = false;
|
||
|
|
|
||
|
|
private com.sforce.soap.metadata.ConnectedAppOauthIdToken idTokenConfig;
|
||
|
|
|
||
|
|
public com.sforce.soap.metadata.ConnectedAppOauthIdToken getIdTokenConfig() {
|
||
|
|
return idTokenConfig;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setIdTokenConfig(com.sforce.soap.metadata.ConnectedAppOauthIdToken idTokenConfig) {
|
||
|
|
this.idTokenConfig = idTokenConfig;
|
||
|
|
idTokenConfig__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setIdTokenConfig(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("idTokenConfig", "http://soap.sforce.com/2006/04/metadata","idTokenConfig","http://soap.sforce.com/2006/04/metadata","ConnectedAppOauthIdToken",0,1,true))) {
|
||
|
|
setIdTokenConfig((com.sforce.soap.metadata.ConnectedAppOauthIdToken)__typeMapper.readObject(__in, _lookupTypeInfo("idTokenConfig", "http://soap.sforce.com/2006/04/metadata","idTokenConfig","http://soap.sforce.com/2006/04/metadata","ConnectedAppOauthIdToken",0,1,true), com.sforce.soap.metadata.ConnectedAppOauthIdToken.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldIdTokenConfig(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("idTokenConfig", "http://soap.sforce.com/2006/04/metadata","idTokenConfig","http://soap.sforce.com/2006/04/metadata","ConnectedAppOauthIdToken",0,1,true), idTokenConfig, idTokenConfig__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : isAdminApproved of type {http://www.w3.org/2001/XMLSchema}boolean
|
||
|
|
* java type: boolean
|
||
|
|
*/
|
||
|
|
private boolean isAdminApproved__is_set = false;
|
||
|
|
|
||
|
|
private boolean isAdminApproved;
|
||
|
|
|
||
|
|
public boolean getIsAdminApproved() {
|
||
|
|
return isAdminApproved;
|
||
|
|
}
|
||
|
|
|
||
|
|
public boolean isIsAdminApproved() {
|
||
|
|
return isAdminApproved;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setIsAdminApproved(boolean isAdminApproved) {
|
||
|
|
this.isAdminApproved = isAdminApproved;
|
||
|
|
isAdminApproved__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setIsAdminApproved(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("isAdminApproved", "http://soap.sforce.com/2006/04/metadata","isAdminApproved","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
|
||
|
|
setIsAdminApproved(__typeMapper.readBoolean(__in, _lookupTypeInfo("isAdminApproved", "http://soap.sforce.com/2006/04/metadata","isAdminApproved","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldIsAdminApproved(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("isAdminApproved", "http://soap.sforce.com/2006/04/metadata","isAdminApproved","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), isAdminApproved, isAdminApproved__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : isClientCredentialEnabled of type {http://www.w3.org/2001/XMLSchema}boolean
|
||
|
|
* java type: boolean
|
||
|
|
*/
|
||
|
|
private boolean isClientCredentialEnabled__is_set = false;
|
||
|
|
|
||
|
|
private boolean isClientCredentialEnabled;
|
||
|
|
|
||
|
|
public boolean getIsClientCredentialEnabled() {
|
||
|
|
return isClientCredentialEnabled;
|
||
|
|
}
|
||
|
|
|
||
|
|
public boolean isIsClientCredentialEnabled() {
|
||
|
|
return isClientCredentialEnabled;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setIsClientCredentialEnabled(boolean isClientCredentialEnabled) {
|
||
|
|
this.isClientCredentialEnabled = isClientCredentialEnabled;
|
||
|
|
isClientCredentialEnabled__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setIsClientCredentialEnabled(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("isClientCredentialEnabled", "http://soap.sforce.com/2006/04/metadata","isClientCredentialEnabled","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
|
||
|
|
setIsClientCredentialEnabled(__typeMapper.readBoolean(__in, _lookupTypeInfo("isClientCredentialEnabled", "http://soap.sforce.com/2006/04/metadata","isClientCredentialEnabled","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldIsClientCredentialEnabled(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("isClientCredentialEnabled", "http://soap.sforce.com/2006/04/metadata","isClientCredentialEnabled","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), isClientCredentialEnabled, isClientCredentialEnabled__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : isCodeCredentialEnabled of type {http://www.w3.org/2001/XMLSchema}boolean
|
||
|
|
* java type: boolean
|
||
|
|
*/
|
||
|
|
private boolean isCodeCredentialEnabled__is_set = false;
|
||
|
|
|
||
|
|
private boolean isCodeCredentialEnabled;
|
||
|
|
|
||
|
|
public boolean getIsCodeCredentialEnabled() {
|
||
|
|
return isCodeCredentialEnabled;
|
||
|
|
}
|
||
|
|
|
||
|
|
public boolean isIsCodeCredentialEnabled() {
|
||
|
|
return isCodeCredentialEnabled;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setIsCodeCredentialEnabled(boolean isCodeCredentialEnabled) {
|
||
|
|
this.isCodeCredentialEnabled = isCodeCredentialEnabled;
|
||
|
|
isCodeCredentialEnabled__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setIsCodeCredentialEnabled(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("isCodeCredentialEnabled", "http://soap.sforce.com/2006/04/metadata","isCodeCredentialEnabled","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
|
||
|
|
setIsCodeCredentialEnabled(__typeMapper.readBoolean(__in, _lookupTypeInfo("isCodeCredentialEnabled", "http://soap.sforce.com/2006/04/metadata","isCodeCredentialEnabled","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldIsCodeCredentialEnabled(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("isCodeCredentialEnabled", "http://soap.sforce.com/2006/04/metadata","isCodeCredentialEnabled","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), isCodeCredentialEnabled, isCodeCredentialEnabled__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : isCodeCredentialPostOnly of type {http://www.w3.org/2001/XMLSchema}boolean
|
||
|
|
* java type: boolean
|
||
|
|
*/
|
||
|
|
private boolean isCodeCredentialPostOnly__is_set = false;
|
||
|
|
|
||
|
|
private boolean isCodeCredentialPostOnly;
|
||
|
|
|
||
|
|
public boolean getIsCodeCredentialPostOnly() {
|
||
|
|
return isCodeCredentialPostOnly;
|
||
|
|
}
|
||
|
|
|
||
|
|
public boolean isIsCodeCredentialPostOnly() {
|
||
|
|
return isCodeCredentialPostOnly;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setIsCodeCredentialPostOnly(boolean isCodeCredentialPostOnly) {
|
||
|
|
this.isCodeCredentialPostOnly = isCodeCredentialPostOnly;
|
||
|
|
isCodeCredentialPostOnly__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setIsCodeCredentialPostOnly(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("isCodeCredentialPostOnly", "http://soap.sforce.com/2006/04/metadata","isCodeCredentialPostOnly","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
|
||
|
|
setIsCodeCredentialPostOnly(__typeMapper.readBoolean(__in, _lookupTypeInfo("isCodeCredentialPostOnly", "http://soap.sforce.com/2006/04/metadata","isCodeCredentialPostOnly","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldIsCodeCredentialPostOnly(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("isCodeCredentialPostOnly", "http://soap.sforce.com/2006/04/metadata","isCodeCredentialPostOnly","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), isCodeCredentialPostOnly, isCodeCredentialPostOnly__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : isConsumerSecretOptional of type {http://www.w3.org/2001/XMLSchema}boolean
|
||
|
|
* java type: boolean
|
||
|
|
*/
|
||
|
|
private boolean isConsumerSecretOptional__is_set = false;
|
||
|
|
|
||
|
|
private boolean isConsumerSecretOptional;
|
||
|
|
|
||
|
|
public boolean getIsConsumerSecretOptional() {
|
||
|
|
return isConsumerSecretOptional;
|
||
|
|
}
|
||
|
|
|
||
|
|
public boolean isIsConsumerSecretOptional() {
|
||
|
|
return isConsumerSecretOptional;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setIsConsumerSecretOptional(boolean isConsumerSecretOptional) {
|
||
|
|
this.isConsumerSecretOptional = isConsumerSecretOptional;
|
||
|
|
isConsumerSecretOptional__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setIsConsumerSecretOptional(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("isConsumerSecretOptional", "http://soap.sforce.com/2006/04/metadata","isConsumerSecretOptional","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
|
||
|
|
setIsConsumerSecretOptional(__typeMapper.readBoolean(__in, _lookupTypeInfo("isConsumerSecretOptional", "http://soap.sforce.com/2006/04/metadata","isConsumerSecretOptional","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldIsConsumerSecretOptional(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("isConsumerSecretOptional", "http://soap.sforce.com/2006/04/metadata","isConsumerSecretOptional","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), isConsumerSecretOptional, isConsumerSecretOptional__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : isIntrospectAllTokens of type {http://www.w3.org/2001/XMLSchema}boolean
|
||
|
|
* java type: boolean
|
||
|
|
*/
|
||
|
|
private boolean isIntrospectAllTokens__is_set = false;
|
||
|
|
|
||
|
|
private boolean isIntrospectAllTokens;
|
||
|
|
|
||
|
|
public boolean getIsIntrospectAllTokens() {
|
||
|
|
return isIntrospectAllTokens;
|
||
|
|
}
|
||
|
|
|
||
|
|
public boolean isIsIntrospectAllTokens() {
|
||
|
|
return isIntrospectAllTokens;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setIsIntrospectAllTokens(boolean isIntrospectAllTokens) {
|
||
|
|
this.isIntrospectAllTokens = isIntrospectAllTokens;
|
||
|
|
isIntrospectAllTokens__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setIsIntrospectAllTokens(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("isIntrospectAllTokens", "http://soap.sforce.com/2006/04/metadata","isIntrospectAllTokens","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
|
||
|
|
setIsIntrospectAllTokens(__typeMapper.readBoolean(__in, _lookupTypeInfo("isIntrospectAllTokens", "http://soap.sforce.com/2006/04/metadata","isIntrospectAllTokens","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldIsIntrospectAllTokens(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("isIntrospectAllTokens", "http://soap.sforce.com/2006/04/metadata","isIntrospectAllTokens","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), isIntrospectAllTokens, isIntrospectAllTokens__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : isNamedUserJwtEnabled of type {http://www.w3.org/2001/XMLSchema}boolean
|
||
|
|
* java type: boolean
|
||
|
|
*/
|
||
|
|
private boolean isNamedUserJwtEnabled__is_set = false;
|
||
|
|
|
||
|
|
private boolean isNamedUserJwtEnabled;
|
||
|
|
|
||
|
|
public boolean getIsNamedUserJwtEnabled() {
|
||
|
|
return isNamedUserJwtEnabled;
|
||
|
|
}
|
||
|
|
|
||
|
|
public boolean isIsNamedUserJwtEnabled() {
|
||
|
|
return isNamedUserJwtEnabled;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setIsNamedUserJwtEnabled(boolean isNamedUserJwtEnabled) {
|
||
|
|
this.isNamedUserJwtEnabled = isNamedUserJwtEnabled;
|
||
|
|
isNamedUserJwtEnabled__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setIsNamedUserJwtEnabled(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("isNamedUserJwtEnabled", "http://soap.sforce.com/2006/04/metadata","isNamedUserJwtEnabled","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
|
||
|
|
setIsNamedUserJwtEnabled(__typeMapper.readBoolean(__in, _lookupTypeInfo("isNamedUserJwtEnabled", "http://soap.sforce.com/2006/04/metadata","isNamedUserJwtEnabled","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldIsNamedUserJwtEnabled(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("isNamedUserJwtEnabled", "http://soap.sforce.com/2006/04/metadata","isNamedUserJwtEnabled","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), isNamedUserJwtEnabled, isNamedUserJwtEnabled__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : isPkceRequired of type {http://www.w3.org/2001/XMLSchema}boolean
|
||
|
|
* java type: boolean
|
||
|
|
*/
|
||
|
|
private boolean isPkceRequired__is_set = false;
|
||
|
|
|
||
|
|
private boolean isPkceRequired;
|
||
|
|
|
||
|
|
public boolean getIsPkceRequired() {
|
||
|
|
return isPkceRequired;
|
||
|
|
}
|
||
|
|
|
||
|
|
public boolean isIsPkceRequired() {
|
||
|
|
return isPkceRequired;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setIsPkceRequired(boolean isPkceRequired) {
|
||
|
|
this.isPkceRequired = isPkceRequired;
|
||
|
|
isPkceRequired__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setIsPkceRequired(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("isPkceRequired", "http://soap.sforce.com/2006/04/metadata","isPkceRequired","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
|
||
|
|
setIsPkceRequired(__typeMapper.readBoolean(__in, _lookupTypeInfo("isPkceRequired", "http://soap.sforce.com/2006/04/metadata","isPkceRequired","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldIsPkceRequired(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("isPkceRequired", "http://soap.sforce.com/2006/04/metadata","isPkceRequired","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), isPkceRequired, isPkceRequired__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : isRefreshTokenRotationEnabled of type {http://www.w3.org/2001/XMLSchema}boolean
|
||
|
|
* java type: boolean
|
||
|
|
*/
|
||
|
|
private boolean isRefreshTokenRotationEnabled__is_set = false;
|
||
|
|
|
||
|
|
private boolean isRefreshTokenRotationEnabled;
|
||
|
|
|
||
|
|
public boolean getIsRefreshTokenRotationEnabled() {
|
||
|
|
return isRefreshTokenRotationEnabled;
|
||
|
|
}
|
||
|
|
|
||
|
|
public boolean isIsRefreshTokenRotationEnabled() {
|
||
|
|
return isRefreshTokenRotationEnabled;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setIsRefreshTokenRotationEnabled(boolean isRefreshTokenRotationEnabled) {
|
||
|
|
this.isRefreshTokenRotationEnabled = isRefreshTokenRotationEnabled;
|
||
|
|
isRefreshTokenRotationEnabled__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setIsRefreshTokenRotationEnabled(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("isRefreshTokenRotationEnabled", "http://soap.sforce.com/2006/04/metadata","isRefreshTokenRotationEnabled","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
|
||
|
|
setIsRefreshTokenRotationEnabled(__typeMapper.readBoolean(__in, _lookupTypeInfo("isRefreshTokenRotationEnabled", "http://soap.sforce.com/2006/04/metadata","isRefreshTokenRotationEnabled","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldIsRefreshTokenRotationEnabled(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("isRefreshTokenRotationEnabled", "http://soap.sforce.com/2006/04/metadata","isRefreshTokenRotationEnabled","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), isRefreshTokenRotationEnabled, isRefreshTokenRotationEnabled__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : isSecretRequiredForRefreshToken of type {http://www.w3.org/2001/XMLSchema}boolean
|
||
|
|
* java type: boolean
|
||
|
|
*/
|
||
|
|
private boolean isSecretRequiredForRefreshToken__is_set = false;
|
||
|
|
|
||
|
|
private boolean isSecretRequiredForRefreshToken;
|
||
|
|
|
||
|
|
public boolean getIsSecretRequiredForRefreshToken() {
|
||
|
|
return isSecretRequiredForRefreshToken;
|
||
|
|
}
|
||
|
|
|
||
|
|
public boolean isIsSecretRequiredForRefreshToken() {
|
||
|
|
return isSecretRequiredForRefreshToken;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setIsSecretRequiredForRefreshToken(boolean isSecretRequiredForRefreshToken) {
|
||
|
|
this.isSecretRequiredForRefreshToken = isSecretRequiredForRefreshToken;
|
||
|
|
isSecretRequiredForRefreshToken__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setIsSecretRequiredForRefreshToken(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("isSecretRequiredForRefreshToken", "http://soap.sforce.com/2006/04/metadata","isSecretRequiredForRefreshToken","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
|
||
|
|
setIsSecretRequiredForRefreshToken(__typeMapper.readBoolean(__in, _lookupTypeInfo("isSecretRequiredForRefreshToken", "http://soap.sforce.com/2006/04/metadata","isSecretRequiredForRefreshToken","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldIsSecretRequiredForRefreshToken(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("isSecretRequiredForRefreshToken", "http://soap.sforce.com/2006/04/metadata","isSecretRequiredForRefreshToken","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), isSecretRequiredForRefreshToken, isSecretRequiredForRefreshToken__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : isSecretRequiredForTokenExchange of type {http://www.w3.org/2001/XMLSchema}boolean
|
||
|
|
* java type: boolean
|
||
|
|
*/
|
||
|
|
private boolean isSecretRequiredForTokenExchange__is_set = false;
|
||
|
|
|
||
|
|
private boolean isSecretRequiredForTokenExchange;
|
||
|
|
|
||
|
|
public boolean getIsSecretRequiredForTokenExchange() {
|
||
|
|
return isSecretRequiredForTokenExchange;
|
||
|
|
}
|
||
|
|
|
||
|
|
public boolean isIsSecretRequiredForTokenExchange() {
|
||
|
|
return isSecretRequiredForTokenExchange;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setIsSecretRequiredForTokenExchange(boolean isSecretRequiredForTokenExchange) {
|
||
|
|
this.isSecretRequiredForTokenExchange = isSecretRequiredForTokenExchange;
|
||
|
|
isSecretRequiredForTokenExchange__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setIsSecretRequiredForTokenExchange(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("isSecretRequiredForTokenExchange", "http://soap.sforce.com/2006/04/metadata","isSecretRequiredForTokenExchange","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
|
||
|
|
setIsSecretRequiredForTokenExchange(__typeMapper.readBoolean(__in, _lookupTypeInfo("isSecretRequiredForTokenExchange", "http://soap.sforce.com/2006/04/metadata","isSecretRequiredForTokenExchange","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldIsSecretRequiredForTokenExchange(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("isSecretRequiredForTokenExchange", "http://soap.sforce.com/2006/04/metadata","isSecretRequiredForTokenExchange","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), isSecretRequiredForTokenExchange, isSecretRequiredForTokenExchange__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : isTokenExchangeEnabled of type {http://www.w3.org/2001/XMLSchema}boolean
|
||
|
|
* java type: boolean
|
||
|
|
*/
|
||
|
|
private boolean isTokenExchangeEnabled__is_set = false;
|
||
|
|
|
||
|
|
private boolean isTokenExchangeEnabled;
|
||
|
|
|
||
|
|
public boolean getIsTokenExchangeEnabled() {
|
||
|
|
return isTokenExchangeEnabled;
|
||
|
|
}
|
||
|
|
|
||
|
|
public boolean isIsTokenExchangeEnabled() {
|
||
|
|
return isTokenExchangeEnabled;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setIsTokenExchangeEnabled(boolean isTokenExchangeEnabled) {
|
||
|
|
this.isTokenExchangeEnabled = isTokenExchangeEnabled;
|
||
|
|
isTokenExchangeEnabled__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setIsTokenExchangeEnabled(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("isTokenExchangeEnabled", "http://soap.sforce.com/2006/04/metadata","isTokenExchangeEnabled","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
|
||
|
|
setIsTokenExchangeEnabled(__typeMapper.readBoolean(__in, _lookupTypeInfo("isTokenExchangeEnabled", "http://soap.sforce.com/2006/04/metadata","isTokenExchangeEnabled","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldIsTokenExchangeEnabled(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("isTokenExchangeEnabled", "http://soap.sforce.com/2006/04/metadata","isTokenExchangeEnabled","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), isTokenExchangeEnabled, isTokenExchangeEnabled__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : oauthClientCredentialUser of type {http://www.w3.org/2001/XMLSchema}string
|
||
|
|
* java type: java.lang.String
|
||
|
|
*/
|
||
|
|
private boolean oauthClientCredentialUser__is_set = false;
|
||
|
|
|
||
|
|
private java.lang.String oauthClientCredentialUser;
|
||
|
|
|
||
|
|
public java.lang.String getOauthClientCredentialUser() {
|
||
|
|
return oauthClientCredentialUser;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setOauthClientCredentialUser(java.lang.String oauthClientCredentialUser) {
|
||
|
|
this.oauthClientCredentialUser = oauthClientCredentialUser;
|
||
|
|
oauthClientCredentialUser__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setOauthClientCredentialUser(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("oauthClientCredentialUser", "http://soap.sforce.com/2006/04/metadata","oauthClientCredentialUser","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
|
||
|
|
setOauthClientCredentialUser(__typeMapper.readString(__in, _lookupTypeInfo("oauthClientCredentialUser", "http://soap.sforce.com/2006/04/metadata","oauthClientCredentialUser","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldOauthClientCredentialUser(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("oauthClientCredentialUser", "http://soap.sforce.com/2006/04/metadata","oauthClientCredentialUser","http://www.w3.org/2001/XMLSchema","string",0,1,true), oauthClientCredentialUser, oauthClientCredentialUser__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : scopes of type {http://soap.sforce.com/2006/04/metadata}ConnectedAppOauthAccessScope
|
||
|
|
* java type: com.sforce.soap.metadata.ConnectedAppOauthAccessScope[]
|
||
|
|
*/
|
||
|
|
private boolean scopes__is_set = false;
|
||
|
|
|
||
|
|
private com.sforce.soap.metadata.ConnectedAppOauthAccessScope[] scopes = new com.sforce.soap.metadata.ConnectedAppOauthAccessScope[0];
|
||
|
|
|
||
|
|
public com.sforce.soap.metadata.ConnectedAppOauthAccessScope[] getScopes() {
|
||
|
|
return scopes;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setScopes(com.sforce.soap.metadata.ConnectedAppOauthAccessScope[] scopes) {
|
||
|
|
this.scopes = scopes;
|
||
|
|
scopes__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setScopes(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("scopes", "http://soap.sforce.com/2006/04/metadata","scopes","http://soap.sforce.com/2006/04/metadata","ConnectedAppOauthAccessScope",0,-1,true))) {
|
||
|
|
setScopes((com.sforce.soap.metadata.ConnectedAppOauthAccessScope[])__typeMapper.readObject(__in, _lookupTypeInfo("scopes", "http://soap.sforce.com/2006/04/metadata","scopes","http://soap.sforce.com/2006/04/metadata","ConnectedAppOauthAccessScope",0,-1,true), com.sforce.soap.metadata.ConnectedAppOauthAccessScope[].class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldScopes(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("scopes", "http://soap.sforce.com/2006/04/metadata","scopes","http://soap.sforce.com/2006/04/metadata","ConnectedAppOauthAccessScope",0,-1,true), scopes, scopes__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : singleLogoutUrl of type {http://www.w3.org/2001/XMLSchema}string
|
||
|
|
* java type: java.lang.String
|
||
|
|
*/
|
||
|
|
private boolean singleLogoutUrl__is_set = false;
|
||
|
|
|
||
|
|
private java.lang.String singleLogoutUrl;
|
||
|
|
|
||
|
|
public java.lang.String getSingleLogoutUrl() {
|
||
|
|
return singleLogoutUrl;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setSingleLogoutUrl(java.lang.String singleLogoutUrl) {
|
||
|
|
this.singleLogoutUrl = singleLogoutUrl;
|
||
|
|
singleLogoutUrl__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setSingleLogoutUrl(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("singleLogoutUrl", "http://soap.sforce.com/2006/04/metadata","singleLogoutUrl","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
|
||
|
|
setSingleLogoutUrl(__typeMapper.readString(__in, _lookupTypeInfo("singleLogoutUrl", "http://soap.sforce.com/2006/04/metadata","singleLogoutUrl","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldSingleLogoutUrl(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("singleLogoutUrl", "http://soap.sforce.com/2006/04/metadata","singleLogoutUrl","http://www.w3.org/2001/XMLSchema","string",0,1,true), singleLogoutUrl, singleLogoutUrl__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("[ConnectedAppOauthConfig ");
|
||
|
|
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 {
|
||
|
|
writeFieldAssetTokenConfig(__out, __typeMapper);
|
||
|
|
writeFieldCallbackUrl(__out, __typeMapper);
|
||
|
|
writeFieldCertificate(__out, __typeMapper);
|
||
|
|
writeFieldConsumerKey(__out, __typeMapper);
|
||
|
|
writeFieldConsumerSecret(__out, __typeMapper);
|
||
|
|
writeFieldIdTokenConfig(__out, __typeMapper);
|
||
|
|
writeFieldIsAdminApproved(__out, __typeMapper);
|
||
|
|
writeFieldIsClientCredentialEnabled(__out, __typeMapper);
|
||
|
|
writeFieldIsCodeCredentialEnabled(__out, __typeMapper);
|
||
|
|
writeFieldIsCodeCredentialPostOnly(__out, __typeMapper);
|
||
|
|
writeFieldIsConsumerSecretOptional(__out, __typeMapper);
|
||
|
|
writeFieldIsIntrospectAllTokens(__out, __typeMapper);
|
||
|
|
writeFieldIsNamedUserJwtEnabled(__out, __typeMapper);
|
||
|
|
writeFieldIsPkceRequired(__out, __typeMapper);
|
||
|
|
writeFieldIsRefreshTokenRotationEnabled(__out, __typeMapper);
|
||
|
|
writeFieldIsSecretRequiredForRefreshToken(__out, __typeMapper);
|
||
|
|
writeFieldIsSecretRequiredForTokenExchange(__out, __typeMapper);
|
||
|
|
writeFieldIsTokenExchangeEnabled(__out, __typeMapper);
|
||
|
|
writeFieldOauthClientCredentialUser(__out, __typeMapper);
|
||
|
|
writeFieldScopes(__out, __typeMapper);
|
||
|
|
writeFieldSingleLogoutUrl(__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 {
|
||
|
|
setAssetTokenConfig(__in, __typeMapper);
|
||
|
|
setCallbackUrl(__in, __typeMapper);
|
||
|
|
setCertificate(__in, __typeMapper);
|
||
|
|
setConsumerKey(__in, __typeMapper);
|
||
|
|
setConsumerSecret(__in, __typeMapper);
|
||
|
|
setIdTokenConfig(__in, __typeMapper);
|
||
|
|
setIsAdminApproved(__in, __typeMapper);
|
||
|
|
setIsClientCredentialEnabled(__in, __typeMapper);
|
||
|
|
setIsCodeCredentialEnabled(__in, __typeMapper);
|
||
|
|
setIsCodeCredentialPostOnly(__in, __typeMapper);
|
||
|
|
setIsConsumerSecretOptional(__in, __typeMapper);
|
||
|
|
setIsIntrospectAllTokens(__in, __typeMapper);
|
||
|
|
setIsNamedUserJwtEnabled(__in, __typeMapper);
|
||
|
|
setIsPkceRequired(__in, __typeMapper);
|
||
|
|
setIsRefreshTokenRotationEnabled(__in, __typeMapper);
|
||
|
|
setIsSecretRequiredForRefreshToken(__in, __typeMapper);
|
||
|
|
setIsSecretRequiredForTokenExchange(__in, __typeMapper);
|
||
|
|
setIsTokenExchangeEnabled(__in, __typeMapper);
|
||
|
|
setOauthClientCredentialUser(__in, __typeMapper);
|
||
|
|
setScopes(__in, __typeMapper);
|
||
|
|
setSingleLogoutUrl(__in, __typeMapper);
|
||
|
|
}
|
||
|
|
|
||
|
|
private void toString1(StringBuilder sb) {
|
||
|
|
toStringHelper(sb, "assetTokenConfig", assetTokenConfig);
|
||
|
|
toStringHelper(sb, "callbackUrl", callbackUrl);
|
||
|
|
toStringHelper(sb, "certificate", certificate);
|
||
|
|
toStringHelper(sb, "consumerKey", consumerKey);
|
||
|
|
toStringHelper(sb, "consumerSecret", consumerSecret);
|
||
|
|
toStringHelper(sb, "idTokenConfig", idTokenConfig);
|
||
|
|
toStringHelper(sb, "isAdminApproved", isAdminApproved);
|
||
|
|
toStringHelper(sb, "isClientCredentialEnabled", isClientCredentialEnabled);
|
||
|
|
toStringHelper(sb, "isCodeCredentialEnabled", isCodeCredentialEnabled);
|
||
|
|
toStringHelper(sb, "isCodeCredentialPostOnly", isCodeCredentialPostOnly);
|
||
|
|
toStringHelper(sb, "isConsumerSecretOptional", isConsumerSecretOptional);
|
||
|
|
toStringHelper(sb, "isIntrospectAllTokens", isIntrospectAllTokens);
|
||
|
|
toStringHelper(sb, "isNamedUserJwtEnabled", isNamedUserJwtEnabled);
|
||
|
|
toStringHelper(sb, "isPkceRequired", isPkceRequired);
|
||
|
|
toStringHelper(sb, "isRefreshTokenRotationEnabled", isRefreshTokenRotationEnabled);
|
||
|
|
toStringHelper(sb, "isSecretRequiredForRefreshToken", isSecretRequiredForRefreshToken);
|
||
|
|
toStringHelper(sb, "isSecretRequiredForTokenExchange", isSecretRequiredForTokenExchange);
|
||
|
|
toStringHelper(sb, "isTokenExchangeEnabled", isTokenExchangeEnabled);
|
||
|
|
toStringHelper(sb, "oauthClientCredentialUser", oauthClientCredentialUser);
|
||
|
|
toStringHelper(sb, "scopes", scopes);
|
||
|
|
toStringHelper(sb, "singleLogoutUrl", singleLogoutUrl);
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
}
|