/* Options: Date: 2024-05-02 08:38:24 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: UpdatePost.* //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/{Id}", Verbs="PUT") public static class UpdatePost implements IReturn, IPut { public Long id = null; public Integer organizationId = null; public PostType type = null; public Integer categoryId = null; public String title = null; public String url = null; public String imageUrl = null; public String content = null; public Boolean lock = null; public ArrayList technologyIds = null; public ArrayList labels = null; public Date fromDate = null; public Date toDate = null; public String metaType = null; public String meta = null; public Long getId() { return id; } public UpdatePost setId(Long value) { this.id = value; return this; } public Integer getOrganizationId() { return organizationId; } public UpdatePost setOrganizationId(Integer value) { this.organizationId = value; return this; } public PostType getType() { return type; } public UpdatePost setType(PostType value) { this.type = value; return this; } public Integer getCategoryId() { return categoryId; } public UpdatePost setCategoryId(Integer value) { this.categoryId = value; return this; } public String getTitle() { return title; } public UpdatePost setTitle(String value) { this.title = value; return this; } public String getUrl() { return url; } public UpdatePost setUrl(String value) { this.url = value; return this; } public String getImageUrl() { return imageUrl; } public UpdatePost setImageUrl(String value) { this.imageUrl = value; return this; } public String getContent() { return content; } public UpdatePost setContent(String value) { this.content = value; return this; } public Boolean isLock() { return lock; } public UpdatePost setLock(Boolean value) { this.lock = value; return this; } public ArrayList getTechnologyIds() { return technologyIds; } public UpdatePost setTechnologyIds(ArrayList value) { this.technologyIds = value; return this; } public ArrayList getLabels() { return labels; } public UpdatePost setLabels(ArrayList value) { this.labels = value; return this; } public Date getFromDate() { return fromDate; } public UpdatePost setFromDate(Date value) { this.fromDate = value; return this; } public Date getToDate() { return toDate; } public UpdatePost setToDate(Date value) { this.toDate = value; return this; } public String getMetaType() { return metaType; } public UpdatePost setMetaType(String value) { this.metaType = value; return this; } public String getMeta() { return meta; } public UpdatePost setMeta(String value) { this.meta = value; return this; } private static Object responseType = UpdatePostResponse.class; public Object getResponseType() { return responseType; } } public static class UpdatePostResponse { public ResponseStatus responseStatus = null; public ResponseStatus getResponseStatus() { return responseStatus; } public UpdatePostResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } public static enum PostType { Announcement, Post, Showcase, Question, Request; } }