io.camunda.zeebe.management.cluster.MessageCorrelation Maven / Gradle / Ivy
package io.camunda.zeebe.management.cluster;
import java.net.URI;
import java.util.Objects;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonSubTypes;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import io.camunda.zeebe.management.cluster.MessageCorrelationHashMod;
import org.openapitools.jackson.nullable.JsonNullable;
import java.time.OffsetDateTime;
import jakarta.validation.Valid;
import jakarta.validation.constraints.*;
import io.swagger.v3.oas.annotations.media.Schema;
import java.util.*;
import jakarta.annotation.Generated;
@JsonIgnoreProperties(
value = "strategy", // ignore manually set strategy, it will be automatically generated by Jackson during serialization
allowSetters = true // allows the strategy to be set during deserialization
)
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "strategy", visible = true)
@JsonSubTypes({
@JsonSubTypes.Type(value = MessageCorrelationHashMod.class, name = "HashMod"),
@JsonSubTypes.Type(value = MessageCorrelationHashMod.class, name = "MessageCorrelationHashMod")
})
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-09-24T12:12:47.003563022Z[GMT]", comments = "Generator version: 7.8.0")
public interface MessageCorrelation {
public String getStrategy();
}