/* Options: Date: 2025-09-07 12:08:36 Version: 8.81 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://account.servicestack.net //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetRepoArchive.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; // @Route("/archive/{User}/{Repo}") // @Route("/GetRepoArchive", "GET") class GetRepoArchive implements IReturn, IConvertible, IGet { // @Validate(Validator="NotEmpty") String? user; // @Validate(Validator="NotEmpty") String? repo; String? name; String? tag; String? okai; List? mix; GetRepoArchive({this.user,this.repo,this.name,this.tag,this.okai,this.mix}); GetRepoArchive.fromJson(Map json) { fromMap(json); } fromMap(Map json) { user = json['user']; repo = json['repo']; name = json['name']; tag = json['tag']; okai = json['okai']; mix = JsonConverters.fromJson(json['mix'],'List',context!); return this; } Map toJson() => { 'user': user, 'repo': repo, 'name': name, 'tag': tag, 'okai': okai, 'mix': JsonConverters.toJson(mix,'List',context!) }; createResponse() => Uint8List(0); getResponseTypeName() => "Uint8List"; getTypeName() => "GetRepoArchive"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'account.servicestack.net', types: { 'GetRepoArchive': TypeInfo(TypeOf.Class, create:() => GetRepoArchive()), });