me.snowdrop.istio.api.mixer.v1.ReportRequest Maven / Gradle / Ivy
package me.snowdrop.istio.api.mixer.v1;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import javax.validation.Valid;
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",
"attributes",
"defaultWords",
"globalWordCount",
"repeatedAttributesSemantics"
})
@ToString
@EqualsAndHashCode
@Buildable(editableEnabled = false, validationEnabled = true, generateBuilderPackage = true, builderPackage = "io.fabric8.kubernetes.api.builder", inline = {
@Inline(type = Doneable.class, prefix = "Doneable", value = "done")
}, refs = {
@BuildableReference(ObjectMeta.class)
})
public class ReportRequest implements Serializable
{
/**
*
*
*/
@JsonProperty("attributes")
@JsonPropertyDescription("")
@Valid
private List attributes = new ArrayList();
/**
*
*
*/
@JsonProperty("defaultWords")
@JsonPropertyDescription("")
@Valid
private List defaultWords = new ArrayList();
/**
*
*
*/
@JsonProperty("globalWordCount")
@JsonPropertyDescription("")
private Integer globalWordCount;
@JsonProperty("repeatedAttributesSemantics")
private RepeatedAttributesSemantics repeatedAttributesSemantics;
private final static long serialVersionUID = -6792710507943072123L;
/**
* No args constructor for use in serialization
*
*/
public ReportRequest() {
}
/**
*
* @param repeatedAttributesSemantics
* @param globalWordCount
* @param defaultWords
* @param attributes
*/
public ReportRequest(List attributes, List defaultWords, Integer globalWordCount, RepeatedAttributesSemantics repeatedAttributesSemantics) {
super();
this.attributes = attributes;
this.defaultWords = defaultWords;
this.globalWordCount = globalWordCount;
this.repeatedAttributesSemantics = repeatedAttributesSemantics;
}
/**
*
*
*/
@JsonProperty("attributes")
public List getAttributes() {
return attributes;
}
/**
*
*
*/
@JsonProperty("attributes")
public void setAttributes(List attributes) {
this.attributes = attributes;
}
/**
*
*
*/
@JsonProperty("defaultWords")
public List getDefaultWords() {
return defaultWords;
}
/**
*
*
*/
@JsonProperty("defaultWords")
public void setDefaultWords(List defaultWords) {
this.defaultWords = defaultWords;
}
/**
*
*
*/
@JsonProperty("globalWordCount")
public Integer getGlobalWordCount() {
return globalWordCount;
}
/**
*
*
*/
@JsonProperty("globalWordCount")
public void setGlobalWordCount(Integer globalWordCount) {
this.globalWordCount = globalWordCount;
}
@JsonProperty("repeatedAttributesSemantics")
public RepeatedAttributesSemantics getRepeatedAttributesSemantics() {
return repeatedAttributesSemantics;
}
@JsonProperty("repeatedAttributesSemantics")
public void setRepeatedAttributesSemantics(RepeatedAttributesSemantics repeatedAttributesSemantics) {
this.repeatedAttributesSemantics = repeatedAttributesSemantics;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy