/*
 * Copyright 2020 B2i Healthcare Pte Ltd, http://b2i.sg
 * 
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.b2international.snowowl.core.domain;

import java.util.Collections;
import java.util.List;

/**
 * @since 7.7
 */
public final class SetMembers extends PageableCollectionResource<SetMember> {

	private static final long serialVersionUID = 1L;
	
	public SetMembers(int limit, int total) {
		super(Collections.emptyList(), null, limit, total);
	}
	
	public SetMembers(List<SetMember> items, String searchAfter, int limit, int total) {
		super(items, searchAfter, limit, total);
	}

}

@@ -720,16 +720,124 @@
 .List;%0A%0A
+import com.fasterxml.jackson.annotation.JsonCreator;%0Aimport com.fasterxml.jackson.annotation.JsonProperty;%0A%0A
 /**%0A * @
@@ -1083,16 +1083,30 @@
 );%0A%09%7D%0A%09%0A
+%09@JsonCreator%0A
 %09public 
@@ -1120,61 +1120,174 @@
 ers(
-List%3CSetMember%3E items, String searchAfter, int limit,
+%0A%09%09%09@JsonProperty(%22items%22) List%3CSetMember%3E items, %0A%09%09%09@JsonProperty(%22searchAfter%22) String searchAfter,%0A%09%09%09@JsonProperty(%22limit%22) int limit, %0A%09%09%09@JsonProperty(%22total%22)
  int
@@ -1342,11 +1342,12 @@
 al);%0A%09%7D%0A
+%09
 %0A%7D%0A

Add JSON deserialization annotations to collection resource