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

com.sumologic.client.dashboard.model.GetDashboardsRequest Maven / Gradle / Ivy

package com.sumologic.client.dashboard.model;

import java.util.Collections;
import java.util.List;

import org.apache.http.NameValuePair;

import com.sumologic.client.model.HttpGetRequest;

/**
 * @author Christian Beedgen ([email protected])
 */
public final class GetDashboardsRequest implements HttpGetRequest {

    // Instance fields.

    private boolean includeMonitors;

    // Implementation.

    /**
     * Creates a get dashboards request.
     *
     * @param includeMonitors Whether to include the monitors.
     */
    public GetDashboardsRequest(boolean includeMonitors) {
        this.includeMonitors = includeMonitors;
    }

    /**
     * Gets whether to include the monitors in the response.
     *
     * @return Whether to include the monitors in the response.
     */
    public boolean isIncludeMonitors() {
        return includeMonitors;
    }

    /**
     * Sets whether to include the monitors in the response.
     *
     * @param includeMonitors Whether to include the monitors in the response.
     */
    public void setIncludeMonitors(boolean includeMonitors) {
        this.includeMonitors = includeMonitors;
    }

    // HttpGetRequest implementation.

    @Override
    public List toUrlParams() {
        return Collections.emptyList();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy