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

import java.util.Collection;

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

public class ServiceRefList {
	/** Number of Service objects */
	public final Integer totalCount;
	/** Collection containing all of the returned Service objects */
	public final Collection<ServiceRef> items;

	
	@JsonCreator
	public ServiceRefList(@JsonProperty("items") Collection<ServiceRef> items, 
			@JsonProperty("totalCount") Integer totalCount) {
		this.items = items;
		this.totalCount = totalCount;
	}
	
}