com.softlayer.api.service.network.protection.Address 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.protection;
import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.Account;
import com.softlayer.api.service.Entity;
import com.softlayer.api.service.Location;
import com.softlayer.api.service.Ticket;
import com.softlayer.api.service.hardware.Router;
import com.softlayer.api.service.network.Subnet;
import com.softlayer.api.service.network.subnet.IpAddress;
import com.softlayer.api.service.provisioning.version1.Transaction;
import com.softlayer.api.service.service.Provider;
import com.softlayer.api.service.user.Employee;
import com.softlayer.api.service.user.employee.Department;
import java.util.ArrayList;
import java.util.List;
/**
* @see SoftLayer_Network_Protection_Address
*/
@ApiType("SoftLayer_Network_Protection_Address")
public class Address extends Entity {
@ApiProperty
protected Account account;
public Account getAccount() {
return account;
}
public void setAccount(Account account) {
this.account = account;
}
@ApiProperty
protected Location location;
public Location getLocation() {
return location;
}
public void setLocation(Location location) {
this.location = location;
}
@ApiProperty
protected Employee modifiedUser;
public Employee getModifiedUser() {
return modifiedUser;
}
public void setModifiedUser(Employee modifiedUser) {
this.modifiedUser = modifiedUser;
}
@ApiProperty
protected Router primaryRouter;
public Router getPrimaryRouter() {
return primaryRouter;
}
public void setPrimaryRouter(Router primaryRouter) {
this.primaryRouter = primaryRouter;
}
@ApiProperty
protected Provider serviceProvider;
public Provider getServiceProvider() {
return serviceProvider;
}
public void setServiceProvider(Provider serviceProvider) {
this.serviceProvider = serviceProvider;
}
@ApiProperty
protected Subnet subnet;
public Subnet getSubnet() {
return subnet;
}
public void setSubnet(Subnet subnet) {
this.subnet = subnet;
}
@ApiProperty
protected IpAddress subnetIpAddress;
public IpAddress getSubnetIpAddress() {
return subnetIpAddress;
}
public void setSubnetIpAddress(IpAddress subnetIpAddress) {
this.subnetIpAddress = subnetIpAddress;
}
@ApiProperty
protected Employee terminatedUser;
public Employee getTerminatedUser() {
return terminatedUser;
}
public void setTerminatedUser(Employee terminatedUser) {
this.terminatedUser = terminatedUser;
}
@ApiProperty
protected Ticket ticket;
public Ticket getTicket() {
return ticket;
}
public void setTicket(Ticket ticket) {
this.ticket = ticket;
}
@ApiProperty
protected List transactions;
public List getTransactions() {
if (transactions == null) {
transactions = new ArrayList();
}
return transactions;
}
@ApiProperty
protected Department userDepartment;
public Department getUserDepartment() {
return userDepartment;
}
public void setUserDepartment(Department userDepartment) {
this.userDepartment = userDepartment;
}
@ApiProperty
protected Employee userRecord;
public Employee getUserRecord() {
return userRecord;
}
public void setUserRecord(Employee userRecord) {
this.userRecord = userRecord;
}
@ApiProperty(canBeNullOrNotSet = true)
protected Long departmentId;
public Long getDepartmentId() {
return departmentId;
}
public void setDepartmentId(Long departmentId) {
departmentIdSpecified = true;
this.departmentId = departmentId;
}
protected boolean departmentIdSpecified;
public boolean isDepartmentIdSpecified() {
return departmentIdSpecified;
}
public void unsetDepartmentId() {
departmentId = null;
departmentIdSpecified = false;
}
@ApiProperty(canBeNullOrNotSet = true)
protected String ipAddress;
public String getIpAddress() {
return ipAddress;
}
public void setIpAddress(String ipAddress) {
ipAddressSpecified = true;
this.ipAddress = ipAddress;
}
protected boolean ipAddressSpecified;
public boolean isIpAddressSpecified() {
return ipAddressSpecified;
}
public void unsetIpAddress() {
ipAddress = null;
ipAddressSpecified = false;
}
@ApiProperty(canBeNullOrNotSet = true)
protected String managementMethodType;
public String getManagementMethodType() {
return managementMethodType;
}
public void setManagementMethodType(String managementMethodType) {
managementMethodTypeSpecified = true;
this.managementMethodType = managementMethodType;
}
protected boolean managementMethodTypeSpecified;
public boolean isManagementMethodTypeSpecified() {
return managementMethodTypeSpecified;
}
public void unsetManagementMethodType() {
managementMethodType = null;
managementMethodTypeSpecified = false;
}
/**
* A count of
*/
@ApiProperty
protected Long transactionCount;
public Long getTransactionCount() {
return transactionCount;
}
public void setTransactionCount(Long transactionCount) {
this.transactionCount = transactionCount;
}
public static class Mask extends com.softlayer.api.service.Entity.Mask {
public com.softlayer.api.service.Account.Mask account() {
return withSubMask("account", com.softlayer.api.service.Account.Mask.class);
}
public com.softlayer.api.service.Location.Mask location() {
return withSubMask("location", com.softlayer.api.service.Location.Mask.class);
}
public com.softlayer.api.service.user.Employee.Mask modifiedUser() {
return withSubMask("modifiedUser", com.softlayer.api.service.user.Employee.Mask.class);
}
public com.softlayer.api.service.hardware.Router.Mask primaryRouter() {
return withSubMask("primaryRouter", com.softlayer.api.service.hardware.Router.Mask.class);
}
public com.softlayer.api.service.service.Provider.Mask serviceProvider() {
return withSubMask("serviceProvider", com.softlayer.api.service.service.Provider.Mask.class);
}
public com.softlayer.api.service.network.Subnet.Mask subnet() {
return withSubMask("subnet", com.softlayer.api.service.network.Subnet.Mask.class);
}
public com.softlayer.api.service.network.subnet.IpAddress.Mask subnetIpAddress() {
return withSubMask("subnetIpAddress", com.softlayer.api.service.network.subnet.IpAddress.Mask.class);
}
public com.softlayer.api.service.user.Employee.Mask terminatedUser() {
return withSubMask("terminatedUser", com.softlayer.api.service.user.Employee.Mask.class);
}
public com.softlayer.api.service.Ticket.Mask ticket() {
return withSubMask("ticket", com.softlayer.api.service.Ticket.Mask.class);
}
public com.softlayer.api.service.provisioning.version1.Transaction.Mask transactions() {
return withSubMask("transactions", com.softlayer.api.service.provisioning.version1.Transaction.Mask.class);
}
public com.softlayer.api.service.user.employee.Department.Mask userDepartment() {
return withSubMask("userDepartment", com.softlayer.api.service.user.employee.Department.Mask.class);
}
public com.softlayer.api.service.user.Employee.Mask userRecord() {
return withSubMask("userRecord", com.softlayer.api.service.user.Employee.Mask.class);
}
public Mask departmentId() {
withLocalProperty("departmentId");
return this;
}
public Mask ipAddress() {
withLocalProperty("ipAddress");
return this;
}
public Mask managementMethodType() {
withLocalProperty("managementMethodType");
return this;
}
public Mask transactionCount() {
withLocalProperty("transactionCount");
return this;
}
}
}