/* Options: Date: 2025-12-06 07:01:19 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://backoffice-api.brovs.com //Package: //GlobalNamespace: BackofficeApi //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: GetAllNewsRequest.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.* */ import java.math.*; import java.util.*; import java.io.InputStream; import net.servicestack.client.*; public class BackofficeApi { @Route(Path="/news/get_all", Verbs="GET") public static class GetAllNewsRequest implements IReturn, IGet { private static Object responseType = GetAllNewsResponse.class; public Object getResponseType() { return responseType; } } public static class GetAllNewsResponse { public ArrayList news = new ArrayList(); public ArrayList getNews() { return news; } public GetAllNewsResponse 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; } } }