aboutsummaryrefslogtreecommitdiffstats
path: root/ccsdk-app-common/src/main/java/org/onap/ccsdk/dashboard/model/inventory/BlueprintResponse.java
blob: fdec86dee62122ae001de1d175a57938ae0eb199 (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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
package org.onap.ccsdk.dashboard.model.inventory;

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

public class BlueprintResponse {

	public BlueprintResponse() {
	}

	/** Name of the ServiceType */
	private String typeName;

	/** Version number for this ServiceType */
	private Integer typeVersion;

	/** Unique identifier for this ServiceType */
	private String typeId;

	@JsonCreator
	public BlueprintResponse(@JsonProperty("typeName") String typeName, 
			@JsonProperty("typeVersion") Integer typeVersion, 
			@JsonProperty("typeId") String typeId) {
		
		this.typeName = typeName;
		this.typeVersion = typeVersion;
		this.typeId = typeId;
	}

	public String getTypeName() {
		return typeName;
	}

	public Integer getTypeVersion() {
		return typeVersion;
	}

	public String getTypeId() {
		return typeId;
	}

	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}

	public void setTypeVersion(Integer typeVersion) {
		this.typeVersion = typeVersion;
	}

	public void setTypeId(String typeId) {
		this.typeId = typeId;
	}

	@Override
	public String toString() {
		return "BlueprintResponse [typeName=" + typeName + ", typeVersion=" + typeVersion + ", typeId=" + typeId + "]";
	}
}