TechStacks!

<back to all web services

SessionInfo

User
Requires Authentication
The following routes are available for this service:
All Verbs/my-session
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    @ValidateRequest(Validator="IsAuthenticated")
    public static class SessionInfo implements IGet
    {
        
    }

    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<String> roles = null;
        public ArrayList<String> 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<TechnologyStack> techStacks = null;
        public ArrayList<TechnologyStack> favoriteTechStacks = null;
        public ArrayList<Technology> favoriteTechnologies = null;
        public UserActivity userActivity = null;
        public ArrayList<OrganizationMember> members = null;
        public ArrayList<OrganizationMemberInvite> memberInvites = null;
        public ArrayList<OrganizationSubscription> 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<String> getRoles() { return roles; }
        public SessionInfoResponse setRoles(ArrayList<String> value) { this.roles = value; return this; }
        public ArrayList<String> getPermissions() { return permissions; }
        public SessionInfoResponse setPermissions(ArrayList<String> 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<TechnologyStack> getTechStacks() { return techStacks; }
        public SessionInfoResponse setTechStacks(ArrayList<TechnologyStack> value) { this.techStacks = value; return this; }
        public ArrayList<TechnologyStack> getFavoriteTechStacks() { return favoriteTechStacks; }
        public SessionInfoResponse setFavoriteTechStacks(ArrayList<TechnologyStack> value) { this.favoriteTechStacks = value; return this; }
        public ArrayList<Technology> getFavoriteTechnologies() { return favoriteTechnologies; }
        public SessionInfoResponse setFavoriteTechnologies(ArrayList<Technology> value) { this.favoriteTechnologies = value; return this; }
        public UserActivity getUserActivity() { return userActivity; }
        public SessionInfoResponse setUserActivity(UserActivity value) { this.userActivity = value; return this; }
        public ArrayList<OrganizationMember> getMembers() { return members; }
        public SessionInfoResponse setMembers(ArrayList<OrganizationMember> value) { this.members = value; return this; }
        public ArrayList<OrganizationMemberInvite> getMemberInvites() { return memberInvites; }
        public SessionInfoResponse setMemberInvites(ArrayList<OrganizationMemberInvite> value) { this.memberInvites = value; return this; }
        public ArrayList<OrganizationSubscription> getSubscriptions() { return subscriptions; }
        public SessionInfoResponse setSubscriptions(ArrayList<OrganizationSubscription> value) { this.subscriptions = value; return this; }
        public ResponseStatus getResponseStatus() { return responseStatus; }
        public SessionInfoResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; }
    }

    public static class TechnologyStack extends TechnologyStackBase
    {
        public Long id = null;
        public String name = null;
        public String vendorName = null;
        public String description = null;
        public String appUrl = null;
        public String screenshotUrl = null;
        public Date created = null;
        public String createdBy = null;
        public Date lastModified = null;
        public String lastModifiedBy = null;
        public Boolean isLocked = null;
        public String ownerId = null;
        public String slug = null;
        @StringLength(2147483647)
        public String details = null;

        @StringLength(2147483647)
        public String detailsHtml = null;

        public Date lastStatusUpdate = null;
        public Integer organizationId = null;
        public Long commentsPostId = null;
        public Integer viewCount = null;
        public Integer favCount = null;
        
        public Long getId() { return id; }
        public TechnologyStack setId(Long value) { this.id = value; return this; }
        public String getName() { return name; }
        public TechnologyStack setName(String value) { this.name = value; return this; }
        public String getVendorName() { return vendorName; }
        public TechnologyStack setVendorName(String value) { this.vendorName = value; return this; }
        public String getDescription() { return description; }
        public TechnologyStack setDescription(String value) { this.description = value; return this; }
        public String getAppUrl() { return appUrl; }
        public TechnologyStack setAppUrl(String value) { this.appUrl = value; return this; }
        public String getScreenshotUrl() { return screenshotUrl; }
        public TechnologyStack setScreenshotUrl(String value) { this.screenshotUrl = value; return this; }
        public Date getCreated() { return created; }
        public TechnologyStack setCreated(Date value) { this.created = value; return this; }
        public String getCreatedBy() { return createdBy; }
        public TechnologyStack setCreatedBy(String value) { this.createdBy = value; return this; }
        public Date getLastModified() { return lastModified; }
        public TechnologyStack setLastModified(Date value) { this.lastModified = value; return this; }
        public String getLastModifiedBy() { return lastModifiedBy; }
        public TechnologyStack setLastModifiedBy(String value) { this.lastModifiedBy = value; return this; }
        public Boolean getIsLocked() { return isLocked; }
        public TechnologyStack setIsLocked(Boolean value) { this.isLocked = value; return this; }
        public String getOwnerId() { return ownerId; }
        public TechnologyStack setOwnerId(String value) { this.ownerId = value; return this; }
        public String getSlug() { return slug; }
        public TechnologyStack setSlug(String value) { this.slug = value; return this; }
        public String getDetails() { return details; }
        public TechnologyStack setDetails(String value) { this.details = value; return this; }
        public String getDetailsHtml() { return detailsHtml; }
        public TechnologyStack setDetailsHtml(String value) { this.detailsHtml = value; return this; }
        public Date getLastStatusUpdate() { return lastStatusUpdate; }
        public TechnologyStack setLastStatusUpdate(Date value) { this.lastStatusUpdate = value; return this; }
        public Integer getOrganizationId() { return organizationId; }
        public TechnologyStack setOrganizationId(Integer value) { this.organizationId = value; return this; }
        public Long getCommentsPostId() { return commentsPostId; }
        public TechnologyStack setCommentsPostId(Long value) { this.commentsPostId = value; return this; }
        public Integer getViewCount() { return viewCount; }
        public TechnologyStack setViewCount(Integer value) { this.viewCount = value; return this; }
        public Integer getFavCount() { return favCount; }
        public TechnologyStack setFavCount(Integer value) { this.favCount = value; return this; }
    }

    public static class TechnologyStackBase
    {
        public Long id = null;
        public String name = null;
        public String vendorName = null;
        public String description = null;
        public String appUrl = null;
        public String screenshotUrl = null;
        public Date created = null;
        public String createdBy = null;
        public Date lastModified = null;
        public String lastModifiedBy = null;
        public Boolean isLocked = null;
        public String ownerId = null;
        public String slug = null;
        @StringLength(2147483647)
        public String details = null;

        @StringLength(2147483647)
        public String detailsHtml = null;

        public Date lastStatusUpdate = null;
        public Integer organizationId = null;
        public Long commentsPostId = null;
        public Integer viewCount = null;
        public Integer favCount = null;
        
        public Long getId() { return id; }
        public TechnologyStackBase setId(Long value) { this.id = value; return this; }
        public String getName() { return name; }
        public TechnologyStackBase setName(String value) { this.name = value; return this; }
        public String getVendorName() { return vendorName; }
        public TechnologyStackBase setVendorName(String value) { this.vendorName = value; return this; }
        public String getDescription() { return description; }
        public TechnologyStackBase setDescription(String value) { this.description = value; return this; }
        public String getAppUrl() { return appUrl; }
        public TechnologyStackBase setAppUrl(String value) { this.appUrl = value; return this; }
        public String getScreenshotUrl() { return screenshotUrl; }
        public TechnologyStackBase setScreenshotUrl(String value) { this.screenshotUrl = value; return this; }
        public Date getCreated() { return created; }
        public TechnologyStackBase setCreated(Date value) { this.created = value; return this; }
        public String getCreatedBy() { return createdBy; }
        public TechnologyStackBase setCreatedBy(String value) { this.createdBy = value; return this; }
        public Date getLastModified() { return lastModified; }
        public TechnologyStackBase setLastModified(Date value) { this.lastModified = value; return this; }
        public String getLastModifiedBy() { return lastModifiedBy; }
        public TechnologyStackBase setLastModifiedBy(String value) { this.lastModifiedBy = value; return this; }
        public Boolean getIsLocked() { return isLocked; }
        public TechnologyStackBase setIsLocked(Boolean value) { this.isLocked = value; return this; }
        public String getOwnerId() { return ownerId; }
        public TechnologyStackBase setOwnerId(String value) { this.ownerId = value; return this; }
        public String getSlug() { return slug; }
        public TechnologyStackBase setSlug(String value) { this.slug = value; return this; }
        public String getDetails() { return details; }
        public TechnologyStackBase setDetails(String value) { this.details = value; return this; }
        public String getDetailsHtml() { return detailsHtml; }
        public TechnologyStackBase setDetailsHtml(String value) { this.detailsHtml = value; return this; }
        public Date getLastStatusUpdate() { return lastStatusUpdate; }
        public TechnologyStackBase setLastStatusUpdate(Date value) { this.lastStatusUpdate = value; return this; }
        public Integer getOrganizationId() { return organizationId; }
        public TechnologyStackBase setOrganizationId(Integer value) { this.organizationId = value; return this; }
        public Long getCommentsPostId() { return commentsPostId; }
        public TechnologyStackBase setCommentsPostId(Long value) { this.commentsPostId = value; return this; }
        public Integer getViewCount() { return viewCount; }
        public TechnologyStackBase setViewCount(Integer value) { this.viewCount = value; return this; }
        public Integer getFavCount() { return favCount; }
        public TechnologyStackBase setFavCount(Integer value) { this.favCount = value; return this; }
    }

    public static class Technology extends TechnologyBase
    {
        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 Date created = null;
        public String createdBy = null;
        public Date lastModified = null;
        public String lastModifiedBy = null;
        public String ownerId = null;
        public String slug = null;
        public Boolean logoApproved = null;
        public Boolean isLocked = null;
        public TechnologyTier tier = null;
        public Date lastStatusUpdate = null;
        public Integer organizationId = null;
        public Long commentsPostId = null;
        public Integer viewCount = null;
        public Integer favCount = null;
        
        public Long getId() { return id; }
        public Technology setId(Long value) { this.id = value; return this; }
        public String getName() { return name; }
        public Technology setName(String value) { this.name = value; return this; }
        public String getVendorName() { return vendorName; }
        public Technology setVendorName(String value) { this.vendorName = value; return this; }
        public String getVendorUrl() { return vendorUrl; }
        public Technology setVendorUrl(String value) { this.vendorUrl = value; return this; }
        public String getProductUrl() { return productUrl; }
        public Technology setProductUrl(String value) { this.productUrl = value; return this; }
        public String getLogoUrl() { return logoUrl; }
        public Technology setLogoUrl(String value) { this.logoUrl = value; return this; }
        public String getDescription() { return description; }
        public Technology setDescription(String value) { this.description = value; return this; }
        public Date getCreated() { return created; }
        public Technology setCreated(Date value) { this.created = value; return this; }
        public String getCreatedBy() { return createdBy; }
        public Technology setCreatedBy(String value) { this.createdBy = value; return this; }
        public Date getLastModified() { return lastModified; }
        public Technology setLastModified(Date value) { this.lastModified = value; return this; }
        public String getLastModifiedBy() { return lastModifiedBy; }
        public Technology setLastModifiedBy(String value) { this.lastModifiedBy = value; return this; }
        public String getOwnerId() { return ownerId; }
        public Technology setOwnerId(String value) { this.ownerId = value; return this; }
        public String getSlug() { return slug; }
        public Technology setSlug(String value) { this.slug = value; return this; }
        public Boolean isLogoApproved() { return logoApproved; }
        public Technology setLogoApproved(Boolean value) { this.logoApproved = value; return this; }
        public Boolean getIsLocked() { return isLocked; }
        public Technology setIsLocked(Boolean value) { this.isLocked = value; return this; }
        public TechnologyTier getTier() { return tier; }
        public Technology setTier(TechnologyTier value) { this.tier = value; return this; }
        public Date getLastStatusUpdate() { return lastStatusUpdate; }
        public Technology setLastStatusUpdate(Date value) { this.lastStatusUpdate = value; return this; }
        public Integer getOrganizationId() { return organizationId; }
        public Technology setOrganizationId(Integer value) { this.organizationId = value; return this; }
        public Long getCommentsPostId() { return commentsPostId; }
        public Technology setCommentsPostId(Long value) { this.commentsPostId = value; return this; }
        public Integer getViewCount() { return viewCount; }
        public Technology setViewCount(Integer value) { this.viewCount = value; return this; }
        public Integer getFavCount() { return favCount; }
        public Technology setFavCount(Integer value) { this.favCount = value; return this; }
    }

    public static class TechnologyBase
    {
        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 Date created = null;
        public String createdBy = null;
        public Date lastModified = null;
        public String lastModifiedBy = null;
        public String ownerId = null;
        public String slug = null;
        public Boolean logoApproved = null;
        public Boolean isLocked = null;
        public TechnologyTier tier = null;
        public Date lastStatusUpdate = null;
        public Integer organizationId = null;
        public Long commentsPostId = null;
        public Integer viewCount = null;
        public Integer favCount = null;
        
        public Long getId() { return id; }
        public TechnologyBase setId(Long value) { this.id = value; return this; }
        public String getName() { return name; }
        public TechnologyBase setName(String value) { this.name = value; return this; }
        public String getVendorName() { return vendorName; }
        public TechnologyBase setVendorName(String value) { this.vendorName = value; return this; }
        public String getVendorUrl() { return vendorUrl; }
        public TechnologyBase setVendorUrl(String value) { this.vendorUrl = value; return this; }
        public String getProductUrl() { return productUrl; }
        public TechnologyBase setProductUrl(String value) { this.productUrl = value; return this; }
        public String getLogoUrl() { return logoUrl; }
        public TechnologyBase setLogoUrl(String value) { this.logoUrl = value; return this; }
        public String getDescription() { return description; }
        public TechnologyBase setDescription(String value) { this.description = value; return this; }
        public Date getCreated() { return created; }
        public TechnologyBase setCreated(Date value) { this.created = value; return this; }
        public String getCreatedBy() { return createdBy; }
        public TechnologyBase setCreatedBy(String value) { this.createdBy = value; return this; }
        public Date getLastModified() { return lastModified; }
        public TechnologyBase setLastModified(Date value) { this.lastModified = value; return this; }
        public String getLastModifiedBy() { return lastModifiedBy; }
        public TechnologyBase setLastModifiedBy(String value) { this.lastModifiedBy = value; return this; }
        public String getOwnerId() { return ownerId; }
        public TechnologyBase setOwnerId(String value) { this.ownerId = value; return this; }
        public String getSlug() { return slug; }
        public TechnologyBase setSlug(String value) { this.slug = value; return this; }
        public Boolean isLogoApproved() { return logoApproved; }
        public TechnologyBase setLogoApproved(Boolean value) { this.logoApproved = value; return this; }
        public Boolean getIsLocked() { return isLocked; }
        public TechnologyBase setIsLocked(Boolean value) { this.isLocked = value; return this; }
        public TechnologyTier getTier() { return tier; }
        public TechnologyBase setTier(TechnologyTier value) { this.tier = value; return this; }
        public Date getLastStatusUpdate() { return lastStatusUpdate; }
        public TechnologyBase setLastStatusUpdate(Date value) { this.lastStatusUpdate = value; return this; }
        public Integer getOrganizationId() { return organizationId; }
        public TechnologyBase setOrganizationId(Integer value) { this.organizationId = value; return this; }
        public Long getCommentsPostId() { return commentsPostId; }
        public TechnologyBase setCommentsPostId(Long value) { this.commentsPostId = value; return this; }
        public Integer getViewCount() { return viewCount; }
        public TechnologyBase setViewCount(Integer value) { this.viewCount = value; return this; }
        public Integer getFavCount() { return favCount; }
        public TechnologyBase setFavCount(Integer value) { this.favCount = value; return this; }
    }

    public static enum TechnologyTier
    {
        ProgrammingLanguage,
        Client,
        Http,
        Server,
        Data,
        SoftwareInfrastructure,
        OperatingSystem,
        HardwareInfrastructure,
        ThirdPartyServices;
    }

    public static class UserActivity
    {
        public Integer id = null;
        public String userName = null;
        public Integer karma = null;
        public Integer technologyCount = null;
        public Integer techStacksCount = null;
        public Integer postsCount = null;
        public Integer postUpVotes = null;
        public Integer postDownVotes = null;
        public Integer commentUpVotes = null;
        public Integer commentDownVotes = null;
        public Integer postCommentsCount = null;
        public Integer pinnedCommentCount = null;
        public Integer postReportCount = null;
        public Integer postCommentReportCount = null;
        public Date created = null;
        public Date modified = null;
        
        public Integer getId() { return id; }
        public UserActivity setId(Integer value) { this.id = value; return this; }
        public String getUserName() { return userName; }
        public UserActivity setUserName(String value) { this.userName = value; return this; }
        public Integer getKarma() { return karma; }
        public UserActivity setKarma(Integer value) { this.karma = value; return this; }
        public Integer getTechnologyCount() { return technologyCount; }
        public UserActivity setTechnologyCount(Integer value) { this.technologyCount = value; return this; }
        public Integer getTechStacksCount() { return techStacksCount; }
        public UserActivity setTechStacksCount(Integer value) { this.techStacksCount = value; return this; }
        public Integer getPostsCount() { return postsCount; }
        public UserActivity setPostsCount(Integer value) { this.postsCount = value; return this; }
        public Integer getPostUpVotes() { return postUpVotes; }
        public UserActivity setPostUpVotes(Integer value) { this.postUpVotes = value; return this; }
        public Integer getPostDownVotes() { return postDownVotes; }
        public UserActivity setPostDownVotes(Integer value) { this.postDownVotes = value; return this; }
        public Integer getCommentUpVotes() { return commentUpVotes; }
        public UserActivity setCommentUpVotes(Integer value) { this.commentUpVotes = value; return this; }
        public Integer getCommentDownVotes() { return commentDownVotes; }
        public UserActivity setCommentDownVotes(Integer value) { this.commentDownVotes = value; return this; }
        public Integer getPostCommentsCount() { return postCommentsCount; }
        public UserActivity setPostCommentsCount(Integer value) { this.postCommentsCount = value; return this; }
        public Integer getPinnedCommentCount() { return pinnedCommentCount; }
        public UserActivity setPinnedCommentCount(Integer value) { this.pinnedCommentCount = value; return this; }
        public Integer getPostReportCount() { return postReportCount; }
        public UserActivity setPostReportCount(Integer value) { this.postReportCount = value; return this; }
        public Integer getPostCommentReportCount() { return postCommentReportCount; }
        public UserActivity setPostCommentReportCount(Integer value) { this.postCommentReportCount = value; return this; }
        public Date getCreated() { return created; }
        public UserActivity setCreated(Date value) { this.created = value; return this; }
        public Date getModified() { return modified; }
        public UserActivity setModified(Date value) { this.modified = value; return this; }
    }

    public static class OrganizationMember
    {
        public Integer id = null;
        public Integer organizationId = null;
        public Integer userId = null;
        public String userName = null;
        public Boolean isOwner = null;
        public Boolean isModerator = null;
        public Boolean denyAll = null;
        public Boolean denyPosts = null;
        public Boolean denyComments = null;
        public String notes = null;
        
        public Integer getId() { return id; }
        public OrganizationMember setId(Integer value) { this.id = value; return this; }
        public Integer getOrganizationId() { return organizationId; }
        public OrganizationMember setOrganizationId(Integer value) { this.organizationId = value; return this; }
        public Integer getUserId() { return userId; }
        public OrganizationMember setUserId(Integer value) { this.userId = value; return this; }
        public String getUserName() { return userName; }
        public OrganizationMember setUserName(String value) { this.userName = value; return this; }
        public Boolean getIsOwner() { return isOwner; }
        public OrganizationMember setIsOwner(Boolean value) { this.isOwner = value; return this; }
        public Boolean getIsModerator() { return isModerator; }
        public OrganizationMember setIsModerator(Boolean value) { this.isModerator = value; return this; }
        public Boolean isDenyAll() { return denyAll; }
        public OrganizationMember setDenyAll(Boolean value) { this.denyAll = value; return this; }
        public Boolean isDenyPosts() { return denyPosts; }
        public OrganizationMember setDenyPosts(Boolean value) { this.denyPosts = value; return this; }
        public Boolean isDenyComments() { return denyComments; }
        public OrganizationMember setDenyComments(Boolean value) { this.denyComments = value; return this; }
        public String getNotes() { return notes; }
        public OrganizationMember setNotes(String value) { this.notes = value; return this; }
    }

    public static class OrganizationMemberInvite
    {
        public Integer id = null;
        public Integer organizationId = null;
        public Integer userId = null;
        public String userName = null;
        public Date dismissed = null;
        
        public Integer getId() { return id; }
        public OrganizationMemberInvite setId(Integer value) { this.id = value; return this; }
        public Integer getOrganizationId() { return organizationId; }
        public OrganizationMemberInvite setOrganizationId(Integer value) { this.organizationId = value; return this; }
        public Integer getUserId() { return userId; }
        public OrganizationMemberInvite setUserId(Integer value) { this.userId = value; return this; }
        public String getUserName() { return userName; }
        public OrganizationMemberInvite setUserName(String value) { this.userName = value; return this; }
        public Date getDismissed() { return dismissed; }
        public OrganizationMemberInvite setDismissed(Date value) { this.dismissed = value; return this; }
    }

    public static class OrganizationSubscription
    {
        public Long id = null;
        public Integer organizationId = null;
        public Integer userId = null;
        public String userName = null;
        public ArrayList<String> postTypes = null;
        public Integer frequencyDays = null;
        public Long lastSyncedId = null;
        public Date lastSynced = null;
        public Date created = null;
        
        public Long getId() { return id; }
        public OrganizationSubscription setId(Long value) { this.id = value; return this; }
        public Integer getOrganizationId() { return organizationId; }
        public OrganizationSubscription setOrganizationId(Integer value) { this.organizationId = value; return this; }
        public Integer getUserId() { return userId; }
        public OrganizationSubscription setUserId(Integer value) { this.userId = value; return this; }
        public String getUserName() { return userName; }
        public OrganizationSubscription setUserName(String value) { this.userName = value; return this; }
        public ArrayList<String> getPostTypes() { return postTypes; }
        public OrganizationSubscription setPostTypes(ArrayList<String> value) { this.postTypes = value; return this; }
        public Integer getFrequencyDays() { return frequencyDays; }
        public OrganizationSubscription setFrequencyDays(Integer value) { this.frequencyDays = value; return this; }
        public Long getLastSyncedId() { return lastSyncedId; }
        public OrganizationSubscription setLastSyncedId(Long value) { this.lastSyncedId = value; return this; }
        public Date getLastSynced() { return lastSynced; }
        public OrganizationSubscription setLastSynced(Date value) { this.lastSynced = value; return this; }
        public Date getCreated() { return created; }
        public OrganizationSubscription setCreated(Date value) { this.created = value; return this; }
    }

}

