org.swaggertools.demo.model.PetList Maven / Gradle / Ivy
package org.swaggertools.demo.model;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.lang.Integer;
import java.util.ArrayList;
import java.util.List;
import javax.validation.Valid;
import javax.validation.constraints.NotNull;
public class PetList {
@JsonProperty("_items")
@NotNull
@Valid
private List items = new ArrayList();
@JsonProperty("_max")
private Integer max;
@JsonProperty("_offset")
private Integer offset;
public List getItems() {
return items;
}
public void setItems(List items) {
this.items = items;
}
public Integer getMax() {
return max;
}
public void setMax(Integer max) {
this.max = max;
}
public Integer getOffset() {
return offset;
}
public void setOffset(Integer offset) {
this.offset = offset;
}
}