/* Options: Date: 2026-04-15 21:32:46 Version: 8.60 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: http://api.booklinker.com //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: GetLinksRequest.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.*,com.google.gson.annotations.*,com.google.gson.reflect.* */ import java.math.*; import java.util.*; import java.io.InputStream; import net.servicestack.client.*; import com.google.gson.annotations.*; import com.google.gson.reflect.*; public class dtos { @Route(Path="/v1/links/list", Verbs="GET") @DataContract public static class GetLinksRequest extends PaginatedBaseRequest implements IReturn { @DataMember(Name="ids") @SerializedName("ids") public ArrayList ids = null; public ArrayList getIds() { return ids; } public GetLinksRequest setIds(ArrayList value) { this.ids = value; return this; } private static Object responseType = GetLinksResponse.class; public Object getResponseType() { return responseType; } } @DataContract public static class GetLinksResponse { @DataMember(Name="allLinksLoaded") @SerializedName("allLinksLoaded") public Boolean allLinksLoaded = null; @DataMember(Name="results") @SerializedName("results") public ArrayList results = null; @DataMember(Name="responseStatus") @SerializedName("responseStatus") public ResponseStatus responseStatus = null; public Boolean isAllLinksLoaded() { return allLinksLoaded; } public GetLinksResponse setAllLinksLoaded(Boolean value) { this.allLinksLoaded = value; return this; } public ArrayList getResults() { return results; } public GetLinksResponse setResults(ArrayList value) { this.results = value; return this; } public ResponseStatus getResponseStatus() { return responseStatus; } public GetLinksResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } @DataContract public static class PaginatedBaseRequest { @DataMember(Name="skip") @SerializedName("skip") public Integer skip = null; @DataMember(Name="take") @SerializedName("take") public Integer take = null; public Integer getSkip() { return skip; } public PaginatedBaseRequest setSkip(Integer value) { this.skip = value; return this; } public Integer getTake() { return take; } public PaginatedBaseRequest setTake(Integer value) { this.take = value; return this; } } @DataContract public static class LinkResult { @DataMember(Name="baseCode") @SerializedName("baseCode") public String baseCode = null; @DataMember(Name="url") @SerializedName("url") public String url = null; @DataMember(Name="originalUrl") @SerializedName("originalUrl") public String originalUrl = null; @DataMember(Name="imageUrl") @SerializedName("imageUrl") public String imageUrl = null; @DataMember(Name="retailer") @SerializedName("retailer") public String retailer = null; @DataMember(Name="title") @SerializedName("title") public String title = null; @DataMember(Name="author") @SerializedName("author") public String author = null; public String getBaseCode() { return baseCode; } public LinkResult setBaseCode(String value) { this.baseCode = value; return this; } public String getUrl() { return url; } public LinkResult setUrl(String value) { this.url = value; return this; } public String getOriginalUrl() { return originalUrl; } public LinkResult setOriginalUrl(String value) { this.originalUrl = value; return this; } public String getImageUrl() { return imageUrl; } public LinkResult setImageUrl(String value) { this.imageUrl = value; return this; } public String getRetailer() { return retailer; } public LinkResult setRetailer(String value) { this.retailer = value; return this; } public String getTitle() { return title; } public LinkResult setTitle(String value) { this.title = value; return this; } public String getAuthor() { return author; } public LinkResult setAuthor(String value) { this.author = value; return this; } } }