blob: 28cddf61aab835d6630406d6b89acb77a0a3cb8c (
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
|
package org.onap.ccsdk.dashboard.model.inventory;
import java.util.Collection;
import org.onap.ccsdk.dashboard.model.ECTransportModel;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
public class ServiceTypeList extends ECTransportModel {
/** Number of ServiceType objects */
public final Integer totalCount;
/** Collection containing all of the returned ServiceType objects */
public final Collection<ServiceType> items;
/** Links to the previous and next page of items */
public final PaginationLinks paginationLinks;
@JsonCreator
public ServiceTypeList(@JsonProperty("items") Collection<ServiceType> items,
@JsonProperty("totalCount") Integer totalCount,
@JsonProperty("links") PaginationLinks paginationLinks) {
this.items = items;
this.totalCount = totalCount;
this.paginationLinks = paginationLinks;
}
/** InlineResponse200Links */
public static final class PaginationLinks {
public final Link previousLink;
public final Link nextLink;
@JsonCreator
public PaginationLinks (@JsonProperty("previousLink") Link previousLink,
@JsonProperty("nextLink") Link nextLink) {
this.previousLink = previousLink;
this.nextLink = nextLink;
}
}
}
|