com.softlayer.api.service.network.component.IpAddress 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
The newest version!
package com.softlayer.api.service.network.component;
import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.Entity;
import com.softlayer.api.service.network.Component;
/**
* The SoftLayer_Network_Component_IpAddress data type contains general information relating to the binding of a single network component to a single SoftLayer IP address.
*
* @see SoftLayer_Network_Component_IpAddress
*/
@ApiType("SoftLayer_Network_Component_IpAddress")
public class IpAddress extends Entity {
/**
* The IP address associated with this object's network component.
*/
@ApiProperty
protected com.softlayer.api.service.network.subnet.IpAddress ipAddress;
public com.softlayer.api.service.network.subnet.IpAddress getIpAddress() {
return ipAddress;
}
public void setIpAddress(com.softlayer.api.service.network.subnet.IpAddress ipAddress) {
this.ipAddress = ipAddress;
}
/**
* The network component associated with this object's IP address.
*/
@ApiProperty
protected Component networkComponent;
public Component getNetworkComponent() {
return networkComponent;
}
public void setNetworkComponent(Component networkComponent) {
this.networkComponent = networkComponent;
}
public static class Mask extends com.softlayer.api.service.Entity.Mask {
public com.softlayer.api.service.network.subnet.IpAddress.Mask ipAddress() {
return withSubMask("ipAddress", com.softlayer.api.service.network.subnet.IpAddress.Mask.class);
}
public com.softlayer.api.service.network.Component.Mask networkComponent() {
return withSubMask("networkComponent", com.softlayer.api.service.network.Component.Mask.class);
}
}
}