/* Options: Date: 2024-12-23 10:43:48 Version: 8.0 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://consumer-api.brovs.com //Package: //GlobalNamespace: ConsumerApi //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: GetNewsRequest.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; public class ConsumerApi { @Route(Path="/news", Verbs="GET") public static class GetNewsRequest implements IReturn, IGet { private static Object responseType = GetNewsResponse.class; public Object getResponseType() { return responseType; } } public static class GetNewsResponse { public ArrayList news = null; public ArrayList getNews() { return news; } public GetNewsResponse setNews(ArrayList value) { this.news = value; return this; } } public static class NewsDto { public String subject = null; public String body = null; public String author = null; public Date createdAt = null; public String getSubject() { return subject; } public NewsDto setSubject(String value) { this.subject = value; return this; } public String getBody() { return body; } public NewsDto setBody(String value) { this.body = value; return this; } public String getAuthor() { return author; } public NewsDto setAuthor(String value) { this.author = value; return this; } public Date getCreatedAt() { return createdAt; } public NewsDto setCreatedAt(Date value) { this.createdAt = value; return this; } } }