import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class GetJsonTemplateInfos extends JsonDto
{
}
public static class JsonDto
{
}
public static class GetJsonTemplateInfosResponse extends JsonDto
{
public ArrayList<JsonTemplateInfo> TemplateInfos = null;
public ArrayList<JsonTemplateInfo> getTemplateInfos() { return TemplateInfos; }
public GetJsonTemplateInfosResponse setTemplateInfos(ArrayList<JsonTemplateInfo> value) { this.TemplateInfos = value; return this; }
}
public static class JsonTemplateInfo
{
public String Guid = null;
public Date TemplateModificationDate = null;
public Date IconModificationDate = null;
public String getGuid() { return Guid; }
public JsonTemplateInfo setGuid(String value) { this.Guid = value; return this; }
public Date getTemplateModificationDate() { return TemplateModificationDate; }
public JsonTemplateInfo setTemplateModificationDate(Date value) { this.TemplateModificationDate = value; return this; }
public Date getIconModificationDate() { return IconModificationDate; }
public JsonTemplateInfo setIconModificationDate(Date value) { this.IconModificationDate = value; return this; }
}
}
Java GetJsonTemplateInfos DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /jsonl/reply/GetJsonTemplateInfos HTTP/1.1
Host: buildmax.org
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{Unable to show example output for type 'GetJsonTemplateInfosResponse' using the custom 'other' filter}No parameterless constructor defined for this object.