
com.hubspot.slack.client.models.response.views.StateActionValue Maven / Gradle / Ivy
package com.hubspot.slack.client.models.response.views;
import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.hubspot.immutables.validation.InvalidImmutableStateException;
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import java.util.ArrayList;
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 StateActionValueIF}.
*
* Use the builder to create immutable instances:
* {@code StateActionValue.builder()}.
*/
@Generated(from = "StateActionValueIF", generator = "Immutables")
@SuppressWarnings({"all"})
@SuppressFBWarnings
@ParametersAreNonnullByDefault
@javax.annotation.processing.Generated("org.immutables.processor.ProxyProcessor")
@Immutable
public final class StateActionValue
implements StateActionValueIF {
private final String blockElementType;
private final @Nullable Object blockElementValue;
private StateActionValue(String blockElementType, @Nullable Object blockElementValue) {
this.blockElementType = blockElementType;
this.blockElementValue = blockElementValue;
}
/**
* @return The value of the {@code blockElementType} attribute
*/
@JsonProperty
@Override
public String getBlockElementType() {
return blockElementType;
}
/**
* @return The value of the {@code blockElementValue} attribute
*/
@JsonProperty
@Override
public Optional