| GET | /qry/game |
|---|
import 'package:servicestack/servicestack.dart';
class RedirectToProductInstanceApp implements IConvertible
{
String? gameId;
bool? isKiosk;
String? clientType;
RedirectToProductInstanceApp({this.gameId,this.isKiosk,this.clientType});
RedirectToProductInstanceApp.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
gameId = json['gameId'];
isKiosk = json['isKiosk'];
clientType = json['clientType'];
return this;
}
Map<String, dynamic> toJson() => {
'gameId': gameId,
'isKiosk': isKiosk,
'clientType': clientType
};
getTypeName() => "RedirectToProductInstanceApp";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'api.sbbet.ath.cx', types: <String, TypeInfo> {
'RedirectToProductInstanceApp': TypeInfo(TypeOf.Class, create:() => RedirectToProductInstanceApp()),
});
Dart RedirectToProductInstanceApp DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /qry/game HTTP/1.1 Host: api.sbbet.ath.cx Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{}