/* Options: Date: 2025-12-06 05:24:31 Version: 8.70 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.sbbet.ath.cx //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: CorrectProductInstanceName.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; // @Route("/cmd/products/instances/correct/name", "POST") class CorrectProductInstanceName implements IReturn, IConvertible, IPost { String? id; String? name; CorrectProductInstanceName({this.id,this.name}); CorrectProductInstanceName.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; name = json['name']; return this; } Map toJson() => { 'id': id, 'name': name }; createResponse() => ResponseStatus(); getResponseTypeName() => "ResponseStatus"; getTypeName() => "CorrectProductInstanceName"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.sbbet.ath.cx', types: { 'CorrectProductInstanceName': TypeInfo(TypeOf.Class, create:() => CorrectProductInstanceName()), });