/* Options: Date: 2025-11-09 11:10:11 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://s4w2.api.bettor.cc //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: ChangeCustomThreshold.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; // @Route("/cmd/configure/thresholds/custom", "POST") class ChangeCustomThreshold implements IReturn, IConvertible, IPost { String? id; int? poolId; double? amount; ChangeCustomThreshold({this.id,this.poolId,this.amount}); ChangeCustomThreshold.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; poolId = json['poolId']; amount = JsonConverters.toDouble(json['amount']); return this; } Map toJson() => { 'id': id, 'poolId': poolId, 'amount': amount }; createResponse() => ResponseStatus(); getResponseTypeName() => "ResponseStatus"; getTypeName() => "ChangeCustomThreshold"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 's4w2.api.bettor.cc', types: { 'ChangeCustomThreshold': TypeInfo(TypeOf.Class, create:() => ChangeCustomThreshold()), });