Package model
Enum CreateExternalLinkRequest.TypeEnum
- All Implemented Interfaces:
Serializable,Comparable<CreateExternalLinkRequest.TypeEnum>,java.lang.constant.Constable
- Enclosing class:
CreateExternalLinkRequest
public static enum CreateExternalLinkRequest.TypeEnum
extends Enum<CreateExternalLinkRequest.TypeEnum>
<ul><li>Set to <strong>UPLOAD</strong> to create a link that can be used to upload files to Finix.<li>Set to <strong>DOWNLOAD</strong> to create a link where the uploaded file can be downloaded from.<li>Set to <strong>VIEW</strong> to create a link that displays the file in browser.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptiongetValue()voidtoString()Returns the enum constant of this type with the specified name.static CreateExternalLinkRequest.TypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
UPLOAD
-
DOWNLOAD
-
VIEW
-
UNKNOWN_DEFAULT
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
toString
- Overrides:
toStringin classEnum<CreateExternalLinkRequest.TypeEnum>
-
setRawValue
-
getRawValue
-
fromValue
-