io.alauda.kubernetes.api.model.HostPortStatus Maven / Gradle / Ivy
package io.alauda.kubernetes.api.model;
import java.util.HashMap;
import java.util.Map;
import javax.annotation.Generated;
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.JsonPropertyOrder;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import io.alauda.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_NULL)
@Generated("org.jsonschema2pojo")
@JsonPropertyOrder({
"apiVersion",
"kind",
"metadata",
"delay",
"lastAttempt",
"response",
"statusCode",
"version"
})
@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
@ToString
@EqualsAndHashCode
@Buildable(editableEnabled = false, validationEnabled = true, generateBuilderPackage = true, builderPackage = "io.alauda.kubernetes.api.builder", inline = @Inline(type = Doneable.class, prefix = "Doneable", value = "done"))
public class HostPortStatus implements KubernetesResource
{
/**
*
*
*/
@JsonProperty("delay")
private Long delay;
/**
*
*
*/
@JsonProperty("lastAttempt")
@Valid
private String lastAttempt;
/**
*
*
*/
@JsonProperty("response")
private java.lang.String response;
/**
*
*
*/
@JsonProperty("statusCode")
private Integer statusCode;
/**
*
*
*/
@JsonProperty("version")
private java.lang.String version;
@JsonIgnore
private Map additionalProperties = new HashMap();
/**
* No args constructor for use in serialization
*
*/
public HostPortStatus() {
}
/**
*
* @param delay
* @param response
* @param lastAttempt
* @param version
* @param statusCode
*/
public HostPortStatus(Long delay, String lastAttempt, java.lang.String response, Integer statusCode, java.lang.String version) {
this.delay = delay;
this.lastAttempt = lastAttempt;
this.response = response;
this.statusCode = statusCode;
this.version = version;
}
/**
*
*
* @return
* The delay
*/
@JsonProperty("delay")
public Long getDelay() {
return delay;
}
/**
*
*
* @param delay
* The delay
*/
@JsonProperty("delay")
public void setDelay(Long delay) {
this.delay = delay;
}
/**
*
*
* @return
* The lastAttempt
*/
@JsonProperty("lastAttempt")
public String getLastAttempt() {
return lastAttempt;
}
/**
*
*
* @param lastAttempt
* The lastAttempt
*/
@JsonProperty("lastAttempt")
public void setLastAttempt(String lastAttempt) {
this.lastAttempt = lastAttempt;
}
/**
*
*
* @return
* The response
*/
@JsonProperty("response")
public java.lang.String getResponse() {
return response;
}
/**
*
*
* @param response
* The response
*/
@JsonProperty("response")
public void setResponse(java.lang.String response) {
this.response = response;
}
/**
*
*
* @return
* The statusCode
*/
@JsonProperty("statusCode")
public Integer getStatusCode() {
return statusCode;
}
/**
*
*
* @param statusCode
* The statusCode
*/
@JsonProperty("statusCode")
public void setStatusCode(Integer statusCode) {
this.statusCode = statusCode;
}
/**
*
*
* @return
* The version
*/
@JsonProperty("version")
public java.lang.String getVersion() {
return version;
}
/**
*
*
* @param version
* The version
*/
@JsonProperty("version")
public void setVersion(java.lang.String version) {
this.version = version;
}
@JsonAnyGetter
public Map getAdditionalProperties() {
return this.additionalProperties;
}
@JsonAnySetter
public void setAdditionalProperty(java.lang.String name, Object value) {
this.additionalProperties.put(name, value);
}
}