Class AdminAppsApproveRequest
java.lang.Object
com.slack.api.methods.request.admin.apps.AdminAppsApproveRequest
- All Implemented Interfaces:
SlackApiRequest
public class AdminAppsApproveRequest extends java.lang.Object implements SlackApiRequest
https://api.slack.com/methods/admin.apps.approve
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAdminAppsApproveRequest.AdminAppsApproveRequestBuilder -
Method Summary
Modifier and Type Method Description static AdminAppsApproveRequest.AdminAppsApproveRequestBuilderbuilder()protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.StringgetAppId()The id of the app to approve.java.lang.StringgetEnterpriseId()The ID of the enterprise to approve the app onjava.lang.StringgetRequestId()The id of the request to approve.java.lang.StringgetTeamId()The ID of the workspace to approve the app onjava.lang.StringgetToken()Authentication token bearing required scopes.inthashCode()voidsetAppId(java.lang.String appId)The id of the app to approve.voidsetEnterpriseId(java.lang.String enterpriseId)The ID of the enterprise to approve the app onvoidsetRequestId(java.lang.String requestId)The id of the request to approve.voidsetTeamId(java.lang.String teamId)The ID of the workspace to approve the app onvoidsetToken(java.lang.String token)Authentication token bearing required scopes.java.lang.StringtoString()
-
Method Details
-
builder
-
getToken
public java.lang.String getToken()Authentication token bearing required scopes.- Specified by:
getTokenin interfaceSlackApiRequest
-
getAppId
public java.lang.String getAppId()The id of the app to approve. -
getRequestId
public java.lang.String getRequestId()The id of the request to approve. -
getEnterpriseId
public java.lang.String getEnterpriseId()The ID of the enterprise to approve the app on -
getTeamId
public java.lang.String getTeamId()The ID of the workspace to approve the app on -
setToken
public void setToken(java.lang.String token)Authentication token bearing required scopes. -
setAppId
public void setAppId(java.lang.String appId)The id of the app to approve. -
setRequestId
public void setRequestId(java.lang.String requestId)The id of the request to approve. -
setEnterpriseId
public void setEnterpriseId(java.lang.String enterpriseId)The ID of the enterprise to approve the app on -
setTeamId
public void setTeamId(java.lang.String teamId)The ID of the workspace to approve the app on -
equals
public boolean equals(java.lang.Object o)- Overrides:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other) -
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-