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

import java.util.Set;

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

public class ServiceGroupByResults {

	/** Property name of the service that the group by operation was performed on */
	public String propertyName;
	/** Set of Service objects that have the aforementioned propertyName */
	public Set<InventoryProperty> propertyValues;
	
	@JsonCreator
	public ServiceGroupByResults (@JsonProperty("propertyName") String propertyName, 
			@JsonProperty("propertyValues") Set<InventoryProperty> propertyValues) {
		this.propertyName = propertyName;
		this.propertyValues = propertyValues;
	}
}