com.softlayer.api.service.hardware.Firewall 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.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;
}
}
}