com.softlayer.api.service.ticket.attachment.file.ServiceNow 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.attachment.file;
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.ticket.attachment.File;
import java.util.concurrent.Future;
/**
* @see SoftLayer_Ticket_Attachment_File_ServiceNow
*/
@ApiType("SoftLayer_Ticket_Attachment_File_ServiceNow")
public class ServiceNow extends File {
public Service asService(ApiClient client) {
return service(client, id);
}
public static Service service(ApiClient client) {
return client.createService(Service.class, null);
}
public static Service service(ApiClient client, Long id) {
return client.createService(Service.class, id == null ? null : id.toString());
}
/**
* @see SoftLayer_Ticket_Attachment_File_ServiceNow
*/
@com.softlayer.api.annotation.ApiService("SoftLayer_Ticket_Attachment_File_ServiceNow")
public static interface Service extends File.Service {
public ServiceAsync asAsync();
public Mask withNewMask();
public Mask withMask();
public void setMask(Mask mask);
/**
* @see SoftLayer_Ticket_Attachment_File_ServiceNow::getObject
*/
@ApiMethod(value = "getObject", instanceRequired = true)
public ServiceNow getObjectForServiceNow();
}
public static interface ServiceAsync extends File.ServiceAsync {
public Mask withNewMask();
public Mask withMask();
public void setMask(Mask mask);
/**
* Async version of {@link Service#getObjectForServiceNow}
*/
public Future getObjectForServiceNow();
public Future> getObjectForServiceNow(ResponseHandler callback);
}
public static class Mask extends com.softlayer.api.service.ticket.attachment.File.Mask {
}
}