com.vspr.ai.slack.api.User 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.annotation.JsonProperty;
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;
@Value.Immutable
@JsonSerialize(as = ImmutableUser.class)
@JsonDeserialize(as = ImmutableUser.class)
@SlackApiImmutableStyle
public abstract class User {
public abstract String getId();
public abstract String getName();
@JsonProperty("is_bot")
public abstract Optional isBot();
public abstract Profile getProfile();
@JsonAnyGetter
@AllowNulls
public abstract Map getOther();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy