com.spotinst.sdkjava.model.api.azure.elastiGroup.V3.ApiDetachVmsResponseAzure 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.JsonProperty;
import com.spotinst.sdkjava.client.rest.IPartialUpdateEntity;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
@JsonFilter("PartialUpdateEntityFilter")
public class ApiDetachVmsResponseAzure implements IPartialUpdateEntity {
@JsonIgnore
private Set isSet;
private List detachedVms;
@JsonProperty("newVms")
private List newVmsAzure;
public ApiDetachVmsResponseAzure() {
isSet = new HashSet<>();
}
public Set getIsSet() {
return isSet;
}
public void setIsSet(Set isSet) {
this.isSet = isSet;
}
public List getDetachedVms() {
return detachedVms;
}
public void setDetachedVms(List detachedVms) {
isSet.add("detachedVms");
this.detachedVms = detachedVms;
}
public List getNewVmsAzure() {
return newVmsAzure;
}
public void setNewVmsAzure(List newVmsAzure) {
isSet.add("newVmsAzure");
this.newVmsAzure = newVmsAzure;
}
@JsonIgnore
public boolean isDetachedVmsSet() {
return isSet.contains("detachedVms");
}
@JsonIgnore
public boolean isNewVmsAzureSet() {
return isSet.contains("newVmsAzure");
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy