Class FileInputElement
java.lang.Object
com.slack.api.model.block.element.BlockElement
com.slack.api.model.block.element.FileInputElement
https://api.slack.com/reference/block-kit/block-elements#file_input
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanAn identifier for the input value when the parent modal is submitted.An array of valid file extensions that will be accepted for this element.Maximum number of files that can be uploaded for this file_input element.getType()inthashCode()voidsetActionId(String actionId) An identifier for the input value when the parent modal is submitted.voidsetFiletypes(List<String> filetypes) An array of valid file extensions that will be accepted for this element.voidsetMaxFiles(Integer maxFiles) Maximum number of files that can be uploaded for this file_input element.toString()
-
Field Details
-
TYPE
- See Also:
-
-
Constructor Details
-
FileInputElement
public FileInputElement() -
FileInputElement
-
-
Method Details
-
builder
-
getType
-
getActionId
An identifier for the input value when the parent modal is submitted. You can use this when you receive a view_submission payload to identify the value of the input element. Should be unique among all other action_ids in the containing block. Maximum length is 255 characters. -
getFiletypes
An array of valid file extensions that will be accepted for this element. All file extensions will be accepted if filetypes is not specified. This validation is provided for convenience only, and you should perform your own file type validation based on what you expect to receive. -
getMaxFiles
Maximum number of files that can be uploaded for this file_input element. Minimum of 1, maximum of 10. Defaults to 10 if not specified. -
setActionId
An identifier for the input value when the parent modal is submitted. You can use this when you receive a view_submission payload to identify the value of the input element. Should be unique among all other action_ids in the containing block. Maximum length is 255 characters. -
setFiletypes
An array of valid file extensions that will be accepted for this element. All file extensions will be accepted if filetypes is not specified. This validation is provided for convenience only, and you should perform your own file type validation based on what you expect to receive. -
setMaxFiles
Maximum number of files that can be uploaded for this file_input element. Minimum of 1, maximum of 10. Defaults to 10 if not specified. -
toString
-
equals
-
canEqual
-
hashCode
public int hashCode()
-