Work with App Requests
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
1 public String getImage32 ( )
Return Value
Type: String
getImage36()
Gets the URL of the image in 36px by 36px size.
Signature
1 public String getImage36 ( )
Return Value
Type: String
getImage48()
Gets the URL of the image in 48px by 48px size.
Signature
1 public String getImage48 ( )
Return Value
Type: String
getImage64()
Gets the URL of the image in 64px by 64px size.
Signature
1 public String getImage64 ( )
Return Value
Type: String
getImage72()
Gets the URL of the image in 72px by 72px size.
Signature
1 public String getImage72 ( )
Return Value
Type: String
getImage96()
Signature
Gets the URL of the image in 96px by 96px size.
1 public String getImage96 ( )
Return Value
Type: String
getImage128()
Gets the URL of the image in 128px by 128px size.
Signature
1 public String getImage128 ( )
Return Value
Type: String
getImage192()
Gets the URL of the image in 192px by 192px size.
Signature
1 public String getImage192 ( )
Return Value
Type: String
getImage512()
Gets the URL of the image in 512px by 512px size.
Signature
1 public String getImage512 ( )
Return Value
Type: String
getImage1024()
Gets the URL of the image in 1024px by 1024px size.
Signature
1 public String getImage1024 ( )
Return Value
Type: String
getImageOriginal()
Gets the URL of the original image.
Signature
1 public String getImageOriginal ( )
Return Value
Type: String
setImage32(image32)
Sets the URL of the image in 32px by 32px size.
Signature
1 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
1 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
1 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
1 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
1 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
1 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
1 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
1 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
1 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
1 public void setImage1024 ( String image1024 )
Parameters
image1024
Type: String
Return Value
Type: void
setImageOriginal(imageOriginal)
Signature
1 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
1 public Slack . RequestedApp getApp ( )
Return Value
Type: Slack.RequestedApp
getDateCreated()
Signature
1 public Integer getDateCreated ( )
Return Value
Type: Integer
getId()
Signature
Return Value
Type: String
getIsUserAppCollaborator()
Signature
1 public Boolean getIsUserAppCollaborator ( )
Return Value
Type: Boolean
getMessage()
Signature
1 public String getMessage ( )
Return Value
Type: String
getPreviousResolution()
Signature
1 public Slack . AppRequest . PreviousResolution getPreviousResolution ( )
Return Value
Type: Slack.AppRequest.PreviousResolution
getScopes()
Signature
1 public List < Slack . AppScope > getScopes ( )
Return Value
Type: List<Slack.AppScope >
getTeam()
Signature
1 public Slack . AppRequest . Team getTeam ( )
Return Value
Type: Slack.AppRequest.Team
getUser()
Signature
1 public Slack . AppRequest . User getUser ( )
Return Value
Type: Slack.AppRequest.User
setApp(app)
Signature
1 public void setApp ( Slack . RequestedApp app )
Parameters
app
Type: Slack.RequestedApp
Return Value
Type: void
setDateCreated(dateCreated)
Signature
1 public void setDateCreated ( Integer dateCreated )
Parameters
dateCreated
Type: Integer
Return Value
Type: void
setId(id)
Signature
1 public void setId ( String id )
Parameters
id
Type: String
Return Value
Type: void
setIsUserAppCollaborator(isUserAppCollaborator)
Signature
1 public void setIsUserAppCollaborator ( Boolean isUserAppCollaborator )
Parameters
isUserAppCollaborator
Type: Boolean
Return Value
Type: void
setMessage(message)
Signature
1 public void setMessage ( String message )
Parameters
message
Type: String
Return Value
Type: void
setPreviousResolution(previousResolution)
Signature
1 public void setPreviousResolution ( Slack . AppRequest . PreviousResolution previousResolution )
Parameters
previousResolution
Type: Slack.AppRequest.PreviousResolution
Return Value
Type: void
setScopes(scopes)
Signature
1 public void setScopes ( List < Slack . AppScope > scopes )
Parameters
scopes
Type: List<Slack.AppScope >
Return Value
Type: void
setTeam(team)
Signature
1 public void setTeam ( Slack . AppRequest . Team team )
Parameters
team
Type: Slack.AppRequest.Team
Return Value
Type: void
setUser(user)
Signature
1 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
1 public List < Slack . AppScope > getScopes ( )
Return Value
Type: List<Slack.AppScope >
getStatus()
Signature
1 public String getStatus ( )
Return Value
Type: String
setScopes(scopes)
Signature
1 public void setScopes ( List < Slack . AppScope > scopes )
Parameters
scopes
Type: List<Slack.AppScope >
Return Value
Type: void
setStatus(status)
Signature
1 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
1 public String getDomain ( )
Return Value
Type: String
getId()
Signature
Return Value
Type: String
getName()
Signature
Return Value
Type: String
setDomain(domain)
Signature
1 public void setDomain ( String domain )
Parameters
domain
Type: String
Return Value
Type: void
setId(id)
Signature
1 public void setId ( String id )
Parameters
id
Type: String
Return Value
Type: void
setName(name)
Signature
1 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
1 public String getEmail ( )
Return Value
Type: String
getId()
Signature
Return Value
Type: String
getName()
Signature
Return Value
Type: String
setEmail(email)
Signature
1 public void setEmail ( String email )
Parameters
email
Type: String
Return Value
Type: void
setId(id)
Signature
1 public void setId ( String id )
Parameters
id
Type: String
Return Value
Type: void
setName(name)
Signature
1 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
1 public String getDescription ( )
Return Value
Type: String
getName()
Signature
Return Value
Type: String
getTokenType()
Signature
1 public String getTokenType ( )
Return Value
Type: String
isSensitive()
Signature
1 public Boolean isSensitive ( )
Return Value
Type: Boolean
setDescription(description)
Signature
1 public void setDescription ( String description )
Parameters
description
Type: String
Return Value
Type: void
setName(name)
Signature
1 public void setName ( String name )
Parameters
name
Type: String
Return Value
Type: void
setSensitive(sensitive)
Signature
1 public void setSensitive ( Boolean sensitive )
Parameters
sensitive
Type: Boolean
Return Value
Type: void
setTokenType(tokenType)
Signature
1 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
1 public String getAdditionalInfo ( )
Return Value
Type: String
getAppDirectoryUrl()
Signature
1 public String getAppDirectoryUrl ( )
Return Value
Type: String
getAppHomepageUrl()
Signature
1 public String getAppHomepageUrl ( )
Return Value
Type: String
getDescription()
Signature
1 public String getDescription ( )
Return Value
Type: String
getHelpUrl()
Signature
1 public String getHelpUrl ( )
Return Value
Type: String
getIcons()
Signature
1 public Slack . AppIcons getIcons ( )
Return Value
Type: Slack.AppIcons
getId()
Signature
Return Value
Type: String
getName()
Signature
Return Value
Type: String
getPrivacyPolicyUrl()
Signature
1 public String getPrivacyPolicyUrl ( )
Return Value
Type: String
isAppDirectoryApproved()
Signature
1 public Boolean isAppDirectoryApproved ( )
Return Value
Type: Boolean
isInternal()
Signature
1 public Boolean isInternal ( )
Return Value
Type: Boolean
setAdditionalInfo(additionalInfo)
Signature
1 public void setAdditionalInfo ( String additionalInfo )
Parameters
additionalInfo
Type: String
Return Value
Type: void
setAppDirectoryApproved(appDirectoryApproved)
Signature
1 public void setAppDirectoryApproved ( Boolean appDirectoryApproved ) setAppDirectoryUrl ( )
Parameters
appDirectoryApproved
Type: Boolean
Return Value
Type: void
setAppHomepageUrl(appHomepageUrl)
Signature
1 public void setAppHomepageUrl ( String appHomepageUrl )
Parameters
appHomepageUrl
Type: String
Return Value
Type: void
setDescription(description)
Signature
1 public void setDescription ( String description )
Parameters
description
Type: String
Return Value
Type: void
setHelpUrl(helpUrl)
Signature
1 public void setHelpUrl ( String helpUrl )
Parameters
helpUrl
Type: String
Return Value
Type: void
setIcons(icons)
Signature
1 public void setIcons ( Slack . AppIcons icons )
Parameters
icons
Type: Slack.AppIcons
Return Value
Type: void
setId(id)
Signature
1 public void setId ( String id )
Parameters
id
Type: String
Return Value
Type: void
setInternal(internal)
Signature
1 public void setInternal ( Boolean internal )
Parameters
internal
Type: Boolean
Return Value
Type: void
setName(name)
Signature
1 public void setName ( String name )
Parameters
name
Type: String
Return Value
Type: void
setPrivacyPolicyUrl(privacyPolicyUrl)
Signature
1 public void setPrivacyPolicyUrl ( String privacyPolicyUrl )
Parameters
privacyPolicyUrl
Type: String
Return Value
Type: void
This feature is not generally available. It is not part of your purchased Services. This feature is subject to change, may be discontinued with no notice at any time in SFDC’s sole discretion, and SFDC may never make this feature generally available. Make your purchase decisions only on the basis of generally available products and features. This feature is made available on an AS IS basis and use of this feature is at your sole risk.