/* Options: Date: 2024-12-22 06:55: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: //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.*,com.google.gson.annotations.*,com.google.gson.reflect.* */ import java.math.*; import java.util.*; import java.io.InputStream; import net.servicestack.client.*; import com.google.gson.annotations.*; import com.google.gson.reflect.*; public class dtos { @Route(Path="/ping") public static class Ping implements IGet { } @Route(Path="/hello/{Name}") public static class Hello implements IReturn, IGet { public String name = null; public String getName() { return name; } public Hello setName(String value) { this.name = value; return this; } private static Object responseType = HelloResponse.class; public Object getResponseType() { return responseType; } } @Route(Path="/orgs/{Id}", Verbs="GET") public static class GetOrganization implements IReturn, IGet { public Integer id = null; public Integer getId() { return id; } public GetOrganization setId(Integer value) { this.id = value; return this; } private static Object responseType = GetOrganizationResponse.class; public Object getResponseType() { return responseType; } } @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; } } @Route(Path="/orgs/{Id}/members", Verbs="GET") public static class GetOrganizationMembers implements IReturn, IGet { public Integer id = null; public Integer getId() { return id; } public GetOrganizationMembers setId(Integer value) { this.id = value; return this; } private static Object responseType = GetOrganizationMembersResponse.class; public Object getResponseType() { return responseType; } } @Route(Path="/orgs/{Id}/admin", Verbs="GET") public static class GetOrganizationAdmin implements IReturn, IGet { public Integer id = null; public Integer getId() { return id; } public GetOrganizationAdmin setId(Integer value) { this.id = value; return this; } private static Object responseType = GetOrganizationAdminResponse.class; public Object getResponseType() { return responseType; } } @Route(Path="/orgs/posts/new", Verbs="POST") public static class CreateOrganizationForTechnology implements IReturn, IPost { public Long technologyId = null; public Long techStackId = null; public Long getTechnologyId() { return technologyId; } public CreateOrganizationForTechnology setTechnologyId(Long value) { this.technologyId = value; return this; } public Long getTechStackId() { return techStackId; } public CreateOrganizationForTechnology setTechStackId(Long value) { this.techStackId = value; return this; } private static Object responseType = CreateOrganizationForTechnologyResponse.class; public Object getResponseType() { return responseType; } } @Route(Path="/orgs", Verbs="POST") public static class CreateOrganization implements IReturn, IPost { public String name = null; public String slug = null; public String description = null; public Long refId = null; public String refSource = null; public String refUrn = null; public String getName() { return name; } public CreateOrganization setName(String value) { this.name = value; return this; } public String getSlug() { return slug; } public CreateOrganization setSlug(String value) { this.slug = value; return this; } public String getDescription() { return description; } public CreateOrganization setDescription(String value) { this.description = value; return this; } public Long getRefId() { return refId; } public CreateOrganization setRefId(Long value) { this.refId = value; return this; } public String getRefSource() { return refSource; } public CreateOrganization setRefSource(String value) { this.refSource = value; return this; } public String getRefUrn() { return refUrn; } public CreateOrganization setRefUrn(String value) { this.refUrn = value; return this; } private static Object responseType = CreateOrganizationResponse.class; public Object getResponseType() { return responseType; } } @Route(Path="/orgs/{Id}", Verbs="PUT") public static class UpdateOrganization implements IReturn, IPut { public Integer id = null; public String slug = null; public String name = null; public String description = 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 Integer deletePostsWithReportCount = null; public Boolean disableInvites = null; public String defaultPostType = null; public ArrayList defaultSubscriptionPostTypes = null; public ArrayList postTypes = null; public ArrayList moderatorPostTypes = null; public ArrayList technologyIds = null; public Integer getId() { return id; } public UpdateOrganization setId(Integer value) { this.id = value; return this; } public String getSlug() { return slug; } public UpdateOrganization setSlug(String value) { this.slug = value; return this; } public String getName() { return name; } public UpdateOrganization setName(String value) { this.name = value; return this; } public String getDescription() { return description; } public UpdateOrganization setDescription(String value) { this.description = value; return this; } public String getColor() { return color; } public UpdateOrganization setColor(String value) { this.color = value; return this; } public String getTextColor() { return textColor; } public UpdateOrganization setTextColor(String value) { this.textColor = value; return this; } public String getLinkColor() { return linkColor; } public UpdateOrganization setLinkColor(String value) { this.linkColor = value; return this; } public String getBackgroundColor() { return backgroundColor; } public UpdateOrganization setBackgroundColor(String value) { this.backgroundColor = value; return this; } public String getBackgroundUrl() { return backgroundUrl; } public UpdateOrganization setBackgroundUrl(String value) { this.backgroundUrl = value; return this; } public String getLogoUrl() { return logoUrl; } public UpdateOrganization setLogoUrl(String value) { this.logoUrl = value; return this; } public String getHeroUrl() { return heroUrl; } public UpdateOrganization setHeroUrl(String value) { this.heroUrl = value; return this; } public String getLang() { return lang; } public UpdateOrganization setLang(String value) { this.lang = value; return this; } public Integer getDeletePostsWithReportCount() { return deletePostsWithReportCount; } public UpdateOrganization setDeletePostsWithReportCount(Integer value) { this.deletePostsWithReportCount = value; return this; } public Boolean isDisableInvites() { return disableInvites; } public UpdateOrganization setDisableInvites(Boolean value) { this.disableInvites = value; return this; } public String getDefaultPostType() { return defaultPostType; } public UpdateOrganization setDefaultPostType(String value) { this.defaultPostType = value; return this; } public ArrayList getDefaultSubscriptionPostTypes() { return defaultSubscriptionPostTypes; } public UpdateOrganization setDefaultSubscriptionPostTypes(ArrayList value) { this.defaultSubscriptionPostTypes = value; return this; } public ArrayList getPostTypes() { return postTypes; } public UpdateOrganization setPostTypes(ArrayList value) { this.postTypes = value; return this; } public ArrayList getModeratorPostTypes() { return moderatorPostTypes; } public UpdateOrganization setModeratorPostTypes(ArrayList value) { this.moderatorPostTypes = value; return this; } public ArrayList getTechnologyIds() { return technologyIds; } public UpdateOrganization setTechnologyIds(ArrayList value) { this.technologyIds = value; return this; } private static Object responseType = UpdateOrganizationResponse.class; public Object getResponseType() { return responseType; } } @Route(Path="/orgs/{Id}", Verbs="DELETE") public static class DeleteOrganization implements IReturnVoid, IDelete { public Integer id = null; public Integer getId() { return id; } public DeleteOrganization setId(Integer value) { this.id = value; return this; } } @Route(Path="/orgs/{Id}/lock", Verbs="PUT") public static class LockOrganization implements IReturnVoid, IPut { public Integer id = null; public Boolean lock = null; public String reason = null; public Integer getId() { return id; } public LockOrganization setId(Integer value) { this.id = value; return this; } public Boolean isLock() { return lock; } public LockOrganization setLock(Boolean value) { this.lock = value; return this; } public String getReason() { return reason; } public LockOrganization setReason(String value) { this.reason = value; return this; } } @Route(Path="/orgs/{OrganizationId}/labels", Verbs="POST") public static class AddOrganizationLabel implements IReturn, IPost { public Integer organizationId = null; public String slug = null; public String description = null; public String color = null; public Integer getOrganizationId() { return organizationId; } public AddOrganizationLabel setOrganizationId(Integer value) { this.organizationId = value; return this; } public String getSlug() { return slug; } public AddOrganizationLabel setSlug(String value) { this.slug = value; return this; } public String getDescription() { return description; } public AddOrganizationLabel setDescription(String value) { this.description = value; return this; } public String getColor() { return color; } public AddOrganizationLabel setColor(String value) { this.color = value; return this; } private static Object responseType = OrganizationLabelResponse.class; public Object getResponseType() { return responseType; } } @Route(Path="/orgs/{OrganizationId}/members/{Slug}", Verbs="PUT") public static class UpdateOrganizationLabel implements IReturn, IPut { public Integer organizationId = null; public String slug = null; public String description = null; public String color = null; public Integer getOrganizationId() { return organizationId; } public UpdateOrganizationLabel setOrganizationId(Integer value) { this.organizationId = value; return this; } public String getSlug() { return slug; } public UpdateOrganizationLabel setSlug(String value) { this.slug = value; return this; } public String getDescription() { return description; } public UpdateOrganizationLabel setDescription(String value) { this.description = value; return this; } public String getColor() { return color; } public UpdateOrganizationLabel setColor(String value) { this.color = value; return this; } private static Object responseType = OrganizationLabelResponse.class; public Object getResponseType() { return responseType; } } @Route(Path="/orgs/{OrganizationId}/labels/{Slug}", Verbs="DELETE") public static class RemoveOrganizationLabel implements IReturnVoid, IDelete { public Integer organizationId = null; public String slug = null; public Integer getOrganizationId() { return organizationId; } public RemoveOrganizationLabel setOrganizationId(Integer value) { this.organizationId = value; return this; } public String getSlug() { return slug; } public RemoveOrganizationLabel setSlug(String value) { this.slug = value; return this; } } @Route(Path="/orgs/{OrganizationId}/categories", Verbs="POST") public static class AddOrganizationCategory implements IReturn, IPost { public Integer organizationId = null; public String slug = null; public String name = null; public String description = null; public ArrayList technologyIds = null; public Integer getOrganizationId() { return organizationId; } public AddOrganizationCategory setOrganizationId(Integer value) { this.organizationId = value; return this; } public String getSlug() { return slug; } public AddOrganizationCategory setSlug(String value) { this.slug = value; return this; } public String getName() { return name; } public AddOrganizationCategory setName(String value) { this.name = value; return this; } public String getDescription() { return description; } public AddOrganizationCategory setDescription(String value) { this.description = value; return this; } public ArrayList getTechnologyIds() { return technologyIds; } public AddOrganizationCategory setTechnologyIds(ArrayList value) { this.technologyIds = value; return this; } private static Object responseType = AddOrganizationCategoryResponse.class; public Object getResponseType() { return responseType; } } @Route(Path="/orgs/{OrganizationId}/categories/{Id}", Verbs="PUT") public static class UpdateOrganizationCategory implements IReturn, IPut { public Integer organizationId = null; public Integer id = null; public String name = null; public String slug = null; public String description = null; public ArrayList technologyIds = null; public Integer getOrganizationId() { return organizationId; } public UpdateOrganizationCategory setOrganizationId(Integer value) { this.organizationId = value; return this; } public Integer getId() { return id; } public UpdateOrganizationCategory setId(Integer value) { this.id = value; return this; } public String getName() { return name; } public UpdateOrganizationCategory setName(String value) { this.name = value; return this; } public String getSlug() { return slug; } public UpdateOrganizationCategory setSlug(String value) { this.slug = value; return this; } public String getDescription() { return description; } public UpdateOrganizationCategory setDescription(String value) { this.description = value; return this; } public ArrayList getTechnologyIds() { return technologyIds; } public UpdateOrganizationCategory setTechnologyIds(ArrayList value) { this.technologyIds = value; return this; } private static Object responseType = UpdateOrganizationCategoryResponse.class; public Object getResponseType() { return responseType; } } @Route(Path="/orgs/{OrganizationId}/categories/{Id}", Verbs="DELETE") public static class DeleteOrganizationCategory implements IReturnVoid, IDelete { public Integer organizationId = null; public Integer id = null; public Integer getOrganizationId() { return organizationId; } public DeleteOrganizationCategory setOrganizationId(Integer value) { this.organizationId = value; return this; } public Integer getId() { return id; } public DeleteOrganizationCategory setId(Integer value) { this.id = value; return this; } } @Route(Path="/orgs/{OrganizationId}/members", Verbs="POST") public static class AddOrganizationMember implements IReturn, IPost { public Integer organizationId = null; public String userName = null; public Boolean isOwner = null; public Boolean isModerator = null; public Boolean denyPosts = null; public Boolean denyComments = null; public Boolean denyAll = null; public String notes = null; public Integer getOrganizationId() { return organizationId; } public AddOrganizationMember setOrganizationId(Integer value) { this.organizationId = value; return this; } public String getUserName() { return userName; } public AddOrganizationMember setUserName(String value) { this.userName = value; return this; } public Boolean getIsOwner() { return isOwner; } public AddOrganizationMember setIsOwner(Boolean value) { this.isOwner = value; return this; } public Boolean getIsModerator() { return isModerator; } public AddOrganizationMember setIsModerator(Boolean value) { this.isModerator = value; return this; } public Boolean isDenyPosts() { return denyPosts; } public AddOrganizationMember setDenyPosts(Boolean value) { this.denyPosts = value; return this; } public Boolean isDenyComments() { return denyComments; } public AddOrganizationMember setDenyComments(Boolean value) { this.denyComments = value; return this; } public Boolean isDenyAll() { return denyAll; } public AddOrganizationMember setDenyAll(Boolean value) { this.denyAll = value; return this; } public String getNotes() { return notes; } public AddOrganizationMember setNotes(String value) { this.notes = value; return this; } private static Object responseType = AddOrganizationMemberResponse.class; public Object getResponseType() { return responseType; } } @Route(Path="/orgs/{OrganizationId}/members/{Id}", Verbs="PUT") public static class UpdateOrganizationMember implements IReturn, IPut { public Integer organizationId = null; public Integer userId = null; public Boolean isOwner = null; public Boolean isModerator = null; public Boolean denyPosts = null; public Boolean denyComments = null; public Boolean denyAll = null; public String notes = null; public Integer getOrganizationId() { return organizationId; } public UpdateOrganizationMember setOrganizationId(Integer value) { this.organizationId = value; return this; } public Integer getUserId() { return userId; } public UpdateOrganizationMember setUserId(Integer value) { this.userId = value; return this; } public Boolean getIsOwner() { return isOwner; } public UpdateOrganizationMember setIsOwner(Boolean value) { this.isOwner = value; return this; } public Boolean getIsModerator() { return isModerator; } public UpdateOrganizationMember setIsModerator(Boolean value) { this.isModerator = value; return this; } public Boolean isDenyPosts() { return denyPosts; } public UpdateOrganizationMember setDenyPosts(Boolean value) { this.denyPosts = value; return this; } public Boolean isDenyComments() { return denyComments; } public UpdateOrganizationMember setDenyComments(Boolean value) { this.denyComments = value; return this; } public Boolean isDenyAll() { return denyAll; } public UpdateOrganizationMember setDenyAll(Boolean value) { this.denyAll = value; return this; } public String getNotes() { return notes; } public UpdateOrganizationMember setNotes(String value) { this.notes = value; return this; } private static Object responseType = UpdateOrganizationMemberResponse.class; public Object getResponseType() { return responseType; } } @Route(Path="/orgs/{OrganizationId}/members/{UserId}", Verbs="DELETE") public static class RemoveOrganizationMember implements IReturnVoid, IDelete { public Integer organizationId = null; public Integer userId = null; public Integer getOrganizationId() { return organizationId; } public RemoveOrganizationMember setOrganizationId(Integer value) { this.organizationId = value; return this; } public Integer getUserId() { return userId; } public RemoveOrganizationMember setUserId(Integer value) { this.userId = value; return this; } } @Route(Path="/orgs/{OrganizationId}/members/set", Verbs="POST") public static class SetOrganizationMembers implements IReturn, IPost { public Integer organizationId = null; public ArrayList githubUserNames = null; public ArrayList twitterUserNames = null; public ArrayList emails = null; public Boolean removeUnspecifiedMembers = null; public Boolean isOwner = null; public Boolean isModerator = null; public Boolean denyPosts = null; public Boolean denyComments = null; public Boolean denyAll = null; public Integer getOrganizationId() { return organizationId; } public SetOrganizationMembers setOrganizationId(Integer value) { this.organizationId = value; return this; } public ArrayList getGithubUserNames() { return githubUserNames; } public SetOrganizationMembers setGithubUserNames(ArrayList value) { this.githubUserNames = value; return this; } public ArrayList getTwitterUserNames() { return twitterUserNames; } public SetOrganizationMembers setTwitterUserNames(ArrayList value) { this.twitterUserNames = value; return this; } public ArrayList getEmails() { return emails; } public SetOrganizationMembers setEmails(ArrayList value) { this.emails = value; return this; } public Boolean isRemoveUnspecifiedMembers() { return removeUnspecifiedMembers; } public SetOrganizationMembers setRemoveUnspecifiedMembers(Boolean value) { this.removeUnspecifiedMembers = value; return this; } public Boolean getIsOwner() { return isOwner; } public SetOrganizationMembers setIsOwner(Boolean value) { this.isOwner = value; return this; } public Boolean getIsModerator() { return isModerator; } public SetOrganizationMembers setIsModerator(Boolean value) { this.isModerator = value; return this; } public Boolean isDenyPosts() { return denyPosts; } public SetOrganizationMembers setDenyPosts(Boolean value) { this.denyPosts = value; return this; } public Boolean isDenyComments() { return denyComments; } public SetOrganizationMembers setDenyComments(Boolean value) { this.denyComments = value; return this; } public Boolean isDenyAll() { return denyAll; } public SetOrganizationMembers setDenyAll(Boolean value) { this.denyAll = value; return this; } private static Object responseType = SetOrganizationMembersResponse.class; public Object getResponseType() { return responseType; } } @Route(Path="/orgs/{OrganizationId}/invites", Verbs="GET") public static class GetOrganizationMemberInvites implements IReturn, IGet { public Integer organizationId = null; public Integer getOrganizationId() { return organizationId; } public GetOrganizationMemberInvites setOrganizationId(Integer value) { this.organizationId = value; return this; } private static Object responseType = GetOrganizationMemberInvitesResponse.class; public Object getResponseType() { return responseType; } } @Route(Path="/orgs/{OrganizationId}/invites", Verbs="POST") public static class RequestOrganizationMemberInvite implements IReturn, IPost { public Integer organizationId = null; public Integer getOrganizationId() { return organizationId; } public RequestOrganizationMemberInvite setOrganizationId(Integer value) { this.organizationId = value; return this; } private static Object responseType = RequestOrganizationMemberInviteResponse.class; public Object getResponseType() { return responseType; } } @Route(Path="/orgs/{OrganizationId}/invites/{UserId}", Verbs="PUT") public static class UpdateOrganizationMemberInvite implements IReturn, IPut { public Integer organizationId = null; public String userName = null; public Boolean approve = null; public Boolean dismiss = null; public Integer getOrganizationId() { return organizationId; } public UpdateOrganizationMemberInvite setOrganizationId(Integer value) { this.organizationId = value; return this; } public String getUserName() { return userName; } public UpdateOrganizationMemberInvite setUserName(String value) { this.userName = value; return this; } public Boolean isApprove() { return approve; } public UpdateOrganizationMemberInvite setApprove(Boolean value) { this.approve = value; return this; } public Boolean isDismiss() { return dismiss; } public UpdateOrganizationMemberInvite setDismiss(Boolean value) { this.dismiss = value; return this; } private static Object responseType = UpdateOrganizationMemberInviteResponse.class; public Object getResponseType() { return responseType; } } @Route(Path="/posts", Verbs="GET") public static class QueryPosts extends QueryDb_1 implements IReturn> { public ArrayList ids = null; public Integer organizationId = null; public ArrayList organizationIds = null; public ArrayList types = null; public ArrayList anyTechnologyIds = null; public ArrayList is = null; public ArrayList getIds() { return ids; } public QueryPosts setIds(ArrayList value) { this.ids = value; return this; } public Integer getOrganizationId() { return organizationId; } public QueryPosts setOrganizationId(Integer value) { this.organizationId = value; return this; } public ArrayList getOrganizationIds() { return organizationIds; } public QueryPosts setOrganizationIds(ArrayList value) { this.organizationIds = value; return this; } public ArrayList getTypes() { return types; } public QueryPosts setTypes(ArrayList value) { this.types = value; return this; } public ArrayList getAnyTechnologyIds() { return anyTechnologyIds; } public QueryPosts setAnyTechnologyIds(ArrayList value) { this.anyTechnologyIds = value; return this; } public ArrayList getIs() { return is; } public QueryPosts setIs(ArrayList value) { this.is = value; return this; } private static Object responseType = new TypeToken>(){}.getType(); public Object getResponseType() { return responseType; } } @Route(Path="/posts/{Id}", Verbs="GET") public static class GetPost implements IReturn, IGet { public Long id = null; public String include = null; public Long getId() { return id; } public GetPost setId(Long value) { this.id = value; return this; } public String getInclude() { return include; } public GetPost setInclude(String value) { this.include = value; return this; } private static Object responseType = GetPostResponse.class; public Object getResponseType() { return responseType; } } @Route(Path="/posts", Verbs="POST") public static class CreatePost implements IReturn, IPost { 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 refId = null; public String refSource = null; public String refUrn = null; public Integer getOrganizationId() { return organizationId; } public CreatePost setOrganizationId(Integer value) { this.organizationId = value; return this; } public PostType getType() { return type; } public CreatePost setType(PostType value) { this.type = value; return this; } public Integer getCategoryId() { return categoryId; } public CreatePost setCategoryId(Integer value) { this.categoryId = value; return this; } public String getTitle() { return title; } public CreatePost setTitle(String value) { this.title = value; return this; } public String getUrl() { return url; } public CreatePost setUrl(String value) { this.url = value; return this; } public String getImageUrl() { return imageUrl; } public CreatePost setImageUrl(String value) { this.imageUrl = value; return this; } public String getContent() { return content; } public CreatePost setContent(String value) { this.content = value; return this; } public Boolean isLock() { return lock; } public CreatePost setLock(Boolean value) { this.lock = value; return this; } public ArrayList getTechnologyIds() { return technologyIds; } public CreatePost setTechnologyIds(ArrayList value) { this.technologyIds = value; return this; } public ArrayList getLabels() { return labels; } public CreatePost setLabels(ArrayList value) { this.labels = value; return this; } public Date getFromDate() { return fromDate; } public CreatePost setFromDate(Date value) { this.fromDate = value; return this; } public Date getToDate() { return toDate; } public CreatePost setToDate(Date value) { this.toDate = value; return this; } public String getMetaType() { return metaType; } public CreatePost setMetaType(String value) { this.metaType = value; return this; } public String getMeta() { return meta; } public CreatePost setMeta(String value) { this.meta = value; return this; } public Long getRefId() { return refId; } public CreatePost setRefId(Long value) { this.refId = value; return this; } public String getRefSource() { return refSource; } public CreatePost setRefSource(String value) { this.refSource = value; return this; } public String getRefUrn() { return refUrn; } public CreatePost setRefUrn(String value) { this.refUrn = value; return this; } private static Object responseType = CreatePostResponse.class; public Object getResponseType() { return responseType; } } @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; } } @Route(Path="/posts/{Id}", Verbs="DELETE") public static class DeletePost implements IReturn, IDelete { public Long id = null; public Long getId() { return id; } public DeletePost setId(Long value) { this.id = value; return this; } private static Object responseType = DeletePostResponse.class; public Object getResponseType() { return responseType; } } @Route(Path="/posts/{Id}/lock", Verbs="PUT") public static class LockPost implements IReturnVoid, IPut { public Long id = null; public Boolean lock = null; public String reason = null; public Long getId() { return id; } public LockPost setId(Long value) { this.id = value; return this; } public Boolean isLock() { return lock; } public LockPost setLock(Boolean value) { this.lock = value; return this; } public String getReason() { return reason; } public LockPost setReason(String value) { this.reason = value; return this; } } @Route(Path="/posts/{Id}/hide", Verbs="PUT") public static class HidePost implements IReturnVoid, IPut { public Long id = null; public Boolean hide = null; public String reason = null; public Long getId() { return id; } public HidePost setId(Long value) { this.id = value; return this; } public Boolean isHide() { return hide; } public HidePost setHide(Boolean value) { this.hide = value; return this; } public String getReason() { return reason; } public HidePost setReason(String value) { this.reason = value; return this; } } @Route(Path="/posts/{Id}/status/{Status}", Verbs="PUT") public static class ChangeStatusPost implements IReturnVoid, IPut { public Long id = null; public String status = null; public String reason = null; public Long getId() { return id; } public ChangeStatusPost setId(Long value) { this.id = value; return this; } public String getStatus() { return status; } public ChangeStatusPost setStatus(String value) { this.status = value; return this; } public String getReason() { return reason; } public ChangeStatusPost setReason(String value) { this.reason = value; return this; } } @Route(Path="/posts/{PostId}/report/{Id}", Verbs="POST") public static class ActionPostReport implements IReturnVoid, IPost { public Long postId = null; public Long id = null; public ReportAction reportAction = null; public Long getPostId() { return postId; } public ActionPostReport setPostId(Long value) { this.postId = value; return this; } public Long getId() { return id; } public ActionPostReport setId(Long value) { this.id = value; return this; } public ReportAction getReportAction() { return reportAction; } public ActionPostReport setReportAction(ReportAction value) { this.reportAction = value; return this; } } @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; } } @Route(Path="/posts/{PostId}/comments/{Id}", Verbs="PUT") public static class UpdatePostComment implements IReturn, IPut { public Long id = null; public Long postId = null; public String content = null; public Long getId() { return id; } public UpdatePostComment setId(Long value) { this.id = value; return this; } public Long getPostId() { return postId; } public UpdatePostComment setPostId(Long value) { this.postId = value; return this; } public String getContent() { return content; } public UpdatePostComment setContent(String value) { this.content = value; return this; } private static Object responseType = UpdatePostCommentResponse.class; public Object getResponseType() { return responseType; } } @Route(Path="/posts/{PostId}/comments/{Id}", Verbs="DELETE") public static class DeletePostComment implements IReturn, IDelete { public Long id = null; public Long postId = null; public Long getId() { return id; } public DeletePostComment setId(Long value) { this.id = value; return this; } public Long getPostId() { return postId; } public DeletePostComment setPostId(Long value) { this.postId = value; return this; } private static Object responseType = DeletePostCommentResponse.class; public Object getResponseType() { return responseType; } } @Route(Path="/posts/{PostId}/comments/{PostCommentId}/report/{Id}", Verbs="POST") public static class ActionPostCommentReport implements IReturnVoid, IPost { public Long id = null; public Long postCommentId = null; public Long postId = null; public ReportAction reportAction = null; public Long getId() { return id; } public ActionPostCommentReport setId(Long value) { this.id = value; return this; } public Long getPostCommentId() { return postCommentId; } public ActionPostCommentReport setPostCommentId(Long value) { this.postCommentId = value; return this; } public Long getPostId() { return postId; } public ActionPostCommentReport setPostId(Long value) { this.postId = value; return this; } public ReportAction getReportAction() { return reportAction; } public ActionPostCommentReport setReportAction(ReportAction value) { this.reportAction = value; return this; } } @Route(Path="/user/comments/votes") public static class GetUserPostCommentVotes implements IReturn, IGet { public Long postId = null; public Long getPostId() { return postId; } public GetUserPostCommentVotes setPostId(Long value) { this.postId = value; return this; } private static Object responseType = GetUserPostCommentVotesResponse.class; public Object getResponseType() { return responseType; } } @Route(Path="/posts/{PostId}/comments/{Id}/pin", Verbs="PUT") public static class PinPostComment implements IReturn, IPut { public Long id = null; public Long postId = null; public Boolean pin = null; public Long getId() { return id; } public PinPostComment setId(Long value) { this.id = value; return this; } public Long getPostId() { return postId; } public PinPostComment setPostId(Long value) { this.postId = value; return this; } public Boolean isPin() { return pin; } public PinPostComment setPin(Boolean value) { this.pin = value; return this; } private static Object responseType = PinPostCommentResponse.class; public Object getResponseType() { return responseType; } } @Route(Path="/users/by-email") public static class GetUsersByEmails implements IReturn, IGet { public ArrayList emails = null; public ArrayList getEmails() { return emails; } public GetUsersByEmails setEmails(ArrayList value) { this.emails = value; return this; } private static Object responseType = GetUsersByEmailsResponse.class; public Object getResponseType() { return responseType; } } @Route(Path="/user/posts/activity") public static class GetUserPostActivity implements IReturn, IGet { private static Object responseType = GetUserPostActivityResponse.class; public Object getResponseType() { return responseType; } } @Route(Path="/user/organizations") public static class GetUserOrganizations implements IReturn, IGet { private static Object responseType = GetUserOrganizationsResponse.class; public Object getResponseType() { return responseType; } } @Route(Path="/posts/{Id}/vote", Verbs="PUT") public static class UserPostVote implements IReturn, IPut { public Long id = null; public Integer weight = null; public Long getId() { return id; } public UserPostVote setId(Long value) { this.id = value; return this; } public Integer getWeight() { return weight; } public UserPostVote setWeight(Integer value) { this.weight = value; return this; } private static Object responseType = UserPostVoteResponse.class; public Object getResponseType() { return responseType; } } @Route(Path="/posts/{Id}/favorite", Verbs="PUT") public static class UserPostFavorite implements IReturn, IPut { public Long id = null; public Long getId() { return id; } public UserPostFavorite setId(Long value) { this.id = value; return this; } private static Object responseType = UserPostFavoriteResponse.class; public Object getResponseType() { return responseType; } } @Route(Path="/posts/{Id}/report", Verbs="PUT") public static class UserPostReport implements IReturn, IPut { public Long id = null; public FlagType flagType = null; public String reportNotes = null; public Long getId() { return id; } public UserPostReport setId(Long value) { this.id = value; return this; } public FlagType getFlagType() { return flagType; } public UserPostReport setFlagType(FlagType value) { this.flagType = value; return this; } public String getReportNotes() { return reportNotes; } public UserPostReport setReportNotes(String value) { this.reportNotes = value; return this; } private static Object responseType = UserPostReportResponse.class; public Object getResponseType() { return responseType; } } @Route(Path="/posts/{PostId}/comments/{Id}", Verbs="GET") public static class UserPostCommentVote implements IReturn, IGet { public Long id = null; public Long postId = null; public Integer weight = null; public Long getId() { return id; } public UserPostCommentVote setId(Long value) { this.id = value; return this; } public Long getPostId() { return postId; } public UserPostCommentVote setPostId(Long value) { this.postId = value; return this; } public Integer getWeight() { return weight; } public UserPostCommentVote setWeight(Integer value) { this.weight = value; return this; } private static Object responseType = UserPostCommentVoteResponse.class; public Object getResponseType() { return responseType; } } @Route(Path="/posts/{PostId}/comments/{Id}/report", Verbs="PUT") public static class UserPostCommentReport implements IReturn, IPut { public Long id = null; public Long postId = null; public FlagType flagType = null; public String reportNotes = null; public Long getId() { return id; } public UserPostCommentReport setId(Long value) { this.id = value; return this; } public Long getPostId() { return postId; } public UserPostCommentReport setPostId(Long value) { this.postId = value; return this; } public FlagType getFlagType() { return flagType; } public UserPostCommentReport setFlagType(FlagType value) { this.flagType = value; return this; } public String getReportNotes() { return reportNotes; } public UserPostCommentReport setReportNotes(String value) { this.reportNotes = value; return this; } private static Object responseType = UserPostCommentReportResponse.class; public Object getResponseType() { return responseType; } } @Route(Path="/prerender/{**Path}", Verbs="PUT") public static class StorePreRender implements IReturnVoid, IPut { public String path = null; public InputStream requestStream = null; public String getPath() { return path; } public StorePreRender setPath(String value) { this.path = value; return this; } public InputStream getRequestStream() { return requestStream; } public StorePreRender setRequestStream(InputStream value) { this.requestStream = value; return this; } } @Route(Path="/prerender/{**Path}", Verbs="GET") public static class GetPreRender implements IReturn, IGet { public String path = null; public String getPath() { return path; } public GetPreRender setPath(String value) { this.path = value; return this; } private static Object responseType = String.class; public Object getResponseType() { return responseType; } } @Route(Path="/my-session") @ValidateRequest(Validator="IsAuthenticated") public static class SessionInfo implements IReturn, IGet { private static Object responseType = SessionInfoResponse.class; public Object getResponseType() { return responseType; } } @Route(Path="/orgs/{OrganizationId}/subscribe", Verbs="PUT") public static class SubscribeToOrganization implements IReturnVoid, IPut { public Integer organizationId = null; public ArrayList postTypes = null; public Frequency frequency = null; public Integer getOrganizationId() { return organizationId; } public SubscribeToOrganization setOrganizationId(Integer value) { this.organizationId = value; return this; } public ArrayList getPostTypes() { return postTypes; } public SubscribeToOrganization setPostTypes(ArrayList value) { this.postTypes = value; return this; } public Frequency getFrequency() { return frequency; } public SubscribeToOrganization setFrequency(Frequency value) { this.frequency = value; return this; } } @Route(Path="/posts/{PostId}/subscribe", Verbs="PUT") public static class SubscribeToPost implements IReturnVoid, IPut { public Long postId = null; public Long getPostId() { return postId; } public SubscribeToPost setPostId(Long value) { this.postId = value; return this; } } @Route(Path="/orgs/{OrganizationId}/subscribe", Verbs="DELETE") public static class DeleteOrganizationSubscription implements IReturnVoid, IDelete { public Long organizationId = null; public Long getOrganizationId() { return organizationId; } public DeleteOrganizationSubscription setOrganizationId(Long value) { this.organizationId = value; return this; } } @Route(Path="/posts/{PostId}/subscribe", Verbs="DELETE") public static class DeletePostSubscription implements IReturnVoid, IDelete { public Long postId = null; public Long getPostId() { return postId; } public DeletePostSubscription setPostId(Long value) { this.postId = value; return this; } } @Route(Path="/technology/{Slug}/previous-versions", Verbs="GET") public static class GetTechnologyPreviousVersions implements IReturn, IGet { public String slug = null; public String getSlug() { return slug; } public GetTechnologyPreviousVersions setSlug(String value) { this.slug = value; return this; } private static Object responseType = GetTechnologyPreviousVersionsResponse.class; public Object getResponseType() { return responseType; } } @Route(Path="/technology", Verbs="GET") public static class GetAllTechnologies implements IReturn, IGet { private static Object responseType = GetAllTechnologiesResponse.class; public Object getResponseType() { return responseType; } } @Route(Path="/technology/search") @AutoQueryViewer(DefaultSearchField="Tier", DefaultSearchText="Data", DefaultSearchType="=", Description="Explore different Technologies", IconUrl="octicon:database", Title="Find Technologies") public static class FindTechnologies extends QueryDb_2 implements IReturn> { public ArrayList ids = null; public String name = null; public String vendorName = null; public String nameContains = null; public String vendorNameContains = null; public String descriptionContains = null; public ArrayList getIds() { return ids; } public FindTechnologies setIds(ArrayList value) { this.ids = value; return this; } public String getName() { return name; } public FindTechnologies setName(String value) { this.name = value; return this; } public String getVendorName() { return vendorName; } public FindTechnologies setVendorName(String value) { this.vendorName = value; return this; } public String getNameContains() { return nameContains; } public FindTechnologies setNameContains(String value) { this.nameContains = value; return this; } public String getVendorNameContains() { return vendorNameContains; } public FindTechnologies setVendorNameContains(String value) { this.vendorNameContains = value; return this; } public String getDescriptionContains() { return descriptionContains; } public FindTechnologies setDescriptionContains(String value) { this.descriptionContains = value; return this; } private static Object responseType = new TypeToken>(){}.getType(); public Object getResponseType() { return responseType; } } @Route(Path="/technology/query") public static class QueryTechnology extends QueryDb_2 implements IReturn> { public ArrayList ids = null; public String name = null; public String vendorName = null; public String nameContains = null; public String vendorNameContains = null; public String descriptionContains = null; public ArrayList getIds() { return ids; } public QueryTechnology setIds(ArrayList value) { this.ids = value; return this; } public String getName() { return name; } public QueryTechnology setName(String value) { this.name = value; return this; } public String getVendorName() { return vendorName; } public QueryTechnology setVendorName(String value) { this.vendorName = value; return this; } public String getNameContains() { return nameContains; } public QueryTechnology setNameContains(String value) { this.nameContains = value; return this; } public String getVendorNameContains() { return vendorNameContains; } public QueryTechnology setVendorNameContains(String value) { this.vendorNameContains = value; return this; } public String getDescriptionContains() { return descriptionContains; } public QueryTechnology setDescriptionContains(String value) { this.descriptionContains = value; return this; } private static Object responseType = new TypeToken>(){}.getType(); public Object getResponseType() { return responseType; } } @Route(Path="/technology/{Slug}") public static class GetTechnology implements IReturn, IRegisterStats, IGet { public String slug = null; public String getSlug() { return slug; } public GetTechnology setSlug(String value) { this.slug = value; return this; } private static Object responseType = GetTechnologyResponse.class; public Object getResponseType() { return responseType; } } @Route(Path="/technology/{Slug}/favorites") public static class GetTechnologyFavoriteDetails implements IReturn, IGet { public String slug = null; public String getSlug() { return slug; } public GetTechnologyFavoriteDetails setSlug(String value) { this.slug = value; return this; } private static Object responseType = GetTechnologyFavoriteDetailsResponse.class; public Object getResponseType() { return responseType; } } @Route(Path="/technology", Verbs="POST") public static class CreateTechnology implements IReturn, IPost { public String name = null; public String slug = null; public String vendorName = null; public String vendorUrl = null; public String productUrl = null; public String logoUrl = null; public String description = null; public Boolean isLocked = null; public TechnologyTier tier = null; public String getName() { return name; } public CreateTechnology setName(String value) { this.name = value; return this; } public String getSlug() { return slug; } public CreateTechnology setSlug(String value) { this.slug = value; return this; } public String getVendorName() { return vendorName; } public CreateTechnology setVendorName(String value) { this.vendorName = value; return this; } public String getVendorUrl() { return vendorUrl; } public CreateTechnology setVendorUrl(String value) { this.vendorUrl = value; return this; } public String getProductUrl() { return productUrl; } public CreateTechnology setProductUrl(String value) { this.productUrl = value; return this; } public String getLogoUrl() { return logoUrl; } public CreateTechnology setLogoUrl(String value) { this.logoUrl = value; return this; } public String getDescription() { return description; } public CreateTechnology setDescription(String value) { this.description = value; return this; } public Boolean getIsLocked() { return isLocked; } public CreateTechnology setIsLocked(Boolean value) { this.isLocked = value; return this; } public TechnologyTier getTier() { return tier; } public CreateTechnology setTier(TechnologyTier value) { this.tier = value; return this; } private static Object responseType = CreateTechnologyResponse.class; public Object getResponseType() { return responseType; } } @Route(Path="/technology/{Id}", Verbs="PUT") public static class UpdateTechnology implements IReturn, IPut { public Long id = null; public String name = null; public String vendorName = null; public String vendorUrl = null; public String productUrl = null; public String logoUrl = null; public String description = null; public Boolean isLocked = null; public TechnologyTier tier = null; public Long getId() { return id; } public UpdateTechnology setId(Long value) { this.id = value; return this; } public String getName() { return name; } public UpdateTechnology setName(String value) { this.name = value; return this; } public String getVendorName() { return vendorName; } public UpdateTechnology setVendorName(String value) { this.vendorName = value; return this; } public String getVendorUrl() { return vendorUrl; } public UpdateTechnology setVendorUrl(String value) { this.vendorUrl = value; return this; } public String getProductUrl() { return productUrl; } public UpdateTechnology setProductUrl(String value) { this.productUrl = value; return this; } public String getLogoUrl() { return logoUrl; } public UpdateTechnology setLogoUrl(String value) { this.logoUrl = value; return this; } public String getDescription() { return description; } public UpdateTechnology setDescription(String value) { this.description = value; return this; } public Boolean getIsLocked() { return isLocked; } public UpdateTechnology setIsLocked(Boolean value) { this.isLocked = value; return this; } public TechnologyTier getTier() { return tier; } public UpdateTechnology setTier(TechnologyTier value) { this.tier = value; return this; } private static Object responseType = UpdateTechnologyResponse.class; public Object getResponseType() { return responseType; } } @Route(Path="/technology/{Id}", Verbs="DELETE") public static class DeleteTechnology implements IReturn, IDelete { public Long id = null; public Long getId() { return id; } public DeleteTechnology setId(Long value) { this.id = value; return this; } private static Object responseType = DeleteTechnologyResponse.class; public Object getResponseType() { return responseType; } } @Route(Path="/techstacks/{Slug}/previous-versions", Verbs="GET") public static class GetTechnologyStackPreviousVersions implements IReturn, IGet { public String slug = null; public String getSlug() { return slug; } public GetTechnologyStackPreviousVersions setSlug(String value) { this.slug = value; return this; } private static Object responseType = GetTechnologyStackPreviousVersionsResponse.class; public Object getResponseType() { return responseType; } } @Route(Path="/pagestats/{Type}/{Slug}") public static class GetPageStats implements IReturn, IGet { public String type = null; public String slug = null; public Integer id = null; public String getType() { return type; } public GetPageStats setType(String value) { this.type = value; return this; } public String getSlug() { return slug; } public GetPageStats setSlug(String value) { this.slug = value; return this; } public Integer getId() { return id; } public GetPageStats setId(Integer value) { this.id = value; return this; } private static Object responseType = GetPageStatsResponse.class; public Object getResponseType() { return responseType; } } @Route(Path="/techstacks/search") @AutoQueryViewer(DefaultSearchField="Description", DefaultSearchText="ServiceStack", DefaultSearchType="Contains", Description="Explore different Technology Stacks", IconUrl="material-icons:cloud", Title="Find Technology Stacks") public static class FindTechStacks extends QueryDb_2 implements IReturn> { public ArrayList ids = null; public String name = null; public String vendorName = null; public String nameContains = null; public String vendorNameContains = null; public String descriptionContains = null; public ArrayList getIds() { return ids; } public FindTechStacks setIds(ArrayList value) { this.ids = value; return this; } public String getName() { return name; } public FindTechStacks setName(String value) { this.name = value; return this; } public String getVendorName() { return vendorName; } public FindTechStacks setVendorName(String value) { this.vendorName = value; return this; } public String getNameContains() { return nameContains; } public FindTechStacks setNameContains(String value) { this.nameContains = value; return this; } public String getVendorNameContains() { return vendorNameContains; } public FindTechStacks setVendorNameContains(String value) { this.vendorNameContains = value; return this; } public String getDescriptionContains() { return descriptionContains; } public FindTechStacks setDescriptionContains(String value) { this.descriptionContains = value; return this; } private static Object responseType = new TypeToken>(){}.getType(); public Object getResponseType() { return responseType; } } @Route(Path="/techstacks/query") public static class QueryTechStacks extends QueryDb_2 implements IReturn> { public ArrayList ids = null; public String name = null; public String vendorName = null; public String nameContains = null; public String vendorNameContains = null; public String descriptionContains = null; public ArrayList getIds() { return ids; } public QueryTechStacks setIds(ArrayList value) { this.ids = value; return this; } public String getName() { return name; } public QueryTechStacks setName(String value) { this.name = value; return this; } public String getVendorName() { return vendorName; } public QueryTechStacks setVendorName(String value) { this.vendorName = value; return this; } public String getNameContains() { return nameContains; } public QueryTechStacks setNameContains(String value) { this.nameContains = value; return this; } public String getVendorNameContains() { return vendorNameContains; } public QueryTechStacks setVendorNameContains(String value) { this.vendorNameContains = value; return this; } public String getDescriptionContains() { return descriptionContains; } public QueryTechStacks setDescriptionContains(String value) { this.descriptionContains = value; return this; } private static Object responseType = new TypeToken>(){}.getType(); public Object getResponseType() { return responseType; } } @Route(Path="/overview") public static class Overview implements IReturn, IGet { public Boolean reload = null; public Boolean isReload() { return reload; } public Overview setReload(Boolean value) { this.reload = value; return this; } private static Object responseType = OverviewResponse.class; public Object getResponseType() { return responseType; } } @Route(Path="/app-overview") public static class AppOverview implements IReturn, IGet { public Boolean reload = null; public Boolean isReload() { return reload; } public AppOverview setReload(Boolean value) { this.reload = value; return this; } private static Object responseType = AppOverviewResponse.class; public Object getResponseType() { return responseType; } } @Route(Path="/techstacks", Verbs="GET") public static class GetAllTechnologyStacks implements IReturn, IGet { private static Object responseType = GetAllTechnologyStacksResponse.class; public Object getResponseType() { return responseType; } } @Route(Path="/techstacks/{Slug}", Verbs="GET") public static class GetTechnologyStack implements IReturn, IRegisterStats, IGet { public String slug = null; public String getSlug() { return slug; } public GetTechnologyStack setSlug(String value) { this.slug = value; return this; } private static Object responseType = GetTechnologyStackResponse.class; public Object getResponseType() { return responseType; } } @Route(Path="/techstacks/{Slug}/favorites") public static class GetTechnologyStackFavoriteDetails implements IReturn, IGet { public String slug = null; public String getSlug() { return slug; } public GetTechnologyStackFavoriteDetails setSlug(String value) { this.slug = value; return this; } private static Object responseType = GetTechnologyStackFavoriteDetailsResponse.class; public Object getResponseType() { return responseType; } } @Route(Path="/config") public static class GetConfig implements IReturn, IGet { private static Object responseType = GetConfigResponse.class; public Object getResponseType() { return responseType; } } @Route(Path="/techstacks", Verbs="POST") public static class CreateTechnologyStack implements IReturn, IPost { public String name = null; public String slug = null; public String vendorName = null; public String appUrl = null; public String screenshotUrl = null; public String description = null; public String details = null; public Boolean isLocked = null; public ArrayList technologyIds = null; public String getName() { return name; } public CreateTechnologyStack setName(String value) { this.name = value; return this; } public String getSlug() { return slug; } public CreateTechnologyStack setSlug(String value) { this.slug = value; return this; } public String getVendorName() { return vendorName; } public CreateTechnologyStack setVendorName(String value) { this.vendorName = value; return this; } public String getAppUrl() { return appUrl; } public CreateTechnologyStack setAppUrl(String value) { this.appUrl = value; return this; } public String getScreenshotUrl() { return screenshotUrl; } public CreateTechnologyStack setScreenshotUrl(String value) { this.screenshotUrl = value; return this; } public String getDescription() { return description; } public CreateTechnologyStack setDescription(String value) { this.description = value; return this; } public String getDetails() { return details; } public CreateTechnologyStack setDetails(String value) { this.details = value; return this; } public Boolean getIsLocked() { return isLocked; } public CreateTechnologyStack setIsLocked(Boolean value) { this.isLocked = value; return this; } public ArrayList getTechnologyIds() { return technologyIds; } public CreateTechnologyStack setTechnologyIds(ArrayList value) { this.technologyIds = value; return this; } private static Object responseType = CreateTechnologyStackResponse.class; public Object getResponseType() { return responseType; } } @Route(Path="/techstacks/{Id}", Verbs="PUT") public static class UpdateTechnologyStack implements IReturn, IPut { public Long id = null; public String name = null; public String vendorName = null; public String appUrl = null; public String screenshotUrl = null; public String description = null; public String details = null; public Boolean isLocked = null; public ArrayList technologyIds = null; public Long getId() { return id; } public UpdateTechnologyStack setId(Long value) { this.id = value; return this; } public String getName() { return name; } public UpdateTechnologyStack setName(String value) { this.name = value; return this; } public String getVendorName() { return vendorName; } public UpdateTechnologyStack setVendorName(String value) { this.vendorName = value; return this; } public String getAppUrl() { return appUrl; } public UpdateTechnologyStack setAppUrl(String value) { this.appUrl = value; return this; } public String getScreenshotUrl() { return screenshotUrl; } public UpdateTechnologyStack setScreenshotUrl(String value) { this.screenshotUrl = value; return this; } public String getDescription() { return description; } public UpdateTechnologyStack setDescription(String value) { this.description = value; return this; } public String getDetails() { return details; } public UpdateTechnologyStack setDetails(String value) { this.details = value; return this; } public Boolean getIsLocked() { return isLocked; } public UpdateTechnologyStack setIsLocked(Boolean value) { this.isLocked = value; return this; } public ArrayList getTechnologyIds() { return technologyIds; } public UpdateTechnologyStack setTechnologyIds(ArrayList value) { this.technologyIds = value; return this; } private static Object responseType = UpdateTechnologyStackResponse.class; public Object getResponseType() { return responseType; } } @Route(Path="/techstacks/{Id}", Verbs="DELETE") public static class DeleteTechnologyStack implements IReturn, IDelete { public Long id = null; public Long getId() { return id; } public DeleteTechnologyStack setId(Long value) { this.id = value; return this; } private static Object responseType = DeleteTechnologyStackResponse.class; public Object getResponseType() { return responseType; } } @Route(Path="/favorites/techtacks", Verbs="GET") public static class GetFavoriteTechStack implements IReturn, IGet { public Integer technologyStackId = null; public Integer getTechnologyStackId() { return technologyStackId; } public GetFavoriteTechStack setTechnologyStackId(Integer value) { this.technologyStackId = value; return this; } private static Object responseType = GetFavoriteTechStackResponse.class; public Object getResponseType() { return responseType; } } @Route(Path="/favorites/techtacks/{TechnologyStackId}", Verbs="PUT") public static class AddFavoriteTechStack implements IReturn, IPut { public Integer technologyStackId = null; public Integer getTechnologyStackId() { return technologyStackId; } public AddFavoriteTechStack setTechnologyStackId(Integer value) { this.technologyStackId = value; return this; } private static Object responseType = FavoriteTechStackResponse.class; public Object getResponseType() { return responseType; } } @Route(Path="/favorites/techtacks/{TechnologyStackId}", Verbs="DELETE") public static class RemoveFavoriteTechStack implements IReturn, IDelete { public Integer technologyStackId = null; public Integer getTechnologyStackId() { return technologyStackId; } public RemoveFavoriteTechStack setTechnologyStackId(Integer value) { this.technologyStackId = value; return this; } private static Object responseType = FavoriteTechStackResponse.class; public Object getResponseType() { return responseType; } } @Route(Path="/favorites/technology", Verbs="GET") public static class GetFavoriteTechnologies implements IReturn, IGet { public Integer technologyId = null; public Integer getTechnologyId() { return technologyId; } public GetFavoriteTechnologies setTechnologyId(Integer value) { this.technologyId = value; return this; } private static Object responseType = GetFavoriteTechnologiesResponse.class; public Object getResponseType() { return responseType; } } @Route(Path="/favorites/technology/{TechnologyId}", Verbs="PUT") public static class AddFavoriteTechnology implements IReturn, IPut { public Integer technologyId = null; public Integer getTechnologyId() { return technologyId; } public AddFavoriteTechnology setTechnologyId(Integer value) { this.technologyId = value; return this; } private static Object responseType = FavoriteTechnologyResponse.class; public Object getResponseType() { return responseType; } } @Route(Path="/favorites/technology/{TechnologyId}", Verbs="DELETE") public static class RemoveFavoriteTechnology implements IReturn, IDelete { public Integer technologyId = null; public Integer getTechnologyId() { return technologyId; } public RemoveFavoriteTechnology setTechnologyId(Integer value) { this.technologyId = value; return this; } private static Object responseType = FavoriteTechnologyResponse.class; public Object getResponseType() { return responseType; } } @Route(Path="/my-feed") @ValidateRequest(Validator="IsAuthenticated") public static class GetUserFeed implements IReturn, IGet { private static Object responseType = GetUserFeedResponse.class; public Object getResponseType() { return responseType; } } @Route(Path="/users/karma", Verbs="GET") public static class GetUsersKarma implements IReturn, IGet { public ArrayList userIds = null; public ArrayList getUserIds() { return userIds; } public GetUsersKarma setUserIds(ArrayList value) { this.userIds = value; return this; } private static Object responseType = GetUsersKarmaResponse.class; public Object getResponseType() { return responseType; } } @Route(Path="/userinfo/{Id}") public static class GetUserInfo implements IReturn, IGet { public Integer id = null; public String userName = null; public Integer getId() { return id; } public GetUserInfo setId(Integer value) { this.id = value; return this; } public String getUserName() { return userName; } public GetUserInfo setUserName(String value) { this.userName = value; return this; } private static Object responseType = GetUserInfoResponse.class; public Object getResponseType() { return responseType; } } @Route(Path="/users/{UserId}/avatar", Verbs="GET") public static class UserAvatar implements IGet { public Integer userId = null; public Integer getUserId() { return userId; } public UserAvatar setUserId(Integer value) { this.userId = value; return this; } } @Route(Path="/mq/start") public static class MqStart implements IReturn { private static Object responseType = String.class; public Object getResponseType() { return responseType; } } @Route(Path="/mq/stop") public static class MqStop implements IReturn { private static Object responseType = String.class; public Object getResponseType() { return responseType; } } @Route(Path="/mq/stats") public static class MqStats implements IReturn { private static Object responseType = String.class; public Object getResponseType() { return responseType; } } @Route(Path="/mq/status") public static class MqStatus implements IReturn { private static Object responseType = String.class; public Object getResponseType() { return responseType; } } @Route(Path="/admin/technology/{TechnologyId}/logo") public static class LogoUrlApproval implements IReturn, IPut { public Long technologyId = null; public Boolean approved = null; public Long getTechnologyId() { return technologyId; } public LogoUrlApproval setTechnologyId(Long value) { this.technologyId = value; return this; } public Boolean isApproved() { return approved; } public LogoUrlApproval setApproved(Boolean value) { this.approved = value; return this; } private static Object responseType = LogoUrlApprovalResponse.class; public Object getResponseType() { return responseType; } } /** * Limit updates to TechStack to Owner or Admin users */ @Route(Path="/admin/techstacks/{TechnologyStackId}/lock") public static class LockTechStack implements IReturn, IPut { @Validate(Validator="GreaterThan(0)") public Long technologyStackId = null; public Boolean isLocked = null; public Long getTechnologyStackId() { return technologyStackId; } public LockTechStack setTechnologyStackId(Long value) { this.technologyStackId = value; return this; } public Boolean getIsLocked() { return isLocked; } public LockTechStack setIsLocked(Boolean value) { this.isLocked = value; return this; } private static Object responseType = LockStackResponse.class; public Object getResponseType() { return responseType; } } /** * Limit updates to Technology to Owner or Admin users */ @Route(Path="/admin/technology/{TechnologyId}/lock") @Api(Description="Limit updates to Technology to Owner or Admin users") public static class LockTech implements IReturn, IPut { @Validate(Validator="GreaterThan(0)") public Long technologyId = null; public Boolean isLocked = null; public Long getTechnologyId() { return technologyId; } public LockTech setTechnologyId(Long value) { this.technologyId = value; return this; } public Boolean getIsLocked() { return isLocked; } public LockTech setIsLocked(Boolean value) { this.isLocked = value; return this; } private static Object responseType = LockStackResponse.class; public Object getResponseType() { return responseType; } } public static class DummyTypes { public ArrayList post = null; public ArrayList getPost() { return post; } public DummyTypes setPost(ArrayList value) { this.post = value; return this; } } @Route(Path="/email/post/{PostId}") @ValidateRequest(Validator="IsAdmin") public static class EmailTest implements IReturn { public Integer postId = null; public Integer getPostId() { return postId; } public EmailTest setPostId(Integer value) { this.postId = value; return this; } private static Object responseType = EmailTestResponse.class; public Object getResponseType() { return responseType; } } /** * Sign In */ @Route(Path="/auth", Verbs="GET,POST") // @Route(Path="/auth/{provider}", Verbs="POST") @Api(Description="Sign In") @DataContract public static class Authenticate implements IReturn, IPost { /** * AuthProvider, e.g. credentials */ @DataMember(Order=1) public String provider = null; @DataMember(Order=2) public String userName = null; @DataMember(Order=3) public String password = null; @DataMember(Order=4) public Boolean rememberMe = null; @DataMember(Order=5) public String accessToken = null; @DataMember(Order=6) public String accessTokenSecret = null; @DataMember(Order=7) public String returnUrl = null; @DataMember(Order=8) public String errorView = null; @DataMember(Order=9) public HashMap meta = null; public String getProvider() { return provider; } public Authenticate setProvider(String value) { this.provider = value; return this; } public String getUserName() { return userName; } public Authenticate setUserName(String value) { this.userName = value; return this; } public String getPassword() { return password; } public Authenticate setPassword(String value) { this.password = value; return this; } public Boolean isRememberMe() { return rememberMe; } public Authenticate setRememberMe(Boolean value) { this.rememberMe = value; return this; } public String getAccessToken() { return accessToken; } public Authenticate setAccessToken(String value) { this.accessToken = value; return this; } public String getAccessTokenSecret() { return accessTokenSecret; } public Authenticate setAccessTokenSecret(String value) { this.accessTokenSecret = value; return this; } public String getReturnUrl() { return returnUrl; } public Authenticate setReturnUrl(String value) { this.returnUrl = value; return this; } public String getErrorView() { return errorView; } public Authenticate setErrorView(String value) { this.errorView = value; return this; } public HashMap getMeta() { return meta; } public Authenticate setMeta(HashMap value) { this.meta = value; return this; } private static Object responseType = AuthenticateResponse.class; public Object getResponseType() { return responseType; } } @Route(Path="/posts/comment", Verbs="GET") public static class QueryPostComments extends QueryDb_1 implements IReturn> { public Long id = null; public Long userId = null; public Long postId = null; public String contentContains = null; public Long upVotesAbove = null; public Long upVotesBelow = null; public Long downVotesAbove = null; public Long downVotes = null; public Long favoritesAbove = null; public Long favoritesBelow = null; public Integer wordCountAbove = null; public Integer wordCountBelow = null; public Integer reportCountAbove = null; public Integer reportCountBelow = null; public Long getId() { return id; } public QueryPostComments setId(Long value) { this.id = value; return this; } public Long getUserId() { return userId; } public QueryPostComments setUserId(Long value) { this.userId = value; return this; } public Long getPostId() { return postId; } public QueryPostComments setPostId(Long value) { this.postId = value; return this; } public String getContentContains() { return contentContains; } public QueryPostComments setContentContains(String value) { this.contentContains = value; return this; } public Long getUpVotesAbove() { return upVotesAbove; } public QueryPostComments setUpVotesAbove(Long value) { this.upVotesAbove = value; return this; } public Long getUpVotesBelow() { return upVotesBelow; } public QueryPostComments setUpVotesBelow(Long value) { this.upVotesBelow = value; return this; } public Long getDownVotesAbove() { return downVotesAbove; } public QueryPostComments setDownVotesAbove(Long value) { this.downVotesAbove = value; return this; } public Long getDownVotes() { return downVotes; } public QueryPostComments setDownVotes(Long value) { this.downVotes = value; return this; } public Long getFavoritesAbove() { return favoritesAbove; } public QueryPostComments setFavoritesAbove(Long value) { this.favoritesAbove = value; return this; } public Long getFavoritesBelow() { return favoritesBelow; } public QueryPostComments setFavoritesBelow(Long value) { this.favoritesBelow = value; return this; } public Integer getWordCountAbove() { return wordCountAbove; } public QueryPostComments setWordCountAbove(Integer value) { this.wordCountAbove = value; return this; } public Integer getWordCountBelow() { return wordCountBelow; } public QueryPostComments setWordCountBelow(Integer value) { this.wordCountBelow = value; return this; } public Integer getReportCountAbove() { return reportCountAbove; } public QueryPostComments setReportCountAbove(Integer value) { this.reportCountAbove = value; return this; } public Integer getReportCountBelow() { return reportCountBelow; } public QueryPostComments setReportCountBelow(Integer value) { this.reportCountBelow = value; return this; } private static Object responseType = new TypeToken>(){}.getType(); public Object getResponseType() { return responseType; } } public static class HelloResponse { public String result = null; public ResponseStatus responseStatus = null; public String getResult() { return result; } public HelloResponse setResult(String value) { this.result = value; return this; } public ResponseStatus getResponseStatus() { return responseStatus; } public HelloResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } 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 GetOrganizationMembersResponse { public Integer organizationId = null; public ArrayList results = null; public ResponseStatus responseStatus = null; public Integer getOrganizationId() { return organizationId; } public GetOrganizationMembersResponse setOrganizationId(Integer value) { this.organizationId = value; return this; } public ArrayList getResults() { return results; } public GetOrganizationMembersResponse setResults(ArrayList value) { this.results = value; return this; } public ResponseStatus getResponseStatus() { return responseStatus; } public GetOrganizationMembersResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } public static class GetOrganizationAdminResponse { public ArrayList labels = null; public ArrayList members = null; public ArrayList memberInvites = null; public ArrayList reportedPosts = null; public ArrayList reportedPostComments = null; public ResponseStatus responseStatus = null; public ArrayList getLabels() { return labels; } public GetOrganizationAdminResponse setLabels(ArrayList value) { this.labels = value; return this; } public ArrayList getMembers() { return members; } public GetOrganizationAdminResponse setMembers(ArrayList value) { this.members = value; return this; } public ArrayList getMemberInvites() { return memberInvites; } public GetOrganizationAdminResponse setMemberInvites(ArrayList value) { this.memberInvites = value; return this; } public ArrayList getReportedPosts() { return reportedPosts; } public GetOrganizationAdminResponse setReportedPosts(ArrayList value) { this.reportedPosts = value; return this; } public ArrayList getReportedPostComments() { return reportedPostComments; } public GetOrganizationAdminResponse setReportedPostComments(ArrayList value) { this.reportedPostComments = value; return this; } public ResponseStatus getResponseStatus() { return responseStatus; } public GetOrganizationAdminResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } public static class CreateOrganizationForTechnologyResponse { public Integer organizationId = null; public String organizationSlug = null; public Long commentsPostId = null; public String commentsPostSlug = null; public ResponseStatus responseStatus = null; public Integer getOrganizationId() { return organizationId; } public CreateOrganizationForTechnologyResponse setOrganizationId(Integer value) { this.organizationId = value; return this; } public String getOrganizationSlug() { return organizationSlug; } public CreateOrganizationForTechnologyResponse setOrganizationSlug(String value) { this.organizationSlug = value; return this; } public Long getCommentsPostId() { return commentsPostId; } public CreateOrganizationForTechnologyResponse setCommentsPostId(Long value) { this.commentsPostId = value; return this; } public String getCommentsPostSlug() { return commentsPostSlug; } public CreateOrganizationForTechnologyResponse setCommentsPostSlug(String value) { this.commentsPostSlug = value; return this; } public ResponseStatus getResponseStatus() { return responseStatus; } public CreateOrganizationForTechnologyResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } public static class CreateOrganizationResponse { public Integer id = null; public String slug = null; public ResponseStatus responseStatus = null; public Integer getId() { return id; } public CreateOrganizationResponse setId(Integer value) { this.id = value; return this; } public String getSlug() { return slug; } public CreateOrganizationResponse setSlug(String value) { this.slug = value; return this; } public ResponseStatus getResponseStatus() { return responseStatus; } public CreateOrganizationResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } public static class UpdateOrganizationResponse { public ResponseStatus responseStatus = null; public ResponseStatus getResponseStatus() { return responseStatus; } public UpdateOrganizationResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } public static class OrganizationLabelResponse { public ResponseStatus responseStatus = null; public ResponseStatus getResponseStatus() { return responseStatus; } public OrganizationLabelResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } public static class AddOrganizationCategoryResponse { public Integer id = null; public String slug = null; public ResponseStatus responseStatus = null; public Integer getId() { return id; } public AddOrganizationCategoryResponse setId(Integer value) { this.id = value; return this; } public String getSlug() { return slug; } public AddOrganizationCategoryResponse setSlug(String value) { this.slug = value; return this; } public ResponseStatus getResponseStatus() { return responseStatus; } public AddOrganizationCategoryResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } public static class UpdateOrganizationCategoryResponse { public ResponseStatus responseStatus = null; public ResponseStatus getResponseStatus() { return responseStatus; } public UpdateOrganizationCategoryResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } public static class AddOrganizationMemberResponse { public ResponseStatus responseStatus = null; public ResponseStatus getResponseStatus() { return responseStatus; } public AddOrganizationMemberResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } public static class UpdateOrganizationMemberResponse { public ResponseStatus responseStatus = null; public ResponseStatus getResponseStatus() { return responseStatus; } public UpdateOrganizationMemberResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } public static class SetOrganizationMembersResponse { public ArrayList userIdsAdded = null; public ArrayList userIdsRemoved = null; public ResponseStatus responseStatus = null; public ArrayList getUserIdsAdded() { return userIdsAdded; } public SetOrganizationMembersResponse setUserIdsAdded(ArrayList value) { this.userIdsAdded = value; return this; } public ArrayList getUserIdsRemoved() { return userIdsRemoved; } public SetOrganizationMembersResponse setUserIdsRemoved(ArrayList value) { this.userIdsRemoved = value; return this; } public ResponseStatus getResponseStatus() { return responseStatus; } public SetOrganizationMembersResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } public static class GetOrganizationMemberInvitesResponse { public ArrayList results = null; public ResponseStatus responseStatus = null; public ArrayList getResults() { return results; } public GetOrganizationMemberInvitesResponse setResults(ArrayList value) { this.results = value; return this; } public ResponseStatus getResponseStatus() { return responseStatus; } public GetOrganizationMemberInvitesResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } public static class RequestOrganizationMemberInviteResponse { public Integer organizationId = null; public ResponseStatus responseStatus = null; public Integer getOrganizationId() { return organizationId; } public RequestOrganizationMemberInviteResponse setOrganizationId(Integer value) { this.organizationId = value; return this; } public ResponseStatus getResponseStatus() { return responseStatus; } public RequestOrganizationMemberInviteResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } public static class UpdateOrganizationMemberInviteResponse { public ResponseStatus responseStatus = null; public ResponseStatus getResponseStatus() { return responseStatus; } public UpdateOrganizationMemberInviteResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } @DataContract public static class QueryResponse { @DataMember(Order=1) public Integer offset = null; @DataMember(Order=2) public Integer total = null; @DataMember(Order=3) public ArrayList results = null; @DataMember(Order=4) public HashMap meta = null; @DataMember(Order=5) public ResponseStatus responseStatus = null; public Integer getOffset() { return offset; } public QueryResponse setOffset(Integer value) { this.offset = value; return this; } public Integer getTotal() { return total; } public QueryResponse setTotal(Integer value) { this.total = value; return this; } public ArrayList getResults() { return results; } public QueryResponse setResults(ArrayList value) { this.results = value; return this; } public HashMap getMeta() { return meta; } public QueryResponse setMeta(HashMap value) { this.meta = value; return this; } public ResponseStatus getResponseStatus() { return responseStatus; } public QueryResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } public static class GetPostResponse { public Long cache = null; public Post post = null; public ArrayList comments = null; public ResponseStatus responseStatus = null; public Long getCache() { return cache; } public GetPostResponse setCache(Long value) { this.cache = value; return this; } public Post getPost() { return post; } public GetPostResponse setPost(Post value) { this.post = value; return this; } public ArrayList getComments() { return comments; } public GetPostResponse setComments(ArrayList value) { this.comments = value; return this; } public ResponseStatus getResponseStatus() { return responseStatus; } public GetPostResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } public static class CreatePostResponse { public Long id = null; public String slug = null; public ResponseStatus responseStatus = null; public Long getId() { return id; } public CreatePostResponse setId(Long value) { this.id = value; return this; } public String getSlug() { return slug; } public CreatePostResponse setSlug(String value) { this.slug = value; return this; } public ResponseStatus getResponseStatus() { return responseStatus; } public CreatePostResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } 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 class DeletePostResponse { public Long id = null; public ResponseStatus responseStatus = null; public Long getId() { return id; } public DeletePostResponse setId(Long value) { this.id = value; return this; } public ResponseStatus getResponseStatus() { return responseStatus; } public DeletePostResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } 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; } } public static class UpdatePostCommentResponse { public ResponseStatus responseStatus = null; public ResponseStatus getResponseStatus() { return responseStatus; } public UpdatePostCommentResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } public static class DeletePostCommentResponse { public Long id = null; public Long postId = null; public ResponseStatus responseStatus = null; public Long getId() { return id; } public DeletePostCommentResponse setId(Long value) { this.id = value; return this; } public Long getPostId() { return postId; } public DeletePostCommentResponse setPostId(Long value) { this.postId = value; return this; } public ResponseStatus getResponseStatus() { return responseStatus; } public DeletePostCommentResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } public static class GetUserPostCommentVotesResponse { public Long postId = null; public ArrayList upVotedCommentIds = null; public ArrayList downVotedCommentIds = null; public Long getPostId() { return postId; } public GetUserPostCommentVotesResponse setPostId(Long value) { this.postId = value; return this; } public ArrayList getUpVotedCommentIds() { return upVotedCommentIds; } public GetUserPostCommentVotesResponse setUpVotedCommentIds(ArrayList value) { this.upVotedCommentIds = value; return this; } public ArrayList getDownVotedCommentIds() { return downVotedCommentIds; } public GetUserPostCommentVotesResponse setDownVotedCommentIds(ArrayList value) { this.downVotedCommentIds = value; return this; } } public static class PinPostCommentResponse { public ResponseStatus responseStatus = null; public ResponseStatus getResponseStatus() { return responseStatus; } public PinPostCommentResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } public static class GetUsersByEmailsResponse { public ArrayList results = null; public ResponseStatus responseStatus = null; public ArrayList getResults() { return results; } public GetUsersByEmailsResponse setResults(ArrayList value) { this.results = value; return this; } public ResponseStatus getResponseStatus() { return responseStatus; } public GetUsersByEmailsResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } public static class GetUserPostActivityResponse { public ArrayList upVotedPostIds = null; public ArrayList downVotedPostIds = null; public ArrayList favoritePostIds = null; public ResponseStatus responseStatus = null; public ArrayList getUpVotedPostIds() { return upVotedPostIds; } public GetUserPostActivityResponse setUpVotedPostIds(ArrayList value) { this.upVotedPostIds = value; return this; } public ArrayList getDownVotedPostIds() { return downVotedPostIds; } public GetUserPostActivityResponse setDownVotedPostIds(ArrayList value) { this.downVotedPostIds = value; return this; } public ArrayList getFavoritePostIds() { return favoritePostIds; } public GetUserPostActivityResponse setFavoritePostIds(ArrayList value) { this.favoritePostIds = value; return this; } public ResponseStatus getResponseStatus() { return responseStatus; } public GetUserPostActivityResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } public static class GetUserOrganizationsResponse { public ArrayList members = null; public ArrayList memberInvites = null; public ArrayList subscriptions = null; public ArrayList getMembers() { return members; } public GetUserOrganizationsResponse setMembers(ArrayList value) { this.members = value; return this; } public ArrayList getMemberInvites() { return memberInvites; } public GetUserOrganizationsResponse setMemberInvites(ArrayList value) { this.memberInvites = value; return this; } public ArrayList getSubscriptions() { return subscriptions; } public GetUserOrganizationsResponse setSubscriptions(ArrayList value) { this.subscriptions = value; return this; } } public static class UserPostVoteResponse { public ResponseStatus responseStatus = null; public ResponseStatus getResponseStatus() { return responseStatus; } public UserPostVoteResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } public static class UserPostFavoriteResponse { public ResponseStatus responseStatus = null; public ResponseStatus getResponseStatus() { return responseStatus; } public UserPostFavoriteResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } public static class UserPostReportResponse { public ResponseStatus responseStatus = null; public ResponseStatus getResponseStatus() { return responseStatus; } public UserPostReportResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } public static class UserPostCommentVoteResponse { public ResponseStatus responseStatus = null; public ResponseStatus getResponseStatus() { return responseStatus; } public UserPostCommentVoteResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } public static class UserPostCommentReportResponse { public ResponseStatus responseStatus = null; public ResponseStatus getResponseStatus() { return responseStatus; } public UserPostCommentReportResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } public static class SessionInfoResponse { public Date created = null; public String id = null; public String referrerUrl = null; public String userAuthId = null; public String userAuthName = null; public String userName = null; public String displayName = null; public String firstName = null; public String lastName = null; public String email = null; public Date createdAt = null; public Date lastModified = null; public ArrayList roles = null; public ArrayList permissions = null; public Boolean isAuthenticated = null; public String authProvider = null; public String profileUrl = null; public String githubProfileUrl = null; public String twitterProfileUrl = null; public String accessToken = null; public String avatarUrl = null; public ArrayList techStacks = null; public ArrayList favoriteTechStacks = null; public ArrayList favoriteTechnologies = null; public UserActivity userActivity = null; public ArrayList members = null; public ArrayList memberInvites = null; public ArrayList subscriptions = null; public ResponseStatus responseStatus = null; public Date getCreated() { return created; } public SessionInfoResponse setCreated(Date value) { this.created = value; return this; } public String getId() { return id; } public SessionInfoResponse setId(String value) { this.id = value; return this; } public String getReferrerUrl() { return referrerUrl; } public SessionInfoResponse setReferrerUrl(String value) { this.referrerUrl = value; return this; } public String getUserAuthId() { return userAuthId; } public SessionInfoResponse setUserAuthId(String value) { this.userAuthId = value; return this; } public String getUserAuthName() { return userAuthName; } public SessionInfoResponse setUserAuthName(String value) { this.userAuthName = value; return this; } public String getUserName() { return userName; } public SessionInfoResponse setUserName(String value) { this.userName = value; return this; } public String getDisplayName() { return displayName; } public SessionInfoResponse setDisplayName(String value) { this.displayName = value; return this; } public String getFirstName() { return firstName; } public SessionInfoResponse setFirstName(String value) { this.firstName = value; return this; } public String getLastName() { return lastName; } public SessionInfoResponse setLastName(String value) { this.lastName = value; return this; } public String getEmail() { return email; } public SessionInfoResponse setEmail(String value) { this.email = value; return this; } public Date getCreatedAt() { return createdAt; } public SessionInfoResponse setCreatedAt(Date value) { this.createdAt = value; return this; } public Date getLastModified() { return lastModified; } public SessionInfoResponse setLastModified(Date value) { this.lastModified = value; return this; } public ArrayList getRoles() { return roles; } public SessionInfoResponse setRoles(ArrayList value) { this.roles = value; return this; } public ArrayList getPermissions() { return permissions; } public SessionInfoResponse setPermissions(ArrayList value) { this.permissions = value; return this; } public Boolean getIsAuthenticated() { return isAuthenticated; } public SessionInfoResponse setIsAuthenticated(Boolean value) { this.isAuthenticated = value; return this; } public String getAuthProvider() { return authProvider; } public SessionInfoResponse setAuthProvider(String value) { this.authProvider = value; return this; } public String getProfileUrl() { return profileUrl; } public SessionInfoResponse setProfileUrl(String value) { this.profileUrl = value; return this; } public String getGithubProfileUrl() { return githubProfileUrl; } public SessionInfoResponse setGithubProfileUrl(String value) { this.githubProfileUrl = value; return this; } public String getTwitterProfileUrl() { return twitterProfileUrl; } public SessionInfoResponse setTwitterProfileUrl(String value) { this.twitterProfileUrl = value; return this; } public String getAccessToken() { return accessToken; } public SessionInfoResponse setAccessToken(String value) { this.accessToken = value; return this; } public String getAvatarUrl() { return avatarUrl; } public SessionInfoResponse setAvatarUrl(String value) { this.avatarUrl = value; return this; } public ArrayList getTechStacks() { return techStacks; } public SessionInfoResponse setTechStacks(ArrayList value) { this.techStacks = value; return this; } public ArrayList getFavoriteTechStacks() { return favoriteTechStacks; } public SessionInfoResponse setFavoriteTechStacks(ArrayList value) { this.favoriteTechStacks = value; return this; } public ArrayList getFavoriteTechnologies() { return favoriteTechnologies; } public SessionInfoResponse setFavoriteTechnologies(ArrayList value) { this.favoriteTechnologies = value; return this; } public UserActivity getUserActivity() { return userActivity; } public SessionInfoResponse setUserActivity(UserActivity value) { this.userActivity = value; return this; } public ArrayList getMembers() { return members; } public SessionInfoResponse setMembers(ArrayList value) { this.members = value; return this; } public ArrayList getMemberInvites() { return memberInvites; } public SessionInfoResponse setMemberInvites(ArrayList value) { this.memberInvites = value; return this; } public ArrayList getSubscriptions() { return subscriptions; } public SessionInfoResponse setSubscriptions(ArrayList value) { this.subscriptions = value; return this; } public ResponseStatus getResponseStatus() { return responseStatus; } public SessionInfoResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } public static class GetTechnologyPreviousVersionsResponse { public ArrayList results = null; public ArrayList getResults() { return results; } public GetTechnologyPreviousVersionsResponse setResults(ArrayList value) { this.results = value; return this; } } public static class GetAllTechnologiesResponse { public ArrayList results = null; public Long total = null; public ArrayList getResults() { return results; } public GetAllTechnologiesResponse setResults(ArrayList value) { this.results = value; return this; } public Long getTotal() { return total; } public GetAllTechnologiesResponse setTotal(Long value) { this.total = value; return this; } } public static class GetTechnologyResponse { public Date created = null; public Technology technology = null; public ArrayList technologyStacks = null; public ResponseStatus responseStatus = null; public Date getCreated() { return created; } public GetTechnologyResponse setCreated(Date value) { this.created = value; return this; } public Technology getTechnology() { return technology; } public GetTechnologyResponse setTechnology(Technology value) { this.technology = value; return this; } public ArrayList getTechnologyStacks() { return technologyStacks; } public GetTechnologyResponse setTechnologyStacks(ArrayList value) { this.technologyStacks = value; return this; } public ResponseStatus getResponseStatus() { return responseStatus; } public GetTechnologyResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } public static class GetTechnologyFavoriteDetailsResponse { public ArrayList users = null; public Integer favoriteCount = null; public ArrayList getUsers() { return users; } public GetTechnologyFavoriteDetailsResponse setUsers(ArrayList value) { this.users = value; return this; } public Integer getFavoriteCount() { return favoriteCount; } public GetTechnologyFavoriteDetailsResponse setFavoriteCount(Integer value) { this.favoriteCount = value; return this; } } public static class CreateTechnologyResponse { public Technology result = null; public ResponseStatus responseStatus = null; public Technology getResult() { return result; } public CreateTechnologyResponse setResult(Technology value) { this.result = value; return this; } public ResponseStatus getResponseStatus() { return responseStatus; } public CreateTechnologyResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } public static class UpdateTechnologyResponse { public Technology result = null; public ResponseStatus responseStatus = null; public Technology getResult() { return result; } public UpdateTechnologyResponse setResult(Technology value) { this.result = value; return this; } public ResponseStatus getResponseStatus() { return responseStatus; } public UpdateTechnologyResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } public static class DeleteTechnologyResponse { public Technology result = null; public ResponseStatus responseStatus = null; public Technology getResult() { return result; } public DeleteTechnologyResponse setResult(Technology value) { this.result = value; return this; } public ResponseStatus getResponseStatus() { return responseStatus; } public DeleteTechnologyResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } public static class GetTechnologyStackPreviousVersionsResponse { public ArrayList results = null; public ArrayList getResults() { return results; } public GetTechnologyStackPreviousVersionsResponse setResults(ArrayList value) { this.results = value; return this; } } public static class GetPageStatsResponse { public String type = null; public String slug = null; public Long viewCount = null; public Long favCount = null; public String getType() { return type; } public GetPageStatsResponse setType(String value) { this.type = value; return this; } public String getSlug() { return slug; } public GetPageStatsResponse setSlug(String value) { this.slug = value; return this; } public Long getViewCount() { return viewCount; } public GetPageStatsResponse setViewCount(Long value) { this.viewCount = value; return this; } public Long getFavCount() { return favCount; } public GetPageStatsResponse setFavCount(Long value) { this.favCount = value; return this; } } public static class OverviewResponse { public Date created = null; public ArrayList topUsers = null; public ArrayList topTechnologies = null; public ArrayList latestTechStacks = null; public ArrayList popularTechStacks = null; public ArrayList allOrganizations = null; public HashMap> topTechnologiesByTier = null; public ResponseStatus responseStatus = null; public Date getCreated() { return created; } public OverviewResponse setCreated(Date value) { this.created = value; return this; } public ArrayList getTopUsers() { return topUsers; } public OverviewResponse setTopUsers(ArrayList value) { this.topUsers = value; return this; } public ArrayList getTopTechnologies() { return topTechnologies; } public OverviewResponse setTopTechnologies(ArrayList value) { this.topTechnologies = value; return this; } public ArrayList getLatestTechStacks() { return latestTechStacks; } public OverviewResponse setLatestTechStacks(ArrayList value) { this.latestTechStacks = value; return this; } public ArrayList getPopularTechStacks() { return popularTechStacks; } public OverviewResponse setPopularTechStacks(ArrayList value) { this.popularTechStacks = value; return this; } public ArrayList getAllOrganizations() { return allOrganizations; } public OverviewResponse setAllOrganizations(ArrayList value) { this.allOrganizations = value; return this; } public HashMap> getTopTechnologiesByTier() { return topTechnologiesByTier; } public OverviewResponse setTopTechnologiesByTier(HashMap> value) { this.topTechnologiesByTier = value; return this; } public ResponseStatus getResponseStatus() { return responseStatus; } public OverviewResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } public static class AppOverviewResponse { public Date created = null; public ArrayList