All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.vspr.ai.slack.api.User Maven / Gradle / Ivy

There is a newer version: 1.4.1
Show newest version
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