GET | /techstacks |
---|
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;
public class dtos
{
public static class GetAllTechnologyStacks implements IGet
{
}
public static class GetAllTechnologyStacksResponse
{
public ArrayList<TechnologyStack> results = null;
public Long total = null;
public ArrayList<TechnologyStack> getResults() { return results; }
public GetAllTechnologyStacksResponse setResults(ArrayList<TechnologyStack> value) { this.results = value; return this; }
public Long getTotal() { return total; }
public GetAllTechnologyStacksResponse setTotal(Long value) { this.total = value; return this; }
}
public static class TechnologyStack extends TechnologyStackBase
{
}
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(MaximumLength=2147483647)
public String details = null;
@StringLength(MaximumLength=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; }
}
}
Java GetAllTechnologyStacks DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /techstacks HTTP/1.1 Host: techstacks.io Accept: application/xml
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <GetAllTechnologyStacksResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechStacks.ServiceModel"> <Results 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> </Results> <Total>0</Total> </GetAllTechnologyStacksResponse>