com.spotinst.sdkjava.model.api.ocean.gke.ApiClusterNetworkInterfacesConfiguration Maven / Gradle / Ivy
package com.spotinst.sdkjava.model.api.ocean.gke;
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;
import java.util.List;
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonFilter("PartialUpdateEntityFilter")
public class ApiClusterNetworkInterfacesConfiguration implements IPartialUpdateEntity {
@JsonIgnore
private Set isSet;
private String network;
private String projectId;
private List accessConfigs;
private List aliasIpRanges;
//region Constructors
public ApiClusterNetworkInterfacesConfiguration() {
isSet = new HashSet<>();
}
//region Getters & Setters
public Set getIsSet() {
return isSet;
}
public void setIsSet(Set isSet) {
this.isSet = isSet;
}
public String getProjectId() {
return projectId;
}
public void setProjectId(String projectId) {
isSet.add("projectId");
this.projectId = projectId;
}
public String getNetwork() {
return network;
}
public void setNetwork(String network) {
isSet.add("network");
this.network = network;
}
public List getAccessConfigs() {
return accessConfigs;
}
public void setAccessConfigs(List accessConfigs) {
isSet.add("accessConfigs");
this.accessConfigs = accessConfigs;
}
public List getAliasIpRanges() {
return aliasIpRanges;
}
public void setAliasIpRanges(List aliasIpRanges) {
isSet.add("aliasIpRanges");
this.aliasIpRanges = aliasIpRanges;
}
//endregion
@JsonIgnore
public boolean isNetworkSet() { return isSet.contains("network"); }
@JsonIgnore
public boolean isProjectIdSet() { return isSet.contains("projectId"); }
@JsonIgnore
public boolean isAccessConfigsSet() { return isSet.contains("accessConfigs"); }
@JsonIgnore
public boolean isAliasIpRangesSet() { return isSet.contains("aliasIpRanges"); }
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy