com.spotinst.sdkjava.model.api.azure.elastiGroup.V3.ApiGetElastigroupStatusResponseAzure Maven / Gradle / Ivy
package com.spotinst.sdkjava.model.api.azure.elastiGroup.V3;
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.ElastigroupStatusEnumAzure;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonFilter("PartialUpdateEntityFilter")
public class ApiGetElastigroupStatusResponseAzure implements IPartialUpdateEntity {
@JsonIgnore
private Set isSet;
private ElastigroupStatusEnumAzure status;
private List suspendedProcesses;
private List vms;
public ApiGetElastigroupStatusResponseAzure() {
isSet = new HashSet<>();
}
public Set getIsSet() {
return isSet;
}
public void setIsSet(Set isSet) {
this.isSet = isSet;
}
public ElastigroupStatusEnumAzure getStatus() {
return status;
}
public void setStatus(ElastigroupStatusEnumAzure status) {
isSet.add("status");
this.status = status;
}
public List getSuspendedProcesses() {
return suspendedProcesses;
}
public void setSuspendedProcesses(List suspendedProcesses) {
isSet.add("suspendedProcesses");
this.suspendedProcesses = suspendedProcesses;
}
public List getVms() {
return vms;
}
public void setVms(List vms) {
isSet.add("vms");
this.vms = vms;
}
@JsonIgnore
public boolean isStatusSet() {
return isSet.contains("status");
}
@JsonIgnore
public boolean isSuspendedProcessesSet() {
return isSet.contains("suspendedProcesses");
}
@JsonIgnore
public boolean isVmsSet() {
return isSet.contains("vms");
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy