All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.softlayer.api.service.bluepages.Search Maven / Gradle / Ivy

There is a newer version: 0.3.4
Show newest version
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 {

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy