me.snowdrop.istio.adapter.list.BaseKubernetesList Maven / Gradle / Ivy
package me.snowdrop.istio.adapter.list;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.validation.Valid;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyDescription;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import io.fabric8.kubernetes.api.model.Doneable;
import io.sundr.builder.annotations.Buildable;
import io.sundr.builder.annotations.Inline;
import lombok.EqualsAndHashCode;
import lombok.ToString;
/**
*
*
*/
@JsonInclude(JsonInclude.Include.NON_EMPTY)
@JsonPropertyOrder({
"apiVersion",
"kind",
"metadata",
"blacklist",
"cachingInterval",
"cachingUseCount",
"entryType",
"overrides",
"providerUrl",
"refreshInterval",
"ttl"
})
@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
@ToString
@EqualsAndHashCode
@Buildable(editableEnabled = false, validationEnabled = true, generateBuilderPackage = true, builderPackage = "io.fabric8.kubernetes.api.builder", inline = @Inline(type = Doneable.class, prefix = "Doneable", value = "done"))
public class BaseKubernetesList implements Serializable
{
/**
*
*
*/
@JsonProperty("blacklist")
@JsonPropertyDescription("")
private Boolean blacklist;
/**
*
*
*/
@JsonProperty("cachingInterval")
@JsonPropertyDescription("")
private Long cachingInterval;
/**
*
*
*/
@JsonProperty("cachingUseCount")
@JsonPropertyDescription("")
private Integer cachingUseCount;
@JsonProperty("entryType")
private ListEntryType entryType;
/**
*
*
*/
@JsonProperty("overrides")
@JsonPropertyDescription("")
@Valid
private List overrides = new ArrayList();
/**
*
*
*/
@JsonProperty("providerUrl")
@JsonPropertyDescription("")
private String providerUrl;
/**
*
*
*/
@JsonProperty("refreshInterval")
@JsonPropertyDescription("")
private Long refreshInterval;
/**
*
*
*/
@JsonProperty("ttl")
@JsonPropertyDescription("")
private Long ttl;
@JsonIgnore
@Valid
private Map additionalProperties = new HashMap();
private final static long serialVersionUID = 6619729661274288637L;
/**
* No args constructor for use in serialization
*
*/
public BaseKubernetesList() {
}
/**
*
* @param entryType
* @param refreshInterval
* @param blacklist
* @param cachingUseCount
* @param overrides
* @param cachingInterval
* @param ttl
* @param providerUrl
*/
public BaseKubernetesList(Boolean blacklist, Long cachingInterval, Integer cachingUseCount, ListEntryType entryType, List overrides, String providerUrl, Long refreshInterval, Long ttl) {
super();
this.blacklist = blacklist;
this.cachingInterval = cachingInterval;
this.cachingUseCount = cachingUseCount;
this.entryType = entryType;
this.overrides = overrides;
this.providerUrl = providerUrl;
this.refreshInterval = refreshInterval;
this.ttl = ttl;
}
/**
*
*
*/
@JsonProperty("blacklist")
public Boolean getBlacklist() {
return blacklist;
}
/**
*
*
*/
@JsonProperty("blacklist")
public void setBlacklist(Boolean blacklist) {
this.blacklist = blacklist;
}
/**
*
*
*/
@JsonProperty("cachingInterval")
public Long getCachingInterval() {
return cachingInterval;
}
/**
*
*
*/
@JsonProperty("cachingInterval")
public void setCachingInterval(Long cachingInterval) {
this.cachingInterval = cachingInterval;
}
/**
*
*
*/
@JsonProperty("cachingUseCount")
public Integer getCachingUseCount() {
return cachingUseCount;
}
/**
*
*
*/
@JsonProperty("cachingUseCount")
public void setCachingUseCount(Integer cachingUseCount) {
this.cachingUseCount = cachingUseCount;
}
@JsonProperty("entryType")
public ListEntryType getEntryType() {
return entryType;
}
@JsonProperty("entryType")
public void setEntryType(ListEntryType entryType) {
this.entryType = entryType;
}
/**
*
*
*/
@JsonProperty("overrides")
public List getOverrides() {
return overrides;
}
/**
*
*
*/
@JsonProperty("overrides")
public void setOverrides(List overrides) {
this.overrides = overrides;
}
/**
*
*
*/
@JsonProperty("providerUrl")
public String getProviderUrl() {
return providerUrl;
}
/**
*
*
*/
@JsonProperty("providerUrl")
public void setProviderUrl(String providerUrl) {
this.providerUrl = providerUrl;
}
/**
*
*
*/
@JsonProperty("refreshInterval")
public Long getRefreshInterval() {
return refreshInterval;
}
/**
*
*
*/
@JsonProperty("refreshInterval")
public void setRefreshInterval(Long refreshInterval) {
this.refreshInterval = refreshInterval;
}
/**
*
*
*/
@JsonProperty("ttl")
public Long getTtl() {
return ttl;
}
/**
*
*
*/
@JsonProperty("ttl")
public void setTtl(Long ttl) {
this.ttl = ttl;
}
@JsonAnyGetter
public Map getAdditionalProperties() {
return this.additionalProperties;
}
@JsonAnySetter
public void setAdditionalProperty(String name, Object value) {
this.additionalProperties.put(name, value);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy