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