aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/org/onap/nbi/commons/Query.java
blob: 8ee453f4951c7848d36cb64ec7af22da016d8f9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package org.onap.nbi.commons;

import org.springframework.util.MultiValueMap;



public class Query {

    private MultiValueMap<String, String> parameters;

    private JsonRepresentation jsonRepresentation;

    public Query(MultiValueMap<String, String> queryParameters) {
        this.parameters = queryParameters;
        this.jsonRepresentation = new JsonRepresentation(queryParameters);
    }

    public MultiValueMap<String, String> getParameters() {
        return parameters;
    }

    public JsonRepresentation getRepresentation() {
        return jsonRepresentation;
    }

}