com.softlayer.api.service.network.component.uplink.Hardware 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.component.uplink;
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_Uplink_Hardware data type abstracts information related to network connections between SoftLayer hardware and SoftLayer network components.
*
* It is populated via triggers on the network_connection table (SoftLayer_Network_Connection), so you shouldn't have to delete or insert records into this table, ever.
*
*
*
* @see SoftLayer_Network_Component_Uplink_Hardware
*/
@ApiType("SoftLayer_Network_Component_Uplink_Hardware")
public class Hardware extends Entity {
/**
* A network component uplink's connected [[SoftLayer_Hardware|Hardware]].
*/
@ApiProperty
protected com.softlayer.api.service.Hardware hardware;
public com.softlayer.api.service.Hardware getHardware() {
return hardware;
}
public void setHardware(com.softlayer.api.service.Hardware hardware) {
this.hardware = hardware;
}
/**
* The [[SoftLayer_Network_Component|Network Component]] that a uplink connection belongs to..
*/
@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.Hardware.Mask hardware() {
return withSubMask("hardware", com.softlayer.api.service.Hardware.Mask.class);
}
public com.softlayer.api.service.network.Component.Mask networkComponent() {
return withSubMask("networkComponent", com.softlayer.api.service.network.Component.Mask.class);
}
}
}