All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.softlayer.api.service.network.component.Detail Maven / Gradle / Ivy

There is a newer version: 0.3.4
Show 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;

/**
 * @see SoftLayer_Network_Component_Detail
 */
@ApiType("SoftLayer_Network_Component_Detail")
public class Detail extends Entity {

    @ApiProperty
    protected Component networkComponent;

    public Component getNetworkComponent() {
        return networkComponent;
    }

    public void setNetworkComponent(Component networkComponent) {
        this.networkComponent = networkComponent;
    }

    @ApiProperty(canBeNullOrNotSet = true)
    protected Long pollingInterfaceIndex;

    public Long getPollingInterfaceIndex() {
        return pollingInterfaceIndex;
    }

    public void setPollingInterfaceIndex(Long pollingInterfaceIndex) {
        pollingInterfaceIndexSpecified = true;
        this.pollingInterfaceIndex = pollingInterfaceIndex;
    }

    protected boolean pollingInterfaceIndexSpecified;

    public boolean isPollingInterfaceIndexSpecified() {
        return pollingInterfaceIndexSpecified;
    }

    public void unsetPollingInterfaceIndex() {
        pollingInterfaceIndex = null;
        pollingInterfaceIndexSpecified = false;
    }

    public static class Mask extends com.softlayer.api.service.Entity.Mask {

        public com.softlayer.api.service.network.Component.Mask networkComponent() {
            return withSubMask("networkComponent", com.softlayer.api.service.network.Component.Mask.class);
        }

        public Mask pollingInterfaceIndex() {
            withLocalProperty("pollingInterfaceIndex");
            return this;
        }

    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy