io.dekorate.servicebinding.model.ServiceBindingCondition Maven / Gradle / Ivy
/**
* Copyright 2018 The original authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
**/
package io.dekorate.servicebinding.model;
import java.util.HashMap;
import java.util.Map;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.fabric8.kubernetes.api.model.ObjectMeta;
import io.sundr.builder.annotations.Buildable;
import io.sundr.builder.annotations.BuildableReference;
@Buildable(editableEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = @BuildableReference(ObjectMeta.class))
public class ServiceBindingCondition {
@JsonProperty("lastProbeTime")
private String lastProbeTime;
@JsonProperty("lastTransitionTime")
private String lastTransitionTime;
@JsonProperty("message")
private String message;
@JsonProperty("reason")
private String reason;
@JsonProperty("status")
private String status;
@JsonProperty("type")
private String type;
@JsonIgnore
private Map additionalProperties = new HashMap();
public ServiceBindingCondition() {
}
public ServiceBindingCondition(String lastProbeTime, String lastTransitionTime, String message, String reason,
String status, String type) {
this.lastProbeTime = lastProbeTime;
this.lastTransitionTime = lastTransitionTime;
this.message = message;
this.reason = reason;
this.status = status;
this.type = type;
}
@JsonProperty("lastProbeTime")
public String getLastProbeTime() {
return lastProbeTime;
}
@JsonProperty("lastProbeTime")
public void setLastProbeTime(String lastProbeTime) {
this.lastProbeTime = lastProbeTime;
}
@JsonProperty("lastTransitionTime")
public String getLastTransitionTime() {
return lastTransitionTime;
}
@JsonProperty("lastTransitionTime")
public void setLastTransitionTime(String lastTransitionTime) {
this.lastTransitionTime = lastTransitionTime;
}
@JsonProperty("message")
public String getMessage() {
return message;
}
@JsonProperty("message")
public void setMessage(String message) {
this.message = message;
}
@JsonProperty("reason")
public String getReason() {
return reason;
}
@JsonProperty("reason")
public void setReason(String reason) {
this.reason = reason;
}
@JsonProperty("status")
public String getStatus() {
return status;
}
@JsonProperty("status")
public void setStatus(String status) {
this.status = status;
}
@JsonProperty("type")
public String getType() {
return type;
}
@JsonProperty("type")
public void setType(String type) {
this.type = type;
}
@JsonAnyGetter
public Map getAdditionalProperties() {
return this.additionalProperties;
}
@JsonAnySetter
public void setAdditionalProperty(String name, Object value) {
this.additionalProperties.put(name, value);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy