/* Options: Date: 2026-03-13 22:09:56 Version: 8.60 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://milliet.io //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: url_shortenerDirectUrl.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; // @Route("/{url}", "GET,POST") class url_shortenerDirectUrl implements IConvertible, IPost { /** * url */ // @ApiMember(DataType="string", Description="url", IsRequired=true, Name="url", ParameterType="path") String? url; url_shortenerDirectUrl({this.url}); url_shortenerDirectUrl.fromJson(Map json) { fromMap(json); } fromMap(Map json) { url = json['url']; return this; } Map toJson() => { 'url': url }; getTypeName() => "url_shortenerDirectUrl"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'milliet.io', types: { 'url_shortenerDirectUrl': TypeInfo(TypeOf.Class, create:() => url_shortenerDirectUrl()), });