5c53f2cbf17b524a9198c87c1a5ae84c6f3f1b15
[so.git] / common / src / main / java / org / onap / so / client / graphinventory / entities / Resource.java
1 package org.onap.so.client.graphinventory.entities;
2
3 import com.fasterxml.jackson.annotation.JsonInclude;
4 import com.fasterxml.jackson.annotation.JsonProperty;
5 import com.fasterxml.jackson.annotation.JsonPropertyOrder;
6
7 @JsonInclude(JsonInclude.Include.NON_NULL)
8 @JsonPropertyOrder({
9         "resource-type",
10         "resource-link"
11 })
12 public class Resource {
13
14         @JsonProperty("resource-type")
15         private String resourceType;
16         @JsonProperty("resource-link")
17         private String resourceLink;
18
19         @JsonProperty("resource-type")
20         public String getResourceType() {
21                 return resourceType;
22         }
23
24         @JsonProperty("resource-type")
25         public void setResourceType(String resourceType) {
26                 this.resourceType = resourceType;
27         }
28
29         @JsonProperty("resource-link")
30         public String getResourceLink() {
31                 return resourceLink;
32         }
33
34         @JsonProperty("resource-link")
35         public void setResourceLink(String resourceLink) {
36                 this.resourceLink = resourceLink;
37         }
38
39 }
40