<back to all web services

GetScriptsCombining

The following routes are available for this service:
GET/RestApi/diagnostics/scripts-combining
import 'package:servicestack/servicestack.dart';

class GetScriptsCombining implements IConvertible
{
    GetScriptsCombining();
    GetScriptsCombining.fromJson(Map<String, dynamic> json) : super();
    fromMap(Map<String, dynamic> json) {
        return this;
    }

    Map<String, dynamic> toJson() => {};
    getTypeName() => "GetScriptsCombining";
    TypeContext? context = _ctx;
}

class ScriptsCombiningProxy implements IConvertible
{
    bool? CombineStyleSheets;
    bool? CombineScriptsFrontEnd;
    bool? CombineScriptsBackEnd;

    ScriptsCombiningProxy({this.CombineStyleSheets,this.CombineScriptsFrontEnd,this.CombineScriptsBackEnd});
    ScriptsCombiningProxy.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        CombineStyleSheets = json['CombineStyleSheets'];
        CombineScriptsFrontEnd = json['CombineScriptsFrontEnd'];
        CombineScriptsBackEnd = json['CombineScriptsBackEnd'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'CombineStyleSheets': CombineStyleSheets,
        'CombineScriptsFrontEnd': CombineScriptsFrontEnd,
        'CombineScriptsBackEnd': CombineScriptsBackEnd
    };

    getTypeName() => "ScriptsCombiningProxy";
    TypeContext? context = _ctx;
}

TypeContext _ctx = TypeContext(library: 'www.asg.com.au', types: <String, TypeInfo> {
    'GetScriptsCombining': TypeInfo(TypeOf.Class, create:() => GetScriptsCombining()),
    'ScriptsCombiningProxy': TypeInfo(TypeOf.Class, create:() => ScriptsCombiningProxy()),
});

Dart GetScriptsCombining DTOs

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

HTTP + JSV

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

GET /RestApi/diagnostics/scripts-combining HTTP/1.1 
Host: www.asg.com.au 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	CombineStyleSheets: False,
	CombineScriptsFrontEnd: False,
	CombineScriptsBackEnd: False
}