me.snowdrop.istio.api.Status Maven / Gradle / Ivy
package me.snowdrop.istio.api;
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",
"code",
"details",
"message"
})
@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 Status implements Serializable
{
/**
*
*
*/
@JsonProperty("code")
@JsonPropertyDescription("")
private Integer code;
/**
*
*
*/
@JsonProperty("details")
@JsonPropertyDescription("")
@Valid
private List details = new ArrayList();
/**
*
*
*/
@JsonProperty("message")
@JsonPropertyDescription("")
private String message;
private final static long serialVersionUID = 2502375131099118332L;
/**
* No args constructor for use in serialization
*
*/
public Status() {
}
/**
*
* @param code
* @param details
* @param message
*/
public Status(Integer code, List details, String message) {
super();
this.code = code;
this.details = details;
this.message = message;
}
/**
*
*
*/
@JsonProperty("code")
public Integer getCode() {
return code;
}
/**
*
*
*/
@JsonProperty("code")
public void setCode(Integer code) {
this.code = code;
}
/**
*
*
*/
@JsonProperty("details")
public List getDetails() {
return details;
}
/**
*
*
*/
@JsonProperty("details")
public void setDetails(List details) {
this.details = details;
}
/**
*
*
*/
@JsonProperty("message")
public String getMessage() {
return message;
}
/**
*
*
*/
@JsonProperty("message")
public void setMessage(String message) {
this.message = message;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy