com.softlayer.api.service.network.bandwidth.version1.Host Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of softlayer-api-client Show documentation
Show all versions of softlayer-api-client Show documentation
API client for accessing the SoftLayer API
package com.softlayer.api.service.network.bandwidth.version1;
import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.Entity;
/**
* [DEPRECATED] The SoftLayer_Network_Bandwidth_Version1_Host type contains general information used to the route a server to its pod.
*
* @see SoftLayer_Network_Bandwidth_Version1_Host
*/
@ApiType("SoftLayer_Network_Bandwidth_Version1_Host")
public class Host extends Entity {
/**
* Pod ID for this host device.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected Long podId;
public Long getPodId() {
return podId;
}
public void setPodId(Long podId) {
podIdSpecified = true;
this.podId = podId;
}
protected boolean podIdSpecified;
public boolean isPodIdSpecified() {
return podIdSpecified;
}
public void unsetPodId() {
podId = null;
podIdSpecified = false;
}
public static class Mask extends com.softlayer.api.service.Entity.Mask {
public Mask podId() {
withLocalProperty("podId");
return this;
}
}
}