blob: dd7acd17f4b77ccff4d87b08391081ee1e8979e1 (
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
41
42
43
44
45
46
47
48
49
50
|
package org.onap.ccsdk.dashboard.model.inventory;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
public class ServiceRef {
/** Service ID of the Service */
private final String serviceId;
/** Creation date of the Service */
private final String created;
/** Last modified date of the Service */
private final String modified;
@JsonCreator
public ServiceRef (@JsonProperty("serviceId") String serviceId,
@JsonProperty("created") String created,
@JsonProperty("modified") String modified) {
this.serviceId = serviceId;
this.created = created;
this.modified = modified;
}
public String getServiceId() {
return serviceId;
}
public String getCreated() {
return created;
}
public String getModified() {
return modified;
}
/*
private ServiceRef (
String serviceId,
String created,
String modified) {
this.serviceId = serviceId;
this.created = created;
this.modified = modified;
}
*/
}
|