All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.alauda.devops.client.models.Condition Maven / Gradle / Ivy

There is a newer version: 0.2.10
Show newest version
package io.alauda.devops.client.models;

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.alauda.kubernetes.api.model.KubernetesResource;
import io.sundr.builder.annotations.Buildable;
import io.sundr.builder.annotations.Inline;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import javax.annotation.Generated;

@JsonInclude(JsonInclude.Include.NON_NULL)
@Generated("org.jsonschema2pojo")
@JsonPropertyOrder({
  "apiVersion",
  "kind",
  "type",
  "lastAttempt",
  "reason",
  "message",
  "status",
})
@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
@ToString
@EqualsAndHashCode
@Buildable(builderPackage = "io.alauda.kubernetes.api.builder", editableEnabled = false, inline = @Inline(type = Doneable.class, prefix = "Doneable", value = "done"))
public class Condition implements KubernetesResource {

  @JsonProperty("type")
  private String type;
  @JsonProperty("lastAttempt")
  private String lastAttempt;
  @JsonProperty("reason")
  private String reason;
  @JsonProperty("message")
  private String message;
  @JsonProperty("status")
  private String status;

  @JsonProperty("type")
  public String getType() {
    return type;
  }
  @JsonProperty("type")
  public void setType(String type) {
    this.type = type;
  }

  @JsonProperty("lastAttempt")
  public String getLastAttempt() {
    return lastAttempt;
  }
  @JsonProperty("lastAttempt")
  public void setLastAttempt(String lastAttempt) {
    this.lastAttempt = lastAttempt;
  }

  @JsonProperty("reason")
  public String getReason() {
    return reason;
  }
  @JsonProperty("reason")
  public void setReason(String reason) {
    this.reason = reason;
  }

  @JsonProperty("message")
  public String getMessage() {
    return message;
  }
  @JsonProperty("message")
  public void setMessage(String message) {
    this.message = message;
  }

  @JsonProperty("status")
  public String getStatus() {
    return status;
  }
  @JsonProperty("status")
  public void setStatus(String status) {
    this.status = status;
  }



}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy