com.softlayer.api.service.integratedofferingteam.Region 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.integratedofferingteam;
import com.softlayer.api.ApiClient;
import com.softlayer.api.ResponseHandler;
import com.softlayer.api.annotation.ApiMethod;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.Entity;
import com.softlayer.api.service.integratedofferingteam.container.region.Lead;
import java.util.List;
import java.util.concurrent.Future;
/**
* This class represents an Integrated Offering Team region.
*
* @see IntegratedOfferingTeam_Region
*/
@ApiType("IntegratedOfferingTeam_Region")
public class Region extends Entity {
public static Service service(ApiClient client) {
return client.createService(Service.class, null);
}
/**
* This class represents an Integrated Offering Team region.
*
* @see IntegratedOfferingTeam_Region
*/
@com.softlayer.api.annotation.ApiService("IntegratedOfferingTeam_Region")
public static interface Service extends com.softlayer.api.Service {
public ServiceAsync asAsync();
public Mask withNewMask();
public Mask withMask();
public void setMask(Mask mask);
/**
* Returns a list of all Integrated Offering Team regions. Note that this method, despite being visible, is not accessible by customers and attempting to use it will result in an error response.
*
* @see IntegratedOfferingTeam_Region::getAllObjects
*/
@ApiMethod
public List getAllObjects();
/**
* Returns a list of all Integrated Offering Team region leads. Note that this method, despite being visible, is not accessible by customers and attempting to use it will result in an error response.
*
* @see IntegratedOfferingTeam_Region::getRegionLeads
*/
@ApiMethod
public List getRegionLeads();
}
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#getAllObjects}
*/
public Future> getAllObjects();
public Future> getAllObjects(ResponseHandler> callback);
/**
* Async version of {@link Service#getRegionLeads}
*/
public Future> getRegionLeads();
public Future> getRegionLeads(ResponseHandler> callback);
}
public static class Mask extends com.softlayer.api.service.Entity.Mask {
}
}