cd81a0b081d5b657ccd2fb371687bf25ed4f0b18
[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 /**
7  * Response body for a PUT or DELETE to /dcae-deployments/{deploymentId}
8  * 
9  */
10 public class DeploymentResponse {
11
12         /** Unique Identifier for the request */
13         private String requestId;
14         
15         /** Links that the API client can access */
16         private DeploymentResponseLinks links;
17         
18         @JsonCreator
19         public DeploymentResponse(@JsonProperty("requestId") String requestId, 
20                         @JsonProperty("links") DeploymentResponseLinks links) {
21                 this.requestId = requestId;
22                 this.links = links;
23         }
24         
25         public String getRequestId() {
26                 return this.requestId;
27         }
28         
29         public DeploymentResponseLinks getLinks() {
30                 return this.links;
31         }
32 }