com.softlayer.api.service.bluepages.Search 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.bluepages;
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.bluepages.container.EmployeeProfile;
import java.util.concurrent.Future;
/**
* Searched BluePages for an employee and returns a container representing the employee.
*
* @see BluePages_Search
*/
@ApiType("BluePages_Search")
public class Search extends Entity {
public static Service service(ApiClient client) {
return client.createService(Service.class, null);
}
/**
* Searched BluePages for an employee and returns a container representing the employee.
*
* @see BluePages_Search
*/
@com.softlayer.api.annotation.ApiService("BluePages_Search")
public static interface Service extends com.softlayer.api.Service {
public ServiceAsync asAsync();
public Mask withNewMask();
public Mask withMask();
public void setMask(Mask mask);
/**
* Given an IBM email address, searches BluePages and returns the employee's details
*
* @see BluePages_Search::findBluePagesProfile
*/
@ApiMethod
public EmployeeProfile findBluePagesProfile(String emailAddress);
}
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#findBluePagesProfile}
*/
public Future findBluePagesProfile(String emailAddress);
public Future> findBluePagesProfile(String emailAddress, ResponseHandler callback);
}
public static class Mask extends com.softlayer.api.service.Entity.Mask {
}
}