aboutsummaryrefslogtreecommitdiffstats
path: root/ccsdk-app-common/src/main/java/org/onap/ccsdk/dashboard/model/deploymenthandler/DeploymentResponse.java
blob: cd81a0b081d5b657ccd2fb371687bf25ed4f0b18 (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
package org.onap.ccsdk.dashboard.model.deploymenthandler;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * Response body for a PUT or DELETE to /dcae-deployments/{deploymentId}
 * 
 */
public class DeploymentResponse {

	/** Unique Identifier for the request */
	private String requestId;
	
	/** Links that the API client can access */
	private DeploymentResponseLinks links;
	
	@JsonCreator
	public DeploymentResponse(@JsonProperty("requestId") String requestId, 
			@JsonProperty("links") DeploymentResponseLinks links) {
		this.requestId = requestId;
		this.links = links;
	}
	
	public String getRequestId() {
		return this.requestId;
	}
	
	public DeploymentResponseLinks getLinks() {
		return this.links;
	}
}