Java SessionInfo DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /my-session HTTP/1.1 
Host: techstacks.io 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<SessionInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechStacks.ServiceModel" />
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<SessionInfoResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechStacks.ServiceModel">
  <AccessToken>String</AccessToken>
  <AuthProvider>String</AuthProvider>
  <AvatarUrl>String</AvatarUrl>
  <Created>0001-01-01T00:00:00</Created>
  <CreatedAt>0001-01-01T00:00:00</CreatedAt>
  <DisplayName>String</DisplayName>
  <Email>String</Email>
  <FavoriteTechStacks xmlns:d2p1="http://schemas.datacontract.org/2004/07/TechStacks.ServiceModel.Types">
    <d2p1:TechnologyStack>
      <d2p1:AppUrl>String</d2p1:AppUrl>
      <d2p1:CommentsPostId>0</d2p1:CommentsPostId>
      <d2p1:Created>0001-01-01T00:00:00</d2p1:Created>
      <d2p1:CreatedBy>String</d2p1:CreatedBy>
      <d2p1:Description>String</d2p1:Description>
      <d2p1:Details>String</d2p1:Details>
      <d2p1:DetailsHtml>String</d2p1:DetailsHtml>
      <d2p1:FavCount>0</d2p1:FavCount>
      <d2p1:Id>0</d2p1:Id>
      <d2p1:IsLocked>false</d2p1:IsLocked>
      <d2p1:LastModified>0001-01-01T00:00:00</d2p1:LastModified>
      <d2p1:LastModifiedBy>String</d2p1:LastModifiedBy>
      <d2p1:LastStatusUpdate>0001-01-01T00:00:00</d2p1:LastStatusUpdate>
      <d2p1:Name>String</d2p1:Name>
      <d2p1:OrganizationId>0</d2p1:OrganizationId>
      <d2p1:OwnerId>String</d2p1:OwnerId>
      <d2p1:ScreenshotUrl>String</d2p1:ScreenshotUrl>
      <d2p1:Slug>String</d2p1:Slug>
      <d2p1:VendorName>String</d2p1:VendorName>
      <d2p1:ViewCount>0</d2p1:ViewCount>
    </d2p1:TechnologyStack>
  </FavoriteTechStacks>
  <FavoriteTechnologies xmlns:d2p1="http://schemas.datacontract.org/2004/07/TechStacks.ServiceModel.Types">
    <d2p1:Technology>
      <d2p1:CommentsPostId>0</d2p1:CommentsPostId>
      <d2p1:Created>0001-01-01T00:00:00</d2p1:Created>
      <d2p1:CreatedBy>String</d2p1:CreatedBy>
      <d2p1:Description>String</d2p1:Description>
      <d2p1:FavCount>0</d2p1:FavCount>
      <d2p1:Id>0</d2p1:Id>
      <d2p1:IsLocked>false</d2p1:IsLocked>
      <d2p1:LastModified>0001-01-01T00:00:00</d2p1:LastModified>
      <d2p1:LastModifiedBy>String</d2p1:LastModifiedBy>
      <d2p1:LastStatusUpdate>0001-01-01T00:00:00</d2p1:LastStatusUpdate>
      <d2p1:LogoApproved>false</d2p1:LogoApproved>
      <d2p1:LogoUrl>String</d2p1:LogoUrl>
      <d2p1:Name>String</d2p1:Name>
      <d2p1:OrganizationId>0</d2p1:OrganizationId>
      <d2p1:OwnerId>String</d2p1:OwnerId>
      <d2p1:ProductUrl>String</d2p1:ProductUrl>
      <d2p1:Slug>String</d2p1:Slug>
      <d2p1:Tier>ProgrammingLanguage</d2p1:Tier>
      <d2p1:VendorName>String</d2p1:VendorName>
      <d2p1:VendorUrl>String</d2p1:VendorUrl>
      <d2p1:ViewCount>0</d2p1:ViewCount>
    </d2p1:Technology>
  </FavoriteTechnologies>
  <FirstName>String</FirstName>
  <GithubProfileUrl>String</GithubProfileUrl>
  <Id>String</Id>
  <IsAuthenticated>false</IsAuthenticated>
  <LastModified>0001-01-01T00:00:00</LastModified>
  <LastName>String</LastName>
  <MemberInvites xmlns:d2p1="http://schemas.datacontract.org/2004/07/TechStacks.ServiceModel.Types">
    <d2p1:OrganizationMemberInvite>
      <d2p1:Dismissed>0001-01-01T00:00:00</d2p1:Dismissed>
      <d2p1:Id>0</d2p1:Id>
      <d2p1:OrganizationId>0</d2p1:OrganizationId>
      <d2p1:UserId>0</d2p1:UserId>
      <d2p1:UserName>String</d2p1:UserName>
    </d2p1:OrganizationMemberInvite>
  </MemberInvites>
  <Members xmlns:d2p1="http://schemas.datacontract.org/2004/07/TechStacks.ServiceModel.Types">
    <d2p1:OrganizationMember>
      <d2p1:DenyAll>false</d2p1:DenyAll>
      <d2p1:DenyComments>false</d2p1:DenyComments>
      <d2p1:DenyPosts>false</d2p1:DenyPosts>
      <d2p1:Id>0</d2p1:Id>
      <d2p1:IsModerator>false</d2p1:IsModerator>
      <d2p1:IsOwner>false</d2p1:IsOwner>
      <d2p1:Notes>String</d2p1:Notes>
      <d2p1:OrganizationId>0</d2p1:OrganizationId>
      <d2p1:UserId>0</d2p1:UserId>
      <d2p1:UserName>String</d2p1:UserName>
    </d2p1:OrganizationMember>
  </Members>
  <Permissions xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </Permissions>
  <ProfileUrl>String</ProfileUrl>
  <ReferrerUrl>String</ReferrerUrl>
  <ResponseStatus xmlns:d2p1="http://schemas.servicestack.net/types">
    <d2p1:ErrorCode>String</d2p1:ErrorCode>
    <d2p1:Message>String</d2p1:Message>
    <d2p1:StackTrace>String</d2p1:StackTrace>
    <d2p1:Errors>
      <d2p1:ResponseError>
        <d2p1:ErrorCode>String</d2p1:ErrorCode>
        <d2p1:FieldName>String</d2p1:FieldName>
        <d2p1:Message>String</d2p1:Message>
        <d2p1:Meta xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:KeyValueOfstringstring>
            <d5p1:Key>String</d5p1:Key>
            <d5p1:Value>String</d5p1:Value>
          </d5p1:KeyValueOfstringstring>
        </d2p1:Meta>
      </d2p1:ResponseError>
    </d2p1:Errors>
    <d2p1:Meta xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfstringstring>
        <d3p1:Key>String</d3p1:Key>
        <d3p1:Value>String</d3p1:Value>
      </d3p1:KeyValueOfstringstring>
    </d2p1:Meta>
  </ResponseStatus>
  <Roles xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </Roles>
  <Subscriptions xmlns:d2p1="http://schemas.datacontract.org/2004/07/TechStacks.ServiceModel.Types">
    <d2p1:OrganizationSubscription>
      <d2p1:Created>0001-01-01T00:00:00</d2p1:Created>
      <d2p1:FrequencyDays>0</d2p1:FrequencyDays>
      <d2p1:Id>0</d2p1:Id>
      <d2p1:LastSynced>0001-01-01T00:00:00</d2p1:LastSynced>
      <d2p1:LastSyncedId>0</d2p1:LastSyncedId>
      <d2p1:OrganizationId>0</d2p1:OrganizationId>
      <d2p1:PostTypes xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>String</d4p1:string>
      </d2p1:PostTypes>
      <d2p1:UserId>0</d2p1:UserId>
      <d2p1:UserName>String</d2p1:UserName>
    </d2p1:OrganizationSubscription>
  </Subscriptions>
  <TechStacks xmlns:d2p1="http://schemas.datacontract.org/2004/07/TechStacks.ServiceModel.Types">
    <d2p1:TechnologyStack>
      <d2p1:AppUrl>String</d2p1:AppUrl>
      <d2p1:CommentsPostId>0</d2p1:CommentsPostId>
      <d2p1:Created>0001-01-01T00:00:00</d2p1:Created>
      <d2p1:CreatedBy>String</d2p1:CreatedBy>
      <d2p1:Description>String</d2p1:Description>
      <d2p1:Details>String</d2p1:Details>
      <d2p1:DetailsHtml>String</d2p1:DetailsHtml>
      <d2p1:FavCount>0</d2p1:FavCount>
      <d2p1:Id>0</d2p1:Id>
      <d2p1:IsLocked>false</d2p1:IsLocked>
      <d2p1:LastModified>0001-01-01T00:00:00</d2p1:LastModified>
      <d2p1:LastModifiedBy>String</d2p1:LastModifiedBy>
      <d2p1:LastStatusUpdate>0001-01-01T00:00:00</d2p1:LastStatusUpdate>
      <d2p1:Name>String</d2p1:Name>
      <d2p1:OrganizationId>0</d2p1:OrganizationId>
      <d2p1:OwnerId>String</d2p1:OwnerId>
      <d2p1:ScreenshotUrl>String</d2p1:ScreenshotUrl>
      <d2p1:Slug>String</d2p1:Slug>
      <d2p1:VendorName>String</d2p1:VendorName>
      <d2p1:ViewCount>0</d2p1:ViewCount>
    </d2p1:TechnologyStack>
  </TechStacks>
  <TwitterProfileUrl>String</TwitterProfileUrl>
  <UserActivity xmlns:d2p1="http://schemas.datacontract.org/2004/07/TechStacks.ServiceModel.Types">
    <d2p1:CommentDownVotes>0</d2p1:CommentDownVotes>
    <d2p1:CommentUpVotes>0</d2p1:CommentUpVotes>
    <d2p1:Created>0001-01-01T00:00:00</d2p1:Created>
    <d2p1:Id>0</d2p1:Id>
    <d2p1:Karma>0</d2p1:Karma>
    <d2p1:Modified>0001-01-01T00:00:00</d2p1:Modified>
    <d2p1:PinnedCommentCount>0</d2p1:PinnedCommentCount>
    <d2p1:PostCommentReportCount>0</d2p1:PostCommentReportCount>
    <d2p1:PostCommentsCount>0</d2p1:PostCommentsCount>
    <d2p1:PostDownVotes>0</d2p1:PostDownVotes>
    <d2p1:PostReportCount>0</d2p1:PostReportCount>
    <d2p1:PostUpVotes>0</d2p1:PostUpVotes>
    <d2p1:PostsCount>0</d2p1:PostsCount>
    <d2p1:TechStacksCount>0</d2p1:TechStacksCount>
    <d2p1:TechnologyCount>0</d2p1:TechnologyCount>
    <d2p1:UserName>String</d2p1:UserName>
  </UserActivity>
  <UserAuthId>String</UserAuthId>
  <UserAuthName>String</UserAuthName>
  <UserName>String</UserName>
</SessionInfoResponse>