/* Options: Date: 2025-12-06 08:52:01 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: AddNewsRequest.* //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/add", Verbs="POST") public static class AddNewsRequest implements IReturn, IPost { public String subject = null; public String body = null; public String author = null; public String getSubject() { return subject; } public AddNewsRequest setSubject(String value) { this.subject = value; return this; } public String getBody() { return body; } public AddNewsRequest setBody(String value) { this.body = value; return this; } public String getAuthor() { return author; } public AddNewsRequest setAuthor(String value) { this.author = value; return this; } private static Object responseType = AddNewsResponse.class; public Object getResponseType() { return responseType; } } public static class AddNewsResponse { public Long id = null; public Long getId() { return id; } public AddNewsResponse setId(Long value) { this.id = value; return this; } } }