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

public class DeploymentResource {
	/** Unique Identifier for the resource */
	private String deploymentId;
	
	public String getDeploymentId() {
		return deploymentId;
	}

	public void setDeploymentId(String deploymentId) {
		this.deploymentId = deploymentId;
	}

	/** Links that the API client can access */
	private DeploymentResourceLinks links;
	
	@JsonCreator
	public DeploymentResource(@JsonProperty("deployment_id") String deploymentId, 
			@JsonProperty("links") DeploymentResourceLinks links) {
		this.deploymentId = deploymentId;
		this.links = links;
	}
	
	public DeploymentResourceLinks getLinks() {
		return this.links;
	}

}