/* Options: Date: 2024-04-29 04:50:05 Version: 8.13 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://techstacks.io //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: CreatePostComment.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; public class dtos { @Route(Path="/posts/{PostId}/comments", Verbs="POST") public static class CreatePostComment implements IReturn, IPost { public Long postId = null; public Long replyId = null; public String content = null; public Long getPostId() { return postId; } public CreatePostComment setPostId(Long value) { this.postId = value; return this; } public Long getReplyId() { return replyId; } public CreatePostComment setReplyId(Long value) { this.replyId = value; return this; } public String getContent() { return content; } public CreatePostComment setContent(String value) { this.content = value; return this; } private static Object responseType = CreatePostCommentResponse.class; public Object getResponseType() { return responseType; } } public static class CreatePostCommentResponse { public Long id = null; public Long postId = null; public ResponseStatus responseStatus = null; public Long getId() { return id; } public CreatePostCommentResponse setId(Long value) { this.id = value; return this; } public Long getPostId() { return postId; } public CreatePostCommentResponse setPostId(Long value) { this.postId = value; return this; } public ResponseStatus getResponseStatus() { return responseStatus; } public CreatePostCommentResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } }