/* Options: Date: 2026-01-16 22:44:41 Version: 10.04 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://techstacks.io //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: UserPostVote.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class UserPostVoteResponse implements IConvertible { ResponseStatus responseStatus; UserPostVoteResponse({this.responseStatus}); UserPostVoteResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!) }; getTypeName() => "UserPostVoteResponse"; TypeContext? context = _ctx; } class UserPostVote implements IReturn, IPut, IConvertible { int id = 0; int weight = 0; UserPostVote({this.id,this.weight}); UserPostVote.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; weight = json['weight']; return this; } Map toJson() => { 'id': id, 'weight': weight }; createResponse() => UserPostVoteResponse(); getResponseTypeName() => "UserPostVoteResponse"; getTypeName() => "UserPostVote"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'techstacks.io', types: { 'UserPostVoteResponse': TypeInfo(TypeOf.Class, create:() => UserPostVoteResponse()), 'UserPostVote': TypeInfo(TypeOf.Class, create:() => UserPostVote()), });