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

io.staticcdn.sdk.client.model.OptimizeRequest Maven / Gradle / Ivy

There is a newer version: 0.1.26
Show newest version
package io.staticcdn.sdk.client.model;

import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;

public class OptimizeRequest {

    @Deprecated
    private OptimizerOptions optimiserOptions;
    @Deprecated
    private boolean retrieveOptimisedAsText;

    private OptimizerOptions optimizerOptions;
    private Map paths = new LinkedHashMap();
    private List aggregations;

    public void addPath(String path, String key) {
        paths.put(path, key);
    }

    public OptimizerOptions getOptimizerOptions() {
        if(optimizerOptions==null)
            return optimiserOptions;
        return optimizerOptions;
    }

    public void setOptimizerOptions(OptimizerOptions optimizerOptions) {
        this.optimizerOptions = optimizerOptions;
    }

    public OptimizerOptions getOptimiserOptions() {
        return optimiserOptions;
    }

    public void setOptimiserOptions(OptimizerOptions optimiserOptions) {
        this.optimiserOptions = optimiserOptions;
    }

    public boolean isRetrieveOptimisedAsText() {
        return retrieveOptimisedAsText;
    }

    public void setRetrieveOptimisedAsText(boolean retrieveOptimisedAsText) {
        this.retrieveOptimisedAsText = retrieveOptimisedAsText;
    }

    public Map getPaths() {
        return paths;
    }

    public void setPaths(Map paths) {
        this.paths = paths;
    }

    public List getAggregations() {
        return aggregations;
    }

    public void setAggregations(List aggregations) {
        this.aggregations = aggregations;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy