blob: 42d4e47aaf49ba9b488d771e7206c0a82b009434 (
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
package org.onap.ccsdk.dashboard.model.inventory;
import java.util.Collection;
import java.util.Map;
import javax.ws.rs.core.UriBuilder;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
public class Link {
public String title;
public String href;
public String rel;
public String uri;
public UriBuilder uriBuilder;
public Collection<String> rels;
public Map<String, String> params;
public String type;
@JsonCreator
public Link (@JsonProperty("title") String title,
@JsonProperty("href") String href,
@JsonProperty("rel") String rel,
@JsonProperty("uri") String uri,
@JsonProperty("uriBuilder") UriBuilder uriBuilder,
@JsonProperty("rels") Collection<String> rels,
@JsonProperty("params") Map<String, String> params,
@JsonProperty("type") String type) {
this.title = title;
this.href = href;
this.rel = rel;
this.uri = uri;
this.uriBuilder = uriBuilder;
this.rels = rels;
this.params = params;
this.type = type;
}
}
|