Package com.confidentify.client.model
Enum IngestFileRequest.FileTypeEnum
- java.lang.Object
-
- java.lang.Enum<IngestFileRequest.FileTypeEnum>
-
- com.confidentify.client.model.IngestFileRequest.FileTypeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<IngestFileRequest.FileTypeEnum>
- Enclosing class:
- IngestFileRequest
public static enum IngestFileRequest.FileTypeEnum extends Enum<IngestFileRequest.FileTypeEnum>
Defines the type of file and thus also the type of data ingestion to perform.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIngestFileRequest.FileTypeEnum.Adapter
-
Enum Constant Summary
Enum Constants Enum Constant Description DOCUMENT_JPGDOCUMENT_PDFDOCUMENT_PNGDOCUMENTS_ZIPRECORDS_CSV
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IngestFileRequest.FileTypeEnumfromValue(String value)StringgetValue()StringtoString()static IngestFileRequest.FileTypeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static IngestFileRequest.FileTypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RECORDS_CSV
public static final IngestFileRequest.FileTypeEnum RECORDS_CSV
-
DOCUMENTS_ZIP
public static final IngestFileRequest.FileTypeEnum DOCUMENTS_ZIP
-
DOCUMENT_PDF
public static final IngestFileRequest.FileTypeEnum DOCUMENT_PDF
-
DOCUMENT_PNG
public static final IngestFileRequest.FileTypeEnum DOCUMENT_PNG
-
DOCUMENT_JPG
public static final IngestFileRequest.FileTypeEnum DOCUMENT_JPG
-
-
Method Detail
-
values
public static IngestFileRequest.FileTypeEnum[] 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 (IngestFileRequest.FileTypeEnum c : IngestFileRequest.FileTypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IngestFileRequest.FileTypeEnum 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
-
getValue
public String getValue()
-
toString
public String toString()
- Overrides:
toStringin classEnum<IngestFileRequest.FileTypeEnum>
-
fromValue
public static IngestFileRequest.FileTypeEnum fromValue(String value)
-
-