com.softlayer.api.service.ticket.Survey 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
The newest version!
package com.softlayer.api.service.ticket;
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 java.util.concurrent.Future;
/**
* @see SoftLayer_Ticket_Survey
*/
@ApiType("SoftLayer_Ticket_Survey")
public class Survey extends Entity {
public static Service service(ApiClient client) {
return client.createService(Service.class, null);
}
/**
* @see SoftLayer_Ticket_Survey
*/
@com.softlayer.api.annotation.ApiService("SoftLayer_Ticket_Survey")
public static interface Service extends com.softlayer.api.Service {
public ServiceAsync asAsync();
public Mask withNewMask();
public Mask withMask();
public void setMask(Mask mask);
/**
* (DEPRECATED) To opt in or out of future surveys, please follow the link found in the email survey.
*
* @see SoftLayer_Ticket_Survey::getPreference
*/
@Deprecated
@ApiMethod
public Void getPreference();
/**
* (DEPRECATED) To opt in of future surveys, please follow the link found in the email survey.
*
* @see SoftLayer_Ticket_Survey::optIn
*/
@Deprecated
@ApiMethod
public Void optIn();
/**
* (DEPRECATED) To opt out of future surveys, please follow the link found in the email survey.
*
* @see SoftLayer_Ticket_Survey::optOut
*/
@Deprecated
@ApiMethod
public Void optOut();
}
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#getPreference}
*/
@Deprecated
public Future getPreference();
@Deprecated
public Future> getPreference(ResponseHandler callback);
/**
* Async version of {@link Service#optIn}
*/
@Deprecated
public Future optIn();
@Deprecated
public Future> optIn(ResponseHandler callback);
/**
* Async version of {@link Service#optOut}
*/
@Deprecated
public Future optOut();
@Deprecated
public Future> optOut(ResponseHandler callback);
}
public static class Mask extends com.softlayer.api.service.Entity.Mask {
}
}