com.spotinst.sdkjava.model.api.azure.elastiGroup.V3.ApiScalingAzure Maven / Gradle / Ivy
package com.spotinst.sdkjava.model.api.azure.elastiGroup.V3;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.spotinst.sdkjava.client.rest.IPartialUpdateEntity;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
@JsonIgnoreProperties(ignoreUnknown = true)
public class ApiScalingAzure implements IPartialUpdateEntity {
//region Members
// Partial Update support
private Set isSet = new HashSet<>();
private List up;
private List down;
//endregion
//region Getters & Setters
public List getUp() {
return up;
}
public void setUp(List up) {
isSet.add("up");
this.up = up;
}
public List getDown() {
return down;
}
public void setDown(List down) {
isSet.add("down");
this.down = down;
}
@JsonIgnore
public boolean isUpSet() {
return isSet.contains("up");
}
@JsonIgnore
public boolean isDownSet() {
return isSet.contains("down");
}
@Override
@JsonIgnore
public Set getIsSet() {
return isSet;
}
//endregion
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy