com.spotinst.sdkjava.model.api.gcp.ApiRevertToPreemptibleGcp Maven / Gradle / Ivy
package com.spotinst.sdkjava.model.api.gcp;
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.PerformAtEnumGcp;
import java.util.HashSet;
import java.util.Set;
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonFilter("PartialUpdateEntityFilter")
public class ApiRevertToPreemptibleGcp implements IPartialUpdateEntity {
//region Members
@JsonIgnore
private Set isSet;
private PerformAtEnumGcp performAt;
//endregion
//region Constructor
public ApiRevertToPreemptibleGcp() {
isSet = new HashSet<>();
}
//endregion
//region Getters & Setters
public Set getIsSet() {
return isSet;
}
public void setIsSet(Set isSet) {
this.isSet = isSet;
}
public PerformAtEnumGcp getPerformAt() {
return performAt;
}
public void setPerformAt(PerformAtEnumGcp performAt) {
isSet.add("performAt");
this.performAt = performAt;
}
//endregion
//region isSet methods
// Is performAt Set boolean method
@JsonIgnore
public boolean isPerformAtSet() {
return isSet.contains("performAt");
}
//endregion
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy