com.withabound.models.documents.DocumentParams Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of withabound-java Show documentation
Show all versions of withabound-java Show documentation
The Abound Java SDK provides convenient access to the Abound API from applications written in Java.
The newest version!
package com.withabound.models.documents;
import com.withabound.resources.base.AboundQueryParameters;
import java.util.HashMap;
import java.util.Map;
import lombok.Builder;
import lombok.Setter;
@Builder
@Setter
public class DocumentParams extends AboundQueryParameters {
private String page;
private String year;
@Override
public Map asMap() {
final Map queryParams = new HashMap<>();
queryParams.put("page", page);
queryParams.put("year", year);
return queryParams;
}
}