com.vspr.ai.slack.api.EventResponse 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 com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import java.util.Map;
import java.util.Optional;
import org.immutables.value.Value;
/**
* Correct response representation to {@link Event} requests from slack. You should return the
* challenge supplied. Created by cobb on 7/27/17.
*/
@Value.Immutable
@JsonSerialize(as = ImmutableEventResponse.class)
@JsonDeserialize(as = ImmutableEventResponse.class)
@SlackApiImmutableStyle
public abstract class EventResponse {
public abstract Optional getChallenge();
@JsonAnyGetter
public abstract Map getOther();
public static ImmutableEventResponse.Builder builder() {
return ImmutableEventResponse.builder();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy