Class AdminAppsRestrictRequest
- java.lang.Object
-
- com.slack.api.methods.request.admin.apps.AdminAppsRestrictRequest
-
- All Implemented Interfaces:
SlackApiRequest
public class AdminAppsRestrictRequest extends Object implements SlackApiRequest
https://api.slack.com/methods/admin.apps.restrict
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AdminAppsRestrictRequest.AdminAppsRestrictRequestBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AdminAppsRestrictRequest.AdminAppsRestrictRequestBuilder
builder()
protected boolean
canEqual(Object other)
boolean
equals(Object o)
String
getAppId()
The id of the app to approve.String
getEnterpriseId()
The ID of the enterprise to approve the app onString
getRequestId()
The id of the request to approve.String
getTeamId()
The ID of the workspace to approve the app onString
getToken()
Authentication token bearing required scopes.int
hashCode()
void
setAppId(String appId)
The id of the app to approve.void
setEnterpriseId(String enterpriseId)
The ID of the enterprise to approve the app onvoid
setRequestId(String requestId)
The id of the request to approve.void
setTeamId(String teamId)
The ID of the workspace to approve the app onvoid
setToken(String token)
Authentication token bearing required scopes.String
toString()
-
-
-
Method Detail
-
builder
public static AdminAppsRestrictRequest.AdminAppsRestrictRequestBuilder builder()
-
getToken
public String getToken()
Authentication token bearing required scopes.- Specified by:
getToken
in interfaceSlackApiRequest
- Returns:
- token string value or null
-
getAppId
public String getAppId()
The id of the app to approve.
-
getRequestId
public String getRequestId()
The id of the request to approve.
-
getEnterpriseId
public String getEnterpriseId()
The ID of the enterprise to approve the app on
-
getTeamId
public String getTeamId()
The ID of the workspace to approve the app on
-
setToken
public void setToken(String token)
Authentication token bearing required scopes.- Specified by:
setToken
in interfaceSlackApiRequest
-
setAppId
public void setAppId(String appId)
The id of the app to approve.
-
setRequestId
public void setRequestId(String requestId)
The id of the request to approve.
-
setEnterpriseId
public void setEnterpriseId(String enterpriseId)
The ID of the enterprise to approve the app on
-
setTeamId
public void setTeamId(String teamId)
The ID of the workspace to approve the app on
-
canEqual
protected boolean canEqual(Object other)
-
-