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

com.hubspot.slack.client.models.interaction.views.ViewMultiExternalSelect Maven / Gradle / Ivy

There is a newer version: 1.16.7
Show newest version
package com.hubspot.slack.client.models.interaction.views;

import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.hubspot.immutables.validation.InvalidImmutableStateException;
import com.hubspot.slack.client.models.blocks.json.OptionOrOptionGroupDeserializer;
import com.hubspot.slack.client.models.blocks.objects.Option;
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
import javax.annotation.ParametersAreNonnullByDefault;
import javax.annotation.concurrent.Immutable;
import javax.annotation.concurrent.NotThreadSafe;
import org.immutables.value.Generated;

/**
 * Immutable implementation of {@link ViewMultiExternalSelectIF}.
 * 

* Use the builder to create immutable instances: * {@code ViewMultiExternalSelect.builder()}. */ @Generated(from = "ViewMultiExternalSelectIF", generator = "Immutables") @SuppressWarnings({"all"}) @SuppressFBWarnings @ParametersAreNonnullByDefault @javax.annotation.processing.Generated("org.immutables.processor.ProxyProcessor") @Immutable public final class ViewMultiExternalSelect implements ViewMultiExternalSelectIF { private final ViewInputType type; private final @Nullable String stringValue; private final List

   * ViewMultiExternalSelect.builder()
   *    .setType(com.hubspot.slack.client.models.interaction.views.ViewInputType) // required {@link ViewMultiExternalSelectIF#getType() type}
   *    .setStringValue(String) // optional {@link ViewMultiExternalSelectIF#getStringValue() stringValue}
   *    .addSelectedOptions|addAllSelectedOptions(com.hubspot.slack.client.models.blocks.objects.Option) // {@link ViewMultiExternalSelectIF#getSelectedOptions() selectedOptions} elements
   *    .build();
   * 
* @return A new ViewMultiExternalSelect builder */ public static ViewMultiExternalSelect.Builder builder() { return new ViewMultiExternalSelect.Builder(); } /** * Builds instances of type {@link ViewMultiExternalSelect ViewMultiExternalSelect}. * Initialize attributes and then invoke the {@link #build()} method to create an * immutable instance. *

{@code Builder} is not thread-safe and generally should not be stored in a field or collection, * but instead used immediately to create instances. */ @Generated(from = "ViewMultiExternalSelectIF", generator = "Immutables") @NotThreadSafe public static final class Builder { private static final long INIT_BIT_TYPE = 0x1L; private long initBits = 0x1L; private @Nullable ViewInputType type; private @Nullable String stringValue; private List





© 2015 - 2025 Weber Informatics LLC | Privacy Policy