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

/**
 * Links that the API client can access
 *
 */
public class DeploymentResponseLinks {
	
	/** Link used to retrieve information about the service being deployed. */
	private final String self;
	
	/** Link used to retrieve information about the status of the installation workflow. */
	private final String status;
	
	@JsonCreator
	public DeploymentResponseLinks(@JsonProperty("self") String self, 
			@JsonProperty("status") String status) {
		this.self = self;
		this.status = status;
	}
	
	public String getSelf() {
		return this.self;
	}
	
	public String getStatus() {
		return this.status;
	}
}