aboutsummaryrefslogtreecommitdiffstats
path: root/ccsdk-app-common/src/main/java/org/onap/ccsdk/dashboard/model/inventory/InventoryProperty.java
blob: 3856debd89960935d6df265cc0813cc4abadf7ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package org.onap.ccsdk.dashboard.model.inventory;

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

public class InventoryProperty {

	/** Number of Service objects */
	public Integer count;
	/** Service property value */
	public String propertyValue;
	/** Link to a list of Services that all have this property value */
	public Link dcaeServiceQueryLink;
	
	@JsonCreator
	public InventoryProperty (@JsonProperty("count") Integer count, 
		@JsonProperty("propertyValue") String propertyValue, 
		@JsonProperty("dcaeServiceQueryLink") Link dcaeServiceQueryLink) {
		this.count = count;
		this.propertyValue = propertyValue;
		this.dcaeServiceQueryLink = dcaeServiceQueryLink;
	}
}