Class ConversationsDeclineSharedInviteRequest
java.lang.Object
com.slack.api.methods.request.conversations.ConversationsDeclineSharedInviteRequest
- All Implemented Interfaces:
SlackApiRequest
public class ConversationsDeclineSharedInviteRequest extends java.lang.Object implements SlackApiRequest
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classConversationsDeclineSharedInviteRequest.ConversationsDeclineSharedInviteRequestBuilder -
Method Summary
Modifier and Type Method Description static ConversationsDeclineSharedInviteRequest.ConversationsDeclineSharedInviteRequestBuilderbuilder()protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.StringgetInviteId()ID of the Slack Connect invite to decline.java.lang.StringgetTargetTeam()The team or enterprise id of the other party involved in the invitation you are decliningjava.lang.StringgetToken()Authentication token bearing required scopes.inthashCode()voidsetInviteId(java.lang.String inviteId)ID of the Slack Connect invite to decline.voidsetTargetTeam(java.lang.String targetTeam)The team or enterprise id of the other party involved in the invitation you are decliningvoidsetToken(java.lang.String token)Authentication token bearing required scopes.java.lang.StringtoString()
-
Method Details
-
builder
public static ConversationsDeclineSharedInviteRequest.ConversationsDeclineSharedInviteRequestBuilder builder() -
getToken
public java.lang.String getToken()Authentication token bearing required scopes. Tokens should be passed as an HTTP Authorization header or alternatively, as a POST parameter.- Specified by:
getTokenin interfaceSlackApiRequest
-
getInviteId
public java.lang.String getInviteId()ID of the Slack Connect invite to decline. Subscribe to the shared_channel_invite_accepted event to receive IDs of Slack Connect channel invites that have been accepted and are awaiting approval. -
getTargetTeam
public java.lang.String getTargetTeam()The team or enterprise id of the other party involved in the invitation you are declining -
setToken
public void setToken(java.lang.String token)Authentication token bearing required scopes. Tokens should be passed as an HTTP Authorization header or alternatively, as a POST parameter. -
setInviteId
public void setInviteId(java.lang.String inviteId)ID of the Slack Connect invite to decline. Subscribe to the shared_channel_invite_accepted event to receive IDs of Slack Connect channel invites that have been accepted and are awaiting approval. -
setTargetTeam
public void setTargetTeam(java.lang.String targetTeam)The team or enterprise id of the other party involved in the invitation you are declining -
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
-