Package model
Enum CreateExternalLinkRequest.TypeEnum
- java.lang.Object
-
- java.lang.Enum<CreateExternalLinkRequest.TypeEnum>
-
- model.CreateExternalLinkRequest.TypeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<CreateExternalLinkRequest.TypeEnum>
- 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 Classes Modifier and Type Class Description static classCreateExternalLinkRequest.TypeEnum.Adapter
-
Enum Constant Summary
Enum Constants Enum Constant Description DOWNLOADUNKNOWN_DEFAULTUPLOADVIEW
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateExternalLinkRequest.TypeEnumfromValue(String value)StringgetRawValue()StringgetValue()voidsetRawValue(String s)StringtoString()static CreateExternalLinkRequest.TypeEnumvalueOf(String name)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 Detail
-
UPLOAD
public static final CreateExternalLinkRequest.TypeEnum UPLOAD
-
DOWNLOAD
public static final CreateExternalLinkRequest.TypeEnum DOWNLOAD
-
VIEW
public static final CreateExternalLinkRequest.TypeEnum VIEW
-
UNKNOWN_DEFAULT
public static final CreateExternalLinkRequest.TypeEnum UNKNOWN_DEFAULT
-
-
Method Detail
-
values
public static CreateExternalLinkRequest.TypeEnum[] 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 (CreateExternalLinkRequest.TypeEnum c : CreateExternalLinkRequest.TypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CreateExternalLinkRequest.TypeEnum 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<CreateExternalLinkRequest.TypeEnum>
-
setRawValue
public void setRawValue(String s)
-
getRawValue
public String getRawValue()
-
fromValue
public static CreateExternalLinkRequest.TypeEnum fromValue(String value)
-
-