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

com.softlayer.api.service.ticket.Priority Maven / Gradle / Ivy

There is a newer version: 0.3.4
Show 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.List;
import java.util.concurrent.Future;

/**
 * @see SoftLayer_Ticket_Priority
 */
@ApiType("SoftLayer_Ticket_Priority")
public class Priority extends Entity {

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

    /**
     * @see SoftLayer_Ticket_Priority
     */
    @com.softlayer.api.annotation.ApiService("SoftLayer_Ticket_Priority")
    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_Ticket_Priority::getPriorities
         */
        @ApiMethod
        public List getPriorities();

    }

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

        public Future getPriorities(ResponseHandler> callback);

    }

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

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy