com.softlayer.api.service.user.customer.Prospect 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.user.customer;
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.billing.order.Quote;
import com.softlayer.api.service.user.Employee;
import com.softlayer.api.service.user.customer.prospect.Type;
import java.util.ArrayList;
import java.util.List;
/**
* @see SoftLayer_User_Customer_Prospect
*/
@ApiType("SoftLayer_User_Customer_Prospect")
public class Prospect extends Entity {
@ApiProperty
protected Account account;
public Account getAccount() {
return account;
}
public void setAccount(Account account) {
this.account = account;
}
@ApiProperty
protected List assignedEmployees;
public List getAssignedEmployees() {
if (assignedEmployees == null) {
assignedEmployees = new ArrayList();
}
return assignedEmployees;
}
@ApiProperty
protected List quotes;
public List getQuotes() {
if (quotes == null) {
quotes = new ArrayList();
}
return quotes;
}
@ApiProperty
protected Type type;
public Type getType() {
return type;
}
public void setType(Type type) {
this.type = type;
}
/**
* A count of
*/
@ApiProperty
protected Long assignedEmployeeCount;
public Long getAssignedEmployeeCount() {
return assignedEmployeeCount;
}
public void setAssignedEmployeeCount(Long assignedEmployeeCount) {
this.assignedEmployeeCount = assignedEmployeeCount;
}
/**
* A count of
*/
@ApiProperty
protected Long quoteCount;
public Long getQuoteCount() {
return quoteCount;
}
public void setQuoteCount(Long quoteCount) {
this.quoteCount = quoteCount;
}
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.user.Employee.Mask assignedEmployees() {
return withSubMask("assignedEmployees", com.softlayer.api.service.user.Employee.Mask.class);
}
public com.softlayer.api.service.billing.order.Quote.Mask quotes() {
return withSubMask("quotes", com.softlayer.api.service.billing.order.Quote.Mask.class);
}
public com.softlayer.api.service.user.customer.prospect.Type.Mask type() {
return withSubMask("type", com.softlayer.api.service.user.customer.prospect.Type.Mask.class);
}
public Mask assignedEmployeeCount() {
withLocalProperty("assignedEmployeeCount");
return this;
}
public Mask quoteCount() {
withLocalProperty("quoteCount");
return this;
}
}
}