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

com.softlayer.api.service.account.historical.Report Maven / Gradle / Ivy

There is a newer version: 0.3.4
Show newest version
package com.softlayer.api.service.account.historical;

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.container.Graph;
import com.softlayer.api.service.container.account.historical.Summary;
import com.softlayer.api.service.container.account.historical.summary.Detail;
import java.util.concurrent.Future;

/**
 * SoftLayer's account historical report service allows users to access a broad overview of devices for that account and historical details concerning the overall function and performance of the devices on that account 
 *
 * @see SoftLayer_Account_Historical_Report
 */
@ApiType("SoftLayer_Account_Historical_Report")
public class Report extends Entity {

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

    /**
     * SoftLayer's account historical report service allows users to access a broad overview of devices for that account and historical details concerning the overall function and performance of the devices on that account 
     *
     * @see SoftLayer_Account_Historical_Report
     */
    @com.softlayer.api.annotation.ApiService("SoftLayer_Account_Historical_Report")
    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_Account_Historical_Report::getAccountHostUptimeGraphData
         */
        @ApiMethod
        public Graph getAccountHostUptimeGraphData(String startDate, String endDate, Long accountId);

        /**
         * @see SoftLayer_Account_Historical_Report::getAccountHostUptimeSummary
         */
        @ApiMethod
        public Summary getAccountHostUptimeSummary(String startDateTime, String endDateTime, Long accountId);

        /**
         * @see SoftLayer_Account_Historical_Report::getAccountUrlUptimeGraphData
         */
        @ApiMethod
        public Graph getAccountUrlUptimeGraphData(String startDate, String endDate, Long accountId);

        /**
         * @see SoftLayer_Account_Historical_Report::getAccountUrlUptimeSummary
         */
        @ApiMethod
        public Summary getAccountUrlUptimeSummary(String startDateTime, String endDateTime, Long accountId);

        /**
         * @see SoftLayer_Account_Historical_Report::getHostUptimeDetail
         */
        @ApiMethod
        public Detail getHostUptimeDetail(Long configurationValueId, String startDateTime, String endDateTime);

        /**
         * @see SoftLayer_Account_Historical_Report::getHostUptimeGraphData
         */
        @ApiMethod
        public Graph getHostUptimeGraphData(Long configurationValueId, String startDate, String endDate);

        /**
         * @see SoftLayer_Account_Historical_Report::getUrlUptimeDetail
         */
        @ApiMethod
        public Detail getUrlUptimeDetail(Long configurationValueId, String startDateTime, String endDateTime);

        /**
         * @see SoftLayer_Account_Historical_Report::getUrlUptimeGraphData
         */
        @ApiMethod
        public Graph getUrlUptimeGraphData(Long configurationValueId, String startDate, String endDate);

    }

    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#getAccountHostUptimeGraphData}
         */
        public Future getAccountHostUptimeGraphData(String startDate, String endDate, Long accountId);

        public Future getAccountHostUptimeGraphData(String startDate, String endDate, Long accountId, ResponseHandler callback);

        /**
         * Async version of {@link Service#getAccountHostUptimeSummary}
         */
        public Future getAccountHostUptimeSummary(String startDateTime, String endDateTime, Long accountId);

        public Future getAccountHostUptimeSummary(String startDateTime, String endDateTime, Long accountId, ResponseHandler callback);

        /**
         * Async version of {@link Service#getAccountUrlUptimeGraphData}
         */
        public Future getAccountUrlUptimeGraphData(String startDate, String endDate, Long accountId);

        public Future getAccountUrlUptimeGraphData(String startDate, String endDate, Long accountId, ResponseHandler callback);

        /**
         * Async version of {@link Service#getAccountUrlUptimeSummary}
         */
        public Future getAccountUrlUptimeSummary(String startDateTime, String endDateTime, Long accountId);

        public Future getAccountUrlUptimeSummary(String startDateTime, String endDateTime, Long accountId, ResponseHandler callback);

        /**
         * Async version of {@link Service#getHostUptimeDetail}
         */
        public Future getHostUptimeDetail(Long configurationValueId, String startDateTime, String endDateTime);

        public Future getHostUptimeDetail(Long configurationValueId, String startDateTime, String endDateTime, ResponseHandler callback);

        /**
         * Async version of {@link Service#getHostUptimeGraphData}
         */
        public Future getHostUptimeGraphData(Long configurationValueId, String startDate, String endDate);

        public Future getHostUptimeGraphData(Long configurationValueId, String startDate, String endDate, ResponseHandler callback);

        /**
         * Async version of {@link Service#getUrlUptimeDetail}
         */
        public Future getUrlUptimeDetail(Long configurationValueId, String startDateTime, String endDateTime);

        public Future getUrlUptimeDetail(Long configurationValueId, String startDateTime, String endDateTime, ResponseHandler callback);

        /**
         * Async version of {@link Service#getUrlUptimeGraphData}
         */
        public Future getUrlUptimeGraphData(Long configurationValueId, String startDate, String endDate);

        public Future getUrlUptimeGraphData(Long configurationValueId, String startDate, String endDate, ResponseHandler callback);

    }

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

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy