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

com.softlayer.api.service.workload.citrix.Client Maven / Gradle / Ivy

The newest version!
package com.softlayer.api.service.workload.citrix;

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.workload.citrix.Request;
import com.softlayer.api.service.workload.citrix.client.Response;
import java.util.concurrent.Future;

/**
 * The SoftLayer_Workload_Citrix_Client data type contains functionality to validate a Citrix account. 
 *
 * @see SoftLayer_Workload_Citrix_Client
 */
@ApiType("SoftLayer_Workload_Citrix_Client")
public class Client extends Entity {

    public static Service service(ApiClient client) {
        return client.createService(Service.class, null);
    }

    /**
     * The SoftLayer_Workload_Citrix_Client data type contains functionality to validate a Citrix account. 
     *
     * @see SoftLayer_Workload_Citrix_Client
     */
    @com.softlayer.api.annotation.ApiService("SoftLayer_Workload_Citrix_Client")
    public static interface Service extends com.softlayer.api.Service {

        public ServiceAsync asAsync();
        public Mask withNewMask();
        public Mask withMask();
        public void setMask(Mask mask);

        /**
         * @see SoftLayer_Workload_Citrix_Client::createResourceLocation
         */
        @ApiMethod
        public Response createResourceLocation(Request citrixCredentials);

        /**
         * @see SoftLayer_Workload_Citrix_Client::getResourceLocations
         */
        @ApiMethod
        public Response getResourceLocations(Request citrixCredentials);

        /**
         * @see SoftLayer_Workload_Citrix_Client::validateCitrixCredentials
         */
        @ApiMethod
        public Response validateCitrixCredentials(Request citrixCredentials);

    }

    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#createResourceLocation}
         */
        public Future createResourceLocation(Request citrixCredentials);

        public Future createResourceLocation(Request citrixCredentials, ResponseHandler callback);

        /**
         * Async version of {@link Service#getResourceLocations}
         */
        public Future getResourceLocations(Request citrixCredentials);

        public Future getResourceLocations(Request citrixCredentials, ResponseHandler callback);

        /**
         * Async version of {@link Service#validateCitrixCredentials}
         */
        public Future validateCitrixCredentials(Request citrixCredentials);

        public Future validateCitrixCredentials(Request citrixCredentials, ResponseHandler callback);

    }

    public static class Mask extends com.softlayer.api.service.Entity.Mask {

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy