84 lines
1.2 KiB
Java
84 lines
1.2 KiB
Java
|
|
package com.sforce.soap.tooling;
|
||
|
|
|
||
|
|
import java.util.EnumSet;
|
||
|
|
import java.util.HashMap;
|
||
|
|
import java.util.Map;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* This is a generated class for the SObject Enterprise API.
|
||
|
|
* Do not edit this file, as your changes will be lost.
|
||
|
|
*/
|
||
|
|
public enum AuthenticationProtocol {
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Enumeration : NoAuthentication
|
||
|
|
*/
|
||
|
|
NoAuthentication("NoAuthentication"),
|
||
|
|
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Enumeration : Oauth
|
||
|
|
*/
|
||
|
|
Oauth("Oauth"),
|
||
|
|
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Enumeration : Password
|
||
|
|
*/
|
||
|
|
Password("Password"),
|
||
|
|
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Enumeration : AwsSv4
|
||
|
|
*/
|
||
|
|
AwsSv4("AwsSv4"),
|
||
|
|
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Enumeration : Jwt
|
||
|
|
*/
|
||
|
|
Jwt("Jwt"),
|
||
|
|
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Enumeration : JwtExchange
|
||
|
|
*/
|
||
|
|
JwtExchange("JwtExchange"),
|
||
|
|
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Enumeration : Custom
|
||
|
|
*/
|
||
|
|
Custom("Custom"),
|
||
|
|
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Enumeration : Basic
|
||
|
|
*/
|
||
|
|
Basic("Basic"),
|
||
|
|
|
||
|
|
;
|
||
|
|
|
||
|
|
public static Map<String, String> valuesToEnums;
|
||
|
|
|
||
|
|
static {
|
||
|
|
valuesToEnums = new HashMap<String, String>();
|
||
|
|
for (AuthenticationProtocol e : EnumSet.allOf(AuthenticationProtocol.class)) {
|
||
|
|
valuesToEnums.put(e.toString(), e.name());
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private String value;
|
||
|
|
|
||
|
|
private AuthenticationProtocol(String value) {
|
||
|
|
this.value = value;
|
||
|
|
}
|
||
|
|
|
||
|
|
@Override
|
||
|
|
public String toString() {
|
||
|
|
return value;
|
||
|
|
}
|
||
|
|
}
|