Work with App Requests
The following are Apex classes to work with an app request.
Represents an app icon image in different sizes.
AppIcons Methods
The following are methods for AppIcons
.
getImage32()
Gets the URL of the image in 32px by 32px size.
Signature
Return Value
Type: String
getImage36()
Gets the URL of the image in 36px by 36px size.
Signature
Return Value
Type: String
getImage48()
Gets the URL of the image in 48px by 48px size.
Signature
Return Value
Type: String
getImage64()
Gets the URL of the image in 64px by 64px size.
Signature
Return Value
Type: String
getImage72()
Gets the URL of the image in 72px by 72px size.
Signature
Return Value
Type: String
getImage96()
Signature
Gets the URL of the image in 96px by 96px size.
Return Value
Type: String
getImage128()
Gets the URL of the image in 128px by 128px size.
Signature
Return Value
Type: String
getImage192()
Gets the URL of the image in 192px by 192px size.
Signature
Return Value
Type: String
getImage512()
Gets the URL of the image in 512px by 512px size.
Signature
Return Value
Type: String
getImage1024()
Gets the URL of the image in 1024px by 1024px size.
Signature
Return Value
Type: String
getImageOriginal()
Gets the URL of the original image.
Signature
Return Value
Type: String
setImage32(image32)
Sets the URL of the image in 32px by 32px size.
Signature
Parameters
image32
Type: String
Return Value
Type: void
setImage36(image36)
Sets the URL of the image in 36px by 36px size.
Signature
Parameters
image36
Type: String
Return Value
Type: void
setImage48(image48)
Sets the URL of the image in 48px by 48px size.
Signature
Parameters
image48
Type: String
Return Value
Type: void
setImage64(image64)
Sets the URL of the image in 64px by 64px size.
Signature
Parameters
image64
Type: String
Return Value
Type: void
setImage72(image72)
Sets the URL of the image in 72px by 72px size.
Signature
Parameters
image72
Type: String
Return Value
Type: void
setImage96(image96)
Sets the URL of the image in 96px by 96px size.
Signature
Parameters
image96
Type: String
Return Value
Type: void
setImage128(image128)
Sets the URL of the image in 128px by 128px size.
Signature
Parameters
image128
Type: String
Return Value
Type: void
setImage192(image192)
Sets the URL of the image in 192px by 192px size.
Signature
Parameters
image192
Type: String
Return Value
Type: void
setImage512(image512)
Sets the URL of the image in 512px by 512px size.
Signature
Parameters
image512
Type: String
Return Value
Type: void
setImage1024(image1024)
Sets the URL of the image in 1024px by 1024px size.
Signature
Parameters
image1024
Type: String
Return Value
Type: void
setImageOriginal(imageOriginal)
Signature
Parameters
imageOriginal
Type: String
Return Value
Type: void
Represents an app request.
AppRequest Methods
The following are methods for AppRequest
.
getApp()
Signature
Return Value
Type: Slack.RequestedApp
getDateCreated()
Signature
Return Value
Type: Integer
getId()
Signature
Return Value
Type: String
getIsUserAppCollaborator()
Signature
Return Value
Type: Boolean
getMessage()
Signature
Return Value
Type: String
getPreviousResolution()
Signature
Return Value
Type: Slack.AppRequest.PreviousResolution
getScopes()
Signature
Return Value
Type: List<Slack.AppScope>
getTeam()
Signature
Return Value
Type: Slack.AppRequest.Team
getUser()
Signature
Return Value
Type: Slack.AppRequest.User
setApp(app)
Signature
Parameters
app
Type: Slack.RequestedApp
Return Value
Type: void
setDateCreated(dateCreated)
Signature
Parameters
dateCreated
Type: Integer
Return Value
Type: void
setId(id)
Signature
Parameters
id
Type: String
Return Value
Type: void
setIsUserAppCollaborator(isUserAppCollaborator)
Signature
Parameters
isUserAppCollaborator
Type: Boolean
Return Value
Type: void
setMessage(message)
Signature
Parameters
message
Type: String
Return Value
Type: void
setPreviousResolution(previousResolution)
Signature
Parameters
previousResolution
Type: Slack.AppRequest.PreviousResolution
Return Value
Type: void
setScopes(scopes)
Signature
Parameters
scopes
Type: List<Slack.AppScope>
Return Value
Type: void
setTeam(team)
Signature
Parameters
team
Type: Slack.AppRequest.Team
Return Value
Type: void
setUser(user)
Signature
Parameters
user
Type: Slack.AppRequest.User
Return Value
Type: void
AppRequest.PreviousResolution Methods
The following are methods for AppRequest.PreviousResolution
.
getScopes()
Signature
Return Value
Type: List<Slack.AppScope>
getStatus()
Signature
Return Value
Type: String
setScopes(scopes)
Signature
Parameters
scopes
Type: List<Slack.AppScope>
Return Value
Type: void
setStatus(status)
Signature
Parameters
status
Type: String
Return Value
Type: void
AppRequest.Team Methods
The following are methods for AppRequest.Team
.
getDomain()
Signature
Return Value
Type: String
getId()
Signature
Return Value
Type: String
getName()
Signature
Return Value
Type: String
setDomain(domain)
Signature
Parameters
domain
Type: String
Return Value
Type: void
setId(id)
Signature
Parameters
id
Type: String
Return Value
Type: void
setName(name)
Signature
Parameters
name
Type: String
Return Value
Type: void
AppRequest.User Methods
The following are methods for AppRequest.User
.
getEmail()
Signature
Return Value
Type: String
getId()
Signature
Return Value
Type: String
getName()
Signature
Return Value
Type: String
setEmail(email)
Signature
Parameters
Type: String
Return Value
Type: void
setId(id)
Signature
Parameters
id
Type: String
Return Value
Type: void
setName(name)
Signature
Parameters
name
Type: String
Return Value
Type: void
AppScope Methods
The following are methods for AppScope
.
getDescription()
Signature
Return Value
Type: String
getName()
Signature
Return Value
Type: String
getTokenType()
Signature
Return Value
Type: String
isSensitive()
Signature
Return Value
Type: Boolean
setDescription(description)
Signature
Parameters
description
Type: String
Return Value
Type: void
setName(name)
Signature
Parameters
name
Type: String
Return Value
Type: void
setSensitive(sensitive)
Signature
Parameters
sensitive
Type: Boolean
Return Value
Type: void
setTokenType(tokenType)
Signature
Parameters
tokenType
Type: String
Return Value
Type: void
Represents a requested app.
RequestedApp Methods
The following are methods for RequestedApp
.
getAdditionalInfo()
Signature
Return Value
Type: String
getAppDirectoryUrl()
Signature
Return Value
Type: String
getAppHomepageUrl()
Signature
Return Value
Type: String
getDescription()
Signature
Return Value
Type: String
getHelpUrl()
Signature
Return Value
Type: String
getIcons()
Signature
Return Value
Type: Slack.AppIcons
getId()
Signature
Return Value
Type: String
getName()
Signature
Return Value
Type: String
getPrivacyPolicyUrl()
Signature
Return Value
Type: String
isAppDirectoryApproved()
Signature
Return Value
Type: Boolean
isInternal()
Signature
Return Value
Type: Boolean
setAdditionalInfo(additionalInfo)
Signature
Parameters
additionalInfo
Type: String
Return Value
Type: void
setAppDirectoryApproved(appDirectoryApproved)
Signature
Parameters
appDirectoryApproved
Type: Boolean
Return Value
Type: void
setAppHomepageUrl(appHomepageUrl)
Signature
Parameters
appHomepageUrl
Type: String
Return Value
Type: void
setDescription(description)
Signature
Parameters
description
Type: String
Return Value
Type: void
setHelpUrl(helpUrl)
Signature
Parameters
helpUrl
Type: String
Return Value
Type: void
setIcons(icons)
Signature
Parameters
icons
Type: Slack.AppIcons
Return Value
Type: void
setId(id)
Signature
Parameters
id
Type: String
Return Value
Type: void
setInternal(internal)
Signature
Parameters
internal
Type: Boolean
Return Value
Type: void
setName(name)
Signature
Parameters
name
Type: String
Return Value
Type: void
setPrivacyPolicyUrl(privacyPolicyUrl)
Signature
Parameters
privacyPolicyUrl
Type: String
Return Value
Type: void