<back to all web services

EmptyRecycleBin

The following routes are available for this service:
GET/RestApi/recycle-bin/empty
import 'package:servicestack/servicestack.dart';

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

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

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

Dart EmptyRecycleBin 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/recycle-bin/empty HTTP/1.1 
Host: www.asg.com.au 
Accept: text/jsv