Package com.oracle.bmc.aivision.model
Enum DocumentType
- java.lang.Object
-
- java.lang.Enum<DocumentType>
-
- com.oracle.bmc.aivision.model.DocumentType
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<DocumentType>
@Generated(value="OracleSDKGenerator", comments="API Version: 20220125") public enum DocumentType extends Enum<DocumentType> implements BmcEnum
The type of document.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BankStatement
Check
DriverLicense
Invoice
Others
Passport
Payslip
Receipt
Resume
TaxForm
UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DocumentType
create(String key)
String
getValue()
static DocumentType
valueOf(String name)
Returns the enum constant of this type with the specified name.static DocumentType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Invoice
public static final DocumentType Invoice
-
Receipt
public static final DocumentType Receipt
-
Resume
public static final DocumentType Resume
-
TaxForm
public static final DocumentType TaxForm
-
DriverLicense
public static final DocumentType DriverLicense
-
Passport
public static final DocumentType Passport
-
BankStatement
public static final DocumentType BankStatement
-
Check
public static final DocumentType Check
-
Payslip
public static final DocumentType Payslip
-
Others
public static final DocumentType Others
-
UnknownEnumValue
public static final DocumentType UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
-
-
Method Detail
-
values
public static DocumentType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DocumentType c : DocumentType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DocumentType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
create
public static DocumentType create(String key)
-
-