me.snowdrop.istio.api.mixer.v1.QuotaParams Maven / Gradle / Ivy
package me.snowdrop.istio.api.mixer.v1;
import java.io.Serializable;
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 io.fabric8.kubernetes.api.model.Doneable;
import io.fabric8.kubernetes.api.model.ObjectMeta;
import io.sundr.builder.annotations.Buildable;
import io.sundr.builder.annotations.BuildableReference;
import io.sundr.builder.annotations.Inline;
import lombok.EqualsAndHashCode;
import lombok.ToString;
/**
*
*/
@JsonInclude(JsonInclude.Include.NON_EMPTY)
@JsonPropertyOrder({
"apiVersion",
"kind",
"metadata",
"amount",
"bestEffort"
})
@ToString
@EqualsAndHashCode
@Buildable(editableEnabled = false, generateBuilderPackage = true, builderPackage = "io.fabric8.kubernetes.api.builder", inline = {
@Inline(type = Doneable.class, prefix = "Doneable", value = "done")
}, refs = {
@BuildableReference(ObjectMeta.class)
})
public class QuotaParams implements Serializable
{
/**
*
*/
@JsonProperty("amount")
@JsonPropertyDescription("")
private Integer amount;
/**
*
*/
@JsonProperty("bestEffort")
@JsonPropertyDescription("")
private Boolean bestEffort;
private final static long serialVersionUID = 3398895069044756750L;
/**
* No args constructor for use in serialization
*
*/
public QuotaParams() {
}
/**
*
* @param amount
* @param bestEffort
*/
public QuotaParams(Integer amount, Boolean bestEffort) {
super();
this.amount = amount;
this.bestEffort = bestEffort;
}
/**
*
*/
public Integer getAmount() {
return amount;
}
/**
*
*/
public void setAmount(Integer amount) {
this.amount = amount;
}
/**
*
*/
public Boolean getBestEffort() {
return bestEffort;
}
/**
*
*/
public void setBestEffort(Boolean bestEffort) {
this.bestEffort = bestEffort;
}
}