com.spotinst.sdkjava.model.api.azure.statefulNode.ApiStatefulNodeSignalConfiguration Maven / Gradle / Ivy
package com.spotinst.sdkjava.model.api.azure.statefulNode;
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 java.util.HashSet;
import java.util.Set;
/**
* Created by Bansi Chapla on 23/11/2021.
*/
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonFilter("PartialUpdateEntityFilter")
public class ApiStatefulNodeSignalConfiguration implements IPartialUpdateEntity {
@JsonIgnore
private Set isSet;
private String type;
private Integer timeout;
public ApiStatefulNodeSignalConfiguration() {
isSet = new HashSet<>();
}
public Set getIsSet() {
return isSet;
}
public void setIsSet(Set isSet) {
this.isSet = isSet;
}
public String getType() {
return type;
}
public void setType(String type) {
isSet.add("type");
this.type = type;
}
public Integer getTimeout() {
return timeout;
}
public void setTimeout(Integer timeout) {
isSet.add("timeout");
this.timeout = timeout;
}
@JsonIgnore
public boolean isIdSet() {
return isSet.contains("id");
}
@JsonIgnore
public boolean isTypeSet() {
return isSet.contains("type");
}
@JsonIgnore
public boolean isTimeoutSet() {
return isSet.contains("timeout");
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy