
com.vspr.ai.slack.api.BaseSlackResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of slack-api Show documentation
Show all versions of slack-api Show documentation
another slack api for java
package com.vspr.ai.slack.api;
import java.util.Optional;
import org.immutables.value.Value.Default;
/**
* Base response for requests to the Slack API.
*/
public abstract class BaseSlackResponse {
/**
* Was the request processed correctly?
*/
@Default
public String getOk() {
return "true";
}
/**
* Error message from slack if request failed
*/
public abstract Optional getError();
/**
* Warning message from slack if request failed
*/
public abstract Optional getWarning();
/**
* If you are lacking permissions to perform action, the needed permission should be here.
*/
public abstract Optional getNeeded();
public abstract Optional getProvided();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy