513b6733aecbb0bb323237390fddea60d9a1fb17
[ccsdk/dashboard.git] /
1 package org.onap.ccsdk.dashboard.model.deploymenthandler;
2
3 import com.fasterxml.jackson.annotation.JsonCreator;
4 import com.fasterxml.jackson.annotation.JsonProperty;
5
6 public class DeploymentResource {
7         /** Unique Identifier for the resource */
8         private String deploymentId;
9         
10         public String getDeploymentId() {
11                 return deploymentId;
12         }
13
14         public void setDeploymentId(String deploymentId) {
15                 this.deploymentId = deploymentId;
16         }
17
18         /** Links that the API client can access */
19         private DeploymentResourceLinks links;
20         
21         @JsonCreator
22         public DeploymentResource(@JsonProperty("deployment_id") String deploymentId, 
23                         @JsonProperty("links") DeploymentResourceLinks links) {
24                 this.deploymentId = deploymentId;
25                 this.links = links;
26         }
27         
28         public DeploymentResourceLinks getLinks() {
29                 return this.links;
30         }
31
32 }