com.spotinst.sdkjava.model.api.ocean.kubernetes.ApiClusterRollResponse Maven / Gradle / Ivy
package com.spotinst.sdkjava.model.api.ocean.kubernetes;
import com.fasterxml.jackson.annotation.JsonFilter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.spotinst.sdkjava.client.rest.IPartialUpdateEntity;
import com.spotinst.sdkjava.enums.k8sClusterRollStatusEnum;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonFilter("PartialUpdateEntityFilter")
public class ApiClusterRollResponse implements IPartialUpdateEntity {
@JsonIgnore
private Set isSet;
private String id;
private k8sClusterRollStatusEnum status;
private Integer currentBatch;
private Integer numOfBatches;
private String comment;
private Integer batchMinHealthyPercentage;
private ApiInitiateRollProgress progress;
private String oceanId;
private Boolean respectPdb;
private List instanceIds;
private List launchSpecIds;
private String createdAt;
private String updatedAt;
public ApiClusterRollResponse() {
isSet = new HashSet<>();
}
public Set getIsSet() {
return isSet;
}
public void setIsSet(Set isSet) {
this.isSet = isSet;
}
public String getId() {
return id;
}
public void setId(String id) {
isSet.add("id");
this.id = id;
}
public Integer getCurrentBatch() {
return currentBatch;
}
public void setCurrentBatch(Integer currentBatch) {
isSet.add("currentBatch");
this.currentBatch = currentBatch;
}
public Integer getNumOfBatches() {
return numOfBatches;
}
public void setNumOfBatches(Integer numOfBatches) {
isSet.add("numOfBatches");
this.numOfBatches = numOfBatches;
}
public k8sClusterRollStatusEnum getStatus() {
return status;
}
public void setStatus(k8sClusterRollStatusEnum status) {
isSet.add("status");
this.status = status;
}
public String getComment() {
return comment;
}
public void setComment(String comment) {
isSet.add("comment");
this.comment = comment;
}
public Integer getBatchMinHealthyPercentage() {
return batchMinHealthyPercentage;
}
public void setBatchMinHealthyPercentage(Integer batchMinHealthyPercentage) {
isSet.add("batchMinHealthyPercentage");
this.batchMinHealthyPercentage = batchMinHealthyPercentage;
}
public String getOceanId() {
return oceanId;
}
public void setOceanId(String oceanId) {
isSet.add("oceanId");
this.oceanId = oceanId;
}
public Boolean getRespectPdb() {
return respectPdb;
}
public void setRespectPdb(Boolean respectPdb) {
isSet.add("respectPdb");
this.respectPdb = respectPdb;
}
public List getInstanceIds() {
return instanceIds;
}
public void setInstanceIds(List instanceIds) {
isSet.add("instanceIds");
this.instanceIds = instanceIds;
}
public List getLaunchSpecIds() {
return launchSpecIds;
}
public void setLaunchSpecIds(List launchSpecIds) {
isSet.add("launchSpecIds");
this.launchSpecIds = launchSpecIds;
}
public ApiInitiateRollProgress getProgress() {
return progress;
}
public void setProgress(ApiInitiateRollProgress progress) {
isSet.add("progress");
this.progress = progress;
}
public String getCreatedAt() {
return createdAt;
}
public void setCreatedAt(String createdAt) {
isSet.add("createdAt");
this.createdAt = createdAt;
}
public String getUpdatedAt() {
return updatedAt;
}
public void setUpdatedAt(String updatedAt) {
isSet.add("updatedAt");
this.updatedAt = updatedAt;
}
@JsonIgnore
public boolean isIdSet() {
return isSet.contains("id");
}
@JsonIgnore
public boolean isStatusSet() {
return isSet.contains("status");
}
@JsonIgnore
public boolean isCurrentBatchSet() {
return isSet.contains("currentBatch");
}
@JsonIgnore
public boolean isNumOfBatchesSet() {
return isSet.contains("numOfBatches");
}
@JsonIgnore
public boolean isCommentSet() {
return isSet.contains("comment");
}
@JsonIgnore
public boolean isProgressSet() {
return isSet.contains("progress");
}
@JsonIgnore
public boolean isOceanIdSet() {
return isSet.contains("oceanId");
}
@JsonIgnore
public boolean isInstanceIdsSet() {
return isSet.contains("instanceIds");
}
@JsonIgnore
public boolean isLaunchSpecIdsSet() {
return isSet.contains("launchSpecIds");
}
@JsonIgnore
public boolean isRespectPdbSet() {
return isSet.contains("respectPdb");
}
@JsonIgnore
public boolean isBatchMinHealthyPercentageSet() {
return isSet.contains("batchMinHealthyPercentage");
}
@JsonIgnore
public boolean isCreatedAtSet() {
return isSet.contains("createdAt");
}
@JsonIgnore
public boolean isUpdatedAtSet() {
return isSet.contains("updatedAt");
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy