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

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

package com.vspr.ai.slack.api;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import java.util.Optional;
import org.immutables.value.Value;

@Value.Immutable
@JsonSerialize(as = ImmutableSelectOption.class)
@JsonDeserialize(as = ImmutableSelectOption.class)
@SlackApiImmutableStyle
public abstract class SelectOption {

  public abstract Optional getText();

  public abstract String getValue();

  public static ImmutableSelectOption.Builder builder() {
    return ImmutableSelectOption.builder();
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy