com.softlayer.api.service.Brand 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;
import com.softlayer.api.ApiClient;
import com.softlayer.api.ResponseHandler;
import com.softlayer.api.annotation.ApiMethod;
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.Hardware;
import com.softlayer.api.service.Ticket;
import com.softlayer.api.service.brand.Contact;
import com.softlayer.api.service.brand.business.Partner;
import com.softlayer.api.service.brand.restriction.location.CustomerCountry;
import com.softlayer.api.service.product.Catalog;
import com.softlayer.api.service.security.Level;
import com.softlayer.api.service.ticket.Group;
import com.softlayer.api.service.ticket.Subject;
import com.softlayer.api.service.user.Customer;
import com.softlayer.api.service.virtual.Guest;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.Future;
/**
* The SoftLayer_Brand data type contains brand information relating to the single SoftLayer customer account.
*
* IBM Cloud Infrastructure customers are unable to change their brand information in the portal or the API.
*
* @see SoftLayer_Brand
*/
@ApiType("SoftLayer_Brand")
public class Brand extends Entity {
@ApiProperty
protected Account account;
public Account getAccount() {
return account;
}
public void setAccount(Account account) {
this.account = account;
}
/**
* All accounts owned by the brand.
*/
@ApiProperty
protected List allOwnedAccounts;
public List getAllOwnedAccounts() {
if (allOwnedAccounts == null) {
allOwnedAccounts = new ArrayList();
}
return allOwnedAccounts;
}
/**
* This flag indicates if creation of accounts is allowed.
*/
@ApiProperty
protected Boolean allowAccountCreationFlag;
public Boolean getAllowAccountCreationFlag() {
return allowAccountCreationFlag;
}
public void setAllowAccountCreationFlag(Boolean allowAccountCreationFlag) {
this.allowAccountCreationFlag = allowAccountCreationFlag;
}
/**
* Business Partner details for the brand. Country Enterprise Code, Channel, Segment, Reseller Level.
*/
@ApiProperty
protected Partner businessPartner;
public Partner getBusinessPartner() {
return businessPartner;
}
public void setBusinessPartner(Partner businessPartner) {
this.businessPartner = businessPartner;
}
/**
* Flag indicating if the brand is a business partner.
*/
@ApiProperty
protected Boolean businessPartnerFlag;
public Boolean getBusinessPartnerFlag() {
return businessPartnerFlag;
}
public void setBusinessPartnerFlag(Boolean businessPartnerFlag) {
this.businessPartnerFlag = businessPartnerFlag;
}
/**
* The Product Catalog for the Brand
*/
@ApiProperty
protected Catalog catalog;
public Catalog getCatalog() {
return catalog;
}
public void setCatalog(Catalog catalog) {
this.catalog = catalog;
}
/**
* The contacts for the brand.
*/
@ApiProperty
protected List contacts;
public List getContacts() {
if (contacts == null) {
contacts = new ArrayList();
}
return contacts;
}
/**
* This references relationship between brands, locations and countries associated with a user's account that are ineligible when ordering products. For example, the India datacenter may not be available on this brand for customers that live in Great Britain.
*/
@ApiProperty
protected List customerCountryLocationRestrictions;
public List getCustomerCountryLocationRestrictions() {
if (customerCountryLocationRestrictions == null) {
customerCountryLocationRestrictions = new ArrayList();
}
return customerCountryLocationRestrictions;
}
@ApiProperty
protected Brand distributor;
public Brand getDistributor() {
return distributor;
}
public void setDistributor(Brand distributor) {
this.distributor = distributor;
}
@ApiProperty
protected Boolean distributorChildFlag;
public Boolean getDistributorChildFlag() {
return distributorChildFlag;
}
public void setDistributorChildFlag(Boolean distributorChildFlag) {
this.distributorChildFlag = distributorChildFlag;
}
@ApiProperty
protected String distributorFlag;
public String getDistributorFlag() {
return distributorFlag;
}
public void setDistributorFlag(String distributorFlag) {
this.distributorFlag = distributorFlag;
}
/**
* An account's associated hardware objects.
*/
@ApiProperty
protected List hardware;
public List getHardware() {
if (hardware == null) {
hardware = new ArrayList();
}
return hardware;
}
@ApiProperty
protected Boolean hasAgentAdvancedSupportFlag;
public Boolean getHasAgentAdvancedSupportFlag() {
return hasAgentAdvancedSupportFlag;
}
public void setHasAgentAdvancedSupportFlag(Boolean hasAgentAdvancedSupportFlag) {
this.hasAgentAdvancedSupportFlag = hasAgentAdvancedSupportFlag;
}
@ApiProperty
protected Boolean hasAgentSupportFlag;
public Boolean getHasAgentSupportFlag() {
return hasAgentSupportFlag;
}
public void setHasAgentSupportFlag(Boolean hasAgentSupportFlag) {
this.hasAgentSupportFlag = hasAgentSupportFlag;
}
@ApiProperty
protected List openTickets;
public List getOpenTickets() {
if (openTickets == null) {
openTickets = new ArrayList();
}
return openTickets;
}
/**
* Active accounts owned by the brand.
*/
@ApiProperty
protected List ownedAccounts;
public List getOwnedAccounts() {
if (ownedAccounts == null) {
ownedAccounts = new ArrayList();
}
return ownedAccounts;
}
@ApiProperty
protected Level securityLevel;
public Level getSecurityLevel() {
return securityLevel;
}
public void setSecurityLevel(Level securityLevel) {
this.securityLevel = securityLevel;
}
@ApiProperty
protected List ticketGroups;
public List getTicketGroups() {
if (ticketGroups == null) {
ticketGroups = new ArrayList();
}
return ticketGroups;
}
@ApiProperty
protected List tickets;
public List getTickets() {
if (tickets == null) {
tickets = new ArrayList();
}
return tickets;
}
@ApiProperty
protected List users;
public List getUsers() {
if (users == null) {
users = new ArrayList();
}
return users;
}
/**
* An account's associated virtual guest objects.
*/
@ApiProperty
protected List virtualGuests;
public List getVirtualGuests() {
if (virtualGuests == null) {
virtualGuests = new ArrayList();
}
return virtualGuests;
}
/**
* ID of the Catalog used by this Brand
*/
@ApiProperty(canBeNullOrNotSet = true)
protected Long catalogId;
public Long getCatalogId() {
return catalogId;
}
public void setCatalogId(Long catalogId) {
catalogIdSpecified = true;
this.catalogId = catalogId;
}
protected boolean catalogIdSpecified;
public boolean isCatalogIdSpecified() {
return catalogIdSpecified;
}
public void unsetCatalogId() {
catalogId = null;
catalogIdSpecified = false;
}
@ApiProperty(canBeNullOrNotSet = true)
protected Long id;
public Long getId() {
return id;
}
public void setId(Long id) {
idSpecified = true;
this.id = id;
}
protected boolean idSpecified;
public boolean isIdSpecified() {
return idSpecified;
}
public void unsetId() {
id = null;
idSpecified = false;
}
/**
* The brand key name.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected String keyName;
public String getKeyName() {
return keyName;
}
public void setKeyName(String keyName) {
keyNameSpecified = true;
this.keyName = keyName;
}
protected boolean keyNameSpecified;
public boolean isKeyNameSpecified() {
return keyNameSpecified;
}
public void unsetKeyName() {
keyName = null;
keyNameSpecified = false;
}
/**
* The brand long name.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected String longName;
public String getLongName() {
return longName;
}
public void setLongName(String longName) {
longNameSpecified = true;
this.longName = longName;
}
protected boolean longNameSpecified;
public boolean isLongNameSpecified() {
return longNameSpecified;
}
public void unsetLongName() {
longName = null;
longNameSpecified = false;
}
/**
* The brand name.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected String name;
public String getName() {
return name;
}
public void setName(String name) {
nameSpecified = true;
this.name = name;
}
protected boolean nameSpecified;
public boolean isNameSpecified() {
return nameSpecified;
}
public void unsetName() {
name = null;
nameSpecified = false;
}
/**
* A count of all accounts owned by the brand.
*/
@ApiProperty
protected Long allOwnedAccountCount;
public Long getAllOwnedAccountCount() {
return allOwnedAccountCount;
}
public void setAllOwnedAccountCount(Long allOwnedAccountCount) {
this.allOwnedAccountCount = allOwnedAccountCount;
}
/**
* A count of the contacts for the brand.
*/
@ApiProperty
protected Long contactCount;
public Long getContactCount() {
return contactCount;
}
public void setContactCount(Long contactCount) {
this.contactCount = contactCount;
}
/**
* A count of this references relationship between brands, locations and countries associated with a user's account that are ineligible when ordering products. For example, the India datacenter may not be available on this brand for customers that live in Great Britain.
*/
@ApiProperty
protected Long customerCountryLocationRestrictionCount;
public Long getCustomerCountryLocationRestrictionCount() {
return customerCountryLocationRestrictionCount;
}
public void setCustomerCountryLocationRestrictionCount(Long customerCountryLocationRestrictionCount) {
this.customerCountryLocationRestrictionCount = customerCountryLocationRestrictionCount;
}
/**
* A count of an account's associated hardware objects.
*/
@ApiProperty
protected Long hardwareCount;
public Long getHardwareCount() {
return hardwareCount;
}
public void setHardwareCount(Long hardwareCount) {
this.hardwareCount = hardwareCount;
}
/**
* A count of
*/
@ApiProperty
protected Long openTicketCount;
public Long getOpenTicketCount() {
return openTicketCount;
}
public void setOpenTicketCount(Long openTicketCount) {
this.openTicketCount = openTicketCount;
}
/**
* A count of active accounts owned by the brand.
*/
@ApiProperty
protected Long ownedAccountCount;
public Long getOwnedAccountCount() {
return ownedAccountCount;
}
public void setOwnedAccountCount(Long ownedAccountCount) {
this.ownedAccountCount = ownedAccountCount;
}
/**
* A count of
*/
@ApiProperty
protected Long ticketCount;
public Long getTicketCount() {
return ticketCount;
}
public void setTicketCount(Long ticketCount) {
this.ticketCount = ticketCount;
}
/**
* A count of
*/
@ApiProperty
protected Long ticketGroupCount;
public Long getTicketGroupCount() {
return ticketGroupCount;
}
public void setTicketGroupCount(Long ticketGroupCount) {
this.ticketGroupCount = ticketGroupCount;
}
/**
* A count of
*/
@ApiProperty
protected Long userCount;
public Long getUserCount() {
return userCount;
}
public void setUserCount(Long userCount) {
this.userCount = userCount;
}
/**
* A count of an account's associated virtual guest objects.
*/
@ApiProperty
protected Long virtualGuestCount;
public Long getVirtualGuestCount() {
return virtualGuestCount;
}
public void setVirtualGuestCount(Long virtualGuestCount) {
this.virtualGuestCount = virtualGuestCount;
}
public Service asService(ApiClient client) {
return service(client, id);
}
public static Service service(ApiClient client) {
return client.createService(Service.class, null);
}
public static Service service(ApiClient client, Long id) {
return client.createService(Service.class, id == null ? null : id.toString());
}
/**
* Every IBM Cloud Infrastructure customer account is associated to a brand.
*
* IBM Cloud Infrastructure customers are unable to change their brand information in the portal or the API.
*
* @see SoftLayer_Brand
*/
@com.softlayer.api.annotation.ApiService("SoftLayer_Brand")
public static interface Service extends com.softlayer.api.Service {
public ServiceAsync asAsync();
public Mask withNewMask();
public Mask withMask();
public void setMask(Mask mask);
/**
* Create a new customer account record. By default, the newly created account will be associated to a platform (PaaS) account. To skip the automatic creation and linking to a new platform account, set the bluemixLinkedFlag to false on the account template.
*
* @see SoftLayer_Brand::createCustomerAccount
*/
@ApiMethod
public Account createCustomerAccount(Account account, Boolean bypassDuplicateAccountCheck);
/**
*
* createObject() allows the creation of a new brand. This will also create an `account`
* to serve as the owner of the brand.
*
*
* In order to create a brand, a template object must be sent in with several required values.
*
*
* ### Input [[SoftLayer_Brand]]
*
*
*
* - `name`
* + Name of brand
* + Required
* + Type: string
* - `keyName`
* + Reference key name
* + Required
* + Type: string
* - `longName`
* + More descriptive name of brand
* + Required
* + Type: string
* - `account.firstName`
* + First Name of account contact
* + Required
* + Type: string
* - `account.lastName`
* + Last Name of account contact
* + Required
* + Type: string
* - `account.address1`
* + Street Address of company
* + Required
* + Type: string
* - `account.address2`
* + Street Address of company
* + Optional
* + Type: string
* - `account.city`
* + City of company
* + Required
* + Type: string
* - `account.state`
* + State of company (if applicable)
* + Conditionally Required
* + Type: string
* - `account.postalCode`
* + Postal Code of company
* + Required
* + Type: string
* - `account.country`
* + Country of company
* + Required
* + Type: string
* - `account.officePhone`
* + Office Phone number of Company
* + Required
* + Type: string
* - `account.alternatePhone`
* + Alternate Phone number of Company
* + Optional
* + Type: string
* - `account.companyName`
* + Name of company
* + Required
* + Type: string
* - `account.email`
* + Email address of account contact
* + Required
* + Type: string
*
*
* REST Example:
* ```
* curl -X POST -d '{
* "parameters":[{
* "name": "Brand Corp",
* "keyName": "BRAND_CORP",
* "longName": "Brand Corporation",
* "account": {
* "firstName": "Gloria",
* "lastName": "Brand",
* "address1": "123 Drive",
* "city": "Boston",
* "state": "MA",
* "postalCode": "02107",
* "country": "US",
* "companyName": "Brand Corp",
* "officePhone": "857-111-1111",
* "email": "[email protected]"
* }
* }]
* }' https://api.softlayer.com/rest/v3.1/SoftLayer_Brand/createObject.json
* ```
*
* @see SoftLayer_Brand::createObject
*/
@ApiMethod
public Brand createObject(Brand templateObject);
/**
* Disable an account associated with this Brand. Anything that would disqualify the account from being disabled will cause an exception to be raised.
*
* @see SoftLayer_Brand::disableAccount
*/
@ApiMethod(instanceRequired = true)
public Void disableAccount(Long accountId);
/**
* (DEPRECATED) Use [[SoftLayer_Ticket_Subject::getAllObjects]] method.
*
* @see SoftLayer_Brand::getAllTicketSubjects
*/
@ApiMethod(instanceRequired = true)
public List getAllTicketSubjects(Account account);
/**
* Retrieve the contact information for the brand such as the corporate or support contact. This will include the contact name, telephone number, fax number, email address, and mailing address of the contact.
*
* @see SoftLayer_Brand::getContactInformation
*/
@ApiMethod(instanceRequired = true)
public List getContactInformation();
/**
* Get the payment processor merchant name.
*
* @see SoftLayer_Brand::getMerchantName
*/
@ApiMethod(instanceRequired = true)
public String getMerchantName();
/**
* @see SoftLayer_Brand::getObject
*/
@ApiMethod(instanceRequired = true)
public Brand getObject();
/**
* (DEPRECATED) Use [[SoftLayer_User_Customer::getImpersonationToken]] method.
*
* @see SoftLayer_Brand::getToken
*/
@ApiMethod(instanceRequired = true)
public String getToken(Long userId);
/**
* Check if the brand is IBM SLIC top level brand or sub brand.
*
* @see SoftLayer_Brand::isIbmSlicBrand
*/
@ApiMethod(instanceRequired = true)
public Boolean isIbmSlicBrand();
/**
* Check if the alternate billing system of brand is Bluemix.
*
* @see SoftLayer_Brand::isPlatformServicesBrand
*/
@ApiMethod(instanceRequired = true)
public Boolean isPlatformServicesBrand();
/**
* Reactivate an account associated with this Brand. Anything that would disqualify the account from being reactivated will cause an exception to be raised.
*
* @see SoftLayer_Brand::reactivateAccount
*/
@ApiMethod(instanceRequired = true)
public Void reactivateAccount(Long accountId);
/**
* Verify that an account may be disabled by a Brand Agent. Anything that would disqualify the account from being disabled will cause an exception to be raised.
*
* @see SoftLayer_Brand::verifyCanDisableAccount
*/
@ApiMethod(instanceRequired = true)
public Void verifyCanDisableAccount(Long accountId);
/**
* Verify that an account may be reactivated by a Brand Agent. Anything that would disqualify the account from being reactivated will cause an exception to be raised.
*
* @see SoftLayer_Brand::verifyCanReactivateAccount
*/
@ApiMethod(instanceRequired = true)
public Void verifyCanReactivateAccount(Long accountId);
/**
* @see SoftLayer_Brand::getAccount
*/
@ApiMethod(instanceRequired = true)
public Account getAccount();
/**
* All accounts owned by the brand.
*
* @see SoftLayer_Brand::getAllOwnedAccounts
*/
@ApiMethod(instanceRequired = true)
public List getAllOwnedAccounts();
/**
* This flag indicates if creation of accounts is allowed.
*
* @see SoftLayer_Brand::getAllowAccountCreationFlag
*/
@ApiMethod(instanceRequired = true)
public Boolean getAllowAccountCreationFlag();
/**
* Business Partner details for the brand. Country Enterprise Code, Channel, Segment, Reseller Level.
*
* @see SoftLayer_Brand::getBusinessPartner
*/
@ApiMethod(instanceRequired = true)
public Partner getBusinessPartner();
/**
* Flag indicating if the brand is a business partner.
*
* @see SoftLayer_Brand::getBusinessPartnerFlag
*/
@ApiMethod(instanceRequired = true)
public Boolean getBusinessPartnerFlag();
/**
* The Product Catalog for the Brand
*
* @see SoftLayer_Brand::getCatalog
*/
@ApiMethod(instanceRequired = true)
public Catalog getCatalog();
/**
* The contacts for the brand.
*
* @see SoftLayer_Brand::getContacts
*/
@ApiMethod(instanceRequired = true)
public List getContacts();
/**
* This references relationship between brands, locations and countries associated with a user's account that are ineligible when ordering products. For example, the India datacenter may not be available on this brand for customers that live in Great Britain.
*
* @see SoftLayer_Brand::getCustomerCountryLocationRestrictions
*/
@ApiMethod(instanceRequired = true)
public List getCustomerCountryLocationRestrictions();
/**
* @see SoftLayer_Brand::getDistributor
*/
@ApiMethod(instanceRequired = true)
public Brand getDistributor();
/**
* @see SoftLayer_Brand::getDistributorChildFlag
*/
@ApiMethod(instanceRequired = true)
public Boolean getDistributorChildFlag();
/**
* @see SoftLayer_Brand::getDistributorFlag
*/
@ApiMethod(instanceRequired = true)
public String getDistributorFlag();
/**
* An account's associated hardware objects.
*
* @see SoftLayer_Brand::getHardware
*/
@ApiMethod(instanceRequired = true)
public List getHardware();
/**
* @see SoftLayer_Brand::getHasAgentAdvancedSupportFlag
*/
@ApiMethod(instanceRequired = true)
public Boolean getHasAgentAdvancedSupportFlag();
/**
* @see SoftLayer_Brand::getHasAgentSupportFlag
*/
@ApiMethod(instanceRequired = true)
public Boolean getHasAgentSupportFlag();
/**
* @see SoftLayer_Brand::getOpenTickets
*/
@ApiMethod(instanceRequired = true)
public List getOpenTickets();
/**
* Active accounts owned by the brand.
*
* @see SoftLayer_Brand::getOwnedAccounts
*/
@ApiMethod(instanceRequired = true)
public List getOwnedAccounts();
/**
* @see SoftLayer_Brand::getSecurityLevel
*/
@ApiMethod(instanceRequired = true)
public Level getSecurityLevel();
/**
* @see SoftLayer_Brand::getTicketGroups
*/
@ApiMethod(instanceRequired = true)
public List getTicketGroups();
/**
* @see SoftLayer_Brand::getTickets
*/
@ApiMethod(instanceRequired = true)
public List getTickets();
/**
* @see SoftLayer_Brand::getUsers
*/
@ApiMethod(instanceRequired = true)
public List getUsers();
/**
* An account's associated virtual guest objects.
*
* @see SoftLayer_Brand::getVirtualGuests
*/
@ApiMethod(instanceRequired = true)
public List getVirtualGuests();
}
public static interface ServiceAsync extends com.softlayer.api.ServiceAsync {
public Mask withNewMask();
public Mask withMask();
public void setMask(Mask mask);
/**
* Async version of {@link Service#createCustomerAccount}
*/
public Future createCustomerAccount(Account account, Boolean bypassDuplicateAccountCheck);
public Future> createCustomerAccount(Account account, Boolean bypassDuplicateAccountCheck, ResponseHandler callback);
/**
* Async version of {@link Service#createObject}
*/
public Future createObject(Brand templateObject);
public Future> createObject(Brand templateObject, ResponseHandler callback);
/**
* Async version of {@link Service#disableAccount}
*/
public Future disableAccount(Long accountId);
public Future> disableAccount(Long accountId, ResponseHandler callback);
/**
* Async version of {@link Service#getAllTicketSubjects}
*/
public Future> getAllTicketSubjects(Account account);
public Future> getAllTicketSubjects(Account account, ResponseHandler> callback);
/**
* Async version of {@link Service#getContactInformation}
*/
public Future> getContactInformation();
public Future> getContactInformation(ResponseHandler> callback);
/**
* Async version of {@link Service#getMerchantName}
*/
public Future getMerchantName();
public Future> getMerchantName(ResponseHandler callback);
/**
* Async version of {@link Service#getObject}
*/
public Future getObject();
public Future> getObject(ResponseHandler callback);
/**
* Async version of {@link Service#getToken}
*/
public Future getToken(Long userId);
public Future> getToken(Long userId, ResponseHandler callback);
/**
* Async version of {@link Service#isIbmSlicBrand}
*/
public Future isIbmSlicBrand();
public Future> isIbmSlicBrand(ResponseHandler callback);
/**
* Async version of {@link Service#isPlatformServicesBrand}
*/
public Future isPlatformServicesBrand();
public Future> isPlatformServicesBrand(ResponseHandler callback);
/**
* Async version of {@link Service#reactivateAccount}
*/
public Future reactivateAccount(Long accountId);
public Future> reactivateAccount(Long accountId, ResponseHandler callback);
/**
* Async version of {@link Service#verifyCanDisableAccount}
*/
public Future verifyCanDisableAccount(Long accountId);
public Future> verifyCanDisableAccount(Long accountId, ResponseHandler callback);
/**
* Async version of {@link Service#verifyCanReactivateAccount}
*/
public Future verifyCanReactivateAccount(Long accountId);
public Future> verifyCanReactivateAccount(Long accountId, ResponseHandler callback);
/**
* Async version of {@link Service#getAccount}
*/
public Future getAccount();
/**
* Async callback version of {@link Service#getAccount}
*/
public Future> getAccount(ResponseHandler callback);
/**
* Async version of {@link Service#getAllOwnedAccounts}
*/
public Future> getAllOwnedAccounts();
/**
* Async callback version of {@link Service#getAllOwnedAccounts}
*/
public Future> getAllOwnedAccounts(ResponseHandler> callback);
/**
* Async version of {@link Service#getAllowAccountCreationFlag}
*/
public Future getAllowAccountCreationFlag();
/**
* Async callback version of {@link Service#getAllowAccountCreationFlag}
*/
public Future> getAllowAccountCreationFlag(ResponseHandler callback);
/**
* Async version of {@link Service#getBusinessPartner}
*/
public Future getBusinessPartner();
/**
* Async callback version of {@link Service#getBusinessPartner}
*/
public Future> getBusinessPartner(ResponseHandler callback);
/**
* Async version of {@link Service#getBusinessPartnerFlag}
*/
public Future getBusinessPartnerFlag();
/**
* Async callback version of {@link Service#getBusinessPartnerFlag}
*/
public Future> getBusinessPartnerFlag(ResponseHandler callback);
/**
* Async version of {@link Service#getCatalog}
*/
public Future getCatalog();
/**
* Async callback version of {@link Service#getCatalog}
*/
public Future> getCatalog(ResponseHandler callback);
/**
* Async version of {@link Service#getContacts}
*/
public Future> getContacts();
/**
* Async callback version of {@link Service#getContacts}
*/
public Future> getContacts(ResponseHandler> callback);
/**
* Async version of {@link Service#getCustomerCountryLocationRestrictions}
*/
public Future> getCustomerCountryLocationRestrictions();
/**
* Async callback version of {@link Service#getCustomerCountryLocationRestrictions}
*/
public Future> getCustomerCountryLocationRestrictions(ResponseHandler> callback);
/**
* Async version of {@link Service#getDistributor}
*/
public Future getDistributor();
/**
* Async callback version of {@link Service#getDistributor}
*/
public Future> getDistributor(ResponseHandler callback);
/**
* Async version of {@link Service#getDistributorChildFlag}
*/
public Future getDistributorChildFlag();
/**
* Async callback version of {@link Service#getDistributorChildFlag}
*/
public Future> getDistributorChildFlag(ResponseHandler callback);
/**
* Async version of {@link Service#getDistributorFlag}
*/
public Future getDistributorFlag();
/**
* Async callback version of {@link Service#getDistributorFlag}
*/
public Future> getDistributorFlag(ResponseHandler callback);
/**
* Async version of {@link Service#getHardware}
*/
public Future> getHardware();
/**
* Async callback version of {@link Service#getHardware}
*/
public Future> getHardware(ResponseHandler> callback);
/**
* Async version of {@link Service#getHasAgentAdvancedSupportFlag}
*/
public Future getHasAgentAdvancedSupportFlag();
/**
* Async callback version of {@link Service#getHasAgentAdvancedSupportFlag}
*/
public Future> getHasAgentAdvancedSupportFlag(ResponseHandler callback);
/**
* Async version of {@link Service#getHasAgentSupportFlag}
*/
public Future getHasAgentSupportFlag();
/**
* Async callback version of {@link Service#getHasAgentSupportFlag}
*/
public Future> getHasAgentSupportFlag(ResponseHandler callback);
/**
* Async version of {@link Service#getOpenTickets}
*/
public Future> getOpenTickets();
/**
* Async callback version of {@link Service#getOpenTickets}
*/
public Future> getOpenTickets(ResponseHandler> callback);
/**
* Async version of {@link Service#getOwnedAccounts}
*/
public Future> getOwnedAccounts();
/**
* Async callback version of {@link Service#getOwnedAccounts}
*/
public Future> getOwnedAccounts(ResponseHandler> callback);
/**
* Async version of {@link Service#getSecurityLevel}
*/
public Future getSecurityLevel();
/**
* Async callback version of {@link Service#getSecurityLevel}
*/
public Future> getSecurityLevel(ResponseHandler callback);
/**
* Async version of {@link Service#getTicketGroups}
*/
public Future> getTicketGroups();
/**
* Async callback version of {@link Service#getTicketGroups}
*/
public Future> getTicketGroups(ResponseHandler> callback);
/**
* Async version of {@link Service#getTickets}
*/
public Future> getTickets();
/**
* Async callback version of {@link Service#getTickets}
*/
public Future> getTickets(ResponseHandler> callback);
/**
* Async version of {@link Service#getUsers}
*/
public Future> getUsers();
/**
* Async callback version of {@link Service#getUsers}
*/
public Future> getUsers(ResponseHandler> callback);
/**
* Async version of {@link Service#getVirtualGuests}
*/
public Future> getVirtualGuests();
/**
* Async callback version of {@link Service#getVirtualGuests}
*/
public Future> getVirtualGuests(ResponseHandler> callback);
}
public static class Mask extends Entity.Mask {
public Account.Mask account() {
return withSubMask("account", Account.Mask.class);
}
public Account.Mask allOwnedAccounts() {
return withSubMask("allOwnedAccounts", Account.Mask.class);
}
public Mask allowAccountCreationFlag() {
withLocalProperty("allowAccountCreationFlag");
return this;
}
public com.softlayer.api.service.brand.business.Partner.Mask businessPartner() {
return withSubMask("businessPartner", com.softlayer.api.service.brand.business.Partner.Mask.class);
}
public Mask businessPartnerFlag() {
withLocalProperty("businessPartnerFlag");
return this;
}
public com.softlayer.api.service.product.Catalog.Mask catalog() {
return withSubMask("catalog", com.softlayer.api.service.product.Catalog.Mask.class);
}
public com.softlayer.api.service.brand.Contact.Mask contacts() {
return withSubMask("contacts", com.softlayer.api.service.brand.Contact.Mask.class);
}
public com.softlayer.api.service.brand.restriction.location.CustomerCountry.Mask customerCountryLocationRestrictions() {
return withSubMask("customerCountryLocationRestrictions", com.softlayer.api.service.brand.restriction.location.CustomerCountry.Mask.class);
}
public Brand.Mask distributor() {
return withSubMask("distributor", Brand.Mask.class);
}
public Mask distributorChildFlag() {
withLocalProperty("distributorChildFlag");
return this;
}
public Mask distributorFlag() {
withLocalProperty("distributorFlag");
return this;
}
public Hardware.Mask hardware() {
return withSubMask("hardware", Hardware.Mask.class);
}
public Mask hasAgentAdvancedSupportFlag() {
withLocalProperty("hasAgentAdvancedSupportFlag");
return this;
}
public Mask hasAgentSupportFlag() {
withLocalProperty("hasAgentSupportFlag");
return this;
}
public Ticket.Mask openTickets() {
return withSubMask("openTickets", Ticket.Mask.class);
}
public Account.Mask ownedAccounts() {
return withSubMask("ownedAccounts", Account.Mask.class);
}
public com.softlayer.api.service.security.Level.Mask securityLevel() {
return withSubMask("securityLevel", com.softlayer.api.service.security.Level.Mask.class);
}
public com.softlayer.api.service.ticket.Group.Mask ticketGroups() {
return withSubMask("ticketGroups", com.softlayer.api.service.ticket.Group.Mask.class);
}
public Ticket.Mask tickets() {
return withSubMask("tickets", Ticket.Mask.class);
}
public com.softlayer.api.service.user.Customer.Mask users() {
return withSubMask("users", com.softlayer.api.service.user.Customer.Mask.class);
}
public com.softlayer.api.service.virtual.Guest.Mask virtualGuests() {
return withSubMask("virtualGuests", com.softlayer.api.service.virtual.Guest.Mask.class);
}
public Mask catalogId() {
withLocalProperty("catalogId");
return this;
}
public Mask id() {
withLocalProperty("id");
return this;
}
public Mask keyName() {
withLocalProperty("keyName");
return this;
}
public Mask longName() {
withLocalProperty("longName");
return this;
}
public Mask name() {
withLocalProperty("name");
return this;
}
public Mask allOwnedAccountCount() {
withLocalProperty("allOwnedAccountCount");
return this;
}
public Mask contactCount() {
withLocalProperty("contactCount");
return this;
}
public Mask customerCountryLocationRestrictionCount() {
withLocalProperty("customerCountryLocationRestrictionCount");
return this;
}
public Mask hardwareCount() {
withLocalProperty("hardwareCount");
return this;
}
public Mask openTicketCount() {
withLocalProperty("openTicketCount");
return this;
}
public Mask ownedAccountCount() {
withLocalProperty("ownedAccountCount");
return this;
}
public Mask ticketCount() {
withLocalProperty("ticketCount");
return this;
}
public Mask ticketGroupCount() {
withLocalProperty("ticketGroupCount");
return this;
}
public Mask userCount() {
withLocalProperty("userCount");
return this;
}
public Mask virtualGuestCount() {
withLocalProperty("virtualGuestCount");
return this;
}
}
}