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

com.softlayer.api.service.hardware.Firewall Maven / Gradle / Ivy

The newest version!
package com.softlayer.api.service.hardware;

import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.hardware.Switch;
import com.softlayer.api.service.user.Customer;
import java.util.ArrayList;
import java.util.List;

/**
 * The SoftLayer_Hardware_Firewall data type contains general information relating to a single SoftLayer firewall. 
 *
 * @see SoftLayer_Hardware_Firewall
 */
@ApiType("SoftLayer_Hardware_Firewall")
public class Firewall extends Switch {

    /**
     * A list of users that have access to this hardware firewall.
     */
    @ApiProperty
    protected List users;

    public List getUsers() {
        if (users == null) {
            users = new ArrayList();
        }
        return users;
    }

    /**
     * A count of a list of users that have access to this hardware firewall.
     */
    @ApiProperty
    protected Long userCount;

    public Long getUserCount() {
        return userCount;
    }

    public void setUserCount(Long userCount) {
        this.userCount = userCount;
    }

    public static class Mask extends Switch.Mask {

        public com.softlayer.api.service.user.Customer.Mask users() {
            return withSubMask("users", com.softlayer.api.service.user.Customer.Mask.class);
        }

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

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy