/* Options: Date: 2024-12-22 12:26:00 Version: 8.51 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: GetOrganizationBySlug.* //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 dtos { @Route(Path="/organizations/{Slug}", Verbs="GET") public static class GetOrganizationBySlug implements IReturn, IGet { public String slug = null; public String getSlug() { return slug; } public GetOrganizationBySlug setSlug(String value) { this.slug = value; return this; } private static Object responseType = GetOrganizationResponse.class; public Object getResponseType() { return responseType; } } public static class GetOrganizationResponse { public Long cache = null; public Integer id = null; public String slug = null; public Organization organization = null; public ArrayList labels = null; public ArrayList categories = null; public ArrayList owners = null; public ArrayList moderators = null; public Long membersCount = null; public ResponseStatus responseStatus = null; public Long getCache() { return cache; } public GetOrganizationResponse setCache(Long value) { this.cache = value; return this; } public Integer getId() { return id; } public GetOrganizationResponse setId(Integer value) { this.id = value; return this; } public String getSlug() { return slug; } public GetOrganizationResponse setSlug(String value) { this.slug = value; return this; } public Organization getOrganization() { return organization; } public GetOrganizationResponse setOrganization(Organization value) { this.organization = value; return this; } public ArrayList getLabels() { return labels; } public GetOrganizationResponse setLabels(ArrayList value) { this.labels = value; return this; } public ArrayList getCategories() { return categories; } public GetOrganizationResponse setCategories(ArrayList value) { this.categories = value; return this; } public ArrayList getOwners() { return owners; } public GetOrganizationResponse setOwners(ArrayList value) { this.owners = value; return this; } public ArrayList getModerators() { return moderators; } public GetOrganizationResponse setModerators(ArrayList value) { this.moderators = value; return this; } public Long getMembersCount() { return membersCount; } public GetOrganizationResponse setMembersCount(Long value) { this.membersCount = value; return this; } public ResponseStatus getResponseStatus() { return responseStatus; } public GetOrganizationResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } public static class Organization { public Integer id = null; public String name = null; public String slug = null; public String description = null; public String descriptionHtml = null; public String color = null; public String textColor = null; public String linkColor = null; public String backgroundColor = null; public String backgroundUrl = null; public String logoUrl = null; public String heroUrl = null; public String lang = null; public String defaultPostType = null; public ArrayList defaultSubscriptionPostTypes = null; public ArrayList postTypes = null; public ArrayList moderatorPostTypes = null; public Integer deletePostsWithReportCount = null; public Boolean disableInvites = null; public Long upVotes = null; public Long downVotes = null; public Long views = null; public Long favorites = null; public Integer subscribers = null; public Integer commentsCount = null; public Integer postsCount = null; public Integer score = null; public Integer rank = null; public Long refId = null; public String refSource = null; public Date hidden = null; public String hiddenBy = null; public Date locked = null; public String lockedBy = null; public Date deleted = null; public String deletedBy = null; public Date created = null; public String createdBy = null; public Date modified = null; public String modifiedBy = null; public Integer getId() { return id; } public Organization setId(Integer value) { this.id = value; return this; } public String getName() { return name; } public Organization setName(String value) { this.name = value; return this; } public String getSlug() { return slug; } public Organization setSlug(String value) { this.slug = value; return this; } public String getDescription() { return description; } public Organization setDescription(String value) { this.description = value; return this; } public String getDescriptionHtml() { return descriptionHtml; } public Organization setDescriptionHtml(String value) { this.descriptionHtml = value; return this; } public String getColor() { return color; } public Organization setColor(String value) { this.color = value; return this; } public String getTextColor() { return textColor; } public Organization setTextColor(String value) { this.textColor = value; return this; } public String getLinkColor() { return linkColor; } public Organization setLinkColor(String value) { this.linkColor = value; return this; } public String getBackgroundColor() { return backgroundColor; } public Organization setBackgroundColor(String value) { this.backgroundColor = value; return this; } public String getBackgroundUrl() { return backgroundUrl; } public Organization setBackgroundUrl(String value) { this.backgroundUrl = value; return this; } public String getLogoUrl() { return logoUrl; } public Organization setLogoUrl(String value) { this.logoUrl = value; return this; } public String getHeroUrl() { return heroUrl; } public Organization setHeroUrl(String value) { this.heroUrl = value; return this; } public String getLang() { return lang; } public Organization setLang(String value) { this.lang = value; return this; } public String getDefaultPostType() { return defaultPostType; } public Organization setDefaultPostType(String value) { this.defaultPostType = value; return this; } public ArrayList getDefaultSubscriptionPostTypes() { return defaultSubscriptionPostTypes; } public Organization setDefaultSubscriptionPostTypes(ArrayList value) { this.defaultSubscriptionPostTypes = value; return this; } public ArrayList getPostTypes() { return postTypes; } public Organization setPostTypes(ArrayList value) { this.postTypes = value; return this; } public ArrayList getModeratorPostTypes() { return moderatorPostTypes; } public Organization setModeratorPostTypes(ArrayList value) { this.moderatorPostTypes = value; return this; } public Integer getDeletePostsWithReportCount() { return deletePostsWithReportCount; } public Organization setDeletePostsWithReportCount(Integer value) { this.deletePostsWithReportCount = value; return this; } public Boolean isDisableInvites() { return disableInvites; } public Organization setDisableInvites(Boolean value) { this.disableInvites = value; return this; } public Long getUpVotes() { return upVotes; } public Organization setUpVotes(Long value) { this.upVotes = value; return this; } public Long getDownVotes() { return downVotes; } public Organization setDownVotes(Long value) { this.downVotes = value; return this; } public Long getViews() { return views; } public Organization setViews(Long value) { this.views = value; return this; } public Long getFavorites() { return favorites; } public Organization setFavorites(Long value) { this.favorites = value; return this; } public Integer getSubscribers() { return subscribers; } public Organization setSubscribers(Integer value) { this.subscribers = value; return this; } public Integer getCommentsCount() { return commentsCount; } public Organization setCommentsCount(Integer value) { this.commentsCount = value; return this; } public Integer getPostsCount() { return postsCount; } public Organization setPostsCount(Integer value) { this.postsCount = value; return this; } public Integer getScore() { return score; } public Organization setScore(Integer value) { this.score = value; return this; } public Integer getRank() { return rank; } public Organization setRank(Integer value) { this.rank = value; return this; } public Long getRefId() { return refId; } public Organization setRefId(Long value) { this.refId = value; return this; } public String getRefSource() { return refSource; } public Organization setRefSource(String value) { this.refSource = value; return this; } public Date getHidden() { return hidden; } public Organization setHidden(Date value) { this.hidden = value; return this; } public String getHiddenBy() { return hiddenBy; } public Organization setHiddenBy(String value) { this.hiddenBy = value; return this; } public Date getLocked() { return locked; } public Organization setLocked(Date value) { this.locked = value; return this; } public String getLockedBy() { return lockedBy; } public Organization setLockedBy(String value) { this.lockedBy = value; return this; } public Date getDeleted() { return deleted; } public Organization setDeleted(Date value) { this.deleted = value; return this; } public String getDeletedBy() { return deletedBy; } public Organization setDeletedBy(String value) { this.deletedBy = value; return this; } public Date getCreated() { return created; } public Organization setCreated(Date value) { this.created = value; return this; } public String getCreatedBy() { return createdBy; } public Organization setCreatedBy(String value) { this.createdBy = value; return this; } public Date getModified() { return modified; } public Organization setModified(Date value) { this.modified = value; return this; } public String getModifiedBy() { return modifiedBy; } public Organization setModifiedBy(String value) { this.modifiedBy = value; return this; } } public static class OrganizationLabel { public String slug = null; public Integer organizationId = null; public String description = null; public String color = null; public String getSlug() { return slug; } public OrganizationLabel setSlug(String value) { this.slug = value; return this; } public Integer getOrganizationId() { return organizationId; } public OrganizationLabel setOrganizationId(Integer value) { this.organizationId = value; return this; } public String getDescription() { return description; } public OrganizationLabel setDescription(String value) { this.description = value; return this; } public String getColor() { return color; } public OrganizationLabel setColor(String value) { this.color = value; return this; } } public static class Category { public Integer id = null; public Integer organizationId = null; public String name = null; public String slug = null; public String description = null; public String color = null; public ArrayList technologyIds = null; public Integer commentsCount = null; public Integer postsCount = null; public Integer score = null; public Integer rank = null; public Integer getId() { return id; } public Category setId(Integer value) { this.id = value; return this; } public Integer getOrganizationId() { return organizationId; } public Category setOrganizationId(Integer value) { this.organizationId = value; return this; } public String getName() { return name; } public Category setName(String value) { this.name = value; return this; } public String getSlug() { return slug; } public Category setSlug(String value) { this.slug = value; return this; } public String getDescription() { return description; } public Category setDescription(String value) { this.description = value; return this; } public String getColor() { return color; } public Category setColor(String value) { this.color = value; return this; } public ArrayList getTechnologyIds() { return technologyIds; } public Category setTechnologyIds(ArrayList value) { this.technologyIds = value; return this; } public Integer getCommentsCount() { return commentsCount; } public Category setCommentsCount(Integer value) { this.commentsCount = value; return this; } public Integer getPostsCount() { return postsCount; } public Category setPostsCount(Integer value) { this.postsCount = value; return this; } public Integer getScore() { return score; } public Category setScore(Integer value) { this.score = value; return this; } public Integer getRank() { return rank; } public Category setRank(Integer value) { this.rank = value; return this; } } public static class OrganizationMember { public Integer id = null; public Integer organizationId = null; public Integer userId = null; public String userName = null; public Boolean isOwner = null; public Boolean isModerator = null; public Boolean denyAll = null; public Boolean denyPosts = null; public Boolean denyComments = null; public String notes = null; public Integer getId() { return id; } public OrganizationMember setId(Integer value) { this.id = value; return this; } public Integer getOrganizationId() { return organizationId; } public OrganizationMember setOrganizationId(Integer value) { this.organizationId = value; return this; } public Integer getUserId() { return userId; } public OrganizationMember setUserId(Integer value) { this.userId = value; return this; } public String getUserName() { return userName; } public OrganizationMember setUserName(String value) { this.userName = value; return this; } public Boolean getIsOwner() { return isOwner; } public OrganizationMember setIsOwner(Boolean value) { this.isOwner = value; return this; } public Boolean getIsModerator() { return isModerator; } public OrganizationMember setIsModerator(Boolean value) { this.isModerator = value; return this; } public Boolean isDenyAll() { return denyAll; } public OrganizationMember setDenyAll(Boolean value) { this.denyAll = value; return this; } public Boolean isDenyPosts() { return denyPosts; } public OrganizationMember setDenyPosts(Boolean value) { this.denyPosts = value; return this; } public Boolean isDenyComments() { return denyComments; } public OrganizationMember setDenyComments(Boolean value) { this.denyComments = value; return this; } public String getNotes() { return notes; } public OrganizationMember setNotes(String value) { this.notes = value; return this; } } }