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

com.softlayer.api.service.container.hardware.pool.Details Maven / Gradle / Ivy

There is a newer version: 0.3.4
Show newest version
package com.softlayer.api.service.container.hardware.pool;

import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.Entity;
import com.softlayer.api.service.container.hardware.pool.details.Router;
import java.util.ArrayList;
import java.util.List;

/**
 * @see SoftLayer_Container_Hardware_Pool_Details
 */
@ApiType("SoftLayer_Container_Hardware_Pool_Details")
public class Details extends Entity {

    @ApiProperty(canBeNullOrNotSet = true)
    protected Long pendingOrders;

    public Long getPendingOrders() {
        return pendingOrders;
    }

    public void setPendingOrders(Long pendingOrders) {
        pendingOrdersSpecified = true;
        this.pendingOrders = pendingOrders;
    }

    protected boolean pendingOrdersSpecified;

    public boolean isPendingOrdersSpecified() {
        return pendingOrdersSpecified;
    }

    public void unsetPendingOrders() {
        pendingOrders = null;
        pendingOrdersSpecified = false;
    }

    @ApiProperty(canBeNullOrNotSet = true)
    protected Long pendingTransactions;

    public Long getPendingTransactions() {
        return pendingTransactions;
    }

    public void setPendingTransactions(Long pendingTransactions) {
        pendingTransactionsSpecified = true;
        this.pendingTransactions = pendingTransactions;
    }

    protected boolean pendingTransactionsSpecified;

    public boolean isPendingTransactionsSpecified() {
        return pendingTransactionsSpecified;
    }

    public void unsetPendingTransactions() {
        pendingTransactions = null;
        pendingTransactionsSpecified = false;
    }

    @ApiProperty(canBeNullOrNotSet = true)
    protected String poolDescription;

    public String getPoolDescription() {
        return poolDescription;
    }

    public void setPoolDescription(String poolDescription) {
        poolDescriptionSpecified = true;
        this.poolDescription = poolDescription;
    }

    protected boolean poolDescriptionSpecified;

    public boolean isPoolDescriptionSpecified() {
        return poolDescriptionSpecified;
    }

    public void unsetPoolDescription() {
        poolDescription = null;
        poolDescriptionSpecified = false;
    }

    @ApiProperty(canBeNullOrNotSet = true)
    protected String poolKeyName;

    public String getPoolKeyName() {
        return poolKeyName;
    }

    public void setPoolKeyName(String poolKeyName) {
        poolKeyNameSpecified = true;
        this.poolKeyName = poolKeyName;
    }

    protected boolean poolKeyNameSpecified;

    public boolean isPoolKeyNameSpecified() {
        return poolKeyNameSpecified;
    }

    public void unsetPoolKeyName() {
        poolKeyName = null;
        poolKeyNameSpecified = false;
    }

    @ApiProperty(canBeNullOrNotSet = true)
    protected String poolName;

    public String getPoolName() {
        return poolName;
    }

    public void setPoolName(String poolName) {
        poolNameSpecified = true;
        this.poolName = poolName;
    }

    protected boolean poolNameSpecified;

    public boolean isPoolNameSpecified() {
        return poolNameSpecified;
    }

    public void unsetPoolName() {
        poolName = null;
        poolNameSpecified = false;
    }

    @ApiProperty(canBeNullOrNotSet = true)
    protected List routers;

    public List getRouters() {
        if (routers == null) {
            routers = new ArrayList();
        }
        return routers;
    }

    protected boolean routersSpecified;

    public boolean isRoutersSpecified() {
        return routersSpecified;
    }

    public void unsetRouters() {
        routers = null;
        routersSpecified = false;
    }

    @ApiProperty(canBeNullOrNotSet = true)
    protected Long totalHardware;

    public Long getTotalHardware() {
        return totalHardware;
    }

    public void setTotalHardware(Long totalHardware) {
        totalHardwareSpecified = true;
        this.totalHardware = totalHardware;
    }

    protected boolean totalHardwareSpecified;

    public boolean isTotalHardwareSpecified() {
        return totalHardwareSpecified;
    }

    public void unsetTotalHardware() {
        totalHardware = null;
        totalHardwareSpecified = false;
    }

    @ApiProperty(canBeNullOrNotSet = true)
    protected Long totalInventoryHardware;

    public Long getTotalInventoryHardware() {
        return totalInventoryHardware;
    }

    public void setTotalInventoryHardware(Long totalInventoryHardware) {
        totalInventoryHardwareSpecified = true;
        this.totalInventoryHardware = totalInventoryHardware;
    }

    protected boolean totalInventoryHardwareSpecified;

    public boolean isTotalInventoryHardwareSpecified() {
        return totalInventoryHardwareSpecified;
    }

    public void unsetTotalInventoryHardware() {
        totalInventoryHardware = null;
        totalInventoryHardwareSpecified = false;
    }

    @ApiProperty(canBeNullOrNotSet = true)
    protected Long totalProvisionedHardware;

    public Long getTotalProvisionedHardware() {
        return totalProvisionedHardware;
    }

    public void setTotalProvisionedHardware(Long totalProvisionedHardware) {
        totalProvisionedHardwareSpecified = true;
        this.totalProvisionedHardware = totalProvisionedHardware;
    }

    protected boolean totalProvisionedHardwareSpecified;

    public boolean isTotalProvisionedHardwareSpecified() {
        return totalProvisionedHardwareSpecified;
    }

    public void unsetTotalProvisionedHardware() {
        totalProvisionedHardware = null;
        totalProvisionedHardwareSpecified = false;
    }

    @ApiProperty(canBeNullOrNotSet = true)
    protected Long totalTestedHardware;

    public Long getTotalTestedHardware() {
        return totalTestedHardware;
    }

    public void setTotalTestedHardware(Long totalTestedHardware) {
        totalTestedHardwareSpecified = true;
        this.totalTestedHardware = totalTestedHardware;
    }

    protected boolean totalTestedHardwareSpecified;

    public boolean isTotalTestedHardwareSpecified() {
        return totalTestedHardwareSpecified;
    }

    public void unsetTotalTestedHardware() {
        totalTestedHardware = null;
        totalTestedHardwareSpecified = false;
    }

    @ApiProperty(canBeNullOrNotSet = true)
    protected Long totalTestingHardware;

    public Long getTotalTestingHardware() {
        return totalTestingHardware;
    }

    public void setTotalTestingHardware(Long totalTestingHardware) {
        totalTestingHardwareSpecified = true;
        this.totalTestingHardware = totalTestingHardware;
    }

    protected boolean totalTestingHardwareSpecified;

    public boolean isTotalTestingHardwareSpecified() {
        return totalTestingHardwareSpecified;
    }

    public void unsetTotalTestingHardware() {
        totalTestingHardware = null;
        totalTestingHardwareSpecified = false;
    }

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

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

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

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

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

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

        public com.softlayer.api.service.container.hardware.pool.details.Router.Mask routers() {
            return withSubMask("routers", com.softlayer.api.service.container.hardware.pool.details.Router.Mask.class);
        }

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

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

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

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

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

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy