aboutsummaryrefslogtreecommitdiffstats
path: root/ccsdk-app-common/src/main/java/org/onap/ccsdk/dashboard/model/deploymenthandler/DeploymentResourceLinks.java
blob: 0dd9f9e8108624033f4fbe6d69667f6eebbcc714 (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
33
34
35
36
37
package org.onap.ccsdk.dashboard.model.deploymenthandler;

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

public class DeploymentResourceLinks {
	/** Link used to retrieve information about the service being deployed. */
	private final String self;
	
	/** Link used to retrieve information about deployment outcome */
	private final String outcome;
	
	/** Link used to retrieve information about the status of the installation workflow. */
	private final String status;
	
	@JsonCreator
	public DeploymentResourceLinks(
			@JsonProperty("self") String self,
			@JsonProperty("outcome") String outcome,
			@JsonProperty("status") String status) {
		this.self = self;
		this.outcome = outcome;
		this.status = status;
	}
	
	public String getSelf() {
		return this.self;
	}
	
	public String getStatus() {
		return this.status;
	}

	public String getOutcome() {
		return outcome;
	}
}