import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class GetSystemInfo
{
}
public static class SystemInfo
{
public String version = null;
public String twilioFallbackBaseUrl = null;
public String twilioCallbackUrl = null;
public String twilioCallbackBaseUrl = null;
public String sipOriginationUrl = null;
public Boolean isDevEnvironment = null;
public String getVersion() { return version; }
public SystemInfo setVersion(String value) { this.version = value; return this; }
public String getTwilioFallbackBaseUrl() { return twilioFallbackBaseUrl; }
public SystemInfo setTwilioFallbackBaseUrl(String value) { this.twilioFallbackBaseUrl = value; return this; }
public String getTwilioCallbackUrl() { return twilioCallbackUrl; }
public SystemInfo setTwilioCallbackUrl(String value) { this.twilioCallbackUrl = value; return this; }
public String getTwilioCallbackBaseUrl() { return twilioCallbackBaseUrl; }
public SystemInfo setTwilioCallbackBaseUrl(String value) { this.twilioCallbackBaseUrl = value; return this; }
public String getSipOriginationUrl() { return sipOriginationUrl; }
public SystemInfo setSipOriginationUrl(String value) { this.sipOriginationUrl = value; return this; }
public Boolean getIsDevEnvironment() { return isDevEnvironment; }
public SystemInfo setIsDevEnvironment(Boolean value) { this.isDevEnvironment = value; return this; }
}
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /csv/reply/GetSystemInfo HTTP/1.1
Host: evovoice.io
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{}
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length {"version":"String","twilioFallbackBaseUrl":"String","twilioCallbackUrl":"String","twilioCallbackBaseUrl":"String","sipOriginationUrl":"String","isDevEnvironment":false}