Package com.slack.api.model.block
Class ShareShortcutBlock
java.lang.Object
com.slack.api.model.block.ShareShortcutBlock
- All Implemented Interfaces:
LayoutBlock
https://api.slack.com/future
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionShareShortcutBlock(String blockId, String functionTriggerId, String appId, Boolean isWorkflowApp, Integer salesHomeWorkflowAppType, List<String> appCollaborators, String buttonLabel, String title, String description, String botUserId, String url, String owningTeamId, String workflowId, String developerTraceId, String triggerType, String triggerSubtype, String shareUrl) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleangetAppId()Returns the block_id string; the value can be null if the object is manually crafted.getTitle()getType()Determines the type of layout block, e.g.getUrl()inthashCode()voidsetAppCollaborators(List<String> appCollaborators) voidvoidsetBlockId(String blockId) voidsetBotUserId(String botUserId) voidsetButtonLabel(String buttonLabel) voidsetDescription(String description) voidsetDeveloperTraceId(String developerTraceId) voidsetFunctionTriggerId(String functionTriggerId) voidsetIsWorkflowApp(Boolean isWorkflowApp) voidsetOwningTeamId(String owningTeamId) voidsetSalesHomeWorkflowAppType(Integer salesHomeWorkflowAppType) voidsetShareUrl(String shareUrl) voidvoidsetTriggerSubtype(String triggerSubtype) voidsetTriggerType(String triggerType) voidvoidsetWorkflowId(String workflowId) toString()
-
Field Details
-
TYPE
- See Also:
-
-
Constructor Details
-
ShareShortcutBlock
public ShareShortcutBlock() -
ShareShortcutBlock
public ShareShortcutBlock(String blockId, String functionTriggerId, String appId, Boolean isWorkflowApp, Integer salesHomeWorkflowAppType, List<String> appCollaborators, String buttonLabel, String title, String description, String botUserId, String url, String owningTeamId, String workflowId, String developerTraceId, String triggerType, String triggerSubtype, String shareUrl)
-
-
Method Details
-
builder
-
getType
Description copied from interface:LayoutBlockDetermines the type of layout block, e.g. section, divider, context, actions and image.- Specified by:
getTypein interfaceLayoutBlock
-
getBlockId
Description copied from interface:LayoutBlockReturns the block_id string; the value can be null if the object is manually crafted.- Specified by:
getBlockIdin interfaceLayoutBlock
-
getFunctionTriggerId
-
getAppId
-
getIsWorkflowApp
-
getSalesHomeWorkflowAppType
-
getAppCollaborators
-
getButtonLabel
-
getTitle
-
getDescription
-
getBotUserId
-
getUrl
-
getOwningTeamId
-
getWorkflowId
-
getDeveloperTraceId
-
getTriggerType
-
getTriggerSubtype
-
setBlockId
-
setFunctionTriggerId
-
setAppId
-
setIsWorkflowApp
-
setSalesHomeWorkflowAppType
-
setAppCollaborators
-
setButtonLabel
-
setTitle
-
setDescription
-
setBotUserId
-
setUrl
-
setOwningTeamId
-
setWorkflowId
-
setDeveloperTraceId
-
setTriggerType
-
setTriggerSubtype
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